Problem Description

Given n integers and index i, print a[i] or OUT_OF_RANGE.

Input Format

Line1 n i. Line2 n integers.

Output Format

Value or OUT_OF_RANGE.

Sample Test Case

Input:
4 2 10 20 30 40
Output:
30

Constraints

0

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next