QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#401735#7535. Limited Shuffle RestoringQiulyAC ✓119ms8140kbC++234.8kb2024-04-29 11:32:032024-04-29 11:32:03

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 4592kb

input:

5
<
>
<
<
<
>

output:

? 3 4
? 1 3
? 1 2
? 2 5
? 2 4
? 4 5
! 2 3 1 5 4


result:

ok yeah, seems ok, spent 6 queries of 13

Test #2:

score: 0
Accepted
time: 0ms
memory: 4120kb

input:

1

output:

! 1


result:

ok yeah, seems ok, spent 0 queries of 6

Test #3:

score: 0
Accepted
time: 1ms
memory: 3888kb

input:

2
<

output:

? 2 1
! 2 1


result:

ok yeah, seems ok, spent 1 queries of 8

Test #4:

score: 0
Accepted
time: 1ms
memory: 3956kb

input:

3
<
>
<

output:

? 2 1
? 3 2
? 3 1
! 3 1 2


result:

ok yeah, seems ok, spent 3 queries of 10

Test #5:

score: 0
Accepted
time: 1ms
memory: 3896kb

input:

4
>
>
<
>
<
<

output:

? 2 1
? 3 1
? 3 2
? 4 1
? 4 2
? 4 3
! 1 4 3 2


result:

ok yeah, seems ok, spent 6 queries of 11

Test #6:

score: 0
Accepted
time: 3ms
memory: 4260kb

input:

5
>
<
>
>
>
>

output:

? 3 4
? 1 4
? 4 5
? 1 5
? 1 2
? 2 5
! 3 2 5 4 1


result:

ok yeah, seems ok, spent 6 queries of 13

Test #7:

score: 0
Accepted
time: 0ms
memory: 4340kb

input:

6
>
<
>
>
>
>
<
<

output:

? 4 5
? 2 5
? 5 6
? 2 6
? 2 3
? 3 6
? 6 1
? 3 1
! 3 4 2 6 5 1


result:

ok yeah, seems ok, spent 8 queries of 15

Test #8:

score: 0
Accepted
time: 3ms
memory: 4344kb

input:

7
>
<
>
>
>
>
>
<
<
<

output:

? 5 6
? 3 6
? 6 7
? 3 7
? 3 4
? 4 7
? 2 1
? 7 1
? 4 2
? 4 1
! 3 4 5 2 7 6 1


result:

ok yeah, seems ok, spent 10 queries of 16

Test #9:

score: 0
Accepted
time: 3ms
memory: 4420kb

input:

8
>
<
>
>
>
>
<
>
>
>
>

output:

? 6 7
? 4 7
? 7 8
? 4 8
? 4 5
? 5 8
? 1 8
? 3 8
? 2 8
? 3 5
? 2 5
! 1 4 5 6 3 8 7 2


result:

ok yeah, seems ok, spent 11 queries of 18

Test #10:

score: 0
Accepted
time: 3ms
memory: 4652kb

input:

9
>
<
>
>
>
>
<
>
>
>
>
<
<

output:

? 7 8
? 5 8
? 8 9
? 5 9
? 5 6
? 6 9
? 2 9
? 4 9
? 3 9
? 4 6
? 3 6
? 2 1
? 9 1
! 3 1 5 6 7 4 9 8 2


result:

ok yeah, seems ok, spent 13 queries of 20

Test #11:

score: 0
Accepted
time: 3ms
memory: 4664kb

input:

10
>
<
>
>
>
>
<
>
>
>
>
>
<
<
<

output:

? 8 9
? 6 9
? 9 10
? 6 10
? 6 7
? 7 10
? 3 10
? 5 10
? 4 10
? 5 7
? 4 7
? 2 1
? 3 1
? 10 2
? 10 1
! 3 4 1 6 7 8 5 10 9 2


result:

ok yeah, seems ok, spent 15 queries of 21

Test #12:

score: 0
Accepted
time: 3ms
memory: 4356kb

input:

11
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>

output:

? 9 10
? 7 10
? 10 11
? 7 11
? 7 8
? 8 11
? 4 11
? 6 11
? 5 11
? 6 8
? 5 8
? 1 4
? 3 4
? 2 4
? 3 11
? 2 11
! 1 4 5 2 7 8 9 6 11 10 3


result:

ok yeah, seems ok, spent 16 queries of 23

Test #13:

score: 0
Accepted
time: 4ms
memory: 4628kb

input:

12
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
<

output:

? 10 11
? 8 11
? 11 12
? 8 12
? 8 9
? 9 12
? 5 12
? 7 12
? 6 12
? 7 9
? 6 9
? 2 5
? 4 5
? 3 5
? 4 12
? 3 12
? 2 1
? 5 1
! 3 1 5 6 2 8 9 10 7 12 11 4


result:

ok yeah, seems ok, spent 18 queries of 25

Test #14:

score: 0
Accepted
time: 3ms
memory: 4424kb

input:

13
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
>
<
<
<

output:

? 11 12
? 9 12
? 12 13
? 9 13
? 9 10
? 10 13
? 6 13
? 8 13
? 7 13
? 8 10
? 7 10
? 3 6
? 5 6
? 4 6
? 5 13
? 4 13
? 2 1
? 3 1
? 6 2
? 6 1
! 3 4 1 6 7 2 9 10 11 8 13 12 5


result:

ok yeah, seems ok, spent 20 queries of 26

Test #15:

score: 0
Accepted
time: 3ms
memory: 4408kb

input:

14
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>

output:

? 12 13
? 10 13
? 13 14
? 10 14
? 10 11
? 11 14
? 7 14
? 9 14
? 8 14
? 9 11
? 8 11
? 4 7
? 6 7
? 5 7
? 6 14
? 5 14
? 1 4
? 3 4
? 2 4
? 3 7
? 2 7
! 1 4 5 2 7 8 3 10 11 12 9 14 13 6


result:

ok yeah, seems ok, spent 21 queries of 28

Test #16:

score: 0
Accepted
time: 3ms
memory: 4360kb

input:

15
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
<

output:

? 13 14
? 11 14
? 14 15
? 11 15
? 11 12
? 12 15
? 8 15
? 10 15
? 9 15
? 10 12
? 9 12
? 5 8
? 7 8
? 6 8
? 7 15
? 6 15
? 2 5
? 4 5
? 3 5
? 4 8
? 3 8
? 2 1
? 5 1
! 3 1 5 6 2 8 9 4 11 12 13 10 15 14 7


result:

ok yeah, seems ok, spent 23 queries of 30

Test #17:

score: 0
Accepted
time: 4ms
memory: 4324kb

input:

16
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
>
<
<
<

output:

? 14 15
? 12 15
? 15 16
? 12 16
? 12 13
? 13 16
? 9 16
? 11 16
? 10 16
? 11 13
? 10 13
? 6 9
? 8 9
? 7 9
? 8 16
? 7 16
? 3 6
? 5 6
? 4 6
? 5 9
? 4 9
? 2 1
? 3 1
? 6 2
? 6 1
! 3 4 1 6 7 2 9 10 5 12 13 14 11 16 15 8


result:

ok yeah, seems ok, spent 25 queries of 31

Test #18:

score: 0
Accepted
time: 0ms
memory: 4372kb

input:

17
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>

output:

? 15 16
? 13 16
? 16 17
? 13 17
? 13 14
? 14 17
? 10 17
? 12 17
? 11 17
? 12 14
? 11 14
? 7 10
? 9 10
? 8 10
? 9 17
? 8 17
? 4 7
? 6 7
? 5 7
? 6 10
? 5 10
? 1 4
? 3 4
? 2 4
? 3 7
? 2 7
! 1 4 5 2 7 8 3 10 11 6 13 14 15 12 17 16 9


result:

ok yeah, seems ok, spent 26 queries of 33

Test #19:

score: 0
Accepted
time: 3ms
memory: 4408kb

input:

18
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
<

output:

? 16 17
? 14 17
? 17 18
? 14 18
? 14 15
? 15 18
? 11 18
? 13 18
? 12 18
? 13 15
? 12 15
? 8 11
? 10 11
? 9 11
? 10 18
? 9 18
? 5 8
? 7 8
? 6 8
? 7 11
? 6 11
? 2 5
? 4 5
? 3 5
? 4 8
? 3 8
? 2 1
? 5 1
! 3 1 5 6 2 8 9 4 11 12 7 14 15 16 13 18 17 10


result:

ok yeah, seems ok, spent 28 queries of 35

Test #20:

score: 0
Accepted
time: 4ms
memory: 4660kb

input:

19
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
>
<
<
<

output:

? 17 18
? 15 18
? 18 19
? 15 19
? 15 16
? 16 19
? 12 19
? 14 19
? 13 19
? 14 16
? 13 16
? 9 12
? 11 12
? 10 12
? 11 19
? 10 19
? 6 9
? 8 9
? 7 9
? 8 12
? 7 12
? 3 6
? 5 6
? 4 6
? 5 9
? 4 9
? 2 1
? 3 1
? 6 2
? 6 1
! 3 4 1 6 7 2 9 10 5 12 13 8 15 16 17 14 19 18 11


result:

ok yeah, seems ok, spent 30 queries of 36

Test #21:

score: 0
Accepted
time: 4ms
memory: 4308kb

input:

20
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>

output:

? 18 19
? 16 19
? 19 20
? 16 20
? 16 17
? 17 20
? 13 20
? 15 20
? 14 20
? 15 17
? 14 17
? 10 13
? 12 13
? 11 13
? 12 20
? 11 20
? 7 10
? 9 10
? 8 10
? 9 13
? 8 13
? 4 7
? 6 7
? 5 7
? 6 10
? 5 10
? 1 4
? 3 4
? 2 4
? 3 7
? 2 7
! 1 4 5 2 7 8 3 10 11 6 13 14 9 16 17 18 15 20 19 12


result:

ok yeah, seems ok, spent 31 queries of 38

Test #22:

score: 0
Accepted
time: 5ms
memory: 4312kb

input:

111
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
<
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 109 110
? 107 109
? 109 111
? 108 109
? 110 111
? 108 111
? 104 107
? 106 107
? 105 107
? 106 109
? 105 109
? 101 104
? 103 104
? 102 104
? 103 107
? 102 107
? 98 101
? 100 101
? 99 101
? 100 104
? 99 104
? 95 98
? 97 98
? 96 98
? 97 101
? 96 101
? 92 95
? 94 95
? 93 95
? 94 98
? 93 98
? 89 92
? 9...

result:

ok yeah, seems ok, spent 183 queries of 190

Test #23:

score: 0
Accepted
time: 7ms
memory: 4472kb

input:

1000
<
>
<
<
>
<
<
<
<
<
<
<
>
>
>
<
<
>
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
>
<
>
<
<
>
<
>
>
<
<
>
>
<
<
<
>
<
<
<
>
>
>
>
<
<
<
<
>
>
>
>
>
<
>
>
<
<
>
>
<
>
>
>
<
>
>
<
<
<
>
<
<
<
<
<
<
<
<
>
>
<
>
>
<
>
>
<
<
<
>
<
<
<
>
<
>
<
<
>
>
<
>
<
>
<
>
<
<
<
>
<
>
>
<
>
>
<
<
>
>
>
<
<
>
>
<
>
<
>
>
>
<
<...

output:

? 998 999
? 996 998
? 996 997
? 997 1000
? 997 999
? 996 999
? 993 998
? 995 998
? 993 995
? 994 995
? 993 994
? 990 993
? 992 993
? 991 993
? 992 994
? 991 994
? 987 990
? 989 990
? 988 990
? 989 993
? 988 989
? 984 987
? 986 987
? 984 986
? 984 985
? 985 987
? 981 986
? 983 986
? 981 983
? 981 982...

result:

ok yeah, seems ok, spent 1654 queries of 1671

Test #24:

score: 0
Accepted
time: 11ms
memory: 4620kb

input:

2000
>
<
>
<
>
>
<
>
<
<
<
>
<
>
>
>
>
<
<
<
<
>
>
<
>
>
>
>
<
<
>
<
>
<
<
>
>
>
<
<
>
>
<
>
>
>
>
<
<
<
>
>
>
<
>
<
<
>
<
<
<
>
>
<
>
>
>
>
<
>
>
<
<
<
<
<
>
>
<
>
>
<
>
>
>
<
<
<
<
>
>
>
>
<
>
<
>
<
<
<
<
>
<
<
>
>
<
>
>
<
>
>
>
<
>
>
<
>
>
>
<
>
>
<
<
>
>
<
<
<
<
<
>
>
<
>
<
>
>
<
>
<
>
<
>
>
>
<...

output:

? 1998 1999
? 1996 1999
? 1999 2000
? 1996 2000
? 1997 2000
? 1997 1999
? 1993 1996
? 1995 1996
? 1994 1996
? 1993 1994
? 1995 2000
? 1990 1993
? 1990 1991
? 1991 1992
? 1990 1992
? 1992 1993
? 1987 1993
? 1987 1988
? 1988 1989
? 1988 1992
? 1989 1992
? 1984 1993
? 1984 1985
? 1984 1986
? 1985 1993
...

result:

ok yeah, seems ok, spent 3307 queries of 3338

Test #25:

score: 0
Accepted
time: 6ms
memory: 4712kb

input:

3000
>
<
<
<
<
<
>
<
<
>
>
<
<
<
>
<
<
<
>
<
<
>
<
<
>
<
<
>
<
>
<
>
<
<
>
>
<
<
<
<
>
>
<
<
>
>
>
<
<
<
>
>
<
>
>
<
<
>
>
>
<
<
>
>
>
<
>
<
>
>
>
>
>
<
>
<
<
<
>
>
<
<
<
>
<
>
<
>
<
>
>
<
<
<
<
>
>
<
<
<
<
>
<
<
<
>
<
>
>
>
<
<
<
>
<
<
>
<
<
<
>
>
<
<
<
>
<
<
>
>
<
>
>
<
>
>
<
<
<
>
<
>
<
>
<
<
>
<...

output:

? 2998 2999
? 2996 2999
? 2999 3000
? 2997 2999
? 2996 2997
? 2998 3000
? 2993 2996
? 2993 2994
? 2994 2995
? 2994 2997
? 2993 2997
? 2990 2996
? 2992 2996
? 2990 2992
? 2991 2992
? 2991 2996
? 2987 2990
? 2989 2990
? 2987 2989
? 2987 2988
? 2988 2990
? 2984 2989
? 2984 2985
? 2985 2986
? 2985 2987
...

result:

ok yeah, seems ok, spent 4949 queries of 5005

Test #26:

score: 0
Accepted
time: 19ms
memory: 5048kb

input:

4000
<
<
>
>
>
<
<
<
<
<
>
<
<
>
<
>
<
>
<
<
<
>
>
<
>
>
<
>
<
>
>
<
<
>
>
<
<
>
<
<
<
<
<
>
<
<
>
<
>
>
>
<
<
<
<
<
<
>
<
<
<
<
>
<
>
>
<
<
<
<
<
<
>
<
>
>
<
<
<
>
>
<
>
>
>
<
>
<
<
>
<
>
>
<
<
>
<
>
>
<
>
<
<
>
<
<
>
>
<
>
>
<
<
>
<
<
<
>
>
<
<
<
<
>
<
<
>
<
<
>
<
<
>
>
<
>
>
<
>
>
<
<
>
>
<
>
<
<...

output:

? 3998 3999
? 3996 3998
? 3998 4000
? 3996 4000
? 3996 3997
? 3997 4000
? 3993 3997
? 3995 3997
? 3993 3995
? 3994 3995
? 3993 3994
? 3990 3994
? 3992 3994
? 3990 3992
? 3990 3991
? 3991 3994
? 3987 3992
? 3989 3992
? 3988 3992
? 3987 3988
? 3989 3990
? 3984 3987
? 3984 3985
? 3984 3986
? 3985 3987
...

result:

ok yeah, seems ok, spent 6612 queries of 6671

Test #27:

score: 0
Accepted
time: 31ms
memory: 4928kb

input:

5000
>
<
<
>
<
<
>
<
>
>
<
>
<
<
>
<
>
>
<
<
<
<
>
>
<
<
<
>
<
>
>
<
>
<
<
>
>
<
<
<
>
>
>
<
<
>
>
<
>
<
>
<
<
<
>
<
<
<
<
>
<
>
<
>
<
<
<
>
>
>
<
>
>
>
>
>
>
<
>
>
>
>
<
>
<
>
>
<
<
>
<
<
>
>
<
<
<
<
<
<
<
<
<
<
>
>
<
<
<
>
<
>
>
<
>
>
>
<
<
>
<
<
>
<
<
<
>
<
>
>
<
<
>
>
>
<
>
<
<
<
>
<
<
>
>
>
>
<...

output:

? 4998 4999
? 4996 4999
? 4999 5000
? 4997 4999
? 4998 5000
? 4997 4998
? 4993 4996
? 4993 4994
? 4994 4995
? 4993 4995
? 4995 4996
? 4990 4995
? 4990 4991
? 4991 4992
? 4991 4996
? 4990 4996
? 4987 4995
? 4987 4988
? 4987 4989
? 4988 4995
? 4989 4990
? 4984 4988
? 4986 4988
? 4985 4988
? 4986 4995
...

result:

ok yeah, seems ok, spent 8267 queries of 8338

Test #28:

score: 0
Accepted
time: 29ms
memory: 5048kb

input:

6000
>
>
>
<
<
<
<
>
>
>
>
>
<
<
>
<
<
>
>
<
>
<
>
<
>
<
>
<
<
>
>
<
<
<
>
<
<
<
<
>
>
>
<
<
<
<
<
>
>
>
>
<
<
>
<
<
<
>
>
>
>
>
<
>
<
<
<
>
>
<
<
>
>
>
>
<
<
>
>
<
>
<
>
>
<
>
<
>
>
<
>
>
<
>
>
>
<
<
<
<
>
>
<
<
>
>
>
<
>
<
<
<
<
<
<
<
>
>
<
>
>
>
<
>
<
>
<
<
<
<
<
<
<
<
>
>
>
<
<
>
<
<
<
<
<
<
<
>...

output:

? 5998 5999
? 5996 5999
? 5996 5997
? 5996 5998
? 5997 5999
? 5998 6000
? 5993 5997
? 5995 5997
? 5994 5997
? 5995 5999
? 5994 5999
? 5990 5993
? 5990 5991
? 5991 5992
? 5991 5997
? 5990 5997
? 5987 5993
? 5989 5993
? 5988 5993
? 5989 5990
? 5988 5989
? 5984 5987
? 5986 5987
? 5985 5987
? 5984 5985
...

result:

ok yeah, seems ok, spent 9934 queries of 10005

Test #29:

score: 0
Accepted
time: 20ms
memory: 5240kb

input:

7000
<
<
>
>
>
>
>
<
>
<
>
<
>
>
<
<
>
<
<
>
<
<
>
<
>
<
<
>
>
>
>
>
<
>
<
<
>
>
<
<
<
<
>
<
<
>
<
<
<
>
<
>
>
>
<
>
>
<
<
<
<
<
<
>
>
<
>
>
>
>
<
>
<
<
>
>
<
<
<
>
<
<
>
>
<
>
<
>
>
>
<
<
>
>
<
>
<
<
<
>
>
<
<
<
<
<
<
<
<
>
<
<
<
>
<
>
>
<
>
<
<
>
>
<
<
<
>
>
>
>
<
>
>
>
>
<
<
>
<
<
>
<
<
<
>
>
>
<...

output:

? 6998 6999
? 6996 6998
? 6998 7000
? 6996 7000
? 6996 6997
? 6997 7000
? 6993 7000
? 6993 6994
? 6994 6995
? 6993 6995
? 6990 7000
? 6990 6991
? 6991 6992
? 6990 6992
? 6992 7000
? 6987 6992
? 6989 6992
? 6988 6992
? 6987 6988
? 6989 7000
? 6984 6987
? 6986 6987
? 6984 6986
? 6984 6985
? 6985 6987
...

result:

ok yeah, seems ok, spent 11573 queries of 11671

Test #30:

score: 0
Accepted
time: 30ms
memory: 5272kb

input:

8000
<
<
>
<
>
<
<
<
<
<
<
<
<
<
<
>
<
>
<
>
>
<
<
<
>
>
<
>
<
>
>
<
<
>
>
>
<
>
>
>
>
<
>
>
<
>
>
<
<
>
<
>
>
<
<
>
<
<
>
<
>
<
<
<
<
<
>
>
<
<
>
>
>
<
<
<
<
<
<
<
>
>
<
>
<
<
<
<
>
<
<
>
<
>
<
>
>
<
>
>
<
<
>
<
>
<
>
<
>
>
>
<
<
>
>
<
>
>
>
>
>
<
<
<
>
>
<
>
>
>
<
<
>
>
<
<
<
<
>
>
>
>
<
>
>
>
<
>...

output:

? 7998 7999
? 7996 7998
? 7998 8000
? 7996 8000
? 7997 8000
? 7997 7998
? 7993 7996
? 7995 7996
? 7993 7995
? 7994 7995
? 7993 7994
? 7990 7993
? 7992 7993
? 7990 7992
? 7991 7992
? 7990 7991
? 7987 7991
? 7989 7991
? 7988 7991
? 7987 7988
? 7989 7990
? 7984 7988
? 7986 7988
? 7984 7986
? 7985 7986
...

result:

ok yeah, seems ok, spent 13229 queries of 13338

Test #31:

score: 0
Accepted
time: 33ms
memory: 5336kb

input:

9000
<
<
<
>
<
>
>
<
>
>
<
<
>
<
>
<
>
<
>
<
>
<
>
>
>
<
>
>
<
>
<
<
<
<
>
>
<
>
>
<
<
<
<
>
<
<
<
>
<
>
>
<
<
<
>
<
>
>
<
<
<
>
<
<
>
<
<
<
>
<
<
<
>
>
>
<
>
>
>
>
<
<
>
>
<
<
>
<
<
<
>
>
<
>
>
>
<
>
>
>
<
>
>
>
>
<
>
>
<
<
>
<
<
>
>
<
>
<
>
<
<
<
>
>
>
<
>
<
>
<
>
<
>
<
>
<
>
>
<
<
>
>
>
>
<
>
<
<...

output:

? 8998 8999
? 8996 8998
? 8998 9000
? 8997 8998
? 8999 9000
? 8997 8999
? 8993 8996
? 8993 8994
? 8994 8995
? 8993 8995
? 8995 8996
? 8990 8995
? 8992 8995
? 8991 8995
? 8990 8991
? 8992 8996
? 8987 8991
? 8987 8988
? 8988 8989
? 8987 8989
? 8984 8991
? 8984 8985
? 8985 8986
? 8984 8986
? 8986 8991
...

result:

ok yeah, seems ok, spent 14894 queries of 15005

Test #32:

score: 0
Accepted
time: 33ms
memory: 5496kb

input:

10000
>
<
>
>
<
<
<
>
>
>
>
>
>
<
>
<
<
>
>
<
<
<
<
<
<
>
<
<
>
<
>
<
<
>
>
>
<
>
<
>
<
<
<
>
<
>
>
<
>
<
>
<
<
<
>
>
<
<
>
>
>
<
<
<
>
>
>
<
<
>
>
<
<
>
>
<
<
<
<
<
<
<
>
<
<
<
>
<
<
<
>
<
<
<
<
>
<
<
>
>
<
>
>
>
>
<
>
<
<
>
<
<
>
>
>
>
<
<
<
>
>
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
<
>
<
<
<
>
>
<
>
<
...

output:

? 9998 9999
? 9996 9999
? 9999 10000
? 9996 10000
? 9996 9997
? 9997 9999
? 9993 10000
? 9995 10000
? 9994 10000
? 9995 9996
? 9994 9996
? 9990 9993
? 9990 9991
? 9990 9992
? 9991 9993
? 9992 10000
? 9987 9993
? 9989 9993
? 9988 9993
? 9989 9991
? 9988 9989
? 9984 9987
? 9986 9987
? 9984 9986
? 9985...

result:

ok yeah, seems ok, spent 16533 queries of 16671

Test #33:

score: 0
Accepted
time: 41ms
memory: 5588kb

input:

11000
>
>
<
<
<
>
<
>
<
<
<
<
<
<
<
>
<
<
>
<
<
<
>
>
>
>
>
<
<
<
<
<
<
>
>
<
<
>
>
>
>
<
<
<
>
>
>
<
<
>
>
<
>
<
>
<
>
>
<
>
>
<
<
<
>
<
>
>
<
<
>
<
<
<
>
>
<
>
<
>
<
>
<
<
>
<
<
<
>
>
<
>
<
>
>
<
>
>
<
<
>
<
<
<
>
<
>
>
<
>
<
>
>
<
<
>
<
>
>
>
>
<
<
<
<
>
<
>
<
<
>
>
>
<
>
<
<
<
<
<
<
<
>
>
>
>
<
...

output:

? 10998 10999
? 10996 10999
? 10996 10997
? 10997 11000
? 10997 10998
? 10998 11000
? 10993 10999
? 10995 10999
? 10994 10999
? 10993 10994
? 10995 10996
? 10990 10993
? 10992 10993
? 10990 10992
? 10991 10992
? 10990 10991
? 10987 10991
? 10989 10991
? 10987 10989
? 10987 10988
? 10988 10991
? 1098...

result:

ok yeah, seems ok, spent 18193 queries of 18338

Test #34:

score: 0
Accepted
time: 25ms
memory: 5964kb

input:

12000
>
<
>
>
<
>
<
<
<
<
<
>
<
<
<
<
<
>
>
<
<
>
>
<
>
<
<
<
<
>
>
<
<
<
<
>
<
>
>
<
>
<
>
<
>
>
>
>
<
>
<
<
>
<
>
<
>
>
<
>
<
>
<
<
>
<
<
<
<
<
>
>
<
>
>
>
<
<
<
<
>
<
>
>
<
<
<
>
<
>
>
>
>
<
<
<
<
>
>
>
<
<
<
<
>
>
>
>
<
>
<
<
>
<
<
>
<
>
>
>
>
<
>
>
>
>
<
>
<
<
<
>
<
>
>
<
<
>
>
>
>
<
>
<
>
<
>
...

output:

? 11998 11999
? 11996 11999
? 11999 12000
? 11996 12000
? 11996 11997
? 11997 11999
? 11993 12000
? 11995 12000
? 11993 11995
? 11994 11995
? 11993 11994
? 11990 11993
? 11990 11991
? 11991 11992
? 11991 11994
? 11992 11994
? 11987 11993
? 11989 11993
? 11988 11993
? 11989 11990
? 11988 11989
? 1198...

result:

ok yeah, seems ok, spent 19848 queries of 20005

Test #35:

score: 0
Accepted
time: 11ms
memory: 5800kb

input:

13000
>
<
<
<
<
<
>
<
>
>
<
<
<
>
<
<
<
<
<
>
>
>
>
<
>
<
<
<
<
<
<
<
>
>
>
<
<
<
>
>
<
<
>
<
>
>
<
<
>
<
>
<
<
>
>
<
<
<
>
>
<
>
<
>
>
>
>
<
>
>
>
<
>
<
<
<
>
<
<
<
<
>
>
<
<
<
<
<
>
>
>
<
<
>
<
<
<
<
>
>
<
<
<
>
<
<
>
>
<
>
>
<
>
>
>
<
>
>
<
>
>
<
<
<
>
>
<
>
>
<
<
<
<
>
<
>
>
>
<
<
>
>
>
<
<
>
>
...

output:

? 12998 12999
? 12996 12999
? 12999 13000
? 12997 12999
? 12996 12997
? 12998 13000
? 12993 12996
? 12993 12994
? 12994 12995
? 12993 12995
? 12995 12996
? 12990 12995
? 12992 12995
? 12990 12992
? 12990 12991
? 12991 12995
? 12987 12992
? 12989 12992
? 12987 12989
? 12988 12989
? 12988 12992
? 1298...

result:

ok yeah, seems ok, spent 21497 queries of 21671

Test #36:

score: 0
Accepted
time: 54ms
memory: 5972kb

input:

14000
<
>
<
>
>
>
<
>
<
>
>
>
<
<
<
<
<
<
<
<
<
>
<
>
>
<
>
<
<
>
<
<
<
>
<
>
>
>
<
>
<
<
<
>
>
>
<
>
<
<
<
<
<
>
>
>
>
<
>
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
<
<
>
>
<
>
>
<
>
>
>
>
>
<
>
>
<
>
<
>
>
>
<
>
>
>
<
>
<
<
>
<
<
>
<
>
<
<
>
<
>
>
<
<
<
>
<
>
<
<
<
<
>
<
<
>
<
<
>
<
<
>
>
>
<
<
>
<
>
<
<
<
<
...

output:

? 13998 13999
? 13996 13998
? 13996 13997
? 13997 14000
? 13996 14000
? 13998 14000
? 13993 14000
? 13995 14000
? 13994 14000
? 13993 13994
? 13995 13998
? 13990 13994
? 13990 13991
? 13991 13992
? 13991 13993
? 13992 13993
? 13987 13994
? 13989 13994
? 13987 13989
? 13988 13989
? 13987 13988
? 1398...

result:

ok yeah, seems ok, spent 23172 queries of 23338

Test #37:

score: 0
Accepted
time: 47ms
memory: 6076kb

input:

15000
<
<
>
<
>
<
<
<
<
<
<
>
>
<
<
>
<
<
>
>
<
>
<
<
<
>
>
<
<
<
>
>
>
<
<
>
<
>
<
>
>
<
>
>
>
>
<
<
>
<
>
>
>
<
>
>
>
>
<
<
<
<
>
>
<
<
<
>
<
>
>
>
<
>
<
<
>
<
>
<
>
<
<
>
<
<
<
<
>
>
<
>
<
<
<
<
>
<
<
<
<
<
<
>
<
<
>
<
<
>
<
<
<
>
>
>
<
>
<
>
<
>
>
>
<
>
<
<
>
<
<
<
<
>
<
<
>
>
>
<
>
<
<
>
<
>
<
...

output:

? 14998 14999
? 14996 14998
? 14998 15000
? 14996 15000
? 14997 15000
? 14997 14998
? 14993 14996
? 14995 14996
? 14993 14995
? 14994 14995
? 14993 14994
? 14990 14993
? 14990 14991
? 14990 14992
? 14991 14993
? 14992 14994
? 14987 14991
? 14989 14991
? 14987 14989
? 14987 14988
? 14988 14989
? 1498...

result:

ok yeah, seems ok, spent 24811 queries of 25005

Test #38:

score: 0
Accepted
time: 21ms
memory: 6232kb

input:

16000
>
>
>
<
>
<
>
>
<
>
>
>
<
<
>
<
>
>
<
<
<
<
<
>
>
<
<
<
>
>
>
<
<
>
<
>
>
<
<
>
<
<
<
<
>
>
>
<
>
>
>
<
>
>
>
>
<
<
<
<
>
<
>
>
<
>
<
<
<
>
<
<
>
<
>
>
>
>
<
>
<
<
<
>
<
>
<
<
>
<
<
<
>
<
>
<
<
<
>
<
<
<
<
>
>
>
>
<
<
<
>
<
<
>
>
<
<
<
<
<
<
<
<
<
<
>
<
<
>
>
<
<
>
>
>
>
<
>
<
<
>
>
<
>
<
>
>
...

output:

? 15998 15999
? 15996 15999
? 15996 15997
? 15996 15998
? 15997 15999
? 15998 16000
? 15993 15999
? 15993 15994
? 15993 15995
? 15994 15999
? 15995 15997
? 15990 15999
? 15990 15991
? 15991 15992
? 15991 15994
? 15990 15994
? 15987 15999
? 15987 15988
? 15987 15989
? 15988 15999
? 15989 15990
? 1598...

result:

ok yeah, seems ok, spent 26467 queries of 26671

Test #39:

score: 0
Accepted
time: 63ms
memory: 6308kb

input:

17000
>
<
<
<
>
<
<
<
>
<
>
<
<
<
<
<
>
>
<
<
<
>
>
<
>
>
>
<
<
>
>
>
<
>
>
<
<
<
<
<
>
<
<
<
<
<
<
<
>
<
<
<
>
>
<
>
>
>
<
<
>
>
<
>
<
>
<
>
>
>
<
<
<
<
<
>
>
<
>
>
<
<
<
<
>
>
>
<
<
>
<
<
>
>
<
>
<
<
<
>
<
<
<
>
>
<
<
<
<
>
>
>
<
>
<
>
<
<
>
<
<
<
>
>
<
>
>
<
<
>
<
>
>
>
<
>
>
<
>
<
<
>
<
>
>
<
>
...

output:

? 16998 16999
? 16996 16999
? 16999 17000
? 16997 16999
? 16996 16997
? 16998 17000
? 16993 16997
? 16995 16997
? 16993 16995
? 16993 16994
? 16994 16997
? 16990 16995
? 16992 16995
? 16990 16992
? 16991 16992
? 16990 16991
? 16987 16990
? 16987 16988
? 16987 16989
? 16988 16990
? 16989 16991
? 1698...

result:

ok yeah, seems ok, spent 28118 queries of 28338

Test #40:

score: 0
Accepted
time: 31ms
memory: 6436kb

input:

18000
>
<
>
<
>
>
>
<
<
>
<
>
<
>
>
<
<
<
>
>
<
<
>
>
<
<
>
<
<
<
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
>
>
>
<
<
<
<
>
<
<
<
>
<
<
>
<
>
<
>
>
<
>
<
<
<
<
>
<
<
<
>
<
<
>
<
>
<
>
<
>
<
<
<
>
<
<
<
>
<
<
<
<
<
<
>
<
<
>
>
<
<
>
<
<
<
<
<
<
>
>
>
<
>
<
<
<
<
>
<
>
>
<
<
<
<
<
<
<
>
<
<
<
>
<
<
<
<
>
>
...

output:

? 17998 17999
? 17996 17999
? 17999 18000
? 17996 18000
? 17997 18000
? 17997 17999
? 17993 17996
? 17993 17994
? 17994 17995
? 17994 18000
? 17993 18000
? 17990 17996
? 17990 17991
? 17991 17992
? 17990 17992
? 17992 17996
? 17987 17992
? 17989 17992
? 17987 17989
? 17987 17988
? 17988 17989
? 1798...

result:

ok yeah, seems ok, spent 29789 queries of 30005

Test #41:

score: 0
Accepted
time: 48ms
memory: 6624kb

input:

19000
<
>
>
<
<
>
>
<
<
>
>
<
>
>
>
<
<
<
<
<
<
>
<
<
<
>
>
<
<
>
>
<
>
<
<
>
<
<
>
>
>
>
<
<
<
<
>
<
<
<
<
<
>
>
>
>
>
>
<
<
<
>
>
<
>
<
<
<
>
>
>
<
<
>
<
<
<
<
<
<
>
>
>
<
<
>
<
<
<
>
>
>
<
<
<
>
<
>
<
<
>
>
<
<
<
<
<
>
<
>
<
<
>
<
>
>
>
>
<
>
<
<
<
>
<
<
<
<
>
<
>
>
>
<
<
>
>
<
<
<
<
<
>
<
<
<
<
...

output:

? 18998 18999
? 18996 18998
? 18996 18997
? 18996 18999
? 18997 18998
? 18999 19000
? 18993 18997
? 18993 18994
? 18994 18995
? 18994 18998
? 18993 18998
? 18990 18997
? 18992 18997
? 18991 18997
? 18992 18998
? 18991 18998
? 18987 18990
? 18989 18990
? 18987 18989
? 18988 18989
? 18987 18988
? 1898...

result:

ok yeah, seems ok, spent 31446 queries of 31671

Test #42:

score: 0
Accepted
time: 55ms
memory: 6968kb

input:

20000
<
<
>
>
<
>
>
<
>
>
>
<
>
<
<
>
<
>
>
>
>
<
>
<
>
<
>
<
>
>
>
<
<
<
>
<
>
<
>
>
>
<
>
<
<
>
<
>
>
>
<
>
>
<
>
<
<
<
<
>
<
<
<
<
<
>
<
<
>
>
>
>
<
<
>
>
>
>
<
<
>
<
<
>
<
>
<
>
>
<
>
<
<
>
<
<
<
>
<
<
<
<
<
>
<
<
>
<
<
>
>
<
>
<
>
<
<
<
>
<
<
>
<
<
>
>
<
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
<
>
>
<
<
...

output:

? 19998 19999
? 19996 19998
? 19998 20000
? 19996 20000
? 19996 19997
? 19997 19998
? 19993 20000
? 19993 19994
? 19994 19995
? 19993 19995
? 19995 20000
? 19990 20000
? 19992 20000
? 19991 20000
? 19990 19991
? 19992 19995
? 19987 19990
? 19989 19990
? 19988 19990
? 19989 19991
? 19988 19991
? 1998...

result:

ok yeah, seems ok, spent 33107 queries of 33338

Test #43:

score: 0
Accepted
time: 46ms
memory: 6772kb

input:

21000
>
<
>
<
>
>
<
>
>
>
>
>
<
<
>
>
<
<
>
<
<
<
>
>
>
<
>
<
>
<
>
<
<
>
>
>
<
>
<
<
>
>
<
>
<
>
>
<
<
<
<
>
>
<
>
<
<
>
<
<
<
>
>
>
>
<
>
>
>
<
>
>
<
<
>
>
<
>
>
<
>
<
<
>
<
<
<
>
>
>
>
<
>
>
<
<
>
<
>
>
<
>
>
>
<
<
>
<
>
>
<
>
<
>
>
<
<
>
<
>
<
<
>
>
<
>
>
>
>
<
>
<
>
<
<
<
>
<
<
>
>
<
>
<
<
<
<
...

output:

? 20998 20999
? 20996 20999
? 20999 21000
? 20996 21000
? 20997 21000
? 20997 20999
? 20993 20996
? 20995 20996
? 20994 20996
? 20995 21000
? 20994 21000
? 20990 20993
? 20990 20991
? 20991 20992
? 20991 20996
? 20990 20996
? 20987 20993
? 20989 20993
? 20987 20989
? 20987 20988
? 20988 20993
? 2098...

result:

ok yeah, seems ok, spent 34745 queries of 35005

Test #44:

score: 0
Accepted
time: 54ms
memory: 6948kb

input:

22000
>
<
>
<
>
>
<
<
>
>
>
<
>
>
<
>
<
>
<
<
<
<
>
>
<
<
>
>
<
<
<
>
<
>
<
<
>
<
<
<
<
<
>
>
>
<
>
>
>
>
<
<
<
<
<
<
<
<
>
>
<
<
<
>
>
>
>
<
<
<
>
<
<
<
>
>
>
<
>
>
<
>
>
<
<
>
<
<
<
>
<
<
>
>
<
<
<
>
>
<
<
>
>
<
<
>
<
<
>
>
<
<
<
>
<
>
>
<
<
>
<
>
>
<
<
>
<
<
>
>
<
>
>
<
<
>
>
<
>
>
<
>
<
>
>
<
<
...

output:

? 21998 21999
? 21996 21999
? 21999 22000
? 21996 22000
? 21997 22000
? 21997 21999
? 21993 21996
? 21995 21996
? 21993 21995
? 21993 21994
? 21994 21995
? 21990 21995
? 21992 21995
? 21991 21995
? 21992 21994
? 21991 21992
? 21987 21990
? 21989 21990
? 21988 21990
? 21987 21988
? 21989 21995
? 2198...

result:

ok yeah, seems ok, spent 36397 queries of 36671

Test #45:

score: 0
Accepted
time: 75ms
memory: 7232kb

input:

23000
<
>
<
>
>
<
>
>
<
<
>
>
>
<
<
>
<
<
>
>
>
<
>
<
>
<
>
>
<
<
<
>
<
<
<
>
<
<
>
<
>
>
>
<
<
>
<
<
>
<
<
<
>
>
>
>
<
<
>
<
<
>
<
>
>
>
<
<
>
>
>
<
<
<
>
>
<
>
<
>
<
>
<
<
>
<
>
<
<
>
>
<
<
>
>
<
<
>
<
>
<
<
>
<
>
>
<
<
<
>
<
<
>
<
>
<
>
>
<
<
>
>
>
<
<
>
>
<
>
>
<
>
<
<
<
<
>
<
>
>
>
<
>
>
>
>
>
...

output:

? 22998 22999
? 22996 22998
? 22996 22997
? 22997 23000
? 22996 23000
? 22998 23000
? 22993 22998
? 22993 22994
? 22993 22995
? 22994 22998
? 22995 23000
? 22990 22994
? 22990 22991
? 22990 22992
? 22991 22994
? 22992 22998
? 22987 22991
? 22989 22991
? 22987 22989
? 22987 22988
? 22988 22989
? 2298...

result:

ok yeah, seems ok, spent 38065 queries of 38338

Test #46:

score: 0
Accepted
time: 55ms
memory: 7420kb

input:

24000
<
>
<
>
<
<
<
>
<
<
>
<
<
>
>
<
>
>
>
>
<
<
<
>
>
<
<
>
>
<
>
<
<
<
<
<
>
>
<
>
<
<
<
<
>
<
<
>
>
>
<
>
>
<
>
<
<
<
<
>
<
>
<
<
<
>
>
<
<
>
<
<
>
>
<
<
<
>
<
>
<
>
<
>
<
>
<
>
<
<
<
<
<
>
>
>
<
>
>
<
<
<
<
>
>
<
>
>
<
>
<
>
<
<
>
<
>
<
>
>
<
<
>
<
>
<
>
>
<
>
>
>
>
<
>
>
<
<
<
>
<
>
<
>
<
>
>
...

output:

? 23998 23999
? 23996 23998
? 23996 23997
? 23997 24000
? 23996 24000
? 23993 23998
? 23995 23998
? 23993 23995
? 23993 23994
? 23994 23998
? 23990 23995
? 23990 23991
? 23991 23992
? 23991 23993
? 23990 23993
? 23987 23995
? 23989 23995
? 23988 23995
? 23989 23993
? 23988 23993
? 23984 23987
? 2398...

result:

ok yeah, seems ok, spent 39700 queries of 40005

Test #47:

score: 0
Accepted
time: 57ms
memory: 7312kb

input:

25000
<
<
>
<
<
<
>
<
<
>
<
<
<
<
<
<
<
<
>
<
<
<
>
>
<
<
<
<
>
<
>
<
<
<
>
>
<
>
>
>
>
<
<
>
>
>
<
>
>
>
<
<
>
<
>
<
<
<
<
>
<
<
<
<
<
<
<
<
>
<
>
<
<
>
>
<
<
<
<
>
<
<
>
>
<
>
<
<
>
>
>
>
<
<
>
>
<
>
<
>
<
<
<
<
<
<
<
<
>
>
<
>
<
<
>
>
<
>
>
<
>
<
<
<
>
<
>
<
<
>
<
>
<
<
<
<
<
<
<
>
<
>
<
>
<
>
<
...

output:

? 24998 24999
? 24996 24998
? 24998 25000
? 24996 25000
? 24997 25000
? 24996 24997
? 24993 24996
? 24993 24994
? 24994 24995
? 24994 24997
? 24993 24997
? 24990 24996
? 24992 24996
? 24990 24992
? 24991 24992
? 24990 24991
? 24987 24990
? 24989 24990
? 24987 24989
? 24987 24988
? 24988 24990
? 2498...

result:

ok yeah, seems ok, spent 41346 queries of 41671

Test #48:

score: 0
Accepted
time: 71ms
memory: 7272kb

input:

26000
>
<
<
<
>
<
<
<
<
<
>
>
>
<
>
<
>
<
<
>
<
<
>
>
<
>
<
<
>
<
<
<
>
<
<
>
<
>
<
>
<
>
<
<
<
<
>
<
<
>
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
<
<
<
<
>
<
>
>
<
>
>
>
<
<
>
>
<
>
<
<
<
>
>
>
<
>
>
<
<
<
<
<
<
>
>
<
<
>
<
>
>
>
<
<
<
>
>
<
<
<
>
<
<
>
<
>
>
>
>
<
<
<
<
>
<
<
>
<
<
>
<
<
<
>
<
>
<
<
<
...

output:

? 25998 25999
? 25996 25999
? 25999 26000
? 25997 25999
? 25996 25997
? 25998 26000
? 25993 25997
? 25995 25997
? 25993 25995
? 25994 25995
? 25993 25994
? 25990 25994
? 25990 25991
? 25990 25992
? 25991 25994
? 25992 25993
? 25987 25994
? 25987 25988
? 25988 25989
? 25988 25991
? 25987 25991
? 2598...

result:

ok yeah, seems ok, spent 43021 queries of 43338

Test #49:

score: 0
Accepted
time: 56ms
memory: 7460kb

input:

27000
<
<
>
>
>
<
>
>
<
<
>
<
>
>
<
>
>
<
<
<
>
<
<
>
<
>
>
<
>
<
>
<
>
>
>
>
<
>
>
>
<
<
>
<
>
>
>
<
>
<
>
>
<
>
>
>
<
<
<
>
>
<
>
>
>
>
<
>
<
>
>
<
>
<
<
<
<
<
>
<
<
<
>
>
<
>
>
>
>
<
>
>
>
>
<
<
<
<
>
>
<
<
<
<
>
<
<
<
<
>
>
<
>
<
<
>
<
>
>
<
<
<
>
>
>
<
<
>
<
<
>
>
<
<
<
>
<
<
<
<
>
>
<
>
<
<
<
...

output:

? 26998 26999
? 26996 26998
? 26998 27000
? 26996 27000
? 26996 26997
? 26997 27000
? 26993 26997
? 26993 26994
? 26993 26995
? 26994 26997
? 26995 27000
? 26990 26994
? 26992 26994
? 26991 26994
? 26992 26997
? 26991 26992
? 26987 26990
? 26987 26988
? 26988 26989
? 26988 26994
? 26989 26994
? 2698...

result:

ok yeah, seems ok, spent 44678 queries of 45005

Test #50:

score: 0
Accepted
time: 65ms
memory: 7572kb

input:

28000
>
<
>
<
>
>
<
>
>
>
<
>
<
<
<
<
<
>
>
>
<
>
>
<
>
<
<
<
>
<
>
>
<
<
<
<
<
<
>
>
<
<
>
>
<
>
<
<
<
>
<
<
<
<
>
>
>
<
<
>
>
<
>
<
<
<
>
<
<
>
>
>
>
<
>
<
<
<
>
>
<
<
<
>
<
<
<
>
>
>
>
<
<
>
<
<
<
<
>
>
<
<
>
<
<
>
<
<
>
<
>
>
<
<
>
>
>
<
>
>
<
>
>
<
>
<
<
<
<
<
>
>
>
<
>
>
>
>
<
<
>
<
>
<
>
<
<
...

output:

? 27998 27999
? 27996 27999
? 27999 28000
? 27996 28000
? 27997 28000
? 27997 27999
? 27993 27996
? 27995 27996
? 27994 27996
? 27995 28000
? 27994 28000
? 27990 27993
? 27990 27991
? 27991 27992
? 27991 27996
? 27992 27996
? 27987 27993
? 27989 27993
? 27988 27993
? 27989 27990
? 27988 27990
? 2798...

result:

ok yeah, seems ok, spent 46306 queries of 46671

Test #51:

score: 0
Accepted
time: 119ms
memory: 7760kb

input:

29000
<
>
<
<
<
>
<
>
<
>
>
<
<
<
>
>
<
<
>
<
<
>
<
<
>
<
<
<
>
>
>
>
<
<
>
<
<
<
>
>
>
>
>
<
>
<
<
>
>
>
<
>
>
<
>
>
<
<
<
<
>
>
<
<
>
>
<
<
>
<
<
<
<
>
>
>
<
<
>
>
>
<
<
<
>
<
>
>
<
>
<
<
>
>
>
>
<
<
<
>
>
>
<
<
>
>
<
<
<
<
<
<
>
>
>
<
<
>
>
<
>
<
<
>
<
<
<
>
<
<
>
<
<
<
<
<
<
>
<
<
<
<
<
>
<
<
<
...

output:

? 28998 28999
? 28996 28998
? 28996 28997
? 28997 29000
? 28997 28999
? 28999 29000
? 28993 28998
? 28995 28998
? 28994 28998
? 28993 28994
? 28995 28996
? 28990 28994
? 28992 28994
? 28990 28992
? 28991 28992
? 28991 28994
? 28987 28990
? 28989 28990
? 28987 28989
? 28987 28988
? 28988 28990
? 2898...

result:

ok yeah, seems ok, spent 47989 queries of 48338

Test #52:

score: 0
Accepted
time: 83ms
memory: 7812kb

input:

30000
<
<
>
<
<
<
>
<
<
<
<
<
>
<
<
>
>
<
>
<
>
>
<
<
<
<
<
<
<
<
<
>
>
<
<
<
<
>
>
>
>
>
<
<
<
<
>
<
>
<
>
<
>
<
<
<
<
<
>
>
>
<
>
<
<
>
<
<
<
>
<
>
<
<
<
<
>
<
>
>
<
>
<
>
>
<
>
<
<
<
<
>
>
>
<
<
>
<
<
<
<
<
>
<
>
>
<
<
>
<
<
>
<
<
>
<
<
>
<
>
>
>
<
>
<
>
<
>
<
<
<
<
<
>
>
>
>
>
>
<
>
>
<
>
>
>
>
...

output:

? 29998 29999
? 29996 29998
? 29998 30000
? 29996 30000
? 29997 30000
? 29996 29997
? 29993 29996
? 29993 29994
? 29994 29995
? 29994 29997
? 29995 29997
? 29990 29996
? 29992 29996
? 29991 29996
? 29990 29991
? 29992 29993
? 29987 29990
? 29987 29988
? 29988 29989
? 29987 29989
? 29984 29990
? 2998...

result:

ok yeah, seems ok, spent 49620 queries of 50005

Test #53:

score: 0
Accepted
time: 12ms
memory: 4932kb

input:

5000
>
<
>
<
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>...

output:

? 4998 4999
? 4996 4999
? 4999 5000
? 4996 5000
? 4997 5000
? 4997 4999
? 4993 4996
? 4995 4996
? 4994 4996
? 4995 5000
? 4994 5000
? 4990 4993
? 4992 4993
? 4991 4993
? 4992 4996
? 4991 4996
? 4987 4990
? 4989 4990
? 4988 4990
? 4989 4993
? 4988 4993
? 4984 4987
? 4986 4987
? 4985 4987
? 4986 4990
...

result:

ok yeah, seems ok, spent 8331 queries of 8338

Test #54:

score: 0
Accepted
time: 5ms
memory: 4964kb

input:

5000
>
<
>
<
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
<
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
<
<
<
>
>
>
<
<
>
>
>
<
<
>
>
<
<
>
>
<
>
>
<
>
>
>
<
<
>...

output:

? 4998 4999
? 4996 4999
? 4999 5000
? 4996 5000
? 4997 5000
? 4997 4999
? 4993 4996
? 4995 4996
? 4994 4996
? 4995 5000
? 4994 5000
? 4990 4993
? 4992 4993
? 4991 4993
? 4992 4996
? 4991 4996
? 4987 4990
? 4989 4990
? 4988 4990
? 4989 4993
? 4988 4993
? 4984 4987
? 4986 4987
? 4985 4987
? 4986 4990
...

result:

ok yeah, seems ok, spent 8331 queries of 8338

Test #55:

score: 0
Accepted
time: 8ms
memory: 4996kb

input:

5000
<
>
<
>
>
>
<
>
>
<
<
<
>
>
>
<
<
<
<
>
>
<
>
>
>
<
>
>
<
<
>
<
<
>
>
>
<
>
>
>
<
<
>
<
<
<
<
>
>
>
<
<
>
>
>
<
>
<
<
<
>
>
>
<
<
>
>
>
<
>
>
<
<
<
<
<
<
>
>
>
<
<
>
>
>
>
>
>
<
<
>
<
>
>
>
<
<
>
>
>
<
>
<
<
<
>
>
>
<
<
<
<
<
>
<
<
>
<
<
<
>
>
>
<
>
>
<
<
<
>
<
<
>
>
>
<
<
>
<
<
>
<
>
>
>
>
<
>...

output:

? 4998 4999
? 4996 4998
? 4996 4997
? 4997 5000
? 4996 5000
? 4998 5000
? 4993 5000
? 4995 5000
? 4994 5000
? 4995 4998
? 4994 4995
? 4990 4993
? 4992 4993
? 4991 4993
? 4992 5000
? 4991 5000
? 4987 4990
? 4989 4990
? 4987 4989
? 4988 4989
? 4988 4990
? 4984 4987
? 4986 4987
? 4985 4987
? 4986 4989
...

result:

ok yeah, seems ok, spent 8329 queries of 8338

Test #56:

score: 0
Accepted
time: 9ms
memory: 4888kb

input:

5000
<
<
<
<
<
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<...

output:

? 4998 4999
? 4996 4998
? 4998 5000
? 4997 4998
? 4996 4997
? 4999 5000
? 4993 4996
? 4995 4996
? 4993 4995
? 4994 4995
? 4993 4994
? 4990 4993
? 4992 4993
? 4990 4992
? 4991 4992
? 4990 4991
? 4987 4990
? 4989 4990
? 4987 4989
? 4988 4989
? 4987 4988
? 4984 4987
? 4986 4987
? 4984 4986
? 4985 4986
...

result:

ok yeah, seems ok, spent 8331 queries of 8338

Test #57:

score: 0
Accepted
time: 11ms
memory: 4932kb

input:

5000
<
<
<
<
<
<
<
<
<
<
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
>
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
>
<
<
<
<
<
<
<
<...

output:

? 4998 4999
? 4996 4998
? 4998 5000
? 4997 4998
? 4996 4997
? 4999 5000
? 4993 4996
? 4995 4996
? 4993 4995
? 4994 4995
? 4993 4994
? 4990 4994
? 4992 4994
? 4990 4992
? 4991 4992
? 4990 4991
? 4987 4990
? 4989 4990
? 4987 4989
? 4988 4989
? 4987 4988
? 4984 4987
? 4986 4987
? 4984 4986
? 4985 4986
...

result:

ok yeah, seems ok, spent 8331 queries of 8338

Test #58:

score: 0
Accepted
time: 15ms
memory: 5240kb

input:

5000
>
<
<
<
<
>
<
<
>
>
<
<
<
<
<
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
>
>
<
<
>
>
<
>
<
<
>
<
>
<
<
<
>
>
<
<
<
>
>
<
<
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
>
<
>
>
<
>
<
<
>
<
<
<
<
<
<
<
<
>
>
>
>
<
<
>
<
<
>
>
<
<
<
<
<
<
>
>
<
<
>
<
<
<
<
<
<
<
<
<
<
<
>
<
<
>
<
<
<
>
>
<
<
<
<
<
<
>
<
<
>
<
<
>
<
>
>
>
<...

output:

? 4998 4999
? 4996 4999
? 4999 5000
? 4997 4999
? 4996 4997
? 4998 5000
? 4993 4996
? 4995 4996
? 4993 4995
? 4993 4994
? 4994 4995
? 4990 4994
? 4992 4994
? 4990 4992
? 4991 4992
? 4990 4991
? 4987 4991
? 4989 4991
? 4987 4989
? 4988 4989
? 4987 4988
? 4984 4987
? 4986 4987
? 4984 4986
? 4985 4986
...

result:

ok yeah, seems ok, spent 8315 queries of 8338

Test #59:

score: 0
Accepted
time: 10ms
memory: 4948kb

input:

5000
<
<
>
>
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<...

output:

? 4998 4999
? 4996 4998
? 4998 5000
? 4996 5000
? 4996 4997
? 4997 4998
? 4993 5000
? 4993 4994
? 4994 4995
? 4994 4996
? 4995 4996
? 4990 5000
? 4990 4991
? 4991 4992
? 4991 4993
? 4992 4993
? 4987 5000
? 4987 4988
? 4988 4989
? 4988 4990
? 4989 4990
? 4984 5000
? 4984 4985
? 4985 4986
? 4985 4987
...

result:

ok yeah, seems ok, spent 8331 queries of 8338

Test #60:

score: 0
Accepted
time: 12ms
memory: 4924kb

input:

5000
<
<
>
>
<
<
>
<
<
<
>
>
<
<
<
<
<
<
>
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
<
<
>
<
<
>
<
<
<
<
<
>
<
>
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
<
<
>
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
<
<...

output:

? 4998 4999
? 4996 4998
? 4998 5000
? 4996 5000
? 4996 4997
? 4997 4998
? 4993 5000
? 4993 4994
? 4994 4995
? 4994 4996
? 4995 4996
? 4990 5000
? 4990 4991
? 4991 4992
? 4991 4993
? 4992 4993
? 4987 5000
? 4989 5000
? 4987 4989
? 4987 4988
? 4988 5000
? 4984 4989
? 4984 4985
? 4985 4986
? 4985 4987
...

result:

ok yeah, seems ok, spent 8278 queries of 8338

Test #61:

score: 0
Accepted
time: 13ms
memory: 4928kb

input:

5000
>
>
<
<
<
<
<
>
>
<
<
>
>
<
>
<
>
<
>
<
>
<
<
<
>
<
>
>
<
>
>
<
<
<
<
>
<
<
<
<
<
>
>
<
<
<
<
<
<
>
>
<
<
<
<
<
>
>
>
>
>
<
<
<
>
>
<
>
<
>
<
<
<
<
>
<
>
<
<
>
<
<
<
<
<
<
>
<
<
>
<
>
<
>
<
<
<
<
<
>
>
>
>
<
>
<
>
<
>
<
>
<
>
<
<
<
<
<
<
>
<
<
>
<
<
<
<
<
>
>
<
<
<
<
<
>
<
>
<
<
<
<
>
>
<
<
<
>...

output:

? 4998 4999
? 4996 4999
? 4996 4997
? 4997 5000
? 4997 4998
? 4998 5000
? 4993 4999
? 4995 4999
? 4994 4999
? 4995 4996
? 4994 4995
? 4990 4993
? 4990 4991
? 4990 4992
? 4991 4993
? 4992 4999
? 4987 4993
? 4987 4988
? 4988 4989
? 4987 4989
? 4984 4993
? 4984 4985
? 4985 4986
? 4985 4987
? 4986 4987
...

result:

ok yeah, seems ok, spent 8210 queries of 8338

Test #62:

score: 0
Accepted
time: 10ms
memory: 5012kb

input:

5000
>
>
<
>
>
<
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<...

output:

? 4998 4999
? 4996 4999
? 4996 4997
? 4997 5000
? 4996 5000
? 4999 5000
? 4993 4999
? 4993 4994
? 4994 4995
? 4994 5000
? 4993 5000
? 4990 4999
? 4990 4991
? 4991 4992
? 4991 5000
? 4990 5000
? 4987 4999
? 4987 4988
? 4988 4989
? 4988 5000
? 4987 5000
? 4984 4999
? 4984 4985
? 4985 4986
? 4985 5000
...

result:

ok yeah, seems ok, spent 8331 queries of 8338

Test #63:

score: 0
Accepted
time: 10ms
memory: 5192kb

input:

5000
>
>
<
>
>
<
>
<
<
>
>
>
<
>
>
<
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
<
>
>
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
<
>
>
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
>
>
>
>
<
<
>
>
>
<
<
>
<
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
<
>...

output:

? 4998 4999
? 4996 4999
? 4996 4997
? 4997 5000
? 4996 5000
? 4999 5000
? 4993 4999
? 4993 4994
? 4994 4995
? 4994 5000
? 4993 5000
? 4990 4999
? 4990 4991
? 4991 4992
? 4990 4992
? 4992 4999
? 4987 4992
? 4987 4988
? 4988 4989
? 4988 4999
? 4987 4999
? 4984 4992
? 4984 4985
? 4985 4986
? 4985 4999
...

result:

ok yeah, seems ok, spent 8329 queries of 8338

Test #64:

score: 0
Accepted
time: 22ms
memory: 5192kb

input:

5000
>
>
<
>
>
<
>
<
<
>
>
>
>
<
<
>
<
>
>
>
>
>
<
<
>
>
>
<
>
>
>
<
>
>
>
>
>
<
<
>
<
>
>
<
<
>
>
<
<
<
>
>
<
>
>
<
>
>
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
>
>
<
>
<
<
>
>
>
<
<
>
>
>
>
<
>
>
>
<
>
>
>
<
<
>
>
>
>
>
<
<
>
<
>
>
>
>
<
<
>
>
>
>
>
<
<
<
>
>
<
<
<
<
>
>
>
>
>
<
>
>
<
>
<...

output:

? 4998 4999
? 4996 4999
? 4996 4997
? 4997 5000
? 4996 5000
? 4999 5000
? 4993 4999
? 4993 4994
? 4994 4995
? 4994 5000
? 4993 5000
? 4990 4999
? 4990 4991
? 4990 4992
? 4991 4999
? 4992 5000
? 4987 4991
? 4989 4991
? 4988 4991
? 4989 4999
? 4988 4999
? 4984 4987
? 4984 4985
? 4985 4986
? 4985 4991
...

result:

ok yeah, seems ok, spent 8306 queries of 8338

Test #65:

score: 0
Accepted
time: 15ms
memory: 4904kb

input:

5000
>
<
>
<
<
<
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>...

output:

? 4998 4999
? 4996 4999
? 4999 5000
? 4996 5000
? 4997 5000
? 4996 4997
? 4993 4996
? 4995 4996
? 4994 4996
? 4995 4997
? 4994 4995
? 4990 4993
? 4992 4993
? 4990 4992
? 4990 4991
? 4991 4992
? 4987 4992
? 4989 4992
? 4987 4989
? 4988 4989
? 4987 4988
? 4984 4988
? 4986 4988
? 4985 4988
? 4984 4985
...

result:

ok yeah, seems ok, spent 8331 queries of 8338

Test #66:

score: 0
Accepted
time: 15ms
memory: 4936kb

input:

5000
>
<
<
<
<
>
<
>
>
<
>
<
<
>
>
>
<
>
<
>
<
<
<
<
<
<
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
>
>
<
<
>
>
<
>
>
>
<
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
>
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>...

output:

? 4998 4999
? 4996 4999
? 4999 5000
? 4997 4999
? 4996 4997
? 4998 5000
? 4993 4996
? 4995 4996
? 4994 4996
? 4995 4997
? 4994 4995
? 4990 4993
? 4992 4993
? 4990 4992
? 4990 4991
? 4991 4992
? 4987 4992
? 4989 4992
? 4988 4992
? 4987 4988
? 4989 4991
? 4984 4988
? 4986 4988
? 4984 4986
? 4985 4986
...

result:

ok yeah, seems ok, spent 8317 queries of 8338

Test #67:

score: 0
Accepted
time: 10ms
memory: 4876kb

input:

5000
<
<
<
<
<
<
<
>
>
>
>
>
>
<
>
>
<
<
<
<
<
<
>
>
>
<
<
>
>
<
>
<
<
>
>
>
<
<
>
>
<
<
>
<
<
<
<
>
>
<
>
>
<
<
<
>
<
<
<
<
>
<
>
<
<
<
<
>
<
<
<
<
<
<
>
<
<
<
<
<
<
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
<
<
<
<
<
>
>
>
<
<
<
<
>
<
>
<
<
<
>
>
<
>
>
>
<
>...

output:

? 4998 4999
? 4996 4998
? 4998 5000
? 4997 4998
? 4996 4997
? 4999 5000
? 4993 4996
? 4995 4996
? 4994 4996
? 4995 4997
? 4994 4997
? 4990 4993
? 4990 4991
? 4990 4992
? 4991 4993
? 4992 4996
? 4987 4993
? 4989 4993
? 4987 4989
? 4988 4989
? 4987 4988
? 4984 4987
? 4986 4987
? 4985 4987
? 4986 4988
...

result:

ok yeah, seems ok, spent 8274 queries of 8338

Test #68:

score: 0
Accepted
time: 25ms
memory: 5544kb

input:

10000
>
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
...

output:

? 9998 9999
? 9996 9999
? 9996 9997
? 9996 9998
? 9997 9999
? 9998 10000
? 9993 9997
? 9993 9994
? 9993 9995
? 9994 9997
? 9995 9999
? 9990 9994
? 9990 9991
? 9990 9992
? 9991 9994
? 9992 9997
? 9987 9991
? 9987 9988
? 9987 9989
? 9988 9991
? 9989 9994
? 9984 9988
? 9984 9985
? 9984 9986
? 9985 9988...

result:

ok yeah, seems ok, spent 16666 queries of 16671

Test #69:

score: 0
Accepted
time: 31ms
memory: 5508kb

input:

10000
>
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
>
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
>
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
...

output:

? 9998 9999
? 9996 9999
? 9996 9997
? 9996 9998
? 9997 9999
? 9998 10000
? 9993 9997
? 9993 9994
? 9993 9995
? 9994 9997
? 9995 9999
? 9990 9994
? 9990 9991
? 9990 9992
? 9991 9994
? 9992 9997
? 9987 9991
? 9987 9988
? 9987 9989
? 9988 9991
? 9989 9994
? 9984 9988
? 9984 9985
? 9984 9986
? 9985 9988...

result:

ok yeah, seems ok, spent 16664 queries of 16671

Test #70:

score: 0
Accepted
time: 32ms
memory: 5524kb

input:

10000
<
<
>
<
>
<
>
<
>
>
<
<
>
<
>
<
>
>
<
<
>
>
>
<
<
<
<
<
>
>
<
<
>
<
>
<
>
<
<
>
>
>
>
<
<
>
<
>
<
<
>
>
<
>
>
<
>
>
<
<
<
>
>
<
>
<
<
>
<
>
<
>
>
<
>
<
<
<
<
>
>
<
>
>
<
<
<
<
<
<
>
>
>
<
>
<
>
<
>
>
>
<
>
<
<
<
<
>
<
<
<
<
>
<
<
>
>
>
<
<
<
<
>
>
<
<
>
>
<
<
<
>
>
<
<
<
>
<
>
>
>
>
>
<
<
<
<
...

output:

? 9998 9999
? 9996 9998
? 9998 10000
? 9996 10000
? 9997 10000
? 9997 9998
? 9993 9996
? 9993 9994
? 9994 9995
? 9993 9995
? 9995 9996
? 9990 9995
? 9992 9995
? 9991 9995
? 9990 9991
? 9992 9996
? 9987 9991
? 9987 9988
? 9987 9989
? 9988 9991
? 9989 9990
? 9984 9988
? 9984 9985
? 9984 9986
? 9985 99...

result:

ok yeah, seems ok, spent 16611 queries of 16671

Test #71:

score: 0
Accepted
time: 14ms
memory: 5520kb

input:

10000
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
...

output:

? 9998 9999
? 9996 9998
? 9998 10000
? 9997 9998
? 9996 9997
? 9999 10000
? 9993 9996
? 9995 9996
? 9993 9995
? 9994 9995
? 9993 9994
? 9990 9993
? 9992 9993
? 9990 9992
? 9991 9992
? 9990 9991
? 9987 9990
? 9989 9990
? 9987 9989
? 9988 9989
? 9987 9988
? 9984 9987
? 9986 9987
? 9984 9986
? 9985 998...

result:

ok yeah, seems ok, spent 16665 queries of 16671

Test #72:

score: 0
Accepted
time: 24ms
memory: 5576kb

input:

10000
<
<
<
<
<
<
<
<
<
<
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
>
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
>
<
<
<
<
<
<
<
<
<
<
<
<
>
>
<
<
<
<
<
<
<
>
>
<
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
...

output:

? 9998 9999
? 9996 9998
? 9998 10000
? 9997 9998
? 9996 9997
? 9999 10000
? 9993 9996
? 9995 9996
? 9993 9995
? 9994 9995
? 9993 9994
? 9990 9994
? 9992 9994
? 9990 9992
? 9991 9992
? 9990 9991
? 9987 9990
? 9989 9990
? 9987 9989
? 9988 9989
? 9987 9988
? 9984 9987
? 9986 9987
? 9984 9986
? 9985 998...

result:

ok yeah, seems ok, spent 16665 queries of 16671

Test #73:

score: 0
Accepted
time: 22ms
memory: 5804kb

input:

10000
<
<
<
<
>
>
<
<
<
>
>
<
>
<
>
<
<
<
<
<
<
<
<
<
<
<
<
<
>
>
>
<
>
<
<
>
<
<
>
>
<
<
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
>
<
<
<
>
>
<
<
<
<
<
<
<
>
<
>
>
<
>
<
<
<
<
<
<
>
>
<
>
<
<
>
<
<
<
<
<
<
<
<
<
<
>
>
<
<
<
<
<
<
>
<
>
>
<
<
>
<
>
<
<
>
<
<
<
<
<
<
<
<
<
<
<
>
>
<
>
<
<
>
>
<
>
<
>
>
<
<
...

output:

? 9998 9999
? 9996 9998
? 9998 10000
? 9997 9998
? 9996 9997
? 9999 10000
? 9993 9997
? 9995 9997
? 9993 9995
? 9994 9995
? 9994 9997
? 9990 9993
? 9992 9993
? 9991 9993
? 9990 9991
? 9992 9995
? 9987 9991
? 9989 9991
? 9987 9989
? 9988 9989
? 9987 9988
? 9984 9987
? 9986 9987
? 9984 9986
? 9985 998...

result:

ok yeah, seems ok, spent 16658 queries of 16671

Test #74:

score: 0
Accepted
time: 27ms
memory: 5552kb

input:

10000
>
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
...

output:

? 9998 9999
? 9996 9999
? 9996 9997
? 9997 10000
? 9997 9998
? 9998 10000
? 9993 9999
? 9993 9994
? 9994 9995
? 9994 9996
? 9995 9996
? 9990 9999
? 9990 9991
? 9991 9992
? 9991 9993
? 9992 9993
? 9987 9999
? 9987 9988
? 9988 9989
? 9988 9990
? 9989 9990
? 9984 9999
? 9984 9985
? 9985 9986
? 9985 998...

result:

ok yeah, seems ok, spent 16665 queries of 16671

Test #75:

score: 0
Accepted
time: 5ms
memory: 5540kb

input:

10000
<
<
>
>
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
<
>
>
<
<
>
<
<
<
<
<
>
<
>
<
>
>
<
>
<
<
<
>
<
<
>
<
<
<
>
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
>
<
>
<
<
<
>
>
<
<
<
<
>
<
<
<
<
>
>
...

output:

? 9998 9999
? 9996 9998
? 9998 10000
? 9996 10000
? 9996 9997
? 9997 9998
? 9993 10000
? 9993 9994
? 9994 9995
? 9994 9996
? 9995 9996
? 9990 10000
? 9990 9991
? 9991 9992
? 9991 9993
? 9992 9993
? 9987 10000
? 9987 9988
? 9988 9989
? 9988 9990
? 9989 9990
? 9984 10000
? 9984 9985
? 9985 9986
? 9985...

result:

ok yeah, seems ok, spent 16559 queries of 16671

Test #76:

score: 0
Accepted
time: 23ms
memory: 5440kb

input:

10000
>
>
<
<
<
<
<
>
>
<
<
<
<
>
<
<
<
>
>
>
<
<
>
<
>
<
>
<
<
<
>
<
>
>
<
<
>
<
<
<
<
>
<
>
<
>
<
<
<
<
>
>
<
>
<
<
<
>
<
<
<
>
<
>
<
>
<
<
>
<
>
<
<
<
<
>
<
<
<
<
>
<
>
<
>
>
<
>
<
<
>
>
<
<
>
<
<
<
<
>
<
<
<
<
>
<
>
>
>
>
<
<
<
<
<
>
>
<
<
<
<
>
<
<
>
>
<
>
<
>
<
<
<
<
<
>
>
<
<
>
<
<
<
>
<
>
>
...

output:

? 9998 9999
? 9996 9999
? 9996 9997
? 9997 10000
? 9997 9998
? 9998 10000
? 9993 9999
? 9995 9999
? 9994 9999
? 9995 9996
? 9994 9995
? 9990 9993
? 9992 9993
? 9990 9992
? 9990 9991
? 9991 9993
? 9987 9992
? 9989 9992
? 9988 9992
? 9989 9990
? 9988 9990
? 9984 9987
? 9986 9987
? 9985 9987
? 9984 998...

result:

ok yeah, seems ok, spent 16409 queries of 16671

Test #77:

score: 0
Accepted
time: 27ms
memory: 5508kb

input:

10000
>
>
<
>
>
<
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
...

output:

? 9998 9999
? 9996 9999
? 9996 9997
? 9997 10000
? 9996 10000
? 9999 10000
? 9993 9999
? 9993 9994
? 9994 9995
? 9994 10000
? 9993 10000
? 9990 9999
? 9990 9991
? 9991 9992
? 9991 10000
? 9990 10000
? 9987 9999
? 9987 9988
? 9988 9989
? 9988 10000
? 9987 10000
? 9984 9999
? 9984 9985
? 9985 9986
? 9...

result:

ok yeah, seems ok, spent 16665 queries of 16671

Test #78:

score: 0
Accepted
time: 40ms
memory: 5512kb

input:

10000
>
>
<
>
>
<
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
<
>
>
>
>
>
<
<
>
>
>
<
>
>
<
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
>
>
>
>
<
<
>
>
>
...

output:

? 9998 9999
? 9996 9999
? 9996 9997
? 9997 10000
? 9996 10000
? 9999 10000
? 9993 9999
? 9993 9994
? 9994 9995
? 9994 10000
? 9993 10000
? 9990 9999
? 9990 9991
? 9991 9992
? 9991 10000
? 9990 10000
? 9987 9999
? 9987 9988
? 9988 9989
? 9988 10000
? 9987 10000
? 9984 9999
? 9984 9985
? 9985 9986
? 9...

result:

ok yeah, seems ok, spent 16661 queries of 16671

Test #79:

score: 0
Accepted
time: 29ms
memory: 5512kb

input:

10000
>
<
>
>
>
>
>
<
<
>
<
<
<
>
>
<
>
<
<
>
<
>
<
<
>
>
<
<
<
>
<
>
<
<
>
>
>
>
<
<
>
>
<
<
<
>
>
<
<
>
<
>
>
<
>
>
>
<
<
>
>
<
>
>
<
>
>
<
>
<
>
<
<
>
>
>
<
<
>
>
<
>
>
>
>
<
>
>
>
>
>
<
>
<
>
<
>
>
>
>
<
<
>
<
>
>
<
<
>
>
<
>
>
>
<
<
<
>
>
>
<
>
>
<
>
<
<
<
>
>
<
<
>
>
>
<
<
>
<
>
<
>
>
>
>
<
>
...

output:

? 9998 9999
? 9996 9999
? 9999 10000
? 9996 10000
? 9996 9997
? 9997 10000
? 9993 10000
? 9993 9994
? 9994 9995
? 9994 9997
? 9993 9997
? 9990 10000
? 9992 10000
? 9990 9992
? 9990 9991
? 9991 9992
? 9987 9991
? 9987 9988
? 9988 9989
? 9988 9992
? 9987 9992
? 9984 9991
? 9984 9985
? 9985 9986
? 9985...

result:

ok yeah, seems ok, spent 16607 queries of 16671

Test #80:

score: 0
Accepted
time: 22ms
memory: 5820kb

input:

10000
>
<
<
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
...

output:

? 9998 9999
? 9996 9999
? 9999 10000
? 9997 9999
? 9996 9997
? 9998 10000
? 9993 9996
? 9995 9996
? 9994 9996
? 9995 9997
? 9994 9995
? 9990 9993
? 9992 9993
? 9990 9992
? 9990 9991
? 9991 9992
? 9987 9992
? 9989 9992
? 9987 9989
? 9988 9989
? 9987 9988
? 9984 9988
? 9986 9988
? 9985 9988
? 9984 998...

result:

ok yeah, seems ok, spent 16666 queries of 16671

Test #81:

score: 0
Accepted
time: 39ms
memory: 5480kb

input:

10000
>
<
>
<
<
<
<
>
<
<
<
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
>
>
>
<
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
<
<
>
>
<
>
>
<
>
>
<
<
<
>
<
<
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
>
>
<
<
>
<
<
<
<
<
<
>
<
>
<
<
>
<
...

output:

? 9998 9999
? 9996 9999
? 9999 10000
? 9996 10000
? 9997 10000
? 9996 9997
? 9993 9996
? 9995 9996
? 9994 9996
? 9993 9994
? 9995 9997
? 9990 9993
? 9992 9993
? 9990 9992
? 9990 9991
? 9991 9992
? 9987 9992
? 9989 9992
? 9987 9989
? 9988 9989
? 9987 9988
? 9984 9988
? 9986 9988
? 9985 9988
? 9984 99...

result:

ok yeah, seems ok, spent 16639 queries of 16671

Test #82:

score: 0
Accepted
time: 24ms
memory: 5544kb

input:

10000
<
<
<
<
>
>
>
<
<
>
>
<
<
>
>
<
>
<
<
<
>
<
<
<
<
<
<
<
<
>
>
>
<
<
>
<
<
<
<
<
>
<
>
<
<
>
<
>
<
<
<
<
>
>
>
<
<
<
<
<
>
<
>
<
>
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
<
<
<
<
>
<
>
>
>
>
<
>
>
<
<
<
<
<
>
<
>
<
>
>
>
<
>
>
>
<
<
<
>
<
<
<
>
>
>
<
<
<
<
<
>
<
<
<
<
<
<
>
<
<
<
>
<
>
>
<
<
<
<
<
<
...

output:

? 9998 9999
? 9996 9998
? 9998 10000
? 9997 9998
? 9996 9997
? 9999 10000
? 9993 9997
? 9993 9994
? 9994 9995
? 9994 9996
? 9993 9996
? 9990 9997
? 9992 9997
? 9990 9992
? 9990 9991
? 9991 9992
? 9987 9991
? 9987 9988
? 9988 9989
? 9988 9992
? 9989 9992
? 9984 9991
? 9986 9991
? 9984 9986
? 9985 998...

result:

ok yeah, seems ok, spent 16581 queries of 16671

Test #83:

score: 0
Accepted
time: 13ms
memory: 6384kb

input:

15000
<
>
<
>
<
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
...

output:

? 14998 14999
? 14996 14998
? 14996 14997
? 14997 15000
? 14996 15000
? 14993 14998
? 14995 14998
? 14993 14995
? 14993 14994
? 14994 14998
? 14990 14995
? 14992 14995
? 14990 14992
? 14990 14991
? 14991 14995
? 14987 14992
? 14989 14992
? 14987 14989
? 14987 14988
? 14988 14992
? 14984 14989
? 1498...

result:

ok yeah, seems ok, spent 24997 queries of 25005

Test #84:

score: 0
Accepted
time: 44ms
memory: 6376kb

input:

15000
<
<
>
>
<
>
<
<
<
>
>
<
<
<
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
<
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
...

output:

? 14998 14999
? 14996 14998
? 14998 15000
? 14996 15000
? 14996 14997
? 14997 14998
? 14993 15000
? 14995 15000
? 14993 14995
? 14994 14995
? 14994 15000
? 14990 14993
? 14992 14993
? 14990 14992
? 14991 14992
? 14990 14991
? 14987 14991
? 14989 14991
? 14987 14989
? 14987 14988
? 14988 14991
? 1498...

result:

ok yeah, seems ok, spent 24842 queries of 25005

Test #85:

score: 0
Accepted
time: 29ms
memory: 6328kb

input:

15000
<
>
<
<
<
<
<
<
>
<
>
>
<
>
>
>
>
<
<
>
<
<
<
<
<
>
>
<
<
>
<
<
>
>
>
>
<
<
<
>
<
<
<
<
<
>
>
<
>
<
<
<
<
<
>
<
<
>
<
>
<
>
<
<
>
<
<
<
>
>
<
<
<
<
>
<
<
>
<
>
<
<
>
>
<
<
<
>
<
>
<
<
>
<
<
<
<
<
<
>
>
<
<
>
<
<
<
>
<
<
<
<
>
<
>
<
<
<
<
>
<
<
<
<
>
>
>
<
>
<
>
<
>
>
<
<
<
<
>
>
>
<
<
>
<
>
<
...

output:

? 14998 14999
? 14996 14998
? 14996 14997
? 14997 15000
? 14997 14999
? 14999 15000
? 14993 14998
? 14995 14998
? 14993 14995
? 14993 14994
? 14994 14998
? 14990 14995
? 14990 14991
? 14991 14992
? 14990 14992
? 14992 14995
? 14987 14995
? 14987 14988
? 14988 14989
? 14988 14992
? 14987 14992
? 1498...

result:

ok yeah, seems ok, spent 24623 queries of 25005

Test #86:

score: 0
Accepted
time: 32ms
memory: 6064kb

input:

15000
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
...

output:

? 14998 14999
? 14996 14998
? 14998 15000
? 14997 14998
? 14996 14997
? 14999 15000
? 14993 14996
? 14995 14996
? 14993 14995
? 14994 14995
? 14993 14994
? 14990 14993
? 14992 14993
? 14990 14992
? 14991 14992
? 14990 14991
? 14987 14990
? 14989 14990
? 14987 14989
? 14988 14989
? 14987 14988
? 1498...

result:

ok yeah, seems ok, spent 24998 queries of 25005

Test #87:

score: 0
Accepted
time: 33ms
memory: 6088kb

input:

15000
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
>
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
>
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
>
<
<
>
<
<
<
<
<
<
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
...

output:

? 14998 14999
? 14996 14998
? 14998 15000
? 14997 14998
? 14996 14997
? 14999 15000
? 14993 14996
? 14995 14996
? 14993 14995
? 14994 14995
? 14993 14994
? 14990 14993
? 14992 14993
? 14990 14992
? 14991 14992
? 14990 14991
? 14987 14990
? 14989 14990
? 14987 14989
? 14988 14989
? 14987 14988
? 1498...

result:

ok yeah, seems ok, spent 24998 queries of 25005

Test #88:

score: 0
Accepted
time: 34ms
memory: 6084kb

input:

15000
>
<
>
<
<
<
<
>
<
<
<
>
<
<
>
<
<
<
>
>
<
<
<
<
<
<
<
<
<
>
<
<
<
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
>
>
<
>
<
<
<
<
<
>
>
<
<
<
>
>
>
<
<
<
<
<
<
<
<
>
>
>
<
>
>
<
>
>
<
<
>
<
>
<
<
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
>
<
<
<
<
<
<
<
>
<
<
<
<
<
<
>
<
<
>
<
<
<
<
<
<
<
<
>
>
<
<
<
>
>
<
<
<
<
<
>
...

output:

? 14998 14999
? 14996 14999
? 14999 15000
? 14996 15000
? 14997 15000
? 14996 14997
? 14993 14996
? 14995 14996
? 14994 14996
? 14993 14994
? 14995 14997
? 14990 14993
? 14990 14991
? 14991 14992
? 14991 14994
? 14990 14994
? 14987 14993
? 14989 14993
? 14987 14989
? 14987 14988
? 14988 14989
? 1498...

result:

ok yeah, seems ok, spent 24983 queries of 25005

Test #89:

score: 0
Accepted
time: 49ms
memory: 6096kb

input:

15000
<
<
>
>
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
...

output:

? 14998 14999
? 14996 14998
? 14998 15000
? 14996 15000
? 14996 14997
? 14997 14998
? 14993 15000
? 14993 14994
? 14994 14995
? 14994 14996
? 14995 14996
? 14990 15000
? 14990 14991
? 14991 14992
? 14991 14993
? 14992 14993
? 14987 15000
? 14987 14988
? 14988 14989
? 14988 14990
? 14989 14990
? 1498...

result:

ok yeah, seems ok, spent 24998 queries of 25005

Test #90:

score: 0
Accepted
time: 53ms
memory: 6144kb

input:

15000
<
<
>
>
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
<
>
>
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
>
<
<
>
>
<
<
>
<
...

output:

? 14998 14999
? 14996 14998
? 14998 15000
? 14996 15000
? 14996 14997
? 14997 14998
? 14993 15000
? 14993 14994
? 14994 14995
? 14994 14996
? 14995 14996
? 14990 15000
? 14990 14991
? 14991 14992
? 14991 14993
? 14992 14993
? 14987 15000
? 14987 14988
? 14988 14989
? 14988 14990
? 14989 14990
? 1498...

result:

ok yeah, seems ok, spent 24862 queries of 25005

Test #91:

score: 0
Accepted
time: 55ms
memory: 6072kb

input:

15000
<
<
<
>
<
>
>
<
<
<
<
<
<
>
<
<
>
>
<
>
<
>
<
<
<
<
>
<
<
<
<
<
>
>
>
<
<
>
<
>
<
>
<
>
<
<
>
>
<
<
<
>
>
<
<
<
<
>
<
<
>
<
>
<
<
<
>
<
<
<
>
>
<
<
>
<
<
<
<
>
<
<
<
<
<
>
>
<
<
>
>
<
>
<
<
>
>
<
<
<
>
<
>
>
<
>
>
<
<
>
>
<
>
<
<
<
<
>
<
<
>
>
<
>
>
<
<
<
<
>
<
<
<
<
>
<
>
<
<
<
>
<
<
<
>
<
>
...

output:

? 14998 14999
? 14996 14998
? 14998 15000
? 14997 14998
? 14999 15000
? 14997 14999
? 14993 14996
? 14993 14994
? 14994 14995
? 14994 14998
? 14995 14998
? 14990 14996
? 14992 14996
? 14990 14992
? 14990 14991
? 14991 14996
? 14987 14992
? 14987 14988
? 14987 14989
? 14988 14992
? 14989 14990
? 1498...

result:

ok yeah, seems ok, spent 24616 queries of 25005

Test #92:

score: 0
Accepted
time: 27ms
memory: 6064kb

input:

15000
>
>
<
>
>
<
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
...

output:

? 14998 14999
? 14996 14999
? 14996 14997
? 14997 15000
? 14996 15000
? 14999 15000
? 14993 14999
? 14993 14994
? 14994 14995
? 14994 15000
? 14993 15000
? 14990 14999
? 14990 14991
? 14991 14992
? 14991 15000
? 14990 15000
? 14987 14999
? 14987 14988
? 14988 14989
? 14988 15000
? 14987 15000
? 1498...

result:

ok yeah, seems ok, spent 24997 queries of 25005

Test #93:

score: 0
Accepted
time: 44ms
memory: 6128kb

input:

15000
>
>
<
>
>
<
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
<
>
>
>
>
>
<
<
>
>
>
<
>
>
<
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
>
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
<
>
<
<
>
>
<
>
>
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
>
<
>
>
>
<
<
>
>
>
...

output:

? 14998 14999
? 14996 14999
? 14996 14997
? 14997 15000
? 14996 15000
? 14999 15000
? 14993 14999
? 14993 14994
? 14994 14995
? 14994 15000
? 14993 15000
? 14990 14999
? 14990 14991
? 14991 14992
? 14991 15000
? 14990 15000
? 14987 14999
? 14987 14988
? 14988 14989
? 14988 15000
? 14987 15000
? 1498...

result:

ok yeah, seems ok, spent 24987 queries of 25005

Test #94:

score: 0
Accepted
time: 24ms
memory: 6352kb

input:

15000
>
<
>
>
<
<
>
<
<
>
>
>
<
<
>
>
>
<
<
>
<
>
<
<
<
>
>
<
<
>
>
>
<
<
>
>
<
>
>
>
>
>
<
<
>
>
>
>
<
<
>
>
<
<
>
>
<
>
<
<
<
>
<
>
>
>
>
>
<
>
>
<
<
<
>
<
>
>
<
<
>
>
<
<
>
<
>
<
<
>
<
<
>
>
>
<
<
>
>
>
>
<
>
>
>
>
>
<
<
>
>
<
>
>
<
>
>
<
<
>
>
>
>
<
<
>
>
>
<
>
<
>
<
>
>
<
>
>
<
<
>
>
<
<
>
>
>
...

output:

? 14998 14999
? 14996 14999
? 14999 15000
? 14996 15000
? 14996 14997
? 14997 14999
? 14993 15000
? 14993 14994
? 14994 14995
? 14994 14996
? 14993 14996
? 14990 15000
? 14990 14991
? 14991 14992
? 14991 14996
? 14990 14996
? 14987 15000
? 14987 14988
? 14988 14989
? 14988 14996
? 14987 14996
? 1498...

result:

ok yeah, seems ok, spent 24906 queries of 25005

Test #95:

score: 0
Accepted
time: 33ms
memory: 6092kb

input:

15000
>
<
<
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
...

output:

? 14998 14999
? 14996 14999
? 14999 15000
? 14997 14999
? 14996 14997
? 14998 15000
? 14993 14996
? 14995 14996
? 14994 14996
? 14995 14997
? 14994 14995
? 14990 14993
? 14992 14993
? 14990 14992
? 14990 14991
? 14991 14992
? 14987 14992
? 14989 14992
? 14987 14989
? 14988 14989
? 14987 14988
? 1498...

result:

ok yeah, seems ok, spent 24998 queries of 25005

Test #96:

score: 0
Accepted
time: 47ms
memory: 6356kb

input:

15000
>
<
<
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
>
>
<
>
>
>
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
>
<
>
<
<
>
>
>
<
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
>
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
<
<
>
>
>
>
<
>
>
<
<
<
<
>
<
>
<
<
>
<
...

output:

? 14998 14999
? 14996 14999
? 14999 15000
? 14997 14999
? 14996 14997
? 14998 15000
? 14993 14996
? 14995 14996
? 14994 14996
? 14995 14997
? 14994 14995
? 14990 14993
? 14992 14993
? 14990 14992
? 14990 14991
? 14991 14992
? 14987 14992
? 14989 14992
? 14987 14989
? 14988 14989
? 14987 14988
? 1498...

result:

ok yeah, seems ok, spent 24970 queries of 25005

Test #97:

score: 0
Accepted
time: 32ms
memory: 6088kb

input:

15000
>
<
>
<
>
>
<
>
>
<
>
<
<
>
>
>
>
>
<
<
<
<
>
<
<
>
<
>
<
<
<
<
<
>
>
>
>
<
>
<
<
>
>
>
<
<
>
>
<
>
<
<
>
>
>
>
>
<
<
>
<
>
<
>
>
>
>
<
<
<
<
<
>
>
>
<
<
>
<
<
>
>
<
<
>
>
<
>
>
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
>
>
>
<
>
>
>
>
>
<
<
<
<
>
<
<
>
<
>
<
<
<
<
<
<
<
<
<
<
<
<
>
>
>
<
>
>
<
>
...

output:

? 14998 14999
? 14996 14999
? 14999 15000
? 14996 15000
? 14997 15000
? 14997 14999
? 14993 14996
? 14995 14996
? 14994 14996
? 14995 15000
? 14994 14995
? 14990 14993
? 14992 14993
? 14990 14992
? 14990 14991
? 14991 14992
? 14987 14992
? 14987 14988
? 14987 14989
? 14988 14992
? 14989 14991
? 1498...

result:

ok yeah, seems ok, spent 24878 queries of 25005

Test #98:

score: 0
Accepted
time: 42ms
memory: 6676kb

input:

20000
>
<
>
<
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
...

output:

? 19998 19999
? 19996 19999
? 19999 20000
? 19996 20000
? 19997 20000
? 19997 19999
? 19993 19996
? 19995 19996
? 19994 19996
? 19995 20000
? 19994 20000
? 19990 19993
? 19992 19993
? 19991 19993
? 19992 19996
? 19991 19996
? 19987 19990
? 19989 19990
? 19988 19990
? 19989 19993
? 19988 19993
? 1998...

result:

ok yeah, seems ok, spent 33331 queries of 33338

Test #99:

score: 0
Accepted
time: 50ms
memory: 6676kb

input:

20000
>
<
<
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
>
>
<
>
>
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
<
<
>
<
>
>
<
<
<
>
>
>
<
<
>
>
>
>
<
>
<
<
>
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
>
>
<
>
>
<
<
<
>
<
<
...

output:

? 19998 19999
? 19996 19999
? 19999 20000
? 19997 19999
? 19998 20000
? 19997 20000
? 19993 19996
? 19995 19996
? 19994 19996
? 19995 19999
? 19994 19999
? 19990 19993
? 19992 19993
? 19991 19993
? 19992 19996
? 19991 19996
? 19987 19990
? 19989 19990
? 19988 19990
? 19989 19993
? 19988 19993
? 1998...

result:

ok yeah, seems ok, spent 33331 queries of 33338

Test #100:

score: 0
Accepted
time: 46ms
memory: 6932kb

input:

20000
<
>
>
<
>
<
<
>
<
>
<
<
<
<
>
>
<
<
<
>
<
<
<
<
<
>
<
>
<
<
>
<
>
>
>
<
<
<
<
>
>
<
>
>
>
<
>
>
<
>
>
<
>
>
>
<
>
>
<
>
>
<
>
>
>
<
<
>
>
<
<
<
>
<
<
>
<
>
>
>
<
>
>
<
>
>
>
>
<
>
>
<
>
>
>
<
>
>
<
>
<
>
<
<
<
>
<
<
<
<
<
<
>
>
<
>
<
>
>
>
<
<
>
>
<
<
<
<
<
>
<
<
>
>
>
<
<
<
<
>
<
<
>
>
>
<
>
...

output:

? 19998 19999
? 19996 19998
? 19996 19997
? 19996 19999
? 19997 19998
? 19999 20000
? 19993 19998
? 19995 19998
? 19994 19998
? 19993 19994
? 19995 19997
? 19990 19994
? 19992 19994
? 19990 19992
? 19991 19992
? 19991 19994
? 19987 19990
? 19989 19990
? 19987 19989
? 19988 19989
? 19988 19990
? 1998...

result:

ok yeah, seems ok, spent 33302 queries of 33338

Test #101:

score: 0
Accepted
time: 59ms
memory: 6644kb

input:

20000
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
...

output:

? 19998 19999
? 19996 19998
? 19998 20000
? 19997 19998
? 19996 19997
? 19999 20000
? 19993 19996
? 19995 19996
? 19993 19995
? 19994 19995
? 19993 19994
? 19990 19993
? 19992 19993
? 19990 19992
? 19991 19992
? 19990 19991
? 19987 19990
? 19989 19990
? 19987 19989
? 19988 19989
? 19987 19988
? 1998...

result:

ok yeah, seems ok, spent 33331 queries of 33338

Test #102:

score: 0
Accepted
time: 39ms
memory: 6672kb

input:

20000
<
<
<
<
<
>
<
<
<
<
<
<
>
<
<
<
<
>
<
<
<
<
<
<
>
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
>
<
<
<
<
<
<
<
<
<
<
<
<
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
>
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
>
<
<
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
...

output:

? 19998 19999
? 19996 19998
? 19998 20000
? 19997 19998
? 19996 19997
? 19999 20000
? 19993 19996
? 19995 19996
? 19993 19995
? 19994 19995
? 19993 19994
? 19990 19993
? 19992 19993
? 19991 19993
? 19990 19991
? 19992 19994
? 19987 19990
? 19989 19990
? 19988 19990
? 19987 19988
? 19989 19991
? 1998...

result:

ok yeah, seems ok, spent 33331 queries of 33338

Test #103:

score: 0
Accepted
time: 59ms
memory: 6900kb

input:

20000
<
>
>
<
<
<
<
<
>
>
<
<
<
<
<
<
<
<
>
>
<
<
<
>
<
<
<
>
>
<
>
<
<
<
<
<
<
<
<
>
>
<
>
>
<
>
<
<
<
<
<
<
<
<
>
>
<
<
<
>
>
<
<
<
<
<
<
<
<
>
>
<
>
<
<
>
<
<
<
<
<
<
<
<
>
<
<
<
<
<
>
>
<
>
>
<
<
>
<
<
<
<
<
<
<
<
<
<
<
<
>
<
<
<
<
<
<
>
<
>
<
<
<
<
<
>
<
>
<
<
<
<
<
<
<
>
<
<
<
<
<
<
<
<
<
<
<
...

output:

? 19998 19999
? 19996 19998
? 19996 19997
? 19996 19999
? 19997 19998
? 19999 20000
? 19993 19997
? 19995 19997
? 19993 19995
? 19993 19994
? 19994 19995
? 19990 19994
? 19992 19994
? 19990 19992
? 19991 19992
? 19990 19991
? 19987 19990
? 19989 19990
? 19987 19989
? 19987 19988
? 19988 19989
? 1998...

result:

ok yeah, seems ok, spent 33307 queries of 33338

Test #104:

score: 0
Accepted
time: 32ms
memory: 6704kb

input:

20000
<
<
>
>
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
...

output:

? 19998 19999
? 19996 19998
? 19998 20000
? 19996 20000
? 19996 19997
? 19997 19998
? 19993 20000
? 19993 19994
? 19994 19995
? 19994 19996
? 19995 19996
? 19990 20000
? 19990 19991
? 19991 19992
? 19991 19993
? 19992 19993
? 19987 20000
? 19987 19988
? 19988 19989
? 19988 19990
? 19989 19990
? 1998...

result:

ok yeah, seems ok, spent 33331 queries of 33338

Test #105:

score: 0
Accepted
time: 39ms
memory: 6664kb

input:

20000
>
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
>
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
<
>
>
<
<
>
<
<
<
<
<
>
>
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
>
>
<
<
<
<
>
<
<
<
<
>
...

output:

? 19998 19999
? 19996 19999
? 19996 19997
? 19997 20000
? 19997 19998
? 19998 20000
? 19993 19999
? 19993 19994
? 19994 19995
? 19994 19996
? 19995 19996
? 19990 19999
? 19990 19991
? 19991 19992
? 19991 19993
? 19992 19993
? 19987 19999
? 19987 19988
? 19988 19989
? 19988 19990
? 19989 19990
? 1998...

result:

ok yeah, seems ok, spent 33125 queries of 33338

Test #106:

score: 0
Accepted
time: 44ms
memory: 6592kb

input:

20000
<
<
<
>
<
<
>
<
<
<
<
>
<
<
<
<
<
>
>
<
>
<
>
<
>
<
<
<
>
<
>
>
<
<
<
<
<
>
>
<
<
<
>
<
>
<
>
<
<
<
<
>
<
<
<
<
<
>
<
>
<
<
>
<
>
<
<
>
>
<
>
>
>
<
>
>
>
<
<
<
<
>
<
<
<
>
>
<
<
<
>
<
>
>
<
>
<
>
<
<
<
<
<
>
<
>
<
>
<
>
<
<
>
>
<
<
>
>
<
>
<
>
<
<
<
<
>
<
>
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
<
<
...

output:

? 19998 19999
? 19996 19998
? 19998 20000
? 19997 19998
? 19999 20000
? 19997 19999
? 19993 19996
? 19993 19994
? 19994 19995
? 19994 19998
? 19995 19998
? 19990 19996
? 19990 19991
? 19991 19992
? 19991 19993
? 19992 19993
? 19987 19996
? 19989 19996
? 19988 19996
? 19989 19990
? 19988 19989
? 1998...

result:

ok yeah, seems ok, spent 32870 queries of 33338

Test #107:

score: 0
Accepted
time: 52ms
memory: 6736kb

input:

20000
>
>
<
>
>
<
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
...

output:

? 19998 19999
? 19996 19999
? 19996 19997
? 19997 20000
? 19996 20000
? 19999 20000
? 19993 19999
? 19993 19994
? 19994 19995
? 19994 20000
? 19993 20000
? 19990 19999
? 19990 19991
? 19991 19992
? 19991 20000
? 19990 20000
? 19987 19999
? 19987 19988
? 19988 19989
? 19988 20000
? 19987 20000
? 1998...

result:

ok yeah, seems ok, spent 33331 queries of 33338

Test #108:

score: 0
Accepted
time: 66ms
memory: 6932kb

input:

20000
>
>
<
>
>
>
>
<
<
>
>
>
<
<
>
>
>
>
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
<
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
>
<
<
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
>
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
...

output:

? 19998 19999
? 19996 19999
? 19996 19997
? 19997 20000
? 19996 20000
? 19999 20000
? 19993 20000
? 19993 19994
? 19994 19995
? 19994 19999
? 19993 19999
? 19990 20000
? 19990 19991
? 19991 19992
? 19991 19999
? 19990 19999
? 19987 20000
? 19987 19988
? 19987 19989
? 19988 20000
? 19989 19999
? 1998...

result:

ok yeah, seems ok, spent 33320 queries of 33338

Test #109:

score: 0
Accepted
time: 44ms
memory: 6672kb

input:

20000
>
<
<
<
<
<
>
>
<
>
>
>
<
>
>
<
>
>
<
>
>
>
<
>
>
<
<
<
>
>
>
<
>
<
<
<
>
<
<
>
<
>
>
<
<
>
<
>
>
<
>
>
<
>
>
>
<
>
>
>
>
<
<
>
>
<
>
<
<
>
>
>
>
<
>
>
>
<
>
>
>
>
<
>
<
<
<
<
>
>
>
>
<
<
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
>
>
>
<
>
>
>
>
>
>
<
>
>
>
<
>
>
>
>
<
...

output:

? 19998 19999
? 19996 19999
? 19999 20000
? 19997 19999
? 19996 19997
? 19998 20000
? 19993 19996
? 19993 19994
? 19993 19995
? 19994 19996
? 19995 19997
? 19990 19996
? 19990 19991
? 19991 19992
? 19990 19992
? 19992 19996
? 19987 19992
? 19987 19988
? 19987 19989
? 19988 19992
? 19989 19996
? 1998...

result:

ok yeah, seems ok, spent 33177 queries of 33338

Test #110:

score: 0
Accepted
time: 50ms
memory: 6900kb

input:

20000
>
<
<
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
...

output:

? 19998 19999
? 19996 19999
? 19999 20000
? 19997 19999
? 19996 19997
? 19998 20000
? 19993 19996
? 19995 19996
? 19994 19996
? 19995 19997
? 19994 19995
? 19990 19993
? 19992 19993
? 19990 19992
? 19990 19991
? 19991 19992
? 19987 19992
? 19989 19992
? 19987 19989
? 19988 19989
? 19987 19988
? 1998...

result:

ok yeah, seems ok, spent 33331 queries of 33338

Test #111:

score: 0
Accepted
time: 35ms
memory: 6684kb

input:

20000
>
<
>
<
<
<
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
>
<
>
<
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
>
<
<
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
>
<
>
>
<
>
<
<
<
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
...

output:

? 19998 19999
? 19996 19999
? 19999 20000
? 19996 20000
? 19997 20000
? 19996 19997
? 19993 19996
? 19995 19996
? 19994 19996
? 19995 19997
? 19994 19995
? 19990 19993
? 19992 19993
? 19990 19992
? 19990 19991
? 19991 19992
? 19987 19992
? 19989 19992
? 19987 19989
? 19988 19989
? 19987 19988
? 1998...

result:

ok yeah, seems ok, spent 33282 queries of 33338

Test #112:

score: 0
Accepted
time: 28ms
memory: 6664kb

input:

20000
<
<
<
<
<
>
<
<
>
<
<
>
>
<
>
<
<
>
<
>
>
>
>
<
<
>
>
<
>
>
>
<
>
<
>
<
<
<
<
>
>
<
>
>
>
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
>
>
<
>
>
<
>
<
<
>
>
<
<
>
<
>
<
<
>
<
>
<
<
<
<
>
>
<
<
>
>
>
<
<
<
<
>
>
>
<
<
<
<
<
<
<
<
<
<
>
<
<
<
<
>
<
>
>
<
<
>
>
<
>
>
<
<
<
<
>
>
>
>
<
>
>
<
<
<
<
<
<
<
...

output:

? 19998 19999
? 19996 19998
? 19998 20000
? 19997 19998
? 19996 19997
? 19999 20000
? 19993 19996
? 19995 19996
? 19993 19995
? 19993 19994
? 19994 19996
? 19990 19995
? 19990 19991
? 19990 19992
? 19991 19995
? 19992 19993
? 19987 19995
? 19989 19995
? 19988 19995
? 19987 19988
? 19989 19991
? 1998...

result:

ok yeah, seems ok, spent 33176 queries of 33338

Test #113:

score: 0
Accepted
time: 42ms
memory: 7308kb

input:

25000
>
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
...

output:

? 24998 24999
? 24996 24999
? 24996 24997
? 24996 24998
? 24997 24999
? 24998 25000
? 24993 24997
? 24993 24994
? 24993 24995
? 24994 24997
? 24995 24999
? 24990 24994
? 24990 24991
? 24990 24992
? 24991 24994
? 24992 24997
? 24987 24991
? 24987 24988
? 24987 24989
? 24988 24991
? 24989 24994
? 2498...

result:

ok yeah, seems ok, spent 41666 queries of 41671

Test #114:

score: 0
Accepted
time: 68ms
memory: 7292kb

input:

25000
>
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
<
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
<
>
<
<
<
>
<
>
>
>
>
...

output:

? 24998 24999
? 24996 24999
? 24996 24997
? 24996 24998
? 24997 24999
? 24998 25000
? 24993 24997
? 24993 24994
? 24993 24995
? 24994 24997
? 24995 24999
? 24990 24994
? 24990 24991
? 24990 24992
? 24991 24994
? 24992 24997
? 24987 24991
? 24987 24988
? 24987 24989
? 24988 24991
? 24989 24994
? 2498...

result:

ok yeah, seems ok, spent 41654 queries of 41671

Test #115:

score: 0
Accepted
time: 65ms
memory: 7236kb

input:

25000
<
<
>
>
>
>
<
>
>
<
<
>
>
<
<
<
<
>
>
<
>
>
>
<
<
<
>
>
<
<
<
>
>
<
<
<
<
>
<
<
<
<
<
<
<
>
>
>
<
<
<
>
>
<
<
<
>
<
>
>
<
<
<
<
<
<
>
>
<
<
<
>
>
<
<
>
>
>
<
>
<
>
<
>
<
<
<
>
>
<
>
>
<
<
>
<
>
<
<
<
>
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
>
<
>
>
>
<
<
>
<
<
>
<
<
>
>
<
<
<
>
>
<
<
<
<
>
<
<
<
<
>
...

output:

? 24998 24999
? 24996 24998
? 24998 25000
? 24996 25000
? 24996 24997
? 24997 25000
? 24993 25000
? 24995 25000
? 24994 25000
? 24995 24997
? 24994 24995
? 24990 24993
? 24990 24991
? 24990 24992
? 24991 24993
? 24992 25000
? 24987 24991
? 24989 24991
? 24988 24991
? 24989 24993
? 24988 24989
? 2498...

result:

ok yeah, seems ok, spent 41507 queries of 41671

Test #116:

score: 0
Accepted
time: 57ms
memory: 7260kb

input:

25000
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
...

output:

? 24998 24999
? 24996 24998
? 24998 25000
? 24997 24998
? 24996 24997
? 24999 25000
? 24993 24996
? 24995 24996
? 24993 24995
? 24994 24995
? 24993 24994
? 24990 24993
? 24992 24993
? 24990 24992
? 24991 24992
? 24990 24991
? 24987 24990
? 24989 24990
? 24987 24989
? 24988 24989
? 24987 24988
? 2498...

result:

ok yeah, seems ok, spent 41665 queries of 41671

Test #117:

score: 0
Accepted
time: 64ms
memory: 7312kb

input:

25000
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
...

output:

? 24998 24999
? 24996 24998
? 24998 25000
? 24997 24998
? 24996 24997
? 24999 25000
? 24993 24996
? 24995 24996
? 24993 24995
? 24994 24995
? 24993 24994
? 24990 24993
? 24992 24993
? 24990 24992
? 24991 24992
? 24990 24991
? 24987 24990
? 24989 24990
? 24987 24989
? 24988 24989
? 24987 24988
? 2498...

result:

ok yeah, seems ok, spent 41665 queries of 41671

Test #118:

score: 0
Accepted
time: 75ms
memory: 7220kb

input:

25000
<
<
<
>
<
<
<
>
<
<
<
<
<
<
<
<
<
>
<
<
>
<
<
<
>
<
<
<
>
>
<
<
>
<
<
>
<
<
<
<
<
<
>
<
<
>
<
<
<
<
<
<
>
<
<
<
<
<
<
<
<
<
<
<
<
>
<
<
<
<
<
<
<
<
>
<
<
<
<
<
<
<
>
<
<
>
<
<
<
<
<
>
<
<
>
>
<
<
<
<
<
<
<
<
<
<
<
<
<
>
<
<
<
<
>
<
<
<
<
<
<
>
>
<
<
<
<
<
<
<
<
<
>
>
>
<
<
<
>
>
<
<
<
>
<
>
<
...

output:

? 24998 24999
? 24996 24998
? 24998 25000
? 24997 24998
? 24999 25000
? 24997 24999
? 24993 24996
? 24995 24996
? 24994 24996
? 24993 24994
? 24995 24998
? 24990 24993
? 24992 24993
? 24990 24992
? 24991 24992
? 24990 24991
? 24987 24990
? 24989 24990
? 24988 24990
? 24987 24988
? 24989 24991
? 2498...

result:

ok yeah, seems ok, spent 41634 queries of 41671

Test #119:

score: 0
Accepted
time: 45ms
memory: 7252kb

input:

25000
>
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
...

output:

? 24998 24999
? 24996 24999
? 24996 24997
? 24997 25000
? 24997 24998
? 24998 25000
? 24993 24999
? 24993 24994
? 24994 24995
? 24994 24996
? 24995 24996
? 24990 24999
? 24990 24991
? 24991 24992
? 24991 24993
? 24992 24993
? 24987 24999
? 24987 24988
? 24988 24989
? 24988 24990
? 24989 24990
? 2498...

result:

ok yeah, seems ok, spent 41665 queries of 41671

Test #120:

score: 0
Accepted
time: 36ms
memory: 7312kb

input:

25000
<
<
>
>
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
<
<
>
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
>
<
>
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
...

output:

? 24998 24999
? 24996 24998
? 24998 25000
? 24996 25000
? 24996 24997
? 24997 24998
? 24993 25000
? 24993 24994
? 24994 24995
? 24994 24996
? 24995 24996
? 24990 25000
? 24990 24991
? 24991 24992
? 24991 24993
? 24992 24993
? 24987 25000
? 24987 24988
? 24988 24989
? 24988 24990
? 24989 24990
? 2498...

result:

ok yeah, seems ok, spent 41413 queries of 41671

Test #121:

score: 0
Accepted
time: 70ms
memory: 7296kb

input:

25000
<
>
>
<
>
>
>
<
<
<
<
<
>
>
<
>
<
>
<
>
<
>
>
<
>
<
>
<
<
<
<
<
>
<
>
<
>
<
<
<
<
<
>
>
>
<
>
>
<
>
<
>
<
<
<
<
<
>
>
<
<
>
<
<
<
>
<
>
<
>
<
>
<
<
<
<
<
>
<
>
<
>
>
<
>
<
<
>
>
<
<
>
<
<
<
<
<
>
>
<
<
<
>
>
<
<
<
<
>
<
<
>
>
<
<
<
>
<
<
<
<
>
<
>
<
>
<
<
<
<
<
<
<
>
>
>
<
<
<
<
<
<
<
>
>
<
<
...

output:

? 24998 24999
? 24996 24998
? 24996 24997
? 24996 24999
? 24997 24998
? 24999 25000
? 24993 24998
? 24993 24994
? 24994 24995
? 24994 24997
? 24995 24997
? 24990 24998
? 24992 24998
? 24991 24998
? 24992 24993
? 24991 24992
? 24987 24990
? 24989 24990
? 24988 24990
? 24987 24988
? 24989 24998
? 2498...

result:

ok yeah, seems ok, spent 41029 queries of 41671

Test #122:

score: 0
Accepted
time: 53ms
memory: 7256kb

input:

25000
>
>
<
>
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
...

output:

? 24998 24999
? 24996 24999
? 24996 24997
? 24997 25000
? 24996 25000
? 24999 25000
? 24993 25000
? 24993 24994
? 24994 24995
? 24994 24999
? 24993 24999
? 24990 25000
? 24990 24991
? 24991 24992
? 24991 24999
? 24990 24999
? 24987 25000
? 24987 24988
? 24988 24989
? 24988 24999
? 24987 24999
? 2498...

result:

ok yeah, seems ok, spent 41663 queries of 41671

Test #123:

score: 0
Accepted
time: 68ms
memory: 7244kb

input:

25000
>
>
<
>
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
>
>
<
>
<
<
>
>
>
>
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
>
<
<
>
>
<
>
>
<
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
>
>
<
>
<
<
>
>
>
>
<
<
>
>
...

output:

? 24998 24999
? 24996 24999
? 24996 24997
? 24997 25000
? 24996 25000
? 24999 25000
? 24993 25000
? 24993 24994
? 24994 24995
? 24994 24999
? 24993 24999
? 24990 25000
? 24990 24991
? 24991 24992
? 24991 24999
? 24990 24999
? 24987 25000
? 24987 24988
? 24988 24989
? 24988 24999
? 24987 24999
? 2498...

result:

ok yeah, seems ok, spent 41662 queries of 41671

Test #124:

score: 0
Accepted
time: 58ms
memory: 7248kb

input:

25000
>
<
<
>
>
>
<
>
>
>
>
<
>
<
<
>
>
<
<
>
>
>
>
<
<
<
>
<
<
>
>
<
>
>
>
>
>
<
<
>
>
<
>
>
>
>
>
<
>
>
<
>
>
<
>
>
>
<
<
<
<
>
<
<
>
>
>
>
<
<
>
>
>
<
>
>
<
<
>
<
>
>
<
<
>
>
>
>
<
<
>
>
<
>
>
<
>
<
<
>
>
<
>
>
>
>
<
>
>
>
<
<
>
<
>
>
>
<
<
>
>
>
<
<
>
>
>
>
<
<
>
<
<
>
>
<
>
<
<
>
<
<
>
>
>
>
<
...

output:

? 24998 24999
? 24996 24999
? 24999 25000
? 24997 24999
? 24998 25000
? 24997 25000
? 24993 24996
? 24995 24996
? 24994 24996
? 24995 24999
? 24994 24999
? 24990 24993
? 24992 24993
? 24991 24993
? 24990 24991
? 24992 24996
? 24987 24990
? 24987 24988
? 24988 24989
? 24988 24991
? 24987 24991
? 2498...

result:

ok yeah, seems ok, spent 41496 queries of 41671

Test #125:

score: 0
Accepted
time: 62ms
memory: 7256kb

input:

25000
>
<
>
<
<
<
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
...

output:

? 24998 24999
? 24996 24999
? 24999 25000
? 24996 25000
? 24997 25000
? 24996 24997
? 24993 24996
? 24995 24996
? 24994 24996
? 24995 24997
? 24994 24995
? 24990 24993
? 24992 24993
? 24990 24992
? 24990 24991
? 24991 24992
? 24987 24992
? 24989 24992
? 24987 24989
? 24988 24989
? 24987 24988
? 2498...

result:

ok yeah, seems ok, spent 41666 queries of 41671

Test #126:

score: 0
Accepted
time: 54ms
memory: 7324kb

input:

25000
>
<
>
<
<
<
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
>
>
<
>
<
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
>
>
<
>
<
<
<
<
<
>
<
>
<
<
>
<
<
<
>
>
<
<
>
>
>
<
<
<
<
>
>
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
<
<
>
<
>
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
...

output:

? 24998 24999
? 24996 24999
? 24999 25000
? 24996 25000
? 24997 25000
? 24996 24997
? 24993 24996
? 24995 24996
? 24994 24996
? 24995 24997
? 24994 24995
? 24990 24993
? 24992 24993
? 24990 24992
? 24990 24991
? 24991 24992
? 24987 24992
? 24989 24992
? 24987 24989
? 24988 24989
? 24987 24988
? 2498...

result:

ok yeah, seems ok, spent 41597 queries of 41671

Test #127:

score: 0
Accepted
time: 59ms
memory: 7236kb

input:

25000
>
<
<
<
<
>
<
>
>
<
>
>
>
<
<
<
<
<
<
<
>
<
>
<
<
>
<
>
>
<
<
>
<
<
<
>
<
>
<
<
<
>
>
<
<
>
<
>
<
<
<
>
<
>
>
<
>
<
<
>
<
<
>
>
>
>
<
>
>
>
>
<
<
>
>
>
<
<
<
<
<
>
>
<
<
>
<
>
>
<
>
>
<
>
>
<
>
>
<
<
<
<
>
<
<
>
<
<
<
>
>
<
<
>
>
<
<
<
<
<
>
<
>
<
<
>
<
<
<
>
>
<
<
>
>
>
<
<
>
<
>
>
>
<
<
>
>
...

output:

? 24998 24999
? 24996 24999
? 24999 25000
? 24997 24999
? 24996 24997
? 24998 25000
? 24993 24996
? 24995 24996
? 24994 24996
? 24995 24997
? 24994 24995
? 24990 24993
? 24990 24991
? 24990 24992
? 24991 24993
? 24992 24996
? 24987 24991
? 24989 24991
? 24987 24989
? 24988 24989
? 24987 24988
? 2498...

result:

ok yeah, seems ok, spent 41455 queries of 41671

Test #128:

score: 0
Accepted
time: 77ms
memory: 8092kb

input:

30000
<
>
<
>
<
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
...

output:

? 29998 29999
? 29996 29998
? 29996 29997
? 29997 30000
? 29996 30000
? 29993 29998
? 29995 29998
? 29993 29995
? 29993 29994
? 29994 29998
? 29990 29995
? 29992 29995
? 29990 29992
? 29990 29991
? 29991 29995
? 29987 29992
? 29989 29992
? 29987 29989
? 29987 29988
? 29988 29992
? 29984 29989
? 2998...

result:

ok yeah, seems ok, spent 49997 queries of 50005

Test #129:

score: 0
Accepted
time: 73ms
memory: 7760kb

input:

30000
<
>
<
>
<
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
<
>
<
<
>
<
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
<
<
>
<
>
>
<
>
<
>
<
>
>
<
<
<
>
...

output:

? 29998 29999
? 29996 29998
? 29996 29997
? 29997 30000
? 29996 30000
? 29993 29998
? 29995 29998
? 29993 29995
? 29993 29994
? 29994 29998
? 29990 29995
? 29992 29995
? 29990 29992
? 29990 29991
? 29991 29995
? 29987 29992
? 29989 29992
? 29987 29989
? 29987 29988
? 29988 29992
? 29984 29989
? 2998...

result:

ok yeah, seems ok, spent 49699 queries of 50005

Test #130:

score: 0
Accepted
time: 74ms
memory: 7792kb

input:

30000
<
<
>
<
>
<
>
<
<
>
>
>
<
>
<
<
<
<
<
>
<
>
>
<
>
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
<
>
<
>
<
<
>
<
>
>
<
>
>
>
>
<
>
>
<
<
>
>
<
>
<
<
<
<
>
<
<
>
>
>
<
>
<
>
<
<
<
>
<
>
>
<
>
>
<
<
>
<
>
<
<
<
>
<
<
>
<
>
<
>
<
>
<
<
<
<
<
>
>
<
<
>
<
>
<
<
<
<
<
<
>
<
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
<
<
>
...

output:

? 29998 29999
? 29996 29998
? 29998 30000
? 29996 30000
? 29997 30000
? 29997 29998
? 29993 29996
? 29993 29994
? 29994 29995
? 29994 30000
? 29993 30000
? 29990 29996
? 29990 29991
? 29991 29992
? 29990 29992
? 29987 29996
? 29989 29996
? 29987 29989
? 29988 29989
? 29987 29988
? 29984 29988
? 2998...

result:

ok yeah, seems ok, spent 49260 queries of 50005

Test #131:

score: 0
Accepted
time: 72ms
memory: 7896kb

input:

30000
<
<
<
<
<
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
...

output:

? 29998 29999
? 29996 29998
? 29998 30000
? 29997 29998
? 29996 29997
? 29999 30000
? 29993 29996
? 29995 29996
? 29993 29995
? 29994 29995
? 29993 29994
? 29990 29993
? 29992 29993
? 29990 29992
? 29991 29992
? 29990 29991
? 29987 29990
? 29989 29990
? 29987 29989
? 29988 29989
? 29987 29988
? 2998...

result:

ok yeah, seems ok, spent 49998 queries of 50005

Test #132:

score: 0
Accepted
time: 79ms
memory: 8140kb

input:

30000
>
<
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
>
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
>
<
>
<
<
<
<
<
<
>
<
<
>
<
<
<
<
<
<
<
<
<
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
...

output:

? 29998 29999
? 29996 29999
? 29999 30000
? 29996 30000
? 29997 30000
? 29996 29997
? 29993 29996
? 29995 29996
? 29993 29995
? 29994 29995
? 29993 29994
? 29990 29993
? 29992 29993
? 29990 29992
? 29991 29992
? 29990 29991
? 29987 29990
? 29989 29990
? 29987 29989
? 29988 29989
? 29987 29988
? 2998...

result:

ok yeah, seems ok, spent 49998 queries of 50005

Test #133:

score: 0
Accepted
time: 64ms
memory: 8136kb

input:

30000
<
<
<
<
<
<
<
<
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
<
<
<
<
<
>
<
<
<
<
<
<
<
<
<
<
>
<
>
<
<
>
<
>
<
<
<
<
<
<
<
<
<
>
<
>
<
<
<
<
<
<
<
<
<
<
<
>
<
<
>
<
<
<
<
<
<
<
<
<
<
<
<
>
<
>
<
<
<
<
>
<
<
<
<
<
>
<
<
<
<
<
<
<
<
>
<
<
<
<
<
<
>
>
<
>
>
<
<
<
<
<
<
>
<
<
<
<
<
>
>
<
<
>
<
>
<
<
<
<
...

output:

? 29998 29999
? 29996 29998
? 29998 30000
? 29997 29998
? 29996 29997
? 29999 30000
? 29993 29996
? 29995 29996
? 29993 29995
? 29994 29995
? 29993 29994
? 29990 29993
? 29992 29993
? 29991 29993
? 29990 29991
? 29992 29994
? 29987 29990
? 29989 29990
? 29988 29990
? 29987 29988
? 29989 29991
? 2998...

result:

ok yeah, seems ok, spent 49958 queries of 50005

Test #134:

score: 0
Accepted
time: 66ms
memory: 7776kb

input:

30000
>
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
...

output:

? 29998 29999
? 29996 29999
? 29996 29997
? 29997 30000
? 29997 29998
? 29998 30000
? 29993 29999
? 29993 29994
? 29994 29995
? 29994 29996
? 29995 29996
? 29990 29999
? 29990 29991
? 29991 29992
? 29991 29993
? 29992 29993
? 29987 29999
? 29987 29988
? 29988 29989
? 29988 29990
? 29989 29990
? 2998...

result:

ok yeah, seems ok, spent 49998 queries of 50005

Test #135:

score: 0
Accepted
time: 77ms
memory: 7848kb

input:

30000
>
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
>
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
>
<
>
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
...

output:

? 29998 29999
? 29996 29999
? 29996 29997
? 29997 30000
? 29997 29998
? 29998 30000
? 29993 29999
? 29993 29994
? 29994 29995
? 29994 29996
? 29995 29996
? 29990 29999
? 29990 29991
? 29991 29992
? 29991 29993
? 29992 29993
? 29987 29999
? 29987 29988
? 29988 29989
? 29988 29990
? 29989 29990
? 2998...

result:

ok yeah, seems ok, spent 49687 queries of 50005

Test #136:

score: 0
Accepted
time: 49ms
memory: 7848kb

input:

30000
>
<
<
<
>
<
<
>
>
<
>
<
>
>
<
>
>
<
<
<
<
<
<
<
<
<
>
>
<
>
<
>
>
<
<
<
>
<
>
<
>
<
<
<
<
<
>
<
>
<
<
>
>
<
<
<
>
<
>
<
<
>
>
>
<
<
<
>
>
>
>
<
<
<
<
>
<
<
<
<
<
>
>
<
<
<
>
>
<
>
>
<
<
<
<
>
<
<
<
<
>
<
<
<
<
>
<
>
>
<
>
<
<
<
>
>
<
<
<
<
<
<
>
<
>
>
<
<
<
<
>
<
<
<
>
>
>
<
>
<
<
>
>
>
<
>
<
...

output:

? 29998 29999
? 29996 29999
? 29999 30000
? 29997 29999
? 29996 29997
? 29998 30000
? 29993 29997
? 29995 29997
? 29994 29997
? 29995 29996
? 29994 29995
? 29990 29993
? 29992 29993
? 29991 29993
? 29992 29997
? 29991 29992
? 29987 29990
? 29987 29988
? 29988 29989
? 29988 29993
? 29989 29993
? 2998...

result:

ok yeah, seems ok, spent 49267 queries of 50005

Test #137:

score: 0
Accepted
time: 44ms
memory: 7896kb

input:

30000
>
>
<
>
>
<
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
...

output:

? 29998 29999
? 29996 29999
? 29996 29997
? 29997 30000
? 29996 30000
? 29999 30000
? 29993 29999
? 29993 29994
? 29994 29995
? 29994 30000
? 29993 30000
? 29990 29999
? 29990 29991
? 29991 29992
? 29991 30000
? 29990 30000
? 29987 29999
? 29987 29988
? 29988 29989
? 29988 30000
? 29987 30000
? 2998...

result:

ok yeah, seems ok, spent 49997 queries of 50005

Test #138:

score: 0
Accepted
time: 50ms
memory: 8136kb

input:

30000
>
<
>
>
>
<
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
>
<
<
>
>
>
<
<
>
>
>
<
>
>
>
<
<
>
>
>
<
>
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
<
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
<
>
>
<
>
<
<
>
>
>
<
<
>
>
>
<
<
>
>
>
>
<
<
>
>
...

output:

? 29998 29999
? 29996 29999
? 29999 30000
? 29996 30000
? 29996 29997
? 29997 30000
? 29993 29997
? 29993 29994
? 29994 29995
? 29994 30000
? 29993 30000
? 29990 29997
? 29990 29991
? 29991 29992
? 29991 30000
? 29990 30000
? 29987 29997
? 29987 29988
? 29988 29989
? 29988 30000
? 29987 30000
? 2998...

result:

ok yeah, seems ok, spent 49985 queries of 50005

Test #139:

score: 0
Accepted
time: 43ms
memory: 7832kb

input:

30000
>
>
<
>
>
<
<
<
<
>
>
>
<
<
>
>
>
>
<
<
>
>
>
<
>
<
>
<
>
>
<
>
<
<
>
<
<
<
<
<
<
<
>
<
<
>
>
<
<
>
>
>
>
<
<
>
>
>
<
<
<
>
<
<
>
>
>
<
>
>
>
>
<
<
>
>
<
>
>
<
<
>
<
<
>
>
>
>
<
>
<
>
<
<
>
<
>
<
>
>
>
<
<
>
>
>
>
<
<
>
>
>
>
<
<
>
<
>
<
<
>
>
<
<
>
>
>
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
>
<
>
>
>
...

output:

? 29998 29999
? 29996 29999
? 29996 29997
? 29997 30000
? 29996 30000
? 29999 30000
? 29993 29999
? 29995 29999
? 29993 29995
? 29994 29995
? 29994 29999
? 29990 29993
? 29990 29991
? 29991 29992
? 29991 29995
? 29990 29995
? 29987 29993
? 29987 29988
? 29987 29989
? 29988 29993
? 29989 29995
? 2998...

result:

ok yeah, seems ok, spent 49835 queries of 50005

Test #140:

score: 0
Accepted
time: 57ms
memory: 8136kb

input:

30000
>
<
<
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
...

output:

? 29998 29999
? 29996 29999
? 29999 30000
? 29997 29999
? 29996 29997
? 29998 30000
? 29993 29996
? 29995 29996
? 29994 29996
? 29995 29997
? 29994 29995
? 29990 29993
? 29992 29993
? 29990 29992
? 29990 29991
? 29991 29992
? 29987 29992
? 29989 29992
? 29987 29989
? 29988 29989
? 29987 29988
? 2998...

result:

ok yeah, seems ok, spent 49998 queries of 50005

Test #141:

score: 0
Accepted
time: 59ms
memory: 7776kb

input:

30000
>
<
<
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
>
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
>
>
<
<
>
<
<
>
<
>
>
<
<
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
<
<
>
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
>
>
<
<
...

output:

? 29998 29999
? 29996 29999
? 29999 30000
? 29997 29999
? 29996 29997
? 29998 30000
? 29993 29996
? 29995 29996
? 29994 29996
? 29995 29997
? 29994 29995
? 29990 29993
? 29992 29993
? 29990 29992
? 29990 29991
? 29991 29992
? 29987 29992
? 29989 29992
? 29987 29989
? 29988 29989
? 29987 29988
? 2998...

result:

ok yeah, seems ok, spent 49926 queries of 50005

Test #142:

score: 0
Accepted
time: 79ms
memory: 7772kb

input:

30000
>
<
>
>
>
<
<
>
>
<
>
<
<
>
>
>
<
<
<
<
>
<
>
>
>
>
<
>
>
<
>
<
>
>
>
<
>
<
>
<
>
<
>
>
>
<
<
<
>
>
<
<
>
>
<
<
<
<
<
<
<
>
>
>
>
>
<
<
<
<
>
>
<
>
<
<
<
>
<
>
<
>
<
<
<
<
<
<
>
>
>
>
<
>
>
<
<
<
<
<
<
>
<
<
>
<
>
>
<
>
<
<
>
<
<
<
<
<
<
>
<
>
<
<
<
<
<
<
<
<
<
<
>
>
>
<
>
<
>
<
>
<
>
<
>
<
>
...

output:

? 29998 29999
? 29996 29999
? 29999 30000
? 29996 30000
? 29996 29997
? 29997 30000
? 29993 29997
? 29995 29997
? 29994 29997
? 29995 30000
? 29994 29995
? 29990 29993
? 29992 29993
? 29990 29992
? 29990 29991
? 29991 29992
? 29987 29992
? 29989 29992
? 29987 29989
? 29988 29989
? 29987 29988
? 2998...

result:

ok yeah, seems ok, spent 49730 queries of 50005

Test #143:

score: 0
Accepted
time: 0ms
memory: 4368kb

input:

30
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
<

output:

? 28 29
? 26 29
? 29 30
? 26 30
? 26 27
? 27 30
? 23 30
? 25 30
? 24 30
? 25 27
? 24 27
? 20 23
? 22 23
? 21 23
? 22 30
? 21 30
? 17 20
? 19 20
? 18 20
? 19 23
? 18 23
? 14 17
? 16 17
? 15 17
? 16 20
? 15 20
? 11 14
? 13 14
? 12 14
? 13 17
? 12 17
? 8 11
? 10 11
? 9 11
? 10 14
? 9 14
? 5 8
? 7 8
? 6...

result:

ok yeah, seems ok, spent 48 queries of 55

Test #144:

score: 0
Accepted
time: 4ms
memory: 4356kb

input:

40
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
>
<
<
<

output:

? 38 39
? 36 38
? 38 40
? 37 38
? 39 40
? 37 40
? 33 36
? 35 36
? 34 36
? 35 38
? 34 38
? 30 33
? 32 33
? 31 33
? 32 36
? 31 36
? 27 30
? 29 30
? 28 30
? 29 33
? 28 33
? 24 27
? 26 27
? 25 27
? 26 30
? 25 30
? 21 24
? 23 24
? 22 24
? 23 27
? 22 27
? 18 21
? 20 21
? 19 21
? 20 24
? 19 24
? 15 18
? 17...

result:

ok yeah, seems ok, spent 65 queries of 71

Test #145:

score: 0
Accepted
time: 4ms
memory: 4356kb

input:

50
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>

output:

? 48 49
? 46 48
? 48 50
? 47 48
? 49 50
? 47 50
? 43 46
? 45 46
? 44 46
? 45 48
? 44 48
? 40 43
? 42 43
? 41 43
? 42 46
? 41 46
? 37 40
? 39 40
? 38 40
? 39 43
? 38 43
? 34 37
? 36 37
? 35 37
? 36 40
? 35 40
? 31 34
? 33 34
? 32 34
? 33 37
? 32 37
? 28 31
? 30 31
? 28 30
? 28 29
? 29 30
? 25 30
? 27...

result:

ok yeah, seems ok, spent 81 queries of 88

Test #146:

score: 0
Accepted
time: 4ms
memory: 4364kb

input:

60
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
<
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
<

output:

? 58 59
? 56 58
? 58 60
? 57 58
? 59 60
? 57 60
? 53 56
? 55 56
? 54 56
? 55 58
? 54 58
? 50 53
? 52 53
? 51 53
? 52 56
? 51 56
? 47 50
? 49 50
? 48 50
? 49 53
? 48 53
? 44 47
? 46 47
? 45 47
? 46 50
? 45 50
? 41 44
? 43 44
? 42 44
? 43 47
? 42 47
? 38 41
? 40 41
? 39 41
? 40 44
? 39 44
? 35 38
? 37...

result:

ok yeah, seems ok, spent 98 queries of 105

Test #147:

score: 0
Accepted
time: 4ms
memory: 4368kb

input:

70
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
>
<
<
<

output:

? 68 69
? 66 68
? 68 70
? 67 68
? 69 70
? 67 70
? 63 66
? 65 66
? 64 66
? 65 68
? 64 68
? 60 63
? 62 63
? 61 63
? 62 66
? 61 66
? 57 60
? 59 60
? 58 60
? 59 63
? 58 63
? 54 57
? 56 57
? 55 57
? 56 60
? 55 60
? 51 54
? 53 54
? 52 54
? 53 57
? 52 57
? 48 51
? 50 51
? 49 51
? 50 54
? 49 54
? 45 48
? 47...

result:

ok yeah, seems ok, spent 115 queries of 121

Test #148:

score: 0
Accepted
time: 5ms
memory: 4424kb

input:

80
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>

output:

? 78 79
? 76 78
? 78 80
? 77 78
? 79 80
? 77 80
? 73 76
? 75 76
? 74 76
? 75 78
? 74 78
? 70 73
? 72 73
? 71 73
? 72 76
? 71 76
? 67 70
? 69 70
? 68 70
? 69 73
? 68 73
? 64 67
? 66 67
? 65 67
? 66 70
? 65 70
? 61 64
? 63 64
? 62 64
? 63 67
? 62 67
? 58 61
? 60 61
? 59 61
? 60 64
? 59 64
? 55 58
? 57...

result:

ok yeah, seems ok, spent 131 queries of 138

Test #149:

score: 0
Accepted
time: 5ms
memory: 4356kb

input:

90
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
<
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
<

output:

? 88 89
? 86 88
? 88 90
? 87 88
? 89 90
? 87 90
? 83 86
? 85 86
? 84 86
? 85 88
? 84 88
? 80 83
? 82 83
? 81 83
? 82 86
? 81 86
? 77 80
? 79 80
? 78 80
? 79 83
? 78 83
? 74 77
? 76 77
? 75 77
? 76 80
? 75 80
? 71 74
? 73 74
? 72 74
? 73 77
? 72 77
? 68 71
? 70 71
? 69 71
? 70 74
? 69 74
? 65 68
? 67...

result:

ok yeah, seems ok, spent 148 queries of 155

Test #150:

score: 0
Accepted
time: 0ms
memory: 4404kb

input:

100
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 98 99
? 96 98
? 98 100
? 97 98
? 99 100
? 97 100
? 93 96
? 95 96
? 94 96
? 95 98
? 94 98
? 90 93
? 92 93
? 91 93
? 92 96
? 91 96
? 87 90
? 89 90
? 88 90
? 89 93
? 88 93
? 84 87
? 86 87
? 85 87
? 86 90
? 85 90
? 81 84
? 83 84
? 82 84
? 83 87
? 82 87
? 78 81
? 80 81
? 79 81
? 80 84
? 79 84
? 75 78
?...

result:

ok yeah, seems ok, spent 165 queries of 171

Test #151:

score: 0
Accepted
time: 0ms
memory: 4336kb

input:

110
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 108 109
? 106 108
? 108 110
? 107 108
? 109 110
? 107 110
? 103 106
? 105 106
? 104 106
? 105 108
? 104 108
? 100 103
? 102 103
? 101 103
? 102 106
? 101 106
? 97 100
? 99 100
? 98 100
? 99 103
? 98 103
? 94 97
? 96 97
? 95 97
? 96 100
? 95 100
? 91 94
? 93 94
? 92 94
? 93 97
? 92 97
? 88 91
? 90 ...

result:

ok yeah, seems ok, spent 181 queries of 188

Test #152:

score: 0
Accepted
time: 3ms
memory: 4664kb

input:

120
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 118 119
? 116 118
? 118 120
? 117 118
? 119 120
? 117 120
? 113 116
? 115 116
? 114 116
? 115 118
? 114 118
? 110 113
? 112 113
? 111 113
? 112 116
? 111 116
? 107 110
? 109 110
? 108 110
? 109 113
? 108 113
? 104 107
? 106 107
? 105 107
? 106 110
? 105 110
? 101 104
? 103 104
? 102 104
? 103 107
...

result:

ok yeah, seems ok, spent 198 queries of 205

Test #153:

score: 0
Accepted
time: 6ms
memory: 4628kb

input:

130
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 128 129
? 126 128
? 128 130
? 127 128
? 129 130
? 127 130
? 123 126
? 125 126
? 124 126
? 125 128
? 124 128
? 120 123
? 122 123
? 121 123
? 122 126
? 121 126
? 117 120
? 119 120
? 118 120
? 119 123
? 118 123
? 114 117
? 116 117
? 115 117
? 116 120
? 115 120
? 111 114
? 113 114
? 112 114
? 113 117
...

result:

ok yeah, seems ok, spent 215 queries of 221

Test #154:

score: 0
Accepted
time: 6ms
memory: 4436kb

input:

140
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 138 139
? 136 138
? 138 140
? 137 138
? 139 140
? 137 140
? 133 136
? 135 136
? 134 136
? 135 138
? 134 138
? 130 133
? 132 133
? 131 133
? 132 136
? 131 136
? 127 130
? 129 130
? 128 130
? 129 133
? 128 133
? 124 127
? 126 127
? 125 127
? 126 130
? 125 130
? 121 124
? 123 124
? 122 124
? 123 127
...

result:

ok yeah, seems ok, spent 231 queries of 238

Test #155:

score: 0
Accepted
time: 2ms
memory: 4404kb

input:

150
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 148 149
? 146 148
? 148 150
? 147 148
? 149 150
? 147 150
? 143 146
? 145 146
? 144 146
? 145 148
? 144 148
? 140 143
? 142 143
? 141 143
? 142 146
? 141 146
? 137 140
? 139 140
? 138 140
? 139 143
? 138 143
? 134 137
? 136 137
? 135 137
? 136 140
? 135 140
? 131 134
? 133 134
? 132 134
? 133 137
...

result:

ok yeah, seems ok, spent 248 queries of 255

Test #156:

score: 0
Accepted
time: 4ms
memory: 4340kb

input:

160
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 158 159
? 156 158
? 158 160
? 157 158
? 159 160
? 157 160
? 153 156
? 155 156
? 154 156
? 155 158
? 154 158
? 150 153
? 152 153
? 151 153
? 152 156
? 151 156
? 147 150
? 149 150
? 148 150
? 149 153
? 148 153
? 144 147
? 146 147
? 145 147
? 146 150
? 145 150
? 141 144
? 143 144
? 142 144
? 143 147
...

result:

ok yeah, seems ok, spent 265 queries of 271

Test #157:

score: 0
Accepted
time: 4ms
memory: 4440kb

input:

170
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 168 169
? 166 168
? 168 170
? 167 168
? 169 170
? 167 170
? 163 166
? 165 166
? 164 166
? 165 168
? 164 168
? 160 163
? 162 163
? 161 163
? 162 166
? 161 166
? 157 160
? 159 160
? 158 160
? 159 163
? 158 163
? 154 157
? 156 157
? 155 157
? 156 160
? 155 160
? 151 154
? 153 154
? 152 154
? 153 157
...

result:

ok yeah, seems ok, spent 281 queries of 288

Test #158:

score: 0
Accepted
time: 5ms
memory: 4608kb

input:

180
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 178 179
? 176 178
? 178 180
? 177 178
? 179 180
? 177 180
? 173 176
? 175 176
? 174 176
? 175 178
? 174 178
? 170 173
? 172 173
? 171 173
? 172 176
? 171 176
? 167 170
? 169 170
? 168 170
? 169 173
? 168 173
? 164 167
? 166 167
? 165 167
? 166 170
? 165 170
? 161 164
? 163 164
? 162 164
? 163 167
...

result:

ok yeah, seems ok, spent 298 queries of 305

Test #159:

score: 0
Accepted
time: 3ms
memory: 4376kb

input:

190
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 188 189
? 186 188
? 188 190
? 187 188
? 189 190
? 187 190
? 183 186
? 185 186
? 184 186
? 185 188
? 184 188
? 180 183
? 182 183
? 181 183
? 182 186
? 181 186
? 177 180
? 179 180
? 178 180
? 179 183
? 178 183
? 174 177
? 176 177
? 175 177
? 176 180
? 175 180
? 171 174
? 173 174
? 172 174
? 173 177
...

result:

ok yeah, seems ok, spent 315 queries of 321

Test #160:

score: 0
Accepted
time: 7ms
memory: 4380kb

input:

200
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 198 199
? 196 198
? 198 200
? 197 198
? 199 200
? 197 200
? 193 196
? 195 196
? 194 196
? 195 198
? 194 198
? 190 193
? 192 193
? 191 193
? 192 196
? 191 196
? 187 190
? 189 190
? 188 190
? 189 193
? 188 193
? 184 187
? 186 187
? 185 187
? 186 190
? 185 190
? 181 184
? 183 184
? 182 184
? 183 187
...

result:

ok yeah, seems ok, spent 331 queries of 338

Test #161:

score: 0
Accepted
time: 0ms
memory: 4384kb

input:

210
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 208 209
? 206 208
? 208 210
? 207 208
? 209 210
? 207 210
? 203 206
? 205 206
? 204 206
? 205 208
? 204 208
? 200 203
? 202 203
? 201 203
? 202 206
? 201 206
? 197 200
? 199 200
? 198 200
? 199 203
? 198 203
? 194 197
? 196 197
? 195 197
? 196 200
? 195 200
? 191 194
? 193 194
? 192 194
? 193 197
...

result:

ok yeah, seems ok, spent 348 queries of 355

Test #162:

score: 0
Accepted
time: 7ms
memory: 4388kb

input:

220
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 218 219
? 216 218
? 218 220
? 217 218
? 219 220
? 217 220
? 213 216
? 215 216
? 214 216
? 215 218
? 214 218
? 210 213
? 212 213
? 211 213
? 212 216
? 211 216
? 207 210
? 209 210
? 208 210
? 209 213
? 208 213
? 204 207
? 206 207
? 205 207
? 206 210
? 205 210
? 201 204
? 203 204
? 202 204
? 203 207
...

result:

ok yeah, seems ok, spent 365 queries of 371

Test #163:

score: 0
Accepted
time: 3ms
memory: 4556kb

input:

230
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 228 229
? 226 228
? 228 230
? 227 228
? 229 230
? 227 230
? 223 226
? 225 226
? 224 226
? 225 228
? 224 228
? 220 223
? 222 223
? 221 223
? 222 226
? 221 226
? 217 220
? 219 220
? 218 220
? 219 223
? 218 223
? 214 217
? 216 217
? 215 217
? 216 220
? 215 220
? 211 214
? 213 214
? 212 214
? 213 217
...

result:

ok yeah, seems ok, spent 381 queries of 388

Test #164:

score: 0
Accepted
time: 0ms
memory: 4328kb

input:

240
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 238 239
? 236 238
? 238 240
? 237 238
? 239 240
? 237 240
? 233 236
? 235 236
? 234 236
? 235 238
? 234 238
? 230 233
? 232 233
? 231 233
? 232 236
? 231 236
? 227 230
? 229 230
? 228 230
? 229 233
? 228 233
? 224 227
? 226 227
? 225 227
? 226 230
? 225 230
? 221 224
? 223 224
? 222 224
? 223 227
...

result:

ok yeah, seems ok, spent 398 queries of 405

Test #165:

score: 0
Accepted
time: 7ms
memory: 4380kb

input:

250
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 248 249
? 246 248
? 248 250
? 247 248
? 249 250
? 247 250
? 243 246
? 245 246
? 244 246
? 245 248
? 244 248
? 240 243
? 242 243
? 241 243
? 242 246
? 241 246
? 237 240
? 239 240
? 238 240
? 239 243
? 238 243
? 234 237
? 236 237
? 235 237
? 236 240
? 235 240
? 231 234
? 233 234
? 232 234
? 233 237
...

result:

ok yeah, seems ok, spent 415 queries of 421

Test #166:

score: 0
Accepted
time: 3ms
memory: 4464kb

input:

260
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 258 259
? 256 258
? 258 260
? 257 258
? 259 260
? 257 260
? 253 256
? 255 256
? 254 256
? 255 258
? 254 258
? 250 253
? 252 253
? 251 253
? 252 256
? 251 256
? 247 250
? 249 250
? 248 250
? 249 253
? 248 253
? 244 247
? 246 247
? 245 247
? 246 250
? 245 250
? 241 244
? 243 244
? 242 244
? 243 247
...

result:

ok yeah, seems ok, spent 431 queries of 438

Test #167:

score: 0
Accepted
time: 3ms
memory: 4376kb

input:

270
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 268 269
? 266 268
? 268 270
? 267 268
? 269 270
? 267 270
? 263 266
? 265 266
? 264 266
? 265 268
? 264 268
? 260 263
? 262 263
? 261 263
? 262 266
? 261 266
? 257 260
? 259 260
? 258 260
? 259 263
? 258 263
? 254 257
? 256 257
? 255 257
? 256 260
? 255 260
? 251 254
? 253 254
? 252 254
? 253 257
...

result:

ok yeah, seems ok, spent 448 queries of 455

Test #168:

score: 0
Accepted
time: 8ms
memory: 4384kb

input:

280
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 278 279
? 276 278
? 278 280
? 277 278
? 279 280
? 277 280
? 273 276
? 275 276
? 274 276
? 275 278
? 274 278
? 270 273
? 272 273
? 271 273
? 272 276
? 271 276
? 267 270
? 269 270
? 268 270
? 269 273
? 268 273
? 264 267
? 266 267
? 265 267
? 266 270
? 265 270
? 261 264
? 263 264
? 262 264
? 263 267
...

result:

ok yeah, seems ok, spent 465 queries of 471

Test #169:

score: 0
Accepted
time: 8ms
memory: 4388kb

input:

290
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 288 289
? 286 288
? 288 290
? 287 288
? 289 290
? 287 290
? 283 286
? 285 286
? 284 286
? 285 288
? 284 288
? 280 283
? 282 283
? 281 283
? 282 286
? 281 286
? 277 280
? 279 280
? 278 280
? 279 283
? 278 283
? 274 277
? 276 277
? 275 277
? 276 280
? 275 280
? 271 274
? 273 274
? 272 274
? 273 277
...

result:

ok yeah, seems ok, spent 481 queries of 488

Test #170:

score: 0
Accepted
time: 2ms
memory: 4392kb

input:

300
<
<
<
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
>
>
>
<
>
...

output:

? 298 299
? 296 298
? 298 300
? 297 298
? 299 300
? 297 300
? 293 296
? 295 296
? 294 296
? 295 298
? 294 298
? 290 293
? 292 293
? 291 293
? 292 296
? 291 296
? 287 290
? 289 290
? 288 290
? 289 293
? 288 293
? 284 287
? 286 287
? 285 287
? 286 290
? 285 290
? 281 284
? 283 284
? 282 284
? 283 287
...

result:

ok yeah, seems ok, spent 498 queries of 505