QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#256992#7756. Omniscia Spares Noneucup-team130#AC ✓1ms3816kbC++173.4kb2023-11-18 23:28:292023-11-18 23:28:29

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3640kb

input:

3

output:

Yes
0 0
0 1
0 2
0

result:

ok OK, Accepted.

Test #2:

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

input:

4

output:

Yes
0 0
0 1
0 2
0 3
0

result:

ok OK, Accepted.

Test #3:

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

input:

1

output:

Yes
0 0
0

result:

ok OK, Accepted.

Test #4:

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

input:

2

output:

Yes
0 0
0 1
0

result:

ok OK, Accepted.

Test #5:

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

input:

5

output:

No

result:

ok OK, Accepted.

Test #6:

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

input:

6

output:

No

result:

ok OK, Accepted.

Test #7:

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

input:

7

output:

No

result:

ok OK, Accepted.

Test #8:

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

input:

8

output:

Yes
1 0
5 0
0 4
0 -4
2 0
4 0
2 1
2 -1
18
3 4
3 5
3 6
4 5
4 6
2 3
2 4
2 6
1 3
1 4
1 5
5 6
7 3
7 5
7 6
8 4
8 5
8 6

result:

ok OK, Accepted.

Test #9:

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

input:

9

output:

No

result:

ok OK, Accepted.

Test #10:

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

input:

10

output:

Yes
1 0
9 0
0 8
0 -8
2 0
8 0
4 3
4 -3
3 0
5 0
24
3 4
3 5
3 6
4 5
4 6
2 3
2 4
2 6
1 3
1 4
1 5
3 7
4 8
5 7
5 8
6 7
6 8
7 8
9 5
9 7
9 8
10 6
10 7
10 8

result:

ok OK, Accepted.

Test #11:

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

input:

11

output:

No

result:

ok OK, Accepted.

Test #12:

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

input:

12

output:

Yes
1 0
13 0
0 12
0 -12
2 0
12 0
3 8
3 -8
5 0
11 0
5 1
5 -1
30
3 4
3 5
3 6
4 5
4 6
2 3
2 4
2 6
1 3
1 4
1 5
3 7
4 8
5 7
5 8
6 7
6 8
7 9
8 9
5 9
7 10
8 10
6 10
9 10
11 7
11 9
11 10
12 8
12 9
12 10

result:

ok OK, Accepted.

Test #13:

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

input:

13

output:

No

result:

ok OK, Accepted.

Test #14:

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

input:

14

output:

Yes
1 0
17 0
0 16
0 -16
2 0
16 0
3 12
3 -12
5 0
15 0
7 7
7 -7
6 0
8 0
36
3 4
3 5
3 6
4 5
4 6
2 3
2 4
2 6
1 3
1 4
1 5
3 7
4 8
5 7
5 8
6 7
6 8
7 9
8 9
5 9
7 10
8 10
6 10
7 11
8 12
9 11
9 12
10 11
10 12
11 12
13 9
13 11
13 12
14 10
14 11
14 12

result:

ok OK, Accepted.

Test #15:

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

input:

15

output:

No

result:

ok OK, Accepted.

Test #16:

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

input:

16

output:

Yes
1 0
21 0
0 20
0 -20
2 0
20 0
3 16
3 -16
5 0
19 0
6 12
6 -12
8 0
18 0
8 1
8 -1
42
3 4
3 5
3 6
4 5
4 6
2 3
2 4
2 6
1 3
1 4
1 5
3 7
4 8
5 7
5 8
6 7
6 8
7 9
8 9
5 9
7 10
8 10
6 10
7 11
8 12
9 11
9 12
10 11
10 12
11 13
12 13
9 13
11 14
12 14
10 14
13 14
15 11
15 13
15 14
16 12
16 13
16 14

result:

ok OK, Accepted.

Test #17:

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

input:

17

output:

No

result:

ok OK, Accepted.

Test #18:

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

input:

18

output:

Yes
1 0
25 0
0 24
0 -24
2 0
24 0
3 20
3 -20
5 0
23 0
6 16
6 -16
8 0
22 0
10 11
10 -11
9 0
11 0
48
3 4
3 5
3 6
4 5
4 6
2 3
2 4
2 6
1 3
1 4
1 5
3 7
4 8
5 7
5 8
6 7
6 8
7 9
8 9
5 9
7 10
8 10
6 10
7 11
8 12
9 11
9 12
10 11
10 12
11 13
12 13
9 13
11 14
12 14
10 14
11 15
12 16
13 15
13 16
14 15
14 16
15 1...

result:

ok OK, Accepted.

Test #19:

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

input:

19

output:

No

result:

ok OK, Accepted.

Test #20:

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

input:

20

output:

Yes
1 0
29 0
0 28
0 -28
2 0
28 0
3 24
3 -24
5 0
27 0
6 20
6 -20
8 0
26 0
9 16
9 -16
11 0
25 0
11 1
11 -1
54
3 4
3 5
3 6
4 5
4 6
2 3
2 4
2 6
1 3
1 4
1 5
3 7
4 8
5 7
5 8
6 7
6 8
7 9
8 9
5 9
7 10
8 10
6 10
7 11
8 12
9 11
9 12
10 11
10 12
11 13
12 13
9 13
11 14
12 14
10 14
11 15
12 16
13 15
13 16
14 15
...

result:

ok OK, Accepted.

Test #21:

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

input:

21

output:

No

result:

ok OK, Accepted.

Test #22:

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

input:

22

output:

Yes
1 0
33 0
0 32
0 -32
2 0
32 0
3 28
3 -28
5 0
31 0
6 24
6 -24
8 0
30 0
9 20
9 -20
11 0
29 0
13 15
13 -15
12 0
14 0
60
3 4
3 5
3 6
4 5
4 6
2 3
2 4
2 6
1 3
1 4
1 5
3 7
4 8
5 7
5 8
6 7
6 8
7 9
8 9
5 9
7 10
8 10
6 10
7 11
8 12
9 11
9 12
10 11
10 12
11 13
12 13
9 13
11 14
12 14
10 14
11 15
12 16
13 15
...

result:

ok OK, Accepted.

Test #23:

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

input:

23

output:

No

result:

ok OK, Accepted.

Test #24:

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

input:

24

output:

Yes
1 0
37 0
0 36
0 -36
2 0
36 0
3 32
3 -32
5 0
35 0
6 28
6 -28
8 0
34 0
9 24
9 -24
11 0
33 0
12 20
12 -20
14 0
32 0
14 1
14 -1
66
3 4
3 5
3 6
4 5
4 6
2 3
2 4
2 6
1 3
1 4
1 5
3 7
4 8
5 7
5 8
6 7
6 8
7 9
8 9
5 9
7 10
8 10
6 10
7 11
8 12
9 11
9 12
10 11
10 12
11 13
12 13
9 13
11 14
12 14
10 14
11 15
1...

result:

ok OK, Accepted.

Test #25:

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

input:

25

output:

No

result:

ok OK, Accepted.

Test #26:

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

input:

26

output:

Yes
1 0
41 0
0 40
0 -40
2 0
40 0
3 36
3 -36
5 0
39 0
6 32
6 -32
8 0
38 0
9 28
9 -28
11 0
37 0
12 24
12 -24
14 0
36 0
16 19
16 -19
15 0
17 0
72
3 4
3 5
3 6
4 5
4 6
2 3
2 4
2 6
1 3
1 4
1 5
3 7
4 8
5 7
5 8
6 7
6 8
7 9
8 9
5 9
7 10
8 10
6 10
7 11
8 12
9 11
9 12
10 11
10 12
11 13
12 13
9 13
11 14
12 14
1...

result:

ok OK, Accepted.

Test #27:

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

input:

27

output:

No

result:

ok OK, Accepted.

Test #28:

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

input:

28

output:

Yes
1 0
45 0
0 44
0 -44
2 0
44 0
3 40
3 -40
5 0
43 0
6 36
6 -36
8 0
42 0
9 32
9 -32
11 0
41 0
12 28
12 -28
14 0
40 0
15 24
15 -24
17 0
39 0
17 1
17 -1
78
3 4
3 5
3 6
4 5
4 6
2 3
2 4
2 6
1 3
1 4
1 5
3 7
4 8
5 7
5 8
6 7
6 8
7 9
8 9
5 9
7 10
8 10
6 10
7 11
8 12
9 11
9 12
10 11
10 12
11 13
12 13
9 13
11...

result:

ok OK, Accepted.

Test #29:

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

input:

29

output:

No

result:

ok OK, Accepted.

Test #30:

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

input:

30

output:

Yes
1 0
49 0
0 48
0 -48
2 0
48 0
3 44
3 -44
5 0
47 0
6 40
6 -40
8 0
46 0
9 36
9 -36
11 0
45 0
12 32
12 -32
14 0
44 0
15 28
15 -28
17 0
43 0
19 23
19 -23
18 0
20 0
84
3 4
3 5
3 6
4 5
4 6
2 3
2 4
2 6
1 3
1 4
1 5
3 7
4 8
5 7
5 8
6 7
6 8
7 9
8 9
5 9
7 10
8 10
6 10
7 11
8 12
9 11
9 12
10 11
10 12
11 13
1...

result:

ok OK, Accepted.

Test #31:

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

input:

31

output:

No

result:

ok OK, Accepted.

Test #32:

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

input:

32

output:

Yes
1 0
53 0
0 52
0 -52
2 0
52 0
3 48
3 -48
5 0
51 0
6 44
6 -44
8 0
50 0
9 40
9 -40
11 0
49 0
12 36
12 -36
14 0
48 0
15 32
15 -32
17 0
47 0
18 28
18 -28
20 0
46 0
20 1
20 -1
90
3 4
3 5
3 6
4 5
4 6
2 3
2 4
2 6
1 3
1 4
1 5
3 7
4 8
5 7
5 8
6 7
6 8
7 9
8 9
5 9
7 10
8 10
6 10
7 11
8 12
9 11
9 12
10 11
10...

result:

ok OK, Accepted.

Test #33:

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

input:

33

output:

No

result:

ok OK, Accepted.

Test #34:

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

input:

34

output:

Yes
1 0
57 0
0 56
0 -56
2 0
56 0
3 52
3 -52
5 0
55 0
6 48
6 -48
8 0
54 0
9 44
9 -44
11 0
53 0
12 40
12 -40
14 0
52 0
15 36
15 -36
17 0
51 0
18 32
18 -32
20 0
50 0
22 27
22 -27
21 0
23 0
96
3 4
3 5
3 6
4 5
4 6
2 3
2 4
2 6
1 3
1 4
1 5
3 7
4 8
5 7
5 8
6 7
6 8
7 9
8 9
5 9
7 10
8 10
6 10
7 11
8 12
9 11
9...

result:

ok OK, Accepted.

Test #35:

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

input:

35

output:

No

result:

ok OK, Accepted.

Test #36:

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

input:

36

output:

Yes
1 0
61 0
0 60
0 -60
2 0
60 0
3 56
3 -56
5 0
59 0
6 52
6 -52
8 0
58 0
9 48
9 -48
11 0
57 0
12 44
12 -44
14 0
56 0
15 40
15 -40
17 0
55 0
18 36
18 -36
20 0
54 0
21 32
21 -32
23 0
53 0
23 1
23 -1
102
3 4
3 5
3 6
4 5
4 6
2 3
2 4
2 6
1 3
1 4
1 5
3 7
4 8
5 7
5 8
6 7
6 8
7 9
8 9
5 9
7 10
8 10
6 10
7 11...

result:

ok OK, Accepted.

Test #37:

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

input:

37

output:

No

result:

ok OK, Accepted.

Test #38:

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

input:

38

output:

Yes
1 0
65 0
0 64
0 -64
2 0
64 0
3 60
3 -60
5 0
63 0
6 56
6 -56
8 0
62 0
9 52
9 -52
11 0
61 0
12 48
12 -48
14 0
60 0
15 44
15 -44
17 0
59 0
18 40
18 -40
20 0
58 0
21 36
21 -36
23 0
57 0
25 31
25 -31
24 0
26 0
108
3 4
3 5
3 6
4 5
4 6
2 3
2 4
2 6
1 3
1 4
1 5
3 7
4 8
5 7
5 8
6 7
6 8
7 9
8 9
5 9
7 10
8 ...

result:

ok OK, Accepted.

Test #39:

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

input:

39

output:

No

result:

ok OK, Accepted.

Test #40:

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

input:

40

output:

Yes
1 0
69 0
0 68
0 -68
2 0
68 0
3 64
3 -64
5 0
67 0
6 60
6 -60
8 0
66 0
9 56
9 -56
11 0
65 0
12 52
12 -52
14 0
64 0
15 48
15 -48
17 0
63 0
18 44
18 -44
20 0
62 0
21 40
21 -40
23 0
61 0
24 36
24 -36
26 0
60 0
26 1
26 -1
114
3 4
3 5
3 6
4 5
4 6
2 3
2 4
2 6
1 3
1 4
1 5
3 7
4 8
5 7
5 8
6 7
6 8
7 9
8 9
...

result:

ok OK, Accepted.

Test #41:

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

input:

41

output:

No

result:

ok OK, Accepted.

Test #42:

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

input:

42

output:

Yes
1 0
73 0
0 72
0 -72
2 0
72 0
3 68
3 -68
5 0
71 0
6 64
6 -64
8 0
70 0
9 60
9 -60
11 0
69 0
12 56
12 -56
14 0
68 0
15 52
15 -52
17 0
67 0
18 48
18 -48
20 0
66 0
21 44
21 -44
23 0
65 0
24 40
24 -40
26 0
64 0
28 35
28 -35
27 0
29 0
120
3 4
3 5
3 6
4 5
4 6
2 3
2 4
2 6
1 3
1 4
1 5
3 7
4 8
5 7
5 8
6 7
...

result:

ok OK, Accepted.

Test #43:

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

input:

43

output:

No

result:

ok OK, Accepted.

Test #44:

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

input:

44

output:

Yes
1 0
77 0
0 76
0 -76
2 0
76 0
3 72
3 -72
5 0
75 0
6 68
6 -68
8 0
74 0
9 64
9 -64
11 0
73 0
12 60
12 -60
14 0
72 0
15 56
15 -56
17 0
71 0
18 52
18 -52
20 0
70 0
21 48
21 -48
23 0
69 0
24 44
24 -44
26 0
68 0
27 40
27 -40
29 0
67 0
29 1
29 -1
126
3 4
3 5
3 6
4 5
4 6
2 3
2 4
2 6
1 3
1 4
1 5
3 7
4 8
5...

result:

ok OK, Accepted.

Test #45:

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

input:

45

output:

No

result:

ok OK, Accepted.

Test #46:

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

input:

46

output:

Yes
1 0
81 0
0 80
0 -80
2 0
80 0
3 76
3 -76
5 0
79 0
6 72
6 -72
8 0
78 0
9 68
9 -68
11 0
77 0
12 64
12 -64
14 0
76 0
15 60
15 -60
17 0
75 0
18 56
18 -56
20 0
74 0
21 52
21 -52
23 0
73 0
24 48
24 -48
26 0
72 0
27 44
27 -44
29 0
71 0
31 39
31 -39
30 0
32 0
132
3 4
3 5
3 6
4 5
4 6
2 3
2 4
2 6
1 3
1 4
1...

result:

ok OK, Accepted.

Test #47:

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

input:

47

output:

No

result:

ok OK, Accepted.

Test #48:

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

input:

48

output:

Yes
1 0
85 0
0 84
0 -84
2 0
84 0
3 80
3 -80
5 0
83 0
6 76
6 -76
8 0
82 0
9 72
9 -72
11 0
81 0
12 68
12 -68
14 0
80 0
15 64
15 -64
17 0
79 0
18 60
18 -60
20 0
78 0
21 56
21 -56
23 0
77 0
24 52
24 -52
26 0
76 0
27 48
27 -48
29 0
75 0
30 44
30 -44
32 0
74 0
32 1
32 -1
138
3 4
3 5
3 6
4 5
4 6
2 3
2 4
2 ...

result:

ok OK, Accepted.

Test #49:

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

input:

49

output:

No

result:

ok OK, Accepted.

Test #50:

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

input:

50

output:

Yes
1 0
89 0
0 88
0 -88
2 0
88 0
3 84
3 -84
5 0
87 0
6 80
6 -80
8 0
86 0
9 76
9 -76
11 0
85 0
12 72
12 -72
14 0
84 0
15 68
15 -68
17 0
83 0
18 64
18 -64
20 0
82 0
21 60
21 -60
23 0
81 0
24 56
24 -56
26 0
80 0
27 52
27 -52
29 0
79 0
30 48
30 -48
32 0
78 0
34 43
34 -43
33 0
35 0
144
3 4
3 5
3 6
4 5
4 ...

result:

ok OK, Accepted.

Test #51:

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

input:

51

output:

No

result:

ok OK, Accepted.

Test #52:

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

input:

52

output:

Yes
1 0
93 0
0 92
0 -92
2 0
92 0
3 88
3 -88
5 0
91 0
6 84
6 -84
8 0
90 0
9 80
9 -80
11 0
89 0
12 76
12 -76
14 0
88 0
15 72
15 -72
17 0
87 0
18 68
18 -68
20 0
86 0
21 64
21 -64
23 0
85 0
24 60
24 -60
26 0
84 0
27 56
27 -56
29 0
83 0
30 52
30 -52
32 0
82 0
33 48
33 -48
35 0
81 0
35 1
35 -1
150
3 4
3 5...

result:

ok OK, Accepted.

Test #53:

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

input:

53

output:

No

result:

ok OK, Accepted.

Test #54:

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

input:

54

output:

Yes
1 0
97 0
0 96
0 -96
2 0
96 0
3 92
3 -92
5 0
95 0
6 88
6 -88
8 0
94 0
9 84
9 -84
11 0
93 0
12 80
12 -80
14 0
92 0
15 76
15 -76
17 0
91 0
18 72
18 -72
20 0
90 0
21 68
21 -68
23 0
89 0
24 64
24 -64
26 0
88 0
27 60
27 -60
29 0
87 0
30 56
30 -56
32 0
86 0
33 52
33 -52
35 0
85 0
37 47
37 -47
36 0
38 0...

result:

ok OK, Accepted.

Test #55:

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

input:

55

output:

No

result:

ok OK, Accepted.

Test #56:

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

input:

56

output:

Yes
1 0
101 0
0 100
0 -100
2 0
100 0
3 96
3 -96
5 0
99 0
6 92
6 -92
8 0
98 0
9 88
9 -88
11 0
97 0
12 84
12 -84
14 0
96 0
15 80
15 -80
17 0
95 0
18 76
18 -76
20 0
94 0
21 72
21 -72
23 0
93 0
24 68
24 -68
26 0
92 0
27 64
27 -64
29 0
91 0
30 60
30 -60
32 0
90 0
33 56
33 -56
35 0
89 0
36 52
36 -52
38 0
...

result:

ok OK, Accepted.

Test #57:

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

input:

57

output:

No

result:

ok OK, Accepted.

Test #58:

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

input:

58

output:

Yes
1 0
105 0
0 104
0 -104
2 0
104 0
3 100
3 -100
5 0
103 0
6 96
6 -96
8 0
102 0
9 92
9 -92
11 0
101 0
12 88
12 -88
14 0
100 0
15 84
15 -84
17 0
99 0
18 80
18 -80
20 0
98 0
21 76
21 -76
23 0
97 0
24 72
24 -72
26 0
96 0
27 68
27 -68
29 0
95 0
30 64
30 -64
32 0
94 0
33 60
33 -60
35 0
93 0
36 56
36 -56...

result:

ok OK, Accepted.

Test #59:

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

input:

59

output:

No

result:

ok OK, Accepted.

Test #60:

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

input:

60

output:

Yes
1 0
109 0
0 108
0 -108
2 0
108 0
3 104
3 -104
5 0
107 0
6 100
6 -100
8 0
106 0
9 96
9 -96
11 0
105 0
12 92
12 -92
14 0
104 0
15 88
15 -88
17 0
103 0
18 84
18 -84
20 0
102 0
21 80
21 -80
23 0
101 0
24 76
24 -76
26 0
100 0
27 72
27 -72
29 0
99 0
30 68
30 -68
32 0
98 0
33 64
33 -64
35 0
97 0
36 60
...

result:

ok OK, Accepted.

Test #61:

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

input:

61

output:

No

result:

ok OK, Accepted.

Test #62:

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

input:

62

output:

Yes
1 0
113 0
0 112
0 -112
2 0
112 0
3 108
3 -108
5 0
111 0
6 104
6 -104
8 0
110 0
9 100
9 -100
11 0
109 0
12 96
12 -96
14 0
108 0
15 92
15 -92
17 0
107 0
18 88
18 -88
20 0
106 0
21 84
21 -84
23 0
105 0
24 80
24 -80
26 0
104 0
27 76
27 -76
29 0
103 0
30 72
30 -72
32 0
102 0
33 68
33 -68
35 0
101 0
3...

result:

ok OK, Accepted.

Test #63:

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

input:

63

output:

No

result:

ok OK, Accepted.

Test #64:

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

input:

64

output:

Yes
1 0
117 0
0 116
0 -116
2 0
116 0
3 112
3 -112
5 0
115 0
6 108
6 -108
8 0
114 0
9 104
9 -104
11 0
113 0
12 100
12 -100
14 0
112 0
15 96
15 -96
17 0
111 0
18 92
18 -92
20 0
110 0
21 88
21 -88
23 0
109 0
24 84
24 -84
26 0
108 0
27 80
27 -80
29 0
107 0
30 76
30 -76
32 0
106 0
33 72
33 -72
35 0
105 0...

result:

ok OK, Accepted.

Test #65:

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

input:

65

output:

No

result:

ok OK, Accepted.

Test #66:

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

input:

66

output:

Yes
1 0
121 0
0 120
0 -120
2 0
120 0
3 116
3 -116
5 0
119 0
6 112
6 -112
8 0
118 0
9 108
9 -108
11 0
117 0
12 104
12 -104
14 0
116 0
15 100
15 -100
17 0
115 0
18 96
18 -96
20 0
114 0
21 92
21 -92
23 0
113 0
24 88
24 -88
26 0
112 0
27 84
27 -84
29 0
111 0
30 80
30 -80
32 0
110 0
33 76
33 -76
35 0
109...

result:

ok OK, Accepted.

Test #67:

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

input:

67

output:

No

result:

ok OK, Accepted.

Test #68:

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

input:

68

output:

Yes
1 0
125 0
0 124
0 -124
2 0
124 0
3 120
3 -120
5 0
123 0
6 116
6 -116
8 0
122 0
9 112
9 -112
11 0
121 0
12 108
12 -108
14 0
120 0
15 104
15 -104
17 0
119 0
18 100
18 -100
20 0
118 0
21 96
21 -96
23 0
117 0
24 92
24 -92
26 0
116 0
27 88
27 -88
29 0
115 0
30 84
30 -84
32 0
114 0
33 80
33 -80
35 0
1...

result:

ok OK, Accepted.

Test #69:

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

input:

69

output:

No

result:

ok OK, Accepted.

Test #70:

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

input:

70

output:

Yes
1 0
129 0
0 128
0 -128
2 0
128 0
3 124
3 -124
5 0
127 0
6 120
6 -120
8 0
126 0
9 116
9 -116
11 0
125 0
12 112
12 -112
14 0
124 0
15 108
15 -108
17 0
123 0
18 104
18 -104
20 0
122 0
21 100
21 -100
23 0
121 0
24 96
24 -96
26 0
120 0
27 92
27 -92
29 0
119 0
30 88
30 -88
32 0
118 0
33 84
33 -84
35 0...

result:

ok OK, Accepted.

Test #71:

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

input:

71

output:

No

result:

ok OK, Accepted.

Test #72:

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

input:

72

output:

Yes
1 0
133 0
0 132
0 -132
2 0
132 0
3 128
3 -128
5 0
131 0
6 124
6 -124
8 0
130 0
9 120
9 -120
11 0
129 0
12 116
12 -116
14 0
128 0
15 112
15 -112
17 0
127 0
18 108
18 -108
20 0
126 0
21 104
21 -104
23 0
125 0
24 100
24 -100
26 0
124 0
27 96
27 -96
29 0
123 0
30 92
30 -92
32 0
122 0
33 88
33 -88
35...

result:

ok OK, Accepted.

Test #73:

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

input:

73

output:

No

result:

ok OK, Accepted.

Test #74:

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

input:

74

output:

Yes
1 0
137 0
0 136
0 -136
2 0
136 0
3 132
3 -132
5 0
135 0
6 128
6 -128
8 0
134 0
9 124
9 -124
11 0
133 0
12 120
12 -120
14 0
132 0
15 116
15 -116
17 0
131 0
18 112
18 -112
20 0
130 0
21 108
21 -108
23 0
129 0
24 104
24 -104
26 0
128 0
27 100
27 -100
29 0
127 0
30 96
30 -96
32 0
126 0
33 92
33 -92
...

result:

ok OK, Accepted.

Test #75:

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

input:

75

output:

No

result:

ok OK, Accepted.

Test #76:

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

input:

76

output:

Yes
1 0
141 0
0 140
0 -140
2 0
140 0
3 136
3 -136
5 0
139 0
6 132
6 -132
8 0
138 0
9 128
9 -128
11 0
137 0
12 124
12 -124
14 0
136 0
15 120
15 -120
17 0
135 0
18 116
18 -116
20 0
134 0
21 112
21 -112
23 0
133 0
24 108
24 -108
26 0
132 0
27 104
27 -104
29 0
131 0
30 100
30 -100
32 0
130 0
33 96
33 -9...

result:

ok OK, Accepted.

Test #77:

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

input:

77

output:

No

result:

ok OK, Accepted.

Test #78:

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

input:

78

output:

Yes
1 0
145 0
0 144
0 -144
2 0
144 0
3 140
3 -140
5 0
143 0
6 136
6 -136
8 0
142 0
9 132
9 -132
11 0
141 0
12 128
12 -128
14 0
140 0
15 124
15 -124
17 0
139 0
18 120
18 -120
20 0
138 0
21 116
21 -116
23 0
137 0
24 112
24 -112
26 0
136 0
27 108
27 -108
29 0
135 0
30 104
30 -104
32 0
134 0
33 100
33 -...

result:

ok OK, Accepted.

Test #79:

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

input:

79

output:

No

result:

ok OK, Accepted.

Test #80:

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

input:

80

output:

Yes
1 0
149 0
0 148
0 -148
2 0
148 0
3 144
3 -144
5 0
147 0
6 140
6 -140
8 0
146 0
9 136
9 -136
11 0
145 0
12 132
12 -132
14 0
144 0
15 128
15 -128
17 0
143 0
18 124
18 -124
20 0
142 0
21 120
21 -120
23 0
141 0
24 116
24 -116
26 0
140 0
27 112
27 -112
29 0
139 0
30 108
30 -108
32 0
138 0
33 104
33 -...

result:

ok OK, Accepted.

Test #81:

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

input:

81

output:

No

result:

ok OK, Accepted.

Test #82:

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

input:

82

output:

Yes
1 0
153 0
0 152
0 -152
2 0
152 0
3 148
3 -148
5 0
151 0
6 144
6 -144
8 0
150 0
9 140
9 -140
11 0
149 0
12 136
12 -136
14 0
148 0
15 132
15 -132
17 0
147 0
18 128
18 -128
20 0
146 0
21 124
21 -124
23 0
145 0
24 120
24 -120
26 0
144 0
27 116
27 -116
29 0
143 0
30 112
30 -112
32 0
142 0
33 108
33 -...

result:

ok OK, Accepted.

Test #83:

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

input:

83

output:

No

result:

ok OK, Accepted.

Test #84:

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

input:

84

output:

Yes
1 0
157 0
0 156
0 -156
2 0
156 0
3 152
3 -152
5 0
155 0
6 148
6 -148
8 0
154 0
9 144
9 -144
11 0
153 0
12 140
12 -140
14 0
152 0
15 136
15 -136
17 0
151 0
18 132
18 -132
20 0
150 0
21 128
21 -128
23 0
149 0
24 124
24 -124
26 0
148 0
27 120
27 -120
29 0
147 0
30 116
30 -116
32 0
146 0
33 112
33 -...

result:

ok OK, Accepted.

Test #85:

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

input:

85

output:

No

result:

ok OK, Accepted.

Test #86:

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

input:

86

output:

Yes
1 0
161 0
0 160
0 -160
2 0
160 0
3 156
3 -156
5 0
159 0
6 152
6 -152
8 0
158 0
9 148
9 -148
11 0
157 0
12 144
12 -144
14 0
156 0
15 140
15 -140
17 0
155 0
18 136
18 -136
20 0
154 0
21 132
21 -132
23 0
153 0
24 128
24 -128
26 0
152 0
27 124
27 -124
29 0
151 0
30 120
30 -120
32 0
150 0
33 116
33 -...

result:

ok OK, Accepted.

Test #87:

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

input:

87

output:

No

result:

ok OK, Accepted.

Test #88:

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

input:

88

output:

Yes
1 0
165 0
0 164
0 -164
2 0
164 0
3 160
3 -160
5 0
163 0
6 156
6 -156
8 0
162 0
9 152
9 -152
11 0
161 0
12 148
12 -148
14 0
160 0
15 144
15 -144
17 0
159 0
18 140
18 -140
20 0
158 0
21 136
21 -136
23 0
157 0
24 132
24 -132
26 0
156 0
27 128
27 -128
29 0
155 0
30 124
30 -124
32 0
154 0
33 120
33 -...

result:

ok OK, Accepted.

Test #89:

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

input:

89

output:

No

result:

ok OK, Accepted.

Test #90:

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

input:

90

output:

Yes
1 0
169 0
0 168
0 -168
2 0
168 0
3 164
3 -164
5 0
167 0
6 160
6 -160
8 0
166 0
9 156
9 -156
11 0
165 0
12 152
12 -152
14 0
164 0
15 148
15 -148
17 0
163 0
18 144
18 -144
20 0
162 0
21 140
21 -140
23 0
161 0
24 136
24 -136
26 0
160 0
27 132
27 -132
29 0
159 0
30 128
30 -128
32 0
158 0
33 124
33 -...

result:

ok OK, Accepted.

Test #91:

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

input:

91

output:

No

result:

ok OK, Accepted.

Test #92:

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

input:

92

output:

Yes
1 0
173 0
0 172
0 -172
2 0
172 0
3 168
3 -168
5 0
171 0
6 164
6 -164
8 0
170 0
9 160
9 -160
11 0
169 0
12 156
12 -156
14 0
168 0
15 152
15 -152
17 0
167 0
18 148
18 -148
20 0
166 0
21 144
21 -144
23 0
165 0
24 140
24 -140
26 0
164 0
27 136
27 -136
29 0
163 0
30 132
30 -132
32 0
162 0
33 128
33 -...

result:

ok OK, Accepted.

Test #93:

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

input:

93

output:

No

result:

ok OK, Accepted.

Test #94:

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

input:

94

output:

Yes
1 0
177 0
0 176
0 -176
2 0
176 0
3 172
3 -172
5 0
175 0
6 168
6 -168
8 0
174 0
9 164
9 -164
11 0
173 0
12 160
12 -160
14 0
172 0
15 156
15 -156
17 0
171 0
18 152
18 -152
20 0
170 0
21 148
21 -148
23 0
169 0
24 144
24 -144
26 0
168 0
27 140
27 -140
29 0
167 0
30 136
30 -136
32 0
166 0
33 132
33 -...

result:

ok OK, Accepted.

Test #95:

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

input:

95

output:

No

result:

ok OK, Accepted.

Test #96:

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

input:

96

output:

Yes
1 0
181 0
0 180
0 -180
2 0
180 0
3 176
3 -176
5 0
179 0
6 172
6 -172
8 0
178 0
9 168
9 -168
11 0
177 0
12 164
12 -164
14 0
176 0
15 160
15 -160
17 0
175 0
18 156
18 -156
20 0
174 0
21 152
21 -152
23 0
173 0
24 148
24 -148
26 0
172 0
27 144
27 -144
29 0
171 0
30 140
30 -140
32 0
170 0
33 136
33 -...

result:

ok OK, Accepted.

Test #97:

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

input:

97

output:

No

result:

ok OK, Accepted.

Test #98:

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

input:

98

output:

Yes
1 0
185 0
0 184
0 -184
2 0
184 0
3 180
3 -180
5 0
183 0
6 176
6 -176
8 0
182 0
9 172
9 -172
11 0
181 0
12 168
12 -168
14 0
180 0
15 164
15 -164
17 0
179 0
18 160
18 -160
20 0
178 0
21 156
21 -156
23 0
177 0
24 152
24 -152
26 0
176 0
27 148
27 -148
29 0
175 0
30 144
30 -144
32 0
174 0
33 140
33 -...

result:

ok OK, Accepted.

Test #99:

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

input:

99

output:

No

result:

ok OK, Accepted.

Test #100:

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

input:

100

output:

Yes
1 0
189 0
0 188
0 -188
2 0
188 0
3 184
3 -184
5 0
187 0
6 180
6 -180
8 0
186 0
9 176
9 -176
11 0
185 0
12 172
12 -172
14 0
184 0
15 168
15 -168
17 0
183 0
18 164
18 -164
20 0
182 0
21 160
21 -160
23 0
181 0
24 156
24 -156
26 0
180 0
27 152
27 -152
29 0
179 0
30 148
30 -148
32 0
178 0
33 144
33 -...

result:

ok OK, Accepted.

Extra Test:

score: 0
Extra Test Passed