problem_id
stringlengths
6
6
user_id
stringlengths
10
10
time_limit
float64
1k
8k
memory_limit
float64
262k
1.05M
problem_description
stringlengths
48
1.55k
codes
stringlengths
35
98.9k
status
stringlengths
28
1.7k
submission_ids
stringlengths
28
1.41k
memories
stringlengths
13
808
cpu_times
stringlengths
11
610
code_sizes
stringlengths
7
505
p03323
u029929095
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['if int(input())>8 or int(input())>8:\n print(":(")\nelse:\n print("Yay!")', 'if max(list(map(int,input().split()))) >8:\n print(":(")\nelse:\n print("Yay!")\n']
['Runtime Error', 'Accepted']
['s922553904', 's330394605']
[9016.0, 8992.0]
[23.0, 27.0]
[72, 79]
p03323
u029935728
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['A,B=map(int,input().split())\nif A<=8 and B<=8 :\n\tprint("Yes")\nelse :\n\tprint(":(")', 'A,B=map(int,input().split())\nif A<=8 and B<=8 :\n\tprint("Yay!")\nelse :\n\tprint(":(")']
['Wrong Answer', 'Accepted']
['s466644240', 's558626417']
[2940.0, 2940.0]
[17.0, 17.0]
[81, 82]
p03323
u030726788
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a=int(input())\nb=int(input())\nif(a>8 or b>8):print(":(")\nelse:print("Yay!")', 'a=int(input())\nb=int(input())\nif(a>8 or b>8):print(":(")\nelse:print("Yay!")', 'a,b=map(int,input().split())\nif(a>8 or b>8):print(":(")\nelse:print("Yay!")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s202185141', 's212941892', 's681788530']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[75, 75, 74]
p03323
u030879708
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["a,b=map(int,input().split()):print('Yay!' if max(a,b)<=8 else ':(')", "print('Yay!'if max(map(int,input().split()))<'9' else':(')", "s=input();print(':('if len(s)>3 or'9'in s else'Yay!')"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s385403803', 's610944204', 's832751459']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[67, 58, 53]
p03323
u031391755
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a,b = map(int,input().split())\nif a < 9 and b < 9:\n print("Yey!")\nelse:\n print(":(")', 'a,b = map(int,input().split())\nif a < 9 and b < 9:\n print("Yay!")\nelse:\n print(":(")\n']
['Wrong Answer', 'Accepted']
['s376403259', 's897244423']
[2940.0, 2940.0]
[18.0, 17.0]
[90, 91]
p03323
u032484849
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a,b=map(int,input().split())\nprint("Yay" if abs(a-b)<=2 else ":(")', 'a,b=map(int,input().split())\nprint("Yay" if abs(a-b)<=1 else ":(")', 'a,b=map(int,input().split())\nprint("Yay!" if abs(a-b)<=1 else ":(")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s059060961', 's555938348', 's364424315']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[66, 66, 67]
p03323
u033524082
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a,b=map(int,input(),split())\nif a<=8 and b<=8:\n print("Yay!")\nelse:\n print(":(")', 'a,b =int(input(),split())\nif a<=8 or b<=8:\n print("Yay!")\nelse:\n print(":(")\n\n', 'a,b =map(int,input(),split())\nif a<=8 or b<=8:\n print("Yay!")\nelse:\n print(":(")\n\n', 'a,b=map(int,input().split())\nif a<=8 and b<=8:\n print("Yay!")\nelse:\n print(":(")\n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s062704851', 's191659211', 's524496037', 's017939523']
[3060.0, 2940.0, 2940.0, 2940.0]
[18.0, 18.0, 18.0, 19.0]
[82, 80, 84, 83]
p03323
u038408819
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['D, N = map(int, input().split())\na = pow(100, D)\n#print(a * N)\nb = a * N\nif N==100:\n print(b + pow(100, D))\nelse:\n print(b)\n', 'a, b = map(int, input().split())\n\ne = 0\nsqu = 0\nfor i in range(0, 16, 2):\n #for j in range(b)\n #s[i] = 1\n #s[i+1] = 0\n e += 1\n squ += 1\n\nif e>=a and squ>=b:\n print("Yay!")\nelse:\n print(":(")\n']
['Wrong Answer', 'Accepted']
['s100356969', 's895827919']
[2940.0, 2940.0]
[20.0, 17.0]
[130, 212]
p03323
u038854253
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['cake_a = int(input())\ncake_b = int(input())\n\nif cake_a > 8 or cake_b > 8:\n print(":(")\n exit(0)\n \nprint("Yay!")\n', 'cake_a = int(input())\ncake_b = int(input())\n\nif cake_a > 8 or cake_b > 8:\n print(":(")\n exit(0)\n \nprint("Yay!")\n', 'input_line = input().split()\n\ncake_a = int(input_line[0])\ncake_b = int(input_line[1])\n\nif cake_a > 8 or cake_b > 8:\n print(":(")\nelse:\n print("Yay!")\n']
['Runtime Error', 'Runtime Error', 'Accepted']
['s122029091', 's567372458', 's798895573']
[2940.0, 2940.0, 3064.0]
[17.0, 17.0, 19.0]
[121, 121, 156]
p03323
u039623862
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["a = int(input())\nb = int(input())\nif a + b <= 14:\n print('Yay!')\nelse:\n print(':(')", "a = int(input())\nb = int(input())\nif a <= 8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')", "a, b = map(int, input().split())\nif a <= 8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s104159457', 's798153693', 's356685703']
[2940.0, 2940.0, 3316.0]
[17.0, 17.0, 20.0]
[89, 95, 94]
p03323
u044459372
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['d,n=map(int,input().split())\nif d!=100:\n\tprint((100**d)*n)\nelse:\n\tprint((100**d)*(n+1))', "a,b=map(int,input().split())\nif 8<a or 8<b:\n\tprint(':(')\nelse:\n\tprint('Yay!')\n"]
['Wrong Answer', 'Accepted']
['s426714553', 's260736283']
[2940.0, 2940.0]
[17.0, 17.0]
[87, 78]
p03323
u046187684
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['#!/usr/bin/env python3\n# -*- coding: utf-8 -*-\n\na = int(input())\nb = int(input())\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")\n', '#!/usr/bin/env python3\n# -*- coding: utf-8 -*-\n\na = int(input())\n\nb = int(input())\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(" :(")\n', '#!/usr/bin/env python3\n# -*- coding: utf-8 -*-\n\na = int(input())\n\nb = int(input())\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(" :(")\n', '#!/usr/bin/env python3\n# -*- coding: utf-8 -*-\n\na, b = map(int, input().split())\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")\n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s149144463', 's274478349', 's736779192', 's457482697']
[2940.0, 3316.0, 3064.0, 2940.0]
[17.0, 19.0, 18.0, 17.0]
[144, 146, 146, 143]
p03323
u046585946
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a,b=map(int,input().split())\nif a+b>16:\n print(":(")\nelif (abs(a-b))%2==0:\n print("Yay!")\nelse:\n print(":(")', 'a,b=map(int,input().split())\nif (abs(a-b))%2==0 and a+b==16:\n print("Yay!")\nelse:\n print(":(")', 'a,b=map(int,input().split())\nif a<=8 and b<=8:\n print("Yay!")\nelse:\n print(":(")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s389598021', 's471678517', 's263731736']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[111, 96, 82]
p03323
u047075100
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['D, N = [int(i) for i in input().split()]\nbase = pow(100, D)\nprint(N * base if N != 100 else 101 * base)', 'D, N = [int(i) for i in input().split()]\nbase = pow(100, D)\n\ni = 0\nwhile D > 0:\n i += 1\n if i % base == 0:\n continue\n D -= 1\n\nprint(i * base)', "A, B = [int(i) for i in input().split()]\nanswer = { True: 'Yay!', False: ':(' }\nprint(answer[0 <= A <= 8 and 0 <= B <= 8])"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s170703802', 's751851395', 's350917402']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[103, 148, 122]
p03323
u050121913
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["a = int(input())\nb = int(input())\nif a <= 8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')", "a = int(input())\nb = int(input())\nif a <= 8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')", "a,b = map(int,input().split( ))\nif a <= 8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s031873818', 's628129291', 's596087219']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 19.0]
[95, 95, 93]
p03323
u052332717
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["a,b = map(int,input())\n\nif max(a,b) <= 8:\n print('Yay!')\nelse:\n print(':(')", "a,b = map(int,input().split())\n\nif max(a,b) <= 8:\n print('Yay!')\nelse:\n print(':(')"]
['Runtime Error', 'Accepted']
['s425167152', 's433261598']
[2940.0, 2940.0]
[17.0, 18.0]
[89, 97]
p03323
u052347048
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['amount = input()\n\nlis = amount.split()\n\nif int(lis[0]) and int(lis[1]) <= 8:\n print("Yay")\n\nelse:\n print(":(")', 'a = int(input())\nb = int(input())\n\nif a > 8 or b > 8:\n print(":(")\n\n\n\nelse:\n print("Yay!")', 'a = int(input())\nb = int(input())\n\nif a > 8:\n print(":(")\n\nelif b > 8:\n print(":(")\n\nelse:\n print("Yay!")', 'amount = input()\n\nlis = amount.split()\n\njudge = 0\n\nfor num in lis:\n if int(num) <= 8:\n judge += 1\n\n else:\n pass\n\nif judge == len(lis):\n print("Yay!")\n\nelse:\n print(":(")']
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s083027214', 's428111389', 's585617429', 's397807286']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0, 17.0]
[116, 96, 114, 195]
p03323
u052593201
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["D, N = map(int, input().split(' '))\n\nif N == 100:\n print(pow(100, D) * 100 + pow(100, D))\n exit()\nprint(pow(100, D) * N)", "def sum_axis(input_list):\n x_sum, y_sum, z_sum = 0, 0, 0\n for i in input_list:\n x_sum += i[0]\n y_sum += i[1]\n z_sum += i[2]\n\n return x_sum, y_sum, z_sum\n\nN, M = map(int, input().split(' '))\n\nif M == 0:\n print(0)\n exit()\n\nxyz = []\nfor i in range(N):\n xyz.append(list(map(int, input().split(' '))))\n\nsigns = [[1, 1, 1], [1, 1, -1], [1, -1, 1], [1, -1, -1],\n [-1, 1, 1], [-1, 1, -1], [-1, -1, 1], [-1, -1, -1]]\nresults = []\n\nfor sign in signs:\n sorted_list = sorted(xyz, key = lambda x: sign[0] * x[0] + sign[1] * x[1] + sign[2] * x[2])\n\n tmp = sum_axis(sorted_list[-M:])\n results.append(tmp[0] * sign[0] + tmp[1] * sign[1] + tmp[2] * sign[2])\n\nprint(max(results))", 'A, B = map(int, input().split((\' \')))\n\nif A > 8:\n print(":(");\n exit()\nif B > 8:\n print(":(");\n exit()\nprint("Yay!")']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s711244481', 's784767631', 's672211031']
[2940.0, 3064.0, 2940.0]
[17.0, 18.0, 17.0]
[126, 716, 128]
p03323
u054717609
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['x,y=map(int,input().split())\nif(x>8 or y>8):\n print("No")\nelse:\n print("Yes")\n', 'x,y=map(int,input().split())\nif(x>8 or y>8):\n print(":(")\nelse:\n print("Yay!")\n']
['Wrong Answer', 'Accepted']
['s055929610', 's258296942']
[2940.0, 2940.0]
[17.0, 17.0]
[84, 85]
p03323
u057415180
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["n, m = map(int, input().spilit())\n\nif n > 8 or m > 8:\n print(':(')\nelse:\n print('Yay!')", "n, m = map(int, input().split())\n\nif n > 8 or m > 8:\n print(':(')\nelse:\n print('Yay!')\n"]
['Runtime Error', 'Accepted']
['s302584259', 's817132851']
[2940.0, 2940.0]
[17.0, 18.0]
[89, 89]
p03323
u058592821
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["a, b = (int(i) for i in input().split())\nif a > 8 or b > 8:\n print('Yes')\nelse:\n print('No')", "a, b = (int(i) for i in input().split())\nif a <= 8 and b <= 8:\n print('Yes')\nelse:\n print('No')", "a, b = (int(i) for i in input().split())\nif a <= 8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s121047595', 's454372368', 's944808831']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[94, 97, 98]
p03323
u059210959
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['#encoding:utf-8\n\na=int(input())\nb=int(input())\n\nif a<=8 and b<=8:\n print("Yay!")\n\nelse:\n print(":(")\n', '#encoding:utf-8\n\na,b=map(int,input().split())\n\nif a<=8 and b<=8:\n print("Yay!")\n\nelse:\n print(":(")']
['Runtime Error', 'Accepted']
['s564123055', 's526191688']
[2940.0, 2940.0]
[17.0, 17.0]
[107, 105]
p03323
u061982241
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["A = int(input())\nB = int(input())\n\nif A>8 or B>8:\n print( ':(') \nelse:\n print('Yay!')", "A = int(input())\nB = int(input())\n \nif A <= 8:\n if B <= 8:\n print('Yay!')\n else:\n print( ':(') \nelse:\n print( ':(')", "A = int(input())\nB = int(input())\n\nif A>8 or B>8:\n print( ':(') \nelse:\n print('Yay!')", "A,B = map(int,input().split())\n \nif A <= 8:\n if B <= 8:\n print('Yay!')\n else:\n print( ':(') \nelse:\n print( ':(')"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s310713068', 's577723490', 's621703656', 's011237223']
[3064.0, 2940.0, 2940.0, 2940.0]
[19.0, 18.0, 17.0, 18.0]
[94, 138, 94, 135]
p03323
u063073794
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a,b=map(int,input().split())\nif a>9 or b>9:\n print(":(")\nelse:\n print("Yay")', 'a,b=map(int,input().split())\nif a>8 or b>8:\n print(":(")\nelse:\n print("Yay!")']
['Wrong Answer', 'Accepted']
['s437940804', 's726277982']
[2940.0, 2940.0]
[17.0, 18.0]
[78, 79]
p03323
u063896676
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['# -*- coding: utf-8 -*-\n\nA = int(input())\nB = int(input())\n\nif A<=8 and B<=8:\n print("Yay!")\nelse:\n print(":(")', '# -*- coding: utf-8 -*-\n\nA, B = map(int, input().split())\n\nif A<=8 and B<=8:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Accepted']
['s386817585', 's493884036']
[2940.0, 3064.0]
[17.0, 17.0]
[117, 116]
p03323
u064408584
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["a=int(input())\nb=int(input())\nif a>8 or b>8:print(':(')\nelse:print('Yay!')", "a,b=map(int, input().split())\nif a>8 or b>8:print(':(')\nelse:print('Yay!')"]
['Runtime Error', 'Accepted']
['s994326095', 's330025652']
[2940.0, 3060.0]
[17.0, 19.0]
[74, 74]
p03323
u071061942
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['A,B = map(int,input().split())\nif A <= 8 & B <= 8:\n print("Yay!")\nelse:\n print(":(")\n', 'A,B = map(int,input().split())\nif A <= 8 & B <= 8:\n print("Yey!")\nelse:\n print(":(")', 'A,B = map(int,input().split())\nif A <= 8 and B <= 8:\n print("Yay!")\nelse:\n print(":(")\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s064382161', 's454002343', 's209862588']
[2940.0, 2940.0, 2940.0]
[18.0, 18.0, 18.0]
[87, 86, 89]
p03323
u075303794
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["a,b = map(int, input())\nif a<=8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')", "a,b = map(int, input().split())\nif a <= 8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')"]
['Runtime Error', 'Accepted']
['s420184828', 's235572267']
[3064.0, 2940.0]
[18.0, 17.0]
[79, 89]
p03323
u076482195
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['x=int(input())\ny=int(input())\nif x<9 and y<9:\n print("Yay!")\nelse:\n print(":(")', 'x,y=map(int,input().split())\nif x<9 and y<9:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Accepted']
['s855370297', 's986415812']
[2940.0, 2940.0]
[18.0, 20.0]
[81, 80]
p03323
u077898957
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["a,b = map(int,input().split())\nprint('yay!' if a<=8 and b<=8 else ':(')\n", "a,b=map(int,input().split())\nprint('Yay!' if a<=8 and b<=8 else ':(')\n"]
['Wrong Answer', 'Accepted']
['s533774238', 's773633667']
[2940.0, 2940.0]
[17.0, 17.0]
[72, 70]
p03323
u078814967
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['D, N = map(int,input().split())\nif N != 100:\n print(N*100**D)\nelse:\n print(N*100**D + 1)\nD, N = map(int,input().split())\nif N != 100:\n print(N*100**D)\nelse:\n print((N+1)*100**D)\n', 'D, N = map(int,input().split())\nprint(N*100**D)', 'a, b = map(int, input().split())\nif a <= 8 and b<= 8:\n print("Yay!")\nelse:\n print(":(") ']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s440078638', 's509979957', 's358586809']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[190, 47, 94]
p03323
u084949493
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['d, n = list(map(int, input().split()))\nif 0 <= d and d <= 2 and 0 <= n and n <= 100:\n print(str(100 ** d * n))', 'a, b = map(int, input().split())\n\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")']
['Wrong Answer', 'Accepted']
['s524877727', 's425404062']
[2940.0, 2940.0]
[17.0, 17.0]
[113, 95]
p03323
u086503932
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["A = int(input())\nB = int(input())\nif A <9 and B < 9:\n print('Yay!')\nelse:\n print(':(')", 'A = int(input())\nB = int(input())\nif A <9 and B < 9:\n print("Yay!")\nelse:\n print(":(")\n', "A = int(input())\nB = int(input())\nif (A > 9 or B > 9):\n print(':(')\nelse:\n print('Yay!')\n", "A = int(input())\nB = int(input())\nif A <9 and B < 9:\n print('Yay!')\nelse:\n print(':(')\n", "A = int(input())\nB = int(input())\nif (A > 9 or B > 9):\n print(':(')\nelse:\n print('Yay!')\n", "A = int(input())\nB = int(input())\nif ((A < 9) and (B < 9)):\n print('Yay!')\nelse:\n print(':(')\n", "A = int(input())\nB = int(input())\nif (A < 9) and (B < 9):\n print('Yay!')\nelse:\n print(':(')\n", "A = int(input())\nB = int(input())\nif ((A > 9) or (B > 9)):\n print(':(')\nelse:\n print('Yay!')\n", 'A = int(input())\nB = int(input())\nif A <9 and B < 9:\n print("Yay!")\nelse:\n print(":(")\n', "A, B = map(int, input().split())\nif A <= 8 and B <= 8:\n print('Yay!')\nelse:\n print(':(')"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s170629214', 's281458697', 's303316292', 's334608048', 's528018309', 's687929413', 's706320525', 's836452533', 's947605903', 's075452126']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3316.0]
[17.0, 18.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 22.0, 20.0]
[92, 93, 95, 93, 95, 100, 98, 99, 93, 94]
p03323
u089230684
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a, b = map(int, input().split())\n\nif a<=8 and b<=8:\n print ("Yay")\nelse:\n print (":(")', 'a, b = map(int, input().split())\nprint("Yay") if a+b % 16 > min(a,b) else print(":(")', "a, b = map(int, input().split())\nif a<= 8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s485397538', 's900589152', 's751227119']
[2940.0, 2940.0, 9092.0]
[17.0, 18.0, 24.0]
[88, 85, 93]
p03323
u089376182
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["a, b = map(int, input().split())\nprint('Yay' if (a<=8)*(b<=8) else ':(')", "a, b = map(int, input().split())\nprint('Yay!' if (a<=8)*(b<=8) else ':(')\n"]
['Wrong Answer', 'Accepted']
['s587271809', 's386400775']
[2940.0, 3064.0]
[17.0, 18.0]
[72, 74]
p03323
u093500767
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['d,n = map(int,input().split())\nif n != 100:\n print(n*(100**d))\nelse:\n print(100*(100**d)+100**d)', 'a, b = map(int, input().split())\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")']
['Wrong Answer', 'Accepted']
['s584156557', 's377816147']
[2940.0, 2940.0]
[17.0, 17.0]
[102, 94]
p03323
u094565093
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['D,N=map(int,input().split())\nprint(100**D*N if N<100 else 100**D*101)', 'D, N = map(int, input() .split())\nif N == 100:\n\tN += 1\nprint(N * 100 ** D)', 'D, N = map(int, input() .split())\nif N == 100:\n\tN += 1\nprint(N * 100 ** D)', 'D,N=map(int, input().split())\nnum=100**D\nprint(N*num)', "a,b=map(int, input().split())\nif a<=8 and b<=8:\n print('Yay!')\nelse:\n print(':(')"]
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s035757453', 's416292849', 's689013688', 's723945515', 's919288305']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[69, 74, 74, 53, 87]
p03323
u095396110
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['d, n = map(int, input().split())\nprint(n * 100 ** d) if n < 100 else print((n + 1) * 100 **d)', "a, b = map(int, input().split())\nif a <= 16 /2 and b <= 16 / 2:\n print('Yay!')\nelse:\n print(':(')"]
['Wrong Answer', 'Accepted']
['s823980461', 's825300876']
[9016.0, 8944.0]
[30.0, 33.0]
[93, 103]
p03323
u095969144
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a,b = map(int, input().split())\n\nif a > 8 && b > 8 :\n print (":(")\nelif\n print ("Yay!")', 'a,b = map(int, input().split())\n\nif a > 8 and b > 8 :\n print (":(")\nelif\n print ("Yay!")\n', 'a, b = map(int, input().split())\n\nif a < 9 and b < 9 :\n\tprint("Yay!")\nelse :\n\tprint(":(")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s229108111', 's435376363', 's898883051']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[89, 91, 89]
p03323
u096736378
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["a, b = map(int, input().split())\n\nif a > 8 or b > 8:\n\tprint(':(')\nelse:\n\tprint('Yey!')", "a = int(input())\nb = int(input())\n\nif a > 8 or b > 8:\n\tprint(':(')\nelse:\n\tprint('Yey!')", "a = int(input())\nb = int(input())\n\nif a > 8 or b > 8:\n\t\tprint(':(')\nelse:\n\t\tprint('Yey!')", "a = int(input())\nb = int(input())\n\nif a > 8 or b > 8:\n\t\tprint(':(')\nelse:\n\t\tprint('Yey!')", "a = int(input())\nb = int(input())\n\nif a > 8 or b > 8:\n\tprint(':(')\nelse:\n\tprint('Yey!')", "a = int(input())\nb = int(input())\n\nif a > 8 or b > 8:\n\tprint(':(')\nelse:\n\tprint('Yey!')", "a = int(input())\nb = int(input())\n\nif a > 8 or b > 8:\n\t\tprint(':(')\nelse:\n\t\tprint('Yey!')", "a, b = map(int, input().split())\n\nif a > 8 or b > 8:\n\tprint(':(')\nelse:\n\tprint('Yay!')"]
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s211194856', 's223668142', 's596806656', 's654403368', 's682357966', 's752918097', 's916385334', 's514796390']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3316.0]
[17.0, 18.0, 17.0, 18.0, 17.0, 17.0, 17.0, 22.0]
[86, 87, 89, 89, 87, 87, 89, 86]
p03323
u099053021
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a,b=input().split()\na=int(a)\nb=int(b)\n\nif a>8 or b>8:\n\tprint(":(")\nelse:\n\tprint("Yay")', 'd,n=input().split()\nd=int(d)\nn=int(n)\n\nif d==0:\n\tprint(n)\nelif d==1:\n\tprint(n*10)\nelse:\n\tprint(n*10000)', 'a,b=input().split()\na=int(a)\nb=int(b)\n\nif a>8 and b>8\n\tprint(":)")\nelse:\n\tprint("Yay")', 'd,n=input().split()\nd=int(d)\nn=int(n)\n\nif d==0:\n\tif n==100:\n\t\tprint(101)\n\telse:\n\t\tprint(n)\nelif d==1:\n\tif n==100:\n\t\tprint(10100)\n\telse:\n\t\tprint(n*10)\nelse:\n\tprint(n*10000)', 'a,b=input().split()\na=int(a)\nb=int(b)\n\nif a>8 or b>8:\n\tprint(":)")\nelse:\n\tprint("Yay")', 'a,b=input().split()\na=int(a)\nb=int(b)\n\nif a>8 and b>8:\n\tprint(":)")\nelse:\n\tprint("Yay")', 'a,b=input().split()\na=int(a)\nb=int(b)\n\nif a>8 or b>8:\n\tprint(":(")\nelse:\n\tprint("Yay!")']
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s228264276', 's660265601', 's676858974', 's767797871', 's939138933', 's949398953', 's810201709']
[2940.0, 2940.0, 2940.0, 3060.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[86, 103, 86, 171, 86, 87, 87]
p03323
u099918199
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a,b = map(int, input().split())\nif a<9 & b<9:\n print("Yay!")\nelse:\n print(":(")', 'a,b = map(int, input().split())\nif a<9 and b<9:\n print("Yay!")\nelse:\n print(":(")']
['Wrong Answer', 'Accepted']
['s258493538', 's812221619']
[2940.0, 2940.0]
[17.0, 17.0]
[81, 83]
p03323
u102126195
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['\nA, B = map(int, input().split())\n\nif A <= 8 and B <= 8:\n print("Yey!")\nelse:\n print(":()")\n', '\nA, B = map(int, input().split())\n\nif A <= 8 and B <= 8:\n print("Yey!")\nelse:\n print(":()")\n', '\nA, B = map(int, input().split())\n\nif A <= 8 and B <= 8:\n print("Yey!")\nelse:\n print(":()")\n', '\nA, B = map(int, input().split())\n\nif A <= 8 and B <= 8:\n print("Yay!")\nelse:\n print(":(")\n']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s305604413', 's775844380', 's787042800', 's639329229']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0]
[98, 98, 98, 97]
p03323
u102902647
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["\nA, B = map(int, input().split())\n\nif A <= 9 & B <= 9:\n print('Yay!')\nelse:\n print(':(')", "A, B = map(int, input().split())\n\nif A <= 8 & B <= 8:\n print('Yay!')\nelse:\n print(':(')", "A, B = map(int, input().split())\n\nif (A <= 8) & (B <= 8):\n print('Yay!')\nelse:\n print(':(')"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s131105107', 's657180238', 's600062231']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[94, 93, 97]
p03323
u102960641
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a, b = map(int, input().split())\nprint("Yay!") if a <= 8 and b <= 8 else print(":(\n")\n', 'a, b = int(input())\nprint("Yay!") if a <= 8 and b <= 8 else print(":(\n")', 'a, b = map(int, input().split())\nprint("Yay!") if a <= 8 and b <= 8 else print(":(")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s043559634', 's791885274', 's077447366']
[2940.0, 2940.0, 2940.0]
[18.0, 18.0, 19.0]
[86, 72, 84]
p03323
u107039373
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a = int(input())\nb = int(input())\nif a == b:\n print("Yay!")\nelse:\n print(":(")', 'a = int(input())\nb = int(input())\nif a == b:\n print("Yay!")\nelse:\n print(":(")', 'a,b = map(int,input().split())\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s014998878', 's824372540', 's721114916']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 18.0]
[84, 84, 92]
p03323
u108072608
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["a,b=map(int, input().split())\n\nif a+b=<16:\n print('Yay!')\nelse:\n print(':(')", "a,b=map(int, input().split())\nif a<=8 and b<=8:\n print('Yay!')\nelse:\n print(':(')"]
['Runtime Error', 'Accepted']
['s095858865', 's657100544']
[8796.0, 9160.0]
[19.0, 33.0]
[78, 83]
p03323
u112247039
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["a,b = map(int,input().split())\nprint(':(' if a > 8 or b > 8 'Yay!')", "a,b = map(int,input().split())\nprint(':(' if a > 8 or b > 8 else 'Yay!')"]
['Runtime Error', 'Accepted']
['s031508442', 's595178770']
[8948.0, 9044.0]
[24.0, 26.0]
[67, 72]
p03323
u112629957
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['A,B=map(int,input().split())\nif max([A,B])>8:\n print(":(")\nelse:\n print("Yay")', 'A,B=map(int,input().split())\nif max([A,B])>8:\n print(":(")\nelse:\n print("Yay!")']
['Wrong Answer', 'Accepted']
['s865711450', 's715361238']
[2940.0, 3064.0]
[17.0, 17.0]
[80, 81]
p03323
u115877451
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["a,b=map(int,input().split())\nif abs(a-b)>2:\n print(':(')\nelse:\n print('Yay')", "a,b=map(int,input().split())\nif abs(a-b)>2:\n print(':(')\nelse:\n print('Yay!')"]
['Wrong Answer', 'Accepted']
['s673751633', 's737043814']
[9068.0, 9104.0]
[27.0, 29.0]
[78, 79]
p03323
u117348081
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a, b = map(int, input().split())\nif a<=8 and b <=8:\n print("Yes!")\nelse:\n print(":(")', 'a, b = map(int, input().split())\nc = max(a, b)\nif c <=10:\n print("Yes!")\nelse:\n print(":(")', 'a, b = map(int, input().split())\nc = max(a, b)\nif c <=8:\n print("Yes!")\nelse:\n print(":(")', 'a, b = map(int, input().split())\nif a<=8 and b <=8:\n print("Yay!")\nelse:\n print(":(")']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s115084868', 's276267522', 's877580172', 's623144972']
[2940.0, 2940.0, 2940.0, 2940.0]
[24.0, 17.0, 17.0, 17.0]
[91, 97, 96, 91]
p03323
u119714109
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['import sys\n\nstdin = sys.stdin\n\nni = lambda: int(ns())\nna = lambda: list(map(int, stdin.readline().split()))\nns = lambda: stdin.readline()\n\na = ni()\nb = ni()\n\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")', 'import sys\n\nstdin = sys.stdin\n\nni = lambda: int(ns())\nna = lambda: list(map(int, stdin.readline().split()))\nns = lambda: stdin.readline()\n\na, b = na()\n\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Accepted']
['s829772259', 's138970948']
[3060.0, 3060.0]
[17.0, 19.0]
[219, 213]
p03323
u119982147
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a, b = map(int(input()))\n\nif abs(a-b) < 2:\n print("Yay!")\nelse:\n print(":(")', 'a, b = map(int(input()))\n\nif abs(a-b) < 2:\n print("Yay!")\nelse:\n printa, b = map(int, input().split())\n\nif abs(a-b) < 2:\n print("Yay!")\nelse:\n print(":(")', 'a, b = map(int, input().split())\n\nif abs(a-b) < 2:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s118860402', 's384733091', 's141030032']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[82, 166, 90]
p03323
u122195031
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a,b = map(int,input().split())\nif a >= 8 and b >= 8:\n print("Yay!")\nelse:\n print(":(")', 'a,b = map(int,input().split())\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")']
['Wrong Answer', 'Accepted']
['s850112981', 's481882650']
[2940.0, 2940.0]
[17.0, 17.0]
[92, 92]
p03323
u124070765
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["a,b=map(int,input().split())\nif (a>8) or (b>8):\n print(':(')\nelse:\n print('Yey!')", "a,b=map(int,input().split())\nif a>8 or b>8:\n print(':(')\nelse:\n print('Yey!')", "a,b=map(int,input().split())\nif (a>8) or (b>8):\n print(':(')\nelse:\n print('Yay!')"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s523839205', 's979700624', 's933364690']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[87, 83, 87]
p03323
u125666426
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['import numpy as np\n\nN, M = list(map(int, input().split()))\n\nscores = []\nfor _ in range(N):\n scores.append(list(map(int, input().split())))\n\nscores = np.array(scores)\nsigns = [-1, 1]\nanswer = 0\nfor sign_k in signs:\n kireisa = sign_k\n for sign_o in signs:\n oishisa = sign_o\n for sign_n in signs:\n ninki = sign_n\n\n kireisa_score = scores[:, 0] * kireisa\n oishisa_score = scores[:, 1] * oishisa\n ninki_score = scores[:, 2] * ninki\n\n sorted_score = np.stack((kireisa_score, oishisa_score, ninki_score), axis=1)\n sums = [sum(s) for s in sorted_score]\n\n sums.sort()\n sums.reverse()\n if sum(sums[:M]) > answer:\n answer = sum(sums[:M])\n\nprint(answer)\n', "A, B = list(map(int, input().split()))\n\nfor i in range(16):\n if i % 2 == 0 and A > 0:\n A -= 1\n elif i % 2 == 1 and B > 0:\n B -= 1\n\nif A == 0 and B == 0:\n print('Yay!')\nelse:\n print(':(')\n"]
['Runtime Error', 'Accepted']
['s786511143', 's555809537']
[12440.0, 2940.0]
[149.0, 18.0]
[779, 213]
p03323
u128740947
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a, b = map(int,input().split())\nif a > 9 and b > 9:\n print("Yay!")\nelse:\n print(":(")', 'a, b = map(int,input().split())\nif a < 9 and b < 9:\n print("Yay!")\nelse:\n print(":(")']
['Wrong Answer', 'Accepted']
['s470171598', 's321838618']
[2940.0, 2940.0]
[17.0, 18.0]
[91, 91]
p03323
u129801138
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a = input().split()\nif int(a[0]) == 0:\n if int(a[1]) != 100:\n print(int(a[1]))\n else:\n print("101")\nelif int(a[0]) == 1:\n if int(a[1]) != 100:\n print(int(a[1]) * 100)\n else:\n print("10100")\nelse:\n if int(a[1]) != 100:\n print(int(a[1]) * 10000)\n else:\n print("1010000")', 'x = input().split()\nx = [int(n) for n in x]\nif x[0] <= 8 and x[1] <= 8:\n print("Yay!")\nelse:\n print(":(")']
['Wrong Answer', 'Accepted']
['s049486752', 's783831020']
[3064.0, 2940.0]
[18.0, 17.0]
[328, 111]
p03323
u129978636
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["A, B = map( int, input().split())\n\nif( abs(A - B) == 1):\n print('yey!)\n \nelse:\n print(':(')", "A, B = map( int, input().split())\n\nif( A <= 8 and B <= 8):\n print('yey!')\n \nelse:\n print(':(')", "A, B = map( int, input().split())\n\nif( A <= 8 and B <= 8):\n print('Yay!')\n \nelse:\n print(':(')"]
['Runtime Error', 'Wrong Answer', 'Accepted']
['s204033194', 's690295847', 's927120371']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[100, 97, 97]
p03323
u131405882
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["A , B= map(int,input().split())\nif A < 8 and B < 8:\n\tprint('Yes')\nelse:\n\tprint('No')\n", "A , B= map(int,input().split())\nif A <- 8 and B <= 8:\n\tprint('Yay!')\nelse:\n\tprint(':(')\n", "A , B= map(int,input().split())\nif A <= 8 and B <= 8:\n\tprint('Yay!')\nelse:\n\tprint(':(')\n"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s147275141', 's473334179', 's690673544']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[85, 88, 88]
p03323
u132313362
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["a = input()\nb = input()\n\nif(a > 8 || b > 8):\n print(':(')\nelse:\n print('Yay!')\n", "a = int(input())\nb = int(input())\n\nif(a > 8 or b > 8):\n print (':(') \nelse:\n print ('Yay!')\n", "a = int(input())\nb = int(input())\n\nif(a > 8 or b > 8):\n print (':(') \nelse:\n print ('Yay!')\n", "a = int(input())\nb = int(input())\n\nif(a > 8 or b > 8):\n print (':(') \nelse:\n print ('Yay!')\n", "l = input().split()\na = int(l[0])\nb = int(l[1])\n\nif(a > 8 or b > 8):\n print (':(') \nelse:\n print ('Yay!')\n"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s011708538', 's365936929', 's839969501', 's874121230', 's776662755']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[85, 98, 98, 98, 112]
p03323
u140251125
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["# input\nA, B = map(int, input().split())\n\nif A >= 9 or B >= 9:\n print(':(')\nelse:\n print('Yay')\n", "# input\nA, B = map(int, input().input())\n\nif A >= 9 or B >= 9:\n print(':(')\nelse:\n print('Yay')", "# input\nA, B = map(int, input().split())\n\nif A >= 9 or B >= 9:\n print(':(')\nelse:\n print('Yay!')"]
['Wrong Answer', 'Runtime Error', 'Accepted']
['s210500029', 's955890448', 's897262744']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[102, 101, 102]
p03323
u142211940
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['#--------------------------------------------\n\nimport sys\nimport math\n#--------------------------------------------\nD, N = map(int, input().split())\n\nif D ==100:\n D=101\na=100**D\nprint(a*N)', '#--------------------------------------------\n\nimport sys\nimport math\n#--------------------------------------------\nD, N = map(int, input().split())\n \nif N ==100:\n N=101\na=100**D\nprint(a*N)', '#--------------------------------------------\n\nimport sys\nimport math\n#--------------------------------------------\nD, N = map(int, input().split())\n\nif N ==100:\n N=101\n\nans=100**D\nprint(N*ans)', '#--------------------------------------------\n\nimport sys\nimport math\n#--------------------------------------------\nD, N = map(int, input().split())\n\nif N ==100:\n N=101\n\nans=(100**D)*N\nprint(ans)', '#--------------------------------------------\n\nimport sys\nimport math\n#--------------------------------------------\nD, N = map(int, input().split())\n\nif N ==100:\n N=101\na=100**D\nprint(a*N)', 'X, Y = map(int, input().split())\nif X <= 8 and Y<=8:\n print("Yay!")\n\nelse:\n print(":(")']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s102266505', 's384648780', 's425049600', 's601846209', 's707007561', 's692945038']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 18.0]
[219, 220, 224, 226, 219, 93]
p03323
u144029820
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["a,b=map(int,input().split())\nif abs(a-b)<=1:\n print('Yey!')\nelse:\n print(':(')\n", "a,b=map(int,input().split())\nif abs(a-b)<=1:\n print('Yay!')\nelse:\n print(':(')\n"]
['Wrong Answer', 'Accepted']
['s088426160', 's236633646']
[2940.0, 2940.0]
[17.0, 17.0]
[85, 85]
p03323
u146382803
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a = list(map(int,input().split()))\n\nif a[0] == 0:\n wk = 1 * a[1]\n print(wk)\nelif a[0] == 1:\n wk = int,pow(100,1) * a[1]\n print(wk)\nelif a[0] == 2:\n wk = int,pow(100,2) * a[1]\n print(wk)\n', 'a = list(map(int,input().split()))\n\nif a[0] == 0:\n wk = 1 * a[1]\n print(wk)\nelif a[0] == 1:\n wk = 100 * a[1]\n print(wk)\nelif a[0] == 2:\n wk = 10000 * a[1]\n print(wk)\n', 'a = list(map(int,input().split()))\nif a[0] <= 8:\n if a[1] <= 8:\n print("Yay!")\n else:\n print(":(")\nelse:\n print(":(")\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s757225225', 's823851217', 's356284013']
[3060.0, 2940.0, 2940.0]
[18.0, 17.0, 18.0]
[204, 184, 141]
p03323
u148832904
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["ui = input()\n\nA, B = int(ui.split()[0]), int(ui.split()[1])\n\ndef return_ans(A, B):\n if A > 8 or B > 8:\n return ':('\n else:\n return 'Yay!'\n\na = return_and(A,B)\nprint(a)", "ui = input()\n\nA, B = int(ui.split()[0]), int(ui.split()[1])\n\ndef return_ans(A, B):\n if A > 8 or B > 8:\n return ':('\n else:\n return 'Yay!'\n\na = return_and(A,B)\n", 'ui = input()\n\nD, N = int(ui.split()[0]), int(ui.split()[1])\n\nprint(100**D*(N + int(N/100)))', 'N = int(input())\na = np.array(input().split()).astype(int)\n\nsum = 0\nfor i in range(len(a)):\n sum += a[i]%2\nprint(sum)\n', "ui = input()\nD, N = int(ui.split()[0]), int(ui.split()[1])\nif D <= 8 and N <= 8:\n print('Yay!')\nelse:\n print(':(')"]
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s135834316', 's473543873', 's639968582', 's802109833', 's699340237']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0, 18.0, 143.0]
[187, 179, 91, 121, 120]
p03323
u149284596
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a = int(input()) \nb = int(input())\nif a>9 or b>9:\n print(":(")\nelse:\n print("Yay!")', 'a,b= map(int ,input().split())\nif a>8 or b>8:\n print(":(")\nelse:\n print("Yay!")']
['Runtime Error', 'Accepted']
['s878885649', 's522370683']
[3316.0, 2940.0]
[21.0, 17.0]
[89, 85]
p03323
u151625340
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["A,B = map(int,input().split())\nif A>=9 or B >= 9:\n print('Yay!')\nelse:\n print(':(')\n", "A,B = map(int,input().split())\nif A >= 9 or B >= 9:\n print(':(')\nelse:\n print('Yay!')\n\n"]
['Wrong Answer', 'Accepted']
['s159988045', 's356291279']
[2940.0, 2940.0]
[17.0, 18.0]
[90, 93]
p03323
u159994501
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a, b = map(int, input())\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")\n ', 'a, b = map(int, input().split())\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")\n ']
['Runtime Error', 'Accepted']
['s924063068', 's729192368']
[2940.0, 2940.0]
[17.0, 17.0]
[91, 99]
p03323
u160659351
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['#100\n\nA, B = map(int, input().rstrip().split())\nif A < 8 or B < 8:\n print("Yay")\nelse:\n print(":(")', '#100\n\nA, B = map(int, input().rsrtip().split())\nif A > 8 or B > 8:\n print("Yay")\nelse:\n print(":(")', '#100\n\nA, B = map(int, input().rstrip().split())\nif A > 8 or B > 8:\n print(":(")\nelse:\n print("Yay")', '#100\n\nA, B = map(int, input().rstrip().split())\nif A > 8 or B > 8:\n print(":(")\nelse:\n print("Yay!")']
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s134059783', 's450979737', 's876323100', 's716710963']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[105, 105, 105, 106]
p03323
u161373155
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['#coding : utf-8\n\nif __name__ == "__main__":\n a,b = list(map(int,input().split()))\n if a =< 8 and b =< 8:\n print(\'Yay!\')\n else:\n print(\':(\')', '#coding : utf-8\n\nif __name__ == "__main__":\n a,b = list(map(int,input().split()))\n if a <= 8 and b <= 8:\n print(\'Yay!\')\n else:\n print(\':(\')']
['Runtime Error', 'Accepted']
['s488815191', 's423921650']
[2940.0, 2940.0]
[17.0, 17.0]
[162, 162]
p03323
u161442663
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['N,M=map(int,input().split()) \nListPPP=[]\nListPPM=[]\nListPMP=[]\nListMPP=[]\nListPMM=[]\nListMPM=[]\nListMMP=[]\nListMMM=[]\nfor i in range(0,N,1):\n x,y,z=map(int,input().split())\n ListPPP.append(x+y+z)\n ListPPM.append(x+y-z)\n ListPMP.append(x-y+z)\n ListMPP.append(-x+y+z)\n ListPMM.append(x-y-z)\n ListMPM.append(-x+y-z)\n ListMMP.append(-x-y+z)\n ListMMM.append(-x-y-z)\n\nMAXList=[]\na=0;b=0;c=0;d=0;e=0;f=0;g=0;h=0\n\n\nListPPP.sort()\nfor i in range(0,M,1):\n a+=int(ListPPP[-1-i])\n \nListPPM.sort()\nfor i in range(0,M,1):\n b+=int(ListPPM[-1-i])\n\nListPMP.sort()\nfor i in range(0,M,1):\n c+=int(ListPMP[-1-i])\n\nListMPP.sort()\nfor i in range(0,M,1):\n d+=int(ListMPP[-1-i])\n\nListPMM.sort()\nfor i in range(0,M,1):\n e+=int(ListPMM[-1-i])\n\n\nListMPM.sort()\nfor i in range(0,M,1):\n f+=int(ListMPM[-1-i])\n\n\nListMMP.sort()\nfor i in range(0,M,1):\n g+=int(ListMMP[-1-i])\n\nListMMM.sort()\nfor i in range(0,M,1):\n h+=int(ListMMM[-1-i])\n \nMAXList.append(a)\nMAXList.append(b)\nMAXList.append(c)\nMAXList.append(d)\nMAXList.append(e)\nMAXList.append(f)\nMAXList.append(g)\nMAXList.append(h)\nprint(max(MAXList))', 'A,B=map(int,input().split())\nif A<=8 and B<=8:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Accepted']
['s337957662', 's831436830']
[3192.0, 2940.0]
[19.0, 18.0]
[1122, 82]
p03323
u161537170
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["numA numB = input()\nif(numA <=8 and numB <= 8):\n print('Yay!')\nelse:\n print(':(')\n", "numA numB = input()\nif(numA <=8 and numB <= 8):\n print('Yay!')\nelse:\n print(':(')\n", "numA numB = input()\nif(numA <=8 and numB <= 8):\n print('Yay!')\nelse:\n print(':(')\n", "numA,numB = map(int,input().split())\nif(numA <=8 and numB <= 8):\n print('Yay!')\nelse:\n print(':(')\n"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s365486262', 's453939653', 's457126721', 's414765773']
[2940.0, 2940.0, 2940.0, 3064.0]
[17.0, 17.0, 17.0, 17.0]
[88, 88, 88, 105]
p03323
u165699613
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['N = input()\nnumber = input()\n\na = number.split()\nn_list=[]\ncount=0\n\n\n\nfor num in a:\n num = int(num)\n if num % 2 == 0:\n n_list.append(num)\n\n\nif n_list != []:\n maxnum = max(n_list)\n maxnum = maxnum/2\n for num2 in n_list:\n for i in range(maxnum):\n if num2 % 2**(i+1) == 0:\n count+=1\n\n\nprint(count)', 'number = input()\na = number.split()\n\nD=int(a[0])\nN=int(a[1])\n\nif D==0:\n print(N)\nelif D==1:\n answer = 100*N\n print(answer)\nelif D==2:\n answer = 10000*N\n print(answer)\n', 'number = input()\na = number.split()\n\nA=int(a[0])\nB=int(a[1])\n\nif A < 9 and B < 9:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s536934119', 's753740172', 's733030983']
[3064.0, 2940.0, 2940.0]
[19.0, 17.0, 17.0]
[349, 182, 121]
p03323
u169221932
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['x,y = (int(i) for i in input().split())\nif y < 100:\n print(y*100**x)\nelse:\n print(((y+1)*100)**x)', "cake_a,cake_b = (int(x) for x in input().split())\n\nif cake_a <= 8 and cake_b <= 8:\n print('Yay!')\nelse:\n print(':(')"]
['Wrong Answer', 'Accepted']
['s078795983', 's126307840']
[2940.0, 2940.0]
[18.0, 17.0]
[103, 122]
p03323
u171115409
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["# -*- coding: utf-8 -*-\nA, B = map(int, input().split())\nif(A<=8 and B<=8):\n print('Yey!')\nelse:\n print(':(')\n", "# -*- coding: utf-8 -*-\nA, B = map(int, input().split())\nif(A<=8 and B<=8):\n print('Yay!')\nelse:\n print(':(')\n"]
['Wrong Answer', 'Accepted']
['s693070347', 's184862037']
[2940.0, 2940.0]
[17.0, 17.0]
[112, 112]
p03323
u172748267
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a,b=map(int,input())\nif a>8 or b>8:\n print(":(")\nelse:\n print("Yay!")', 'a,b=map(int,input().split())\nif a>8 or b>8:\n print(":(")\nelse:\n print("Yay!")']
['Runtime Error', 'Accepted']
['s254236306', 's131865972']
[8956.0, 9084.0]
[23.0, 25.0]
[75, 83]
p03323
u172785970
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["a,b=map(int,input().split())\n\nif a<=8 and b<=8:\n print('yay!')\nelse:\n print(':(')", "a,b=map(int,input().split())\n\nif a<=8 and b<=8:\n print('Yay!')\nelse:\n print(':(')"]
['Wrong Answer', 'Accepted']
['s235529724', 's604724554']
[2940.0, 2940.0]
[17.0, 17.0]
[87, 87]
p03323
u172823566
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['d, n = map(int, input().split())\nif d == 0:\n for i in range(1, n+1):\n ans = i\n print(ans)\nelif d == 1:\n for i in range(1, n+1):\n ans = i * 100\n print(ans)\nelif d == 2:\n for i in range(1, n+1):\n ans = i * 10000\n print(ans)', "a, b = map(int, input().split())\nif a > 8 or b < 8:\n print(':(')\nelif a == 8 and b == 8:\n print('Yay!')\nelse:\n print('Yay!')\n", "a, b = map(int, input().split())\nans = ':(' if a > 8 or b > 8 else 'Yay!'\nprint(ans)"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s255890963', 's314616283', 's315763497']
[3064.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[248, 131, 84]
p03323
u173329233
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['A = int(input ())\nB = int (input ())\nif A > 8 or B > 8: \n res = ‘: (‘\n\nelse:\n res = ‘Yay!’\n\nprint(res)', 'A = int(input ())\nB = int (input ())\nif A > 8 or B > 8: \n res = ‘: (‘\n \nelse:\n res = ‘Yay!’\n \nprint(res)', "ab = input()\na, b = ab.split()\nA = int(a)\nB = int (b)\nif A > 8 or B > 8:\n res = ':('\n\nelse:\n res = 'Yay!'\n\nprint(res)\n"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s328111797', 's337305079', 's494466464']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[116, 118, 124]
p03323
u174603263
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["import sys\n\ninput = sys.stdin.readline\n\na, b = map(int, input().rstrip().split())\n\nif ((16 - abs(a - b))*2 < (16 - min([a, b]))):\n print('Yay!')\nelse:\n print(':(')\n", "import sys\n\ninput = sys.stdin.readline\n\na, b = map(int, input().rstrip().split())\n\nif (a <= 8 and b <= 8):\n print('Yay!')\nelse:\n print(':(')\n"]
['Wrong Answer', 'Accepted']
['s051747838', 's125213875']
[2940.0, 2940.0]
[17.0, 17.0]
[170, 147]
p03323
u176463385
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["n, m = map(int, input().split())\nx = []\ny = []\nz = []\nf = [[] for _ in range(8)]\nfor i in range(n):\n a = input()\n a = a.split(' ')\n a = list(map(int, a))\n xi = a[0]\n yi = a[1]\n zi = a[2]\n x.append(xi)\n y.append(yi)\n z.append(zi)\n fi = [0 for _ in range(8)]\n fi[0] = xi + yi + zi\n fi[1] = xi + yi - zi\n fi[2] = xi - yi + zi\n fi[3] = -xi + yi + zi\n fi[4] = xi - yi - zi\n fi[5] = -xi - yi + zi\n fi[6] = -xi + yi - zi\n fi[7] = -xi - yi - zi\n for j in range(8):\n f[j].append(fi[j])\ndef reversort(x):\n return list(reversed(sorted(x)))\nf = list(map(reversort, f))\nfmax = [0 for _ in range(8)]\nfor i in range(m):\n for j in range(8):\n fmax[j] += f[j][i]\nprint(max(fmax))", "a = int(input())\nb = int(input())\nif a<=8 and b<=8:\n print('Yay!')\nelse:\n print(':(')", "a, b = map(int, input().split())\nif a<=8 and b<=8:\n print('Yay!')\nelse:\n print(':(')"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s362529684', 's687026923', 's041370387']
[3064.0, 2940.0, 2940.0]
[20.0, 17.0, 17.0]
[738, 87, 90]
p03323
u185896732
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a,b=map(int,input().split())\nprint("Yay!" if a<=b<=8 else ":(")', 'a,b=map(int,input().split())\nprint("Yay!" if a<=8 and b<=8 else ":(")']
['Wrong Answer', 'Accepted']
['s388572622', 's592362845']
[2940.0, 2940.0]
[17.0, 18.0]
[63, 69]
p03323
u192110374
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['import math\n\nD, N = map(int,input().split())\nC = 0\n\nfor i in range(1,N+1):\n\tif(i == 100):\n\t\tC = math.pow(100,D+1)\n\tC = math.pow(100,D) * i\n\nprint(int(C))', 'A,B = map(int,input().split())\n\nif(A <= 8 and B <= 8):\n\tprint("Yay!")\nelse:\n\tprint(":(")']
['Wrong Answer', 'Accepted']
['s697308157', 's431499027']
[3060.0, 2940.0]
[17.0, 17.0]
[153, 88]
p03323
u192908410
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['print("yey!" if max(list(map(int, input().split())))<9 else ":(")', 'print("Yey!" if max(list(map(int, input().split())))<9 else ":(")', 'print("Yay!" if max(list(map(int, input().split())))<9 else ":(")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s473710740', 's733846526', 's894505391']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[65, 65, 65]
p03323
u194856115
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["A, B = map(int, raw_input().split())\n\nif A <= 8 and B <= 8:\n print('Yay!')\nelse:\n print(':(')", "a, b = map(int, input().split())\n\nif a <= 8 and n <= 8:\n print('Yay!')\nelse:\n print(':(')", "a, b = map(int, input().split())\n\nif a > 8 or b > 8:\n print(':(')\nelse:\n print('Yay!')\n"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s883345359', 's990710533', 's173727416']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[99, 95, 89]
p03323
u197457087
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['N,M = map(int,input().split()))\n\nif N<=8 and M<= 8:\n print("Yay!")\nelse:\n print(":(")', 'N,M = map(int,input().split())\n\nif N<=8 and M<= 8:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Accepted']
['s399537587', 's359107558']
[8952.0, 9080.0]
[21.0, 25.0]
[87, 86]
p03323
u197968862
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['d ,n = map(int,input().split())\nif n == 100: n+=1\nprint(n*(100**d))', "a, b = map(int,input().split())\nif max(a,b) <= 8:\n print('Yay!')\nelse:\n print(':(')"]
['Wrong Answer', 'Accepted']
['s377011261', 's756059707']
[2940.0, 2940.0]
[17.0, 17.0]
[67, 89]
p03323
u199295501
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['# -*- coding: utf-8 -*-\n\n\nN = int(input())\nan = list(map(int, input().split()))\n\nsum_cnt = 0\nfor a in an:\n tmp = a\n cnt = 0\n while tmp % 2 == 0:\n cnt += 1\n tmp = tmp / 2\n\n sum_cnt += cnt\n\nprint(sum_cnt)\n', "# -*- coding: utf-8 -*-\n\n\nA, B = map(int, input().split())\n\nif A <= 8 and B <= 8:\n print('Yay!')\nelse:\n print(':(')\n"]
['Runtime Error', 'Accepted']
['s032769715', 's778474775']
[2940.0, 3064.0]
[20.0, 17.0]
[270, 163]
p03323
u201109843
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a, b = input().split()\n\nif int(a) < 1 or int(b) < 1:\n print(":(")\n\nif int(a) + int(b) > 16:\n print(":(")\n\nif int(a) > 8 or int(b) > 8:\n print(":(")\nelse:\n print("yay!")', 'd, n = map(int, input().split())\n\nif d == 0:\n print(1 * n)\nif d == 1:\n print(100 * n)\nif d == 2:\n print(10000 * n)', 'a, b = input().split()\n\nif int(a) > 8 or int(b) > 8:\n print(":(")\nelse:\n print("yay!")', 'd, n = map(int, input().split())\n\nif d == 0:\n if n == 100:\n print(101)\n else:\n print(1 * n)\nif d == 1:\n if n == 100:\n print(10001)\n else:\n print(100 * n)\nif d == 2:\n if n == 100:\n print(1000001)\n else:\n print(10000 * n)', 'a, b = input().split()\n\nif int(a) >= 9 or int(b) >= 9:\n print(":(")\nelse:\n print("yay!")\n\n', 'a, b = raw_input().split()\n\nif int(a) > 8 or int(b) > 8:\n print(":(")\nelse:\n print("yay!")', 'a, b = input().split()\n\nif int(a) > 8 or int(b) > 8:\n print(":(")\nelse:\n print("Yay!")']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s041972261', 's179066514', 's355627111', 's693574813', 's753939197', 's824402769', 's493551849']
[3060.0, 2940.0, 2940.0, 3060.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 17.0]
[181, 124, 93, 280, 97, 97, 93]
p03323
u203383537
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["a,b=map(int,input().split())\n\nif a<=8 and b>=8:\n print('Yay!')\nelse:\n print(':(')", "a,b=map(int,input().split())\n\nif a<=8 and b<=8:\n print('Yay!')\nelse:\n print(':(')"]
['Wrong Answer', 'Accepted']
['s378424425', 's847544879']
[2940.0, 2940.0]
[18.0, 17.0]
[83, 83]
p03323
u203886313
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a, b = map(int, input().split())\n\nif a >= 8 and b >= 8:\n print("Yay!")\nelse:\n print(":(")', 'a, b = map(int, input().split())\n\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")']
['Wrong Answer', 'Accepted']
['s137955833', 's929527743']
[2940.0, 2940.0]
[17.0, 17.0]
[95, 95]
p03323
u213854484
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['A,B = map(int, input().split())\nif A <= 8 and B <= 8:\n print("yay!")\nelse:\n print(":(")', 'A,B = map(int, input().split())\nif A <= 8 and B <= 8:\n print("Yay!")\nelse:\n print(":(")']
['Wrong Answer', 'Accepted']
['s066654334', 's368945740']
[2940.0, 2940.0]
[18.0, 18.0]
[93, 93]
p03323
u214617707
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['a = int(input())\nb = int(input())\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")', 'A, B = map(int, input().split())\nif A <= 8 and B <= 8:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Accepted']
['s251921301', 's762575479']
[2940.0, 2940.0]
[17.0, 19.0]
[95, 94]
p03323
u215063183
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['\nA = int(input())\nB = int(input())\n\nif A <= 8 and B <= 8:\n print("Yay!")\nelse:\n print(":(")', 'A = int(input())\nB = int(input())\n\nif A <= 8 and B <= 8:\n print("Yay!")\nelse:\n print(":(")\n', 'A = int(input())\nB = int(input())\n\nif A <= 8 and B <= 8:\n print("Yay!")\nelse:\n print(":(")\n', '\nAB = list(int(i) for i in input().split())\n\nif AB[0] <= 8 and AB[1] <= 8:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s173980392', 's248752009', 's844630314', 's298515991']
[2940.0, 2940.0, 2940.0, 3316.0]
[17.0, 17.0, 17.0, 20.0]
[97, 97, 97, 115]
p03323
u217303170
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["a, b = map(int, input().split())\nif a >= 8 and b >= 8:\n print('Yay!')\nelse:\n print(':(')\n", "a, b = map(int, input().split())\nif a <= 8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')\n"]
['Wrong Answer', 'Accepted']
['s956886174', 's999044782']
[2940.0, 2940.0]
[17.0, 17.0]
[95, 95]
p03323
u219607170
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['D, N = map(int, input().split())\nif D == 0:\n if N == 100:\n print(101)\n else:\n print(N)\nelif D == 1:\n print(100 * N)\nelse:\n print(10000 * N)', "A, B = map(int, input().split())\nif A <= 8 and B <= 8:\n print('Yay!')\nelse:\n print(':(')"]
['Wrong Answer', 'Accepted']
['s074753599', 's923713044']
[2940.0, 2940.0]
[17.0, 19.0]
[165, 94]
p03323
u222841610
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["a=int(input())\nb=int(input())\nif a<=8 and b<=8:\n print('Yay!')\nelse:\n print(':(')", "a=int(input())\nb=int(input())\nif a<=8 and b<=8:\n print('Yay!')\nelse:\n print(':(')", "a,b=map(int,input().split())\nif a<=8 and b<=8:\n print('Yay!')\nelse:\n print(':(')"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s253481638', 's492118628', 's174362116']
[3316.0, 2940.0, 2940.0]
[20.0, 18.0, 17.0]
[87, 87, 86]
p03323
u227082700
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
['if max(int(input()),int(input()))>8:print(":(")\nelse:print("Yay!")', 'a,b=map(int,input().split())\nif max(a,b)>8:print(":(")\nelse:print("Yay!")']
['Runtime Error', 'Accepted']
['s463573225', 's652441341']
[2940.0, 2940.0]
[17.0, 18.0]
[66, 73]
p03323
u227476288
2,000
1,024,000
E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
["A,B = map(int,input().split())\n\nif A <= 8 and B <= 8:\n print('Yey!')\nelse:\n print(':(')\n ", "A,B = map(int,input().split())\n\nif A < 9 and B < 9:\n print('Yey!')\nelse:\n print(':(')\n ", "A,B = map(int,input().split())\n\nif A < 9 and B < 9:\n print('Yay!')\nelse:\n print(':(')\n "]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s820271614', 's882582290', 's630540142']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[92, 90, 90]