given a sequence
for each query
where
The first line contains two integers
The second line contains
The following
For each query, you should output one integer denoting your answer.
10 2 1 2 3 2 10 2 3 3 3 2 1 3 3 3
2 2
No. | Testdata Range | Score |
---|---|---|
1 | 0 | 10 |
2 | 1 | 10 |
3 | 2 | 10 |
4 | 3 | 10 |
5 | 4 | 10 |
6 | 5 | 10 |