| UTPC April Fools Contest 2026 |
|---|
| Finished |
Magikarp has a very large collection of numbers $$$\{a_1,a_2,a_3,\cdots\}$$$.
You are given $$$a_i$$$. Find $$$a_j$$$.
(He doesn't like $$$a_1$$$, so he will never ask you about it).
The first line of input contains $$$i$$$ and $$$a_i$$$ $$$(2\le i, 1\le a_i\le 10^{18})$$$.
The second line of input contains $$$j$$$ $$$(2\le j\le 10)$$$.
It is guaranteed that only digits or whitespaces appear in the input.
Output $$$a_j$$$.
8 677
106
10 22
10
3 1005
14
9 243
211
15 12310
258
| Name |
|---|


