spoj#BFTAB. BF Vector

BF Vector

Your task is to put in the output n char of the read input. You have to use BF

Input

- first line have x chars (1<=x<=99) and ends with a line feed (10)

- second line is one number n (00<=n<=99)

Output

Its only one char

Example

Input:
01234567
02

Output: 2

</p>
Input:
0112ok3-12kewpl11,2eo12o3ke12ls12w1io2j34e12md
14
Output:
l