#P298. 练50.1 查分程序
练50.1 查分程序
Description
Nick, Glare, and other students took an informatics test. Write a program to implement a score lookup function. First input the scores, then input a student ID to look up the corresponding score.
Input Format
The scores of students through , followed by a student ID from to .
Output Format
Output the score for the given student ID.
Sample
99 98 99 100 92
399
Related
In following homework: