QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#254450#7756. Omniscia Spares Noneucup-team1878#AC ✓1ms3524kbC++205.6kb2023-11-18 12:41:362023-11-18 12:41:36

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3396kb

input:

3

output:

Yes
0 0
1 1
2 4
2
1 2
2 3

result:

ok OK, Accepted.

Test #2:

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

input:

4

output:

Yes
0 0
1 1
2 4
3 9
3
1 2
2 3
3 4

result:

ok OK, Accepted.

Test #3:

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

input:

1

output:

Yes
0 0
0

result:

ok OK, Accepted.

Test #4:

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

input:

2

output:

Yes
0 0
1 1
1
1 2

result:

ok OK, Accepted.

Test #5:

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

input:

5

output:

No

result:

ok OK, Accepted.

Test #6:

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

input:

6

output:

No

result:

ok OK, Accepted.

Test #7:

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

input:

7

output:

No

result:

ok OK, Accepted.

Test #8:

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

input:

8

output:

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

result:

ok OK, Accepted.

Test #9:

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

input:

9

output:

No

result:

ok OK, Accepted.

Test #10:

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

input:

10

output:

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

result:

ok OK, Accepted.

Test #11:

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

input:

11

output:

No

result:

ok OK, Accepted.

Test #12:

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

input:

12

output:

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

result:

ok OK, Accepted.

Test #13:

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

input:

13

output:

No

result:

ok OK, Accepted.

Test #14:

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

input:

14

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
120 -110
120 110
-12 0
12 0
36
1 5
2 5
3 5
4 5
1 6
2 6
3 6
4 6
5 6
1 2
3 4
1 7
6 7
4 7
1 8
5 8
4 8
1 9
7 9
8 9
4 10
7 10
8 10
9 11
7 11
10 11
9 12
8 12
10 12
9 13
11 13
12 13
10 14
11 14
12 14
11 12

result:

ok OK, Accepted.

Test #15:

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

input:

15

output:

No

result:

ok OK, Accepted.

Test #16:

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

input:

16

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-132 -140
132 -140
0 -14
0 14
42
1 5
2 5
3 5
4 5
1 6
2 6
3 6
4 6
5 6
1 2
3 4
1 7
6 7
4 7
1 8
5 8
4 8
1 9
7 9
8 9
4 10
7 10
8 10
9 11
7 11
10 11
9 12
8 12
10 12
9 13
11 13
12 13
10 14
11 14
12 14
13 15
11 15
14 15
13 16
12 16
14 16
13 14

result:

ok OK, Accepted.

Test #17:

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

input:

17

output:

No

result:

ok OK, Accepted.

Test #18:

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

input:

18

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
160 -154
160 154
-16 0
16 0
48
1 5
2 5
3 5
4 5
1 6
2 6
3 6
4 6
5 6
1 2
3 4
1 7
6 7
4 7
1 8
5 8
4 8
1 9
7 9
8 9
4 10
7 10
8 10
9 11
7 11
10 11
9 12
8 12
10 12
9 13
11 13
12 13
10 14
11 14
12 14
13 15
11 15
14 15
13 16
12 16
14 16
...

result:

ok OK, Accepted.

Test #19:

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

input:

19

output:

No

result:

ok OK, Accepted.

Test #20:

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

input:

20

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-176 -180
176 -180
0 -18
0 18
54
1 5
2 5
3 5
4 5
1 6
2 6
3 6
4 6
5 6
1 2
3 4
1 7
6 7
4 7
1 8
5 8
4 8
1 9
7 9
8 9
4 10
7 10
8 10
9 11
7 11
10 11
9 12
8 12
10 12
9 13
11 13
12 13
10 14
11 14
12 14
13 15
11 15
14 15
13 16...

result:

ok OK, Accepted.

Test #21:

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

input:

21

output:

No

result:

ok OK, Accepted.

Test #22:

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

input:

22

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
200 -198
200 198
-20 0
20 0
60
1 5
2 5
3 5
4 5
1 6
2 6
3 6
4 6
5 6
1 2
3 4
1 7
6 7
4 7
1 8
5 8
4 8
1 9
7 9
8 9
4 10
7 10
8 10
9 11
7 11
10 11
9 12
8 12
10 12
9 13
11 13
12 13
10 14
11 14
12 14
13 15
11 15
14...

result:

ok OK, Accepted.

Test #23:

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

input:

23

output:

No

result:

ok OK, Accepted.

Test #24:

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

input:

24

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-220 -220
220 -220
0 -22
0 22
66
1 5
2 5
3 5
4 5
1 6
2 6
3 6
4 6
5 6
1 2
3 4
1 7
6 7
4 7
1 8
5 8
4 8
1 9
7 9
8 9
4 10
7 10
8 10
9 11
7 11
10 11
9 12
8 12
10 12
9 13
11 13
12 13
10 14
11 14
12 14
1...

result:

ok OK, Accepted.

Test #25:

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

input:

25

output:

No

result:

ok OK, Accepted.

Test #26:

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

input:

26

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
240 -242
240 242
-24 0
24 0
72
1 5
2 5
3 5
4 5
1 6
2 6
3 6
4 6
5 6
1 2
3 4
1 7
6 7
4 7
1 8
5 8
4 8
1 9
7 9
8 9
4 10
7 10
8 10
9 11
7 11
10 11
9 12
8 12
10 12
9 13
11 13
12 13
10 14
11 1...

result:

ok OK, Accepted.

Test #27:

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

input:

27

output:

No

result:

ok OK, Accepted.

Test #28:

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

input:

28

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-264 -260
264 -260
0 -26
0 26
78
1 5
2 5
3 5
4 5
1 6
2 6
3 6
4 6
5 6
1 2
3 4
1 7
6 7
4 7
1 8
5 8
4 8
1 9
7 9
8 9
4 10
7 10
8 10
9 11
7 11
10 11
9 12
8 12
10 12
9 13
11 13
12 ...

result:

ok OK, Accepted.

Test #29:

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

input:

29

output:

No

result:

ok OK, Accepted.

Test #30:

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

input:

30

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
280 -286
280 286
-28 0
28 0
84
1 5
2 5
3 5
4 5
1 6
2 6
3 6
4 6
5 6
1 2
3 4
1 7
6 7
4 7
1 8
5 8
4 8
1 9
7 9
8 9
4 10
7 10
8 10
9 11
7 11
10 11
9 12
8 12
10 12
9 13
...

result:

ok OK, Accepted.

Test #31:

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

input:

31

output:

No

result:

ok OK, Accepted.

Test #32:

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

input:

32

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-308 -300
308 -300
0 -30
0 30
90
1 5
2 5
3 5
4 5
1 6
2 6
3 6
4 6
5 6
1 2
3 4
1 7
6 7
4 7
1 8
5 8
4 8
1 9
7 9
8 9
4 10
7 10
8 10
9 11
7 11
10 11
9 12
8 1...

result:

ok OK, Accepted.

Test #33:

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

input:

33

output:

No

result:

ok OK, Accepted.

Test #34:

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

input:

34

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
320 -330
320 330
-32 0
32 0
96
1 5
2 5
3 5
4 5
1 6
2 6
3 6
4 6
5 6
1 2
3 4
1 7
6 7
4 7
1 8
5 8
4 8
1 9
7 9
8 9
4 10
7 10
8 10
9 11
7 11
10 11...

result:

ok OK, Accepted.

Test #35:

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

input:

35

output:

No

result:

ok OK, Accepted.

Test #36:

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

input:

36

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-352 -340
352 -340
0 -34
0 34
102
1 5
2 5
3 5
4 5
1 6
2 6
3 6
4 6
5 6
1 2
3 4
1 7
6 7
4 7
1 8
5 8
4 8
1 9
7 9
8 9
4 10
7 10
8 10
9...

result:

ok OK, Accepted.

Test #37:

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

input:

37

output:

No

result:

ok OK, Accepted.

Test #38:

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

input:

38

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
360 -374
360 374
-36 0
36 0
108
1 5
2 5
3 5
4 5
1 6
2 6
3 6
4 6
5 6
1 2
3 4
1 7
6 7
4 7
1 8
5 8
4 8
1 9
7 9
8 9
4 10
7 ...

result:

ok OK, Accepted.

Test #39:

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

input:

39

output:

No

result:

ok OK, Accepted.

Test #40:

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

input:

40

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-396 -380
396 -380
0 -38
0 38
114
1 5
2 5
3 5
4 5
1 6
2 6
3 6
4 6
5 6
1 2
3 4
1 7
6 7
4 7
1 8
5 8
4 8
1 9
7 ...

result:

ok OK, Accepted.

Test #41:

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

input:

41

output:

No

result:

ok OK, Accepted.

Test #42:

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

input:

42

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
400 -418
400 418
-40 0
40 0
120
1 5
2 5
3 5
4 5
1 6
2 6
3 6
4 6
5 6
1 2
3 4
1 7
6 7
4 7
1 8
5 8
4...

result:

ok OK, Accepted.

Test #43:

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

input:

43

output:

No

result:

ok OK, Accepted.

Test #44:

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

input:

44

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-440 -420
440 -420
0 -42
0 42
126
1 5
2 5
3 5
4 5
1 6
2 6
3 6
4 6
5 6
1 2
3 4
1 7
6 7
...

result:

ok OK, Accepted.

Test #45:

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

input:

45

output:

No

result:

ok OK, Accepted.

Test #46:

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

input:

46

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
440 -462
440 462
-44 0
44 0
132
1 5
2 5
3 5
4 5
1 6
2 6
3 6
4 6
5 6
1 2
3 4...

result:

ok OK, Accepted.

Test #47:

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

input:

47

output:

No

result:

ok OK, Accepted.

Test #48:

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

input:

48

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-484 -460
484 -460
0 -46
0 46
138
1 5
2 5
3 5
4 5
1 6
2 6
3 6
4 ...

result:

ok OK, Accepted.

Test #49:

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

input:

49

output:

No

result:

ok OK, Accepted.

Test #50:

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

input:

50

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
480 -506
480 506
-48 0
48 0
144
1 5
2 5
3 5
4 5
1 6
2...

result:

ok OK, Accepted.

Test #51:

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

input:

51

output:

No

result:

ok OK, Accepted.

Test #52:

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

input:

52

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-528 -500
528 -500
0 -50
0 50
150
1 5
2 5
...

result:

ok OK, Accepted.

Test #53:

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

input:

53

output:

No

result:

ok OK, Accepted.

Test #54:

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

input:

54

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
520 -550
520 550
-52 0
52 0
156...

result:

ok OK, Accepted.

Test #55:

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

input:

55

output:

No

result:

ok OK, Accepted.

Test #56:

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

input:

56

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-572 -540
572 -540
0...

result:

ok OK, Accepted.

Test #57:

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

input:

57

output:

No

result:

ok OK, Accepted.

Test #58:

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

input:

58

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
560 -594
...

result:

ok OK, Accepted.

Test #59:

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

input:

59

output:

No

result:

ok OK, Accepted.

Test #60:

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

input:

60

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
0 -54
0 5...

result:

ok OK, Accepted.

Test #61:

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

input:

61

output:

No

result:

ok OK, Accepted.

Test #62:

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

input:

62

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
0 -54
0 5...

result:

ok OK, Accepted.

Test #63:

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

input:

63

output:

No

result:

ok OK, Accepted.

Test #64:

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

input:

64

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
0 -54
0 5...

result:

ok OK, Accepted.

Test #65:

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

input:

65

output:

No

result:

ok OK, Accepted.

Test #66:

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

input:

66

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
0 -54
0 5...

result:

ok OK, Accepted.

Test #67:

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

input:

67

output:

No

result:

ok OK, Accepted.

Test #68:

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

input:

68

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
0 -54
0 5...

result:

ok OK, Accepted.

Test #69:

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

input:

69

output:

No

result:

ok OK, Accepted.

Test #70:

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

input:

70

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
0 -54
0 5...

result:

ok OK, Accepted.

Test #71:

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

input:

71

output:

No

result:

ok OK, Accepted.

Test #72:

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

input:

72

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
0 -54
0 5...

result:

ok OK, Accepted.

Test #73:

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

input:

73

output:

No

result:

ok OK, Accepted.

Test #74:

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

input:

74

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
0 -54
0 5...

result:

ok OK, Accepted.

Test #75:

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

input:

75

output:

No

result:

ok OK, Accepted.

Test #76:

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

input:

76

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
0 -54
0 5...

result:

ok OK, Accepted.

Test #77:

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

input:

77

output:

No

result:

ok OK, Accepted.

Test #78:

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

input:

78

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
0 -54
0 5...

result:

ok OK, Accepted.

Test #79:

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

input:

79

output:

No

result:

ok OK, Accepted.

Test #80:

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

input:

80

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
0 -54
0 5...

result:

ok OK, Accepted.

Test #81:

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

input:

81

output:

No

result:

ok OK, Accepted.

Test #82:

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

input:

82

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
0 -54
0 5...

result:

ok OK, Accepted.

Test #83:

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

input:

83

output:

No

result:

ok OK, Accepted.

Test #84:

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

input:

84

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
0 -54
0 5...

result:

ok OK, Accepted.

Test #85:

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

input:

85

output:

No

result:

ok OK, Accepted.

Test #86:

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

input:

86

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
0 -54
0 5...

result:

ok OK, Accepted.

Test #87:

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

input:

87

output:

No

result:

ok OK, Accepted.

Test #88:

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

input:

88

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
0 -54
0 5...

result:

ok OK, Accepted.

Test #89:

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

input:

89

output:

No

result:

ok OK, Accepted.

Test #90:

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

input:

90

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
0 -54
0 5...

result:

ok OK, Accepted.

Test #91:

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

input:

91

output:

No

result:

ok OK, Accepted.

Test #92:

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

input:

92

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
0 -54
0 5...

result:

ok OK, Accepted.

Test #93:

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

input:

93

output:

No

result:

ok OK, Accepted.

Test #94:

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

input:

94

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
0 -54
0 5...

result:

ok OK, Accepted.

Test #95:

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

input:

95

output:

No

result:

ok OK, Accepted.

Test #96:

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

input:

96

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
0 -54
0 5...

result:

ok OK, Accepted.

Test #97:

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

input:

97

output:

No

result:

ok OK, Accepted.

Test #98:

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

input:

98

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
0 -54
0 5...

result:

ok OK, Accepted.

Test #99:

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

input:

99

output:

No

result:

ok OK, Accepted.

Test #100:

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

input:

100

output:

Yes
-2 0
-1 0
1 0
2 0
0 1
0 -1
0 -6
0 6
-8 0
8 0
0 -10
0 10
-12 0
12 0
0 -14
0 14
-16 0
16 0
0 -18
0 18
-20 0
20 0
0 -22
0 22
-24 0
24 0
0 -26
0 26
-28 0
28 0
0 -30
0 30
-32 0
32 0
0 -34
0 34
-36 0
36 0
0 -38
0 38
-40 0
40 0
0 -42
0 42
-44 0
44 0
0 -46
0 46
-48 0
48 0
0 -50
0 50
-52 0
52 0
0 -54
0 5...

result:

ok OK, Accepted.

Extra Test:

score: 0
Extra Test Passed