#P298. 练50.1 查分程序

练50.1 查分程序

Description

Nick, Glare, and 33 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 a1a_1 through a5a_5, followed by a student ID from 11 to 55.

Output Format

Output the score for the given student ID.

Sample

99 98 99 100 92
3
99