problem_id
string
user_id
string
time_limit
float64
memory_limit
float64
problem_description
string
codes
string
status
string
submission_ids
string
memories
string
cpu_times
string
code_sizes
string
p03323
u229518917
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 print((N+1)*(100+D))', 'A,B= map(int,input().split())\nprint(":(" if A>8 or B>8 else "Yay!")']
['Runtime Error', 'Accepted']
['s506732504', 's359181366']
[2940.0, 2940.0]
[17.0, 17.0]
[80, 67]
p03323
u230621983
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())\nans=′Yay!′\nif a>=9 or b>=9:\n ans=′:(′\nprint(ans)', 'a,b = map(int, input().split())\nans=′Yay!′\nif a>9 or b>9:\n ans=′:(′\nprint(ans)', "a,b = map(int, input().split())\nans=':('\nif a<=8 and b<=8:\n ans = 'Yay!'\nprint(ans) "]
['Runtime Error', 'Runtime Error', 'Accepted']
['s072504533', 's167884274', 's664195030']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[89, 87, 86]
p03323
u233239721
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())\nList = [list(map(int,input().split())) for i in range (a)]\nnewList = []\nfor i in range(0,a):\n n = 0\n for j in range (0,3):\n n = n + List[i][j]\n newList.append(n)\nx = sorted(newList,reverse =True)\nm = 0\nfor i in range (0,b):\n m = m + x[i]\nprint(m) ', "a,b = map(int,input().split())\nif a <= 8 and b <=8:\n print('Yay!')\nelse:\n print(':(')"]
['Runtime Error', 'Accepted']
['s269316930', 's369658554']
[3064.0, 2940.0]
[17.0, 18.0]
[300, 91]
p03323
u234631479
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 and int(input()) <= 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']
['s919461909', 's362648552']
[2940.0, 2940.0]
[18.0, 17.0]
[79, 90]
p03323
u239301277
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(':(')", "a,b=map(int,input().split())\n\nif a<9&&b<9:\n\tprint('Yay!')\nelse:\n print(':(') ", "a,b=map(int,input().split())\nif a<=8&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', 'Wrong Answer', 'Accepted']
['s358105801', 's440260855', 's551328959', 's002311651']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0]
[77, 80, 78, 82]
p03323
u239342230
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());print(((N>99)+N)*100**D)', "a,b=map(int,input().split())\nprint([':(','Yay!'][a<9 and b<9])"]
['Wrong Answer', 'Accepted']
['s721135812', 's950042258']
[2940.0, 2940.0]
[17.0, 17.0]
[53, 62]
p03323
u239528020
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\na, b = list(map(int, input().split()))\n\nif abs(a-b) <= 0:\n print("Yay!")\nelse:\n print(":(")\n', '#!/usr/bin/env python3\n\na, b = list(map(int, input().split()))\n\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")\n']
['Wrong Answer', 'Accepted']
['s064017280', 's543792323']
[9040.0, 9068.0]
[28.0, 28.0]
[122, 126]
p03323
u241207839
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 print (":(")\nelse:\n print("Yay!")\n ', 'a,b = map(int,input().split())\nif(a>8 or b>8):\n print (":(")\nelse:\n print("Yay!")\n ']
['Runtime Error', 'Accepted']
['s028879259', 's106617760']
[2940.0, 2940.0]
[17.0, 17.0]
[99, 94]
p03323
u243699903
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\nprint((100**d)*n)', 'd,n=map(int,input().split())\nif n==100:\n n+=1\nprint((100**d)*n)', 'd,n=map(int,input().split())\n\nprint((10**d)*n)', "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', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s481350893', 's492607008', 's981038811', 's982890211', 's284274897']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0, 17.0]
[47, 66, 46, 86, 88]
p03323
u243873371
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 = int(input().rstrip())\na = [int(v) for v in input().rstrip().split()]\n\ncount = 0\n\nfor v in a:\n t = v\n while t % 2 == 0:\n t = t / 2\n count += 1\n\nprint(count)\n', 'a, b = [int(v) for v in input().rstrip().split()]\n\nif (a <= 8) and (b <= 8):\n print("Yay!")\nelse:\n print(":(")\n']
['Runtime Error', 'Accepted']
['s396420677', 's588839637']
[2940.0, 2940.0]
[17.0, 17.0]
[180, 117]
p03323
u244836567
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)\nif a<=8:\n if b<=8:\n print("Yay!")\n else:\n print(":(")\nelse:\n print(":(")', 'a,b=input().split()\nif a<8:\n if b<8:\n print("Yay!")\nelse:\n print(":(")', 'a,b=input().split\nif a>8 or b>8:\n print(":(")\nelse:\n print("Yay!")', 'a,b=input().split()\nif a<=8:\n if b<=8:\n print("Yay!")\nelse:\n print(":(")', 'a,b=input().split()\na=int(a)\nb=int(b)\nif a<=8:\n if b<=8:\n print("Yay!")\n else:\n print(":(")\nelse:\n print(":(")', 'a,b=input().split()\na=int(a)\nb=int(b)\nif a<=8:\n if b<=8:\n print("Yay!")\n else:\n print(":(")\nelse:\n print(":(")']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s078464865', 's238963881', 's340054850', 's714921681', 's986395192', 's401758465']
[8856.0, 8908.0, 9012.0, 8888.0, 8948.0, 9064.0]
[20.0, 21.0, 20.0, 31.0, 24.0, 25.0]
[127, 73, 68, 75, 123, 119]
p03323
u249768842
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 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']
['s252908780', 's291446537']
[2940.0, 2940.0]
[17.0, 17.0]
[96, 94]
p03323
u252828980
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!")\n else:\n print(":(")\n', 'a,b = map(int,input().split())\nif a<=8 and b<=8:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Accepted']
['s060970813', 's922994278']
[2940.0, 2940.0]
[17.0, 17.0]
[89, 84]
p03323
u255555420
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 and B<=8:\n print("Yay!")\nelse:\n print(":(")', 'A,B = map(int,input().split())\n\n\nif A<=8 and B<=8:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Accepted']
['s980952864', 's896198680']
[2940.0, 2940.0]
[17.0, 17.0]
[88, 90]
p03323
u255943004
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 A => 9 or B => 9 :\n print(":(") \nelse: \n print("Yay!")', 'if A >= 9 or B >= 9:\n print(":(")\nelse:\n print("Yay!")', 'A,B = map(int,input().split())\nprint(":(") if A >= 9 or B >= 9 else print("Yay!")\n']
['Runtime Error', 'Runtime Error', 'Accepted']
['s140796535', 's256366648', 's129894514']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[63, 60, 82]
p03323
u256281774
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?
['from collections import deque\nN = int(input())\nA = [int(i) for i in input().split()]\n\nd = deque(A)\nc = 0\nwhile(len(d)>0):\n tmp = d.pop()\n if tmp%2==0:\n c+=1\n d.append(tmp//2)\nprint(c)', 'A,B = [int(i) for i in input().split()]\nif A==8 and B==8:\n print("Yay!")\nelse:\n print(":(")', 'A,B = [int(i) for i in input().split()]\nif A<9 and B<9:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s418893406', 's784586706', 's654454295']
[3444.0, 2940.0, 2940.0]
[57.0, 19.0, 17.0]
[203, 97, 95]
p03323
u259707265
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?
["l=input.split()\na=int(l[0])\nb=int(l[1])\nif a<9 and b<9:\n print('Yay!')\nelse:\n print(':(')", "l=input().split()\na=int(l[0])\nb=int(l[1])\nif a<9 and b<9:\n print('Yay!')\nelse:\n print(':(')"]
['Runtime Error', 'Accepted']
['s263933373', 's733688932']
[2940.0, 2940.0]
[17.0, 20.0]
[95, 97]
p03323
u259954318
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?
['inp = input()\nprint("a")\ninp2 = inp.split()\nA=int(inp2[0])\nB=int(inp2[1])\nif A >8 or B>8:\n\tprint(":(")\nelse:\n\tprint("Yay!")', 'inp = input()\ninp2 = inp.split()\nA=int(inp2[0])\nB=int(inp2[1])\nif A >8 or B>8:\n\tprint(":(")\nelse:\n\tprint("Yay!")']
['Wrong Answer', 'Accepted']
['s761163236', 's272259721']
[2940.0, 2940.0]
[18.0, 20.0]
[123, 112]
p03323
u263654061
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 = list(map(int ,input().rsplit()))\n\nif a>8 or b>8:\n print(":(")\nelse:\n print("Yay")', 'a, b = list(map(int ,input().rsplit()))\n\nif a>8 or b>8:\n print(":(")\nelse:\n print("Yay!")']
['Wrong Answer', 'Accepted']
['s915871695', 's822074458']
[2940.0, 2940.0]
[17.0, 17.0]
[95, 96]
p03323
u267552846
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(\' \')]\n\nif a > 8 or b > 8:\n print(":(")\nelse:\n print("Yay")\n', 'a, b = [int(i) for i in input().split(\' \')]\n\nif a > 8 or b > 8:\n print(":(")\nelse:\n print("Yay")\n', 'a, b = [int(i) for i in input().split(\' \')]\n\nif a > 8 or b > 8:\n print(":(")\nelse:\n print("Yay!")\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s281936947', 's284055795', 's133594544']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[103, 103, 104]
p03323
u272266919
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\nargs = sys.argv\n\nif(args[1]>8 or args[2]>8):\n print(":(")\nelse:\n print("Yay!")', 'import sys\n\nprintf(sys.argv[1])', 'args = (input())\na = int( args.split(" ")[0])\nb = int(args.split(" ")[1])\n\nif(a>8 or b>8):\n print(":(")\nelse:\n print("Yay!")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s143246029', 's517214801', 's106384903']
[2940.0, 2940.0, 2940.0]
[17.0, 24.0, 17.0]
[96, 31, 130]
p03323
u273242084
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 n=101\nprint(n*100**d)', 'a,b = map(int,input().split())\nif a <= 8 and b<= 8:\n print("Yay!")\nelse:\n print(":(")']
['Wrong Answer', 'Accepted']
['s770358327', 's453478465']
[2940.0, 2940.0]
[17.0, 17.0]
[65, 91]
p03323
u277312083
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())\nk = n\nif n == 100:\n k += 1\nfor i in range(d):\n k *= 100\nprint(k)', 'a, b = map(int, input().split())\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")']
['Wrong Answer', 'Accepted']
['s408554521', 's405144323']
[2940.0, 2940.0]
[17.0, 17.0]
[103, 94]
p03323
u278430856
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())\ncount = 0\nfor i in range(16):\n if count == 0:\n A -= 1\n else:\n B -= 1\nif A <= 0 and B <= 0:\n\tprint(Yay!)\nelse:\n print(:()', "A, B = map(int, input().split())\ncount = 0\nfor i in range(16):\n if count == 0:\n A -= 1\n else:\n B -= 1\nif A <= 0 and B <= 0:\n\tprint('Yay!')\nelse:\n print(':(')\n", "A, B = map(int, input().split())\ncount = 0\nfor i in range(16):\n if count == 0:\n A -= 1\n count += 1\n else:\n count -= 1\n B -= 1\nif A <= 0 and B <= 0:\n\tprint('Yay!')\nelse:\n print(':(')"]
['Runtime Error', 'Wrong Answer', 'Accepted']
['s119545107', 's550731498', 's431840449']
[2940.0, 2940.0, 3060.0]
[17.0, 18.0, 18.0]
[162, 167, 196]
p03323
u278855471
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(int(str(N) + '00' * D) if N != 100 else int(str(N + 1) + '00' * D))\n", "A, B = map(int, input().split())\nprint('Yay!' if (A * 2) <= 16 and (B * 2) <= 16 and A + B <= 16 else ':(')\n"]
['Wrong Answer', 'Accepted']
['s999678709', 's981535896']
[2940.0, 2940.0]
[17.0, 17.0]
[107, 108]
p03323
u278864208
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-1) <= 16 - A and B-1 <= 16 -B:\n print ("YES")\nelse:\n print("NO")', 'A,B = map(int, input().split())\nif (A-1) <= 16 - A and B-1 <= 16 -B:\n print ("Yay!")\nelse:\n print(":(")']
['Wrong Answer', 'Accepted']
['s709345772', 's352816395']
[2940.0, 2940.0]
[17.0, 17.0]
[108, 109]
p03323
u281610856
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('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', 'Accepted']
['s227713017', 's451107769']
[2940.0, 2940.0]
[20.0, 17.0]
[94, 95]
p03323
u285169240
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+B <= 16 and A < 9 and B < 9:\n print("Yay!")\nelse :\n print(":(")\n', 'A,B = map(int,input())\nif A<9 and B<9:\n print("Yay!")\nelse:\n print(":(")\n', 'A,B = map(int,input().split())\nif A<9 and B<9:\n print("Yay!")\nelse:\n print(":(")\n']
['Runtime Error', 'Runtime Error', 'Accepted']
['s632488989', 's719414935', 's478455541']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[111, 79, 87]
p03323
u287920108
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']
['s875060616', 's125924099']
[2940.0, 2940.0]
[17.0, 17.0]
[92, 93]
p03323
u290187182
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\nimport copy\nimport math\nimport bisect\nimport pprint\nimport bisect\nfrom functools import reduce\nfrom copy import deepcopy\nfrom collections import deque\n\ndef lcm(x, y):\n return (x * y) // math.gcd(x, y)\n\nif __name__ == \'__main__\':\n a = [int(i) for i in input().split()]\n\n if a[0] >8 or a[1]>8:\n print("Yay!")\n else:\n print(":(")', 'import sys\nimport copy\nimport math\nimport bisect\nimport pprint\nimport bisect\nfrom functools import reduce\nfrom copy import deepcopy\nfrom collections import deque\n\ndef lcm(x, y):\n return (x * y) // math.gcd(x, y)\n\nif __name__ == \'__main__\':\n a = [str(i) for i in input().split()]\n\n if a[0] >8 or a[1]>8:\n print("Yay!")\n else:\n print(":(")', 'import sys\nimport copy\nimport math\nimport bisect\nimport pprint\nimport bisect\nfrom functools import reduce\nfrom copy import deepcopy\nfrom collections import deque\n\ndef lcm(x, y):\n return (x * y) // math.gcd(x, y)\n\nif __name__ == \'__main__\':\n a = [int(i) for i in input().split()]\n\n if a[0] >8 or a[1]>8:\n print(":(")\n else:\n print("Yay!")\n\n']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s170502186', 's190347425', 's115545186']
[3828.0, 3956.0, 3828.0]
[26.0, 26.0, 26.0]
[363, 363, 365]
p03323
u294385082
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 d == 0:\n print(n)\nelif d == 1:\n print(100*n)\nelif d == 2:\n print(10000*n)', 'a,b = map(int,input().split())\nprint("Yay!" if a<=8 and b<=8 else ":(")']
['Wrong Answer', 'Accepted']
['s436091065', 's299860051']
[2940.0, 2940.0]
[18.0, 17.0]
[112, 71]
p03323
u294721290
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==0 else ':(')", "a,b=map(int,input().split())\nprint('Yay!' if a<9 and b<9 else ':(')"]
['Wrong Answer', 'Accepted']
['s623092209', 's501876033']
[2940.0, 2940.0]
[17.0, 17.0]
[64, 67]
p03323
u298297089
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 or B > 8 else ':(')", "a,b=map(int, input().split())\nprint('Yay!' if max(a,b) <= 8 else ':(')"]
['Wrong Answer', 'Accepted']
['s061779568', 's032116265']
[2940.0, 2940.0]
[17.0, 17.0]
[74, 70]
p03323
u299801457
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=list(map(int, input().split()))\nif a<=8 and b<=8:\n print(‘Yay!’)\nelse:\n print(‘:(’)\n', "a,b=list(map(int, input().split()))\nif a<=8 and b<=8:\n print('Yay!')\nelse:\n print(':(')\n"]
['Runtime Error', 'Accepted']
['s646583952', 's936229664']
[2940.0, 2940.0]
[17.0, 17.0]
[102, 94]
p03323
u302240043
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, intput().split())\nif a>=9 or b>=9:\n print(':(')\nelse:\n print('Yay!')", "a,b = int(input().split())\nif a>=9 or b>=9:\n print(':(')\nelse:\n print('Yay!')", "a,b = int(intput().split())\nif a>=9 or b>=9:\n print(':(')\nelse:\n print('Yay!')", "a,b = map(int, input().split())\nif a>=9 or b>=9:\n print(':(')\nelse:\n print('Yay!')"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s027035321', 's262195168', 's780576260', 's326323276']
[8972.0, 9092.0, 8964.0, 9128.0]
[24.0, 19.0, 26.0, 26.0]
[85, 79, 80, 84]
p03323
u302292660
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']
['s220790237', 's598694039']
[2940.0, 2940.0]
[17.0, 17.0]
[83, 84]
p03323
u303037478
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() for i in range(2)])\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(":(")']
['Runtime Error', 'Accepted']
['s203557965', 's439600134']
[2940.0, 3064.0]
[17.0, 18.0]
[102, 90]
p03323
u306142032
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\n\nif a <= ((a+b)//2) and b <= ((a+b)//2):\n print("Yay!")\nelse:\n print(":(")\n', 'a = int(input())\nb = int(input())\n\n\nif a <= (a+b)//2 and b <= (a+b)//2:\n print("Yay!")\nelse:\n print(":(") \n', 'a, b = map(int, input().split())\n\n\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")\n']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s402392485', 's983975252', 's928459514']
[2940.0, 2940.0, 2940.0]
[18.0, 19.0, 17.0]
[115, 116, 97]
p03323
u309457741
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())\nmax = 8\nif A <= max && B <= max:\n print("Yay!")\nelse:\n print(":(")\n \n ', 'A, B = map(int, input().split())\nmax = 8\nif A <= max and B <= max:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Accepted']
['s692085826', 's615481728']
[2940.0, 2940.0]
[18.0, 17.0]
[107, 102]
p03323
u315838013
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\nif __name__ == "__main__":\n D, N = list(map(int, (input().split(\' \'))))\n print(pow(100, D) * N)', 'import sys\nif __name__ == "__main__":\n D, N = list(map(int, (input().split(\' \'))))\n print(pow(100, D) * N)', 'import sys\nif __name__ == "__main__":\n A, B = list(map(int, (input().split(\' \'))))\n if A >= 9 or B >= 9:\n print(":(")\n sys.exit()\n print("Yay!")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s070664898', 's744617715', 's273039757']
[2940.0, 3060.0, 2940.0]
[18.0, 26.0, 20.0]
[112, 112, 167]
p03323
u315991602
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 or B > 8)\n print ":("\nelse:\n print "Yay!"', 'a, b = (int(i) for i in input().split())\n\nif a > 8 or b > 8:\n print(":(")\nelse:\n print("Yay!")']
['Runtime Error', 'Accepted']
['s080586365', 's183882054']
[2940.0, 2940.0]
[17.0, 17.0]
[78, 96]
p03323
u316603606
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 (x) for x in input ().split ())\nif a<=8 and b<=8:\n print ('Yey!')\nelse:\n print (':(')", "a,b = (int (x) for x in input ().split ())\nif a<=8 and b<=8:\n print ('Yay!')\nelse:\n print (':(')"]
['Wrong Answer', 'Accepted']
['s875702259', 's475487876']
[9144.0, 9088.0]
[28.0, 27.0]
[98, 98]
p03323
u318029285
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 + 1) * 100 ** D)\n', '\n\nusing namespace std;\n\n\nint main() {\n int A, B;\n cin >> A >> B;\n if (A > 8 || B > 8)\n cout << ":(" << endl;\n else\n cout << "Yay!" << endl;\n}', 'A, B = map(int, input().split())\n\nif A <= 8 and B <= 8:\n print("Yay!")\nelse:\n print(":(")']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s410420986', 's883357355', 's886434285']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[106, 234, 95]
p03323
u318661636
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 ans b <= 8:\n print('Yay!')\nelse:\n print(':(')\n", "a,b = map(int,input().split())\n\nif a <= 8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')\n"]
['Runtime Error', 'Accepted']
['s490566562', 's546546326']
[9016.0, 9152.0]
[25.0, 29.0]
[90, 90]
p03323
u319818856
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?
['def happy_birthday(A: int, B: int) -> bool:\n return A <= 8 and B <= 8:\n\n\nif __name__ == "__main__":\n A, B = map(int, input().split())\n yes = happy_birthday(A, B)\n print(\'Yay!\' if yes else \':(\')\n', 'def happy_birthday(A: int, B: int) -> bool:\n return A <= 8 and B <= 8\n\n\nif __name__ == "__main__":\n A, B = map(int, input().split())\n yes = happy_birthday(A, B)\n print(\'Yay!\' if yes else \':(\')\n']
['Runtime Error', 'Accepted']
['s000885279', 's926249977']
[2940.0, 2940.0]
[18.0, 17.0]
[206, 205]
p03323
u320027077
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(":(")\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']
['s932932177', 's055018938']
[2940.0, 2940.0]
[17.0, 17.0]
[91, 91]
p03323
u320511454
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 = int(input())\np = int(input())\nif n <= 8 and p<= 8:\n print('Yay!')\nelse:\n print(':(')", "n = int(input())\np = int(input())\nif n <= 8 and p<= 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']
['s241777124', 's450328030', 's720741678']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 18.0]
[94, 90, 86]
p03323
u321074777
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([":(", "Yay!"][sum(list(map(int, input().split()))) <= 8])', 'print([":(", "Yay!"][max(list(map(int, input().split()))) <= 8])']
['Wrong Answer', 'Accepted']
['s167565989', 's194452947']
[9012.0, 9008.0]
[28.0, 27.0]
[64, 64]
p03323
u322297639
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']
['s085422218', 's999381818']
[2940.0, 2940.0]
[17.0, 17.0]
[93, 94]
p03323
u325282913
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 8 < A or 8 < B:\n print('Yay!')\nelse:\n print(':(')", "A, B = map(int, input().split())\nif 8 < A or 8 < B:\n print(':(')\nelse:\n print('Yay!')"]
['Wrong Answer', 'Accepted']
['s126850769', 's154708082']
[2940.0, 2940.0]
[17.0, 17.0]
[91, 91]
p03323
u328510800
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 D == 0:\n if N == 100:\n print(N+1)\n else:\n print(N)\nelif D == 1:\n if N == 100:\n print(100 * N+1)\n else:\n print(100 * N)\nelse:\n if N == 100:\n print(10000 * N+1)\n else:\n print(10000 * N)', 'A, B = map(int, input().split())\nprint(\'Yay!\' if A <= 8 and B <= 8 else ":(")']
['Wrong Answer', 'Accepted']
['s118263007', 's932182867']
[9124.0, 9136.0]
[28.0, 28.0]
[244, 77]
p03323
u329058683
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("Yay!")\nelse:\n print(":(")', 'a,b=map(int,input().split())\nif a>8 or b8:\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', 'Runtime Error', 'Accepted']
['s027726072', 's039421749', 's891134660']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[79, 78, 79]
p03323
u329706129
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 or b>8) else print(':(')", "a, b = map(int, input().split())\nprint('Yay!') if(a < 9 and b < 9) else print(':(')\n"]
['Wrong Answer', 'Accepted']
['s484923715', 's149941012']
[2940.0, 2940.0]
[17.0, 17.0]
[77, 84]
p03323
u329709276
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']
['s781084311', 's722259011']
[2940.0, 2940.0]
[17.0, 17.0]
[94, 92]
p03323
u330176731
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 and int(input())>=8: print('Yay!')\nelse: print(':(')", "a,b = list(map(int, input().split()))\nif a>=8 and b>=8: print('Yay!')\nelse: print(':(')", "print('Yay!' if int(input())>=8 and int(input())>=8 else ':(')", "a,b = list(map(int, input().split()))\nif a<=8 and b<=8: print('Yay!')\nelse: print(':(')"]
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s368658569', 's721217006', 's880110630', 's656495765']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 18.0, 18.0, 18.0]
[71, 87, 62, 87]
p03323
u331226975
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\nD, N = map(int, input().split())\n\n\nif N != 100:\n print(100 ** D * (N+1))\nelse:\n print(100 ** D * (N +1))', '#-*- coding: utf-8 -*-\n\nA, B = map(int, input().split())\n\n\nif (A > 8 ) or (B > 8) :\n print(":(")\nelse:\n print("Yay!")\n\n']
['Wrong Answer', 'Accepted']
['s317882366', 's890495290']
[2940.0, 2940.0]
[17.0, 17.0]
[297, 199]
p03323
u334712262
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 -*-\nimport bisect\nimport heapq\nimport math\nimport random\nimport sys\nfrom collections import Counter, defaultdict\nfrom decimal import ROUND_CEILING, ROUND_HALF_UP, Decimal\nfrom functools import lru_cache, reduce\nfrom itertools import combinations, combinations_with_replacement, product, permutations\n\nsys.setrecursionlimit(10000)\n\n\ndef read_int():\n return int(input())\n\n\ndef read_int_n():\n return list(map(int, input().split()))\n\n\ndef read_float():\n return float(input())\n\n\ndef read_float_n():\n return list(map(float, input().split()))\n\n\ndef read_str():\n return input()\n\n\ndef read_str_n():\n return list(map(str, input().split()))\n\n\ndef error_print(*args):\n print(*args, file=sys.stderr)\n\n\ndef mt(f):\n import time\n\n def wrap(*args, **kwargs):\n s = time.time()\n ret = f(*args, **kwargs)\n e = time.time()\n\n error_print(e - s, 'sec')\n return ret\n\n return wrap\n\n\n@mt\ndef slv(A, B):\n if A <= 6 and B <= 6:\n return 'Yay!'\n else:\n return ':('\n\n\ndef main():\n A = read_int()\n B = read_int()\n print(slv(A, B))\n\n\nif __name__ == '__main__':\n main()\n", "# -*- coding: utf-8 -*-\nimport bisect\nimport heapq\nimport math\nimport random\nimport sys\nfrom collections import Counter, defaultdict\nfrom decimal import ROUND_CEILING, ROUND_HALF_UP, Decimal\nfrom functools import lru_cache, reduce\nfrom itertools import combinations, combinations_with_replacement, product, permutations\n\nsys.setrecursionlimit(10000)\n\n\ndef read_int():\n return int(input())\n\n\ndef read_int_n():\n return list(map(int, input().split()))\n\n\ndef read_float():\n return float(input())\n\n\ndef read_float_n():\n return list(map(float, input().split()))\n\n\ndef read_str():\n return input()\n\n\ndef read_str_n():\n return list(map(str, input().split()))\n\n\ndef error_print(*args):\n print(*args, file=sys.stderr)\n\n\ndef mt(f):\n import time\n\n def wrap(*args, **kwargs):\n s = time.time()\n ret = f(*args, **kwargs)\n e = time.time()\n\n error_print(e - s, 'sec')\n return ret\n\n return wrap\n\n\n@mt\ndef slv(A, B):\n if A <= 8 and B <= 8:\n return 'Yay!'\n else:\n return ':('\n\n\ndef main():\n # A = read_int()\n # B = read_int()\n A, B = read_int_n()\n print(slv(A, B))\n\n\nif __name__ == '__main__':\n main()\n"]
['Runtime Error', 'Accepted']
['s666448964', 's956158775']
[7356.0, 7868.0]
[216.0, 377.0]
[1153, 1181]
p03323
u338107614
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 copy\nimport numpy as np\nn,m = map(int, input().split())\ncakes = []\nfor i in range(n):\n cakes.append(list(map(int, input().split())))\n\ndef rec(i, k, s, obj):\n if i==k:\n obj.append(s)\n return\n rec(i+1, k, copy.deepcopy(s), obj)\n s[i]=1\n rec(i+1, k, copy.deepcopy(s), obj)\n s[i]=-1\n\n\ndef makeCombination(k):\n s=[-1 for i in range(k)]\n obj = []\n rec(0, k, s, obj)\n return obj\n\ncomb = makeCombination(3)\nmax = 0\nfor c in comb:\n sum_list = []\n nc = np.array(c)\n for cak in cakes:\n cake = np.array(cak)\n total = cake.dot(nc)\n sum_list.append(total)\n ssum_list = sorted(sum_list)\n sum_mm = sum(ssum_list[n-m:])\n if(max < sum_mm):\n max = sum_mm\n\nprint(max)\n', "A, B = map(int, input().split())\nif(A > 8 or B > 8):\n print(':(')\nelse:\n print('Yay!')"]
['Runtime Error', 'Accepted']
['s241971211', 's360757920']
[12456.0, 2940.0]
[150.0, 17.0]
[745, 92]
p03323
u339025042
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<9 and B< 9:\n print("Yay!")\nelse:\n print(":(")', '\nA, B = map(int,input().split())\nif A<9 and B< 9:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Accepted']
['s777443811', 's231491109']
[2940.0, 2940.0]
[17.0, 17.0]
[92, 89]
p03323
u339503988
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())\nl = []\nfor i in range(1, 100):\n\tif 100/i == D:\n\t\tl.append(i)\nprint(l[N-1])', 'a,b=map(int,input().split())\nif a<9 and b<9:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Accepted']
['s875773356', 's125015862']
[2940.0, 2940.0]
[17.0, 17.0]
[107, 80]
p03323
u339523379
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("Yay!")', 'A,B=map(int,input().split())\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', 'Runtime Error', 'Accepted']
['s222481952', 's807559223', 's506742426']
[2940.0, 2940.0, 2940.0]
[19.0, 17.0, 27.0]
[84, 83, 83]
p03323
u340515675
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 A <= 8 and B <= 8:\n print("Yay!")\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', 'Accepted']
['s509118594', 's429153170']
[2940.0, 2940.0]
[35.0, 18.0]
[89, 96]
p03323
u341543478
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!'][int((a <= 16) & (b <= 8)])\n", "a, b = map(int, input().split())\nprint([':(', 'Yay!'][int((a <= 8) & (b <= 8))])\n"]
['Runtime Error', 'Accepted']
['s055095642', 's752191810']
[2940.0, 2940.0]
[17.0, 17.0]
[81, 81]
p03323
u346629192
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("No")', 'A,B = map(int,input().split())\nif A <= 8 and B <= 8:\n print("Yay!")\nelse:\n print(":(")']
['Wrong Answer', 'Accepted']
['s487541404', 's040844296']
[2940.0, 2940.0]
[17.0, 17.0]
[91, 92]
p03323
u351399674
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 m = 1 * N\n print(m) \n\nelif D == 1:\n l = 100 * N\n print(l)\n \n\nelse:\n o = 10000 * N\n print(o)\n \n\n', 'A,B = map(int,input().split())\nif A<=8 and B<=8:\n print("Yay!")\n\nelse:\n print(":(")']
['Wrong Answer', 'Accepted']
['s471589510', 's945155703']
[2940.0, 2940.0]
[17.0, 17.0]
[163, 89]
p03323
u351426847
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\nimport re\nimport bisect\nfrom datetime import datetime as dt\nimport bisect\nimport math\ninput = sys.stdin.readline\n\ndef gcd(a, b):\n return math.gcd(a, b)\n\ndef lcm(a, b):\n return a * b / gcd(a, b)\n\nclass slist(list):\n def __init__(self, *args, **kw):\n list.__init__(self, *args, **kw)\n self.sort()\n\n def append(self, value):\n bisect.insort(self,value)\n\n def index_left(self, value):\n return bisect.bisect_left(self, value)\n\n\nif __name__ == '__main__':\n a,b = map(int, input().split())\n if a <= 8 and b <= 8:\n print('Yay!')\n else:\n print(':()')\n", "# coding: utf-8\nimport re\nimport bisect\nfrom datetime import datetime as dt\nimport bisect\nimport math\nimport sys\ninput = sys.stdin.readline\n\ndef gcd(a, b):\n return math.gcd(a, b)\n\ndef lcm(a, b):\n return a * b / gcd(a, b)\n\nclass slist(list):\n def __init__(self, *args, **kw):\n list.__init__(self, *args, **kw)\n self.sort()\n\n def append(self, value):\n bisect.insort(self,value)\n\n def index_left(self, value):\n return bisect.bisect_left(self, value)\n\n\nif __name__ == '__main__':\n a,b = map(int, input().split())\n if a <= 8 and b <= 8:\n print('Yay!')\n else:\n print(':(')\n"]
['Runtime Error', 'Accepted']
['s224505483', 's191108639']
[3444.0, 3700.0]
[22.0, 26.0]
[623, 633]
p03323
u353919145
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())\nop = [a + b, a - b, a * b]\nprint(max(op))\n', "a, b = map(int, input().split())\nif a <= 8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')"]
['Wrong Answer', 'Accepted']
['s516457435', 's317549776']
[2940.0, 2940.0]
[17.0, 17.0]
[75, 94]
p03323
u354918239
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((100**d)*101)\nelse :\n print((100 ** d) * n)', 'd,n = map(int,input().split())\nif d == 0 :\n print(n)\nelif d == 1 :\n print(100 * n)\nelse :\n print(10000 * n)', 'a,b = map(int,input().split())\nif (a >= 9) or (b >= 9) :\n print(":(")\nelse :\n print("Yay!")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s639704065', 's699287937', 's145752958']
[2940.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0]
[101, 116, 97]
p03323
u357529599
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())\n\nif n != 100:\n print(pow(100, d) * n)\nelse:\n print(pow(100,d) * n + 1)', 'N = int(input())\na_li = list(map(int,input().split()))\n \ncnt = 0\nfor i in a_li:\n while i % 2 == 0:\n cnt += 1\n i //= 2\n if i % 2 != 0:\n break\n \nprint(cnt)', "a, b = (int(i) for i in input().split())\nif a > 8 or b > 8:\n print(':(')\nelse:\n print('Yay!')"]
['Wrong Answer', 'Runtime Error', 'Accepted']
['s039030373', 's477732140', 's167746229']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[117, 196, 95]
p03323
u363299657
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 8 < a or 8 < b:\n print(":(")\nelse:\n print("Yay!")\n', 'a, b = map(int, input().split())\nif 8 < a or 8 < b:\n print(":(")\nelse:\n print("Yay!")\n']
['Runtime Error', 'Accepted']
['s655381893', 's740024490']
[2940.0, 2940.0]
[17.0, 19.0]
[80, 88]
p03323
u367117210
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\ns = 16\nfor i in range(16):\n\tif i%2 == 0:\n\t\tif a > 0:\n\t\t\ts -= 1\n\t\t\ta -= 1\n\telse:\n\t\tif b > 0:\n\t\t\ts -= 1\n\t\t\tb -= 1\n\tif s < 0:\n\t\tbreak\n\nif a > 0 or b > 0:\n\tprint(':(')\nelse:\n\tprint('Yay!')", "a = int(input())\nb = int(input())\n \ns = 16\nfor i in range(16):\n\tif i%2 == 0:\n\t\tif a > 0:\n\t\t\ts -= 1\n\t\t\ta -= 1\n\telse:\n\t\tif b > 0:\n\t\t\ts -= 1\n\t\t\tb -= 1\n\tif s < 0:\n\t\tbreak\n \nif a > 0 or b > 0:\n\tprint(':(')\nelse:\n\tprint('Yay!')", "a, b = list(map(int, input().split()))\n \ns = 16\nfor i in range(16):\n\tif i%2 == 0:\n\t\tif a > 0:\n\t\t\ts -= 1\n\t\t\ta -= 1\n\telse:\n\t\tif b > 0:\n\t\t\ts -= 1\n\t\t\tb -= 1\n\tif s < 0:\n\t\tbreak\n \nif a > 0 or b > 0:\n\tprint(':(')\nelse:\n\tprint('Yay!')"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s880289488', 's935708265', 's372991086']
[3060.0, 3060.0, 3060.0]
[17.0, 17.0, 17.0]
[219, 221, 226]
p03323
u368796742
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 and b <= 8:\n print("Yay!")\nelse:\n print(":(")\n']
['Runtime Error', 'Accepted']
['s817241138', 's398377203']
[3064.0, 2940.0]
[17.0, 17.0]
[86, 89]
p03323
u370576244
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())\np = 0\nif A>8:\n\tp = 1\nif B>8:\n\tp = 1\nif p==0:\n\tprint("Yay!")\nelse:\n\tprint(":(")', 'A = int(input())\nB = int(input())\np = 0\nif A>8:\n\tp = 1\nif B>8:\n\tp = 1\nif p==0:\n\tprint("Yay!")\nif p==1:\n\tprint(":(")', 'A,B = map(int,input().split())\np = 0\nif A>8:\n\tp = 1\nif B>8:\n\tp = 1\nif p==0:\n\tprint("Yay!")\nelse:\n\tprint(":(")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s436230476', 's895298926', 's033154804']
[3064.0, 3060.0, 2940.0]
[18.0, 20.0, 17.0]
[112, 115, 109]
p03323
u371467115
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 ":(")', 'a,b=map(int,input().split())\nprint("Yay!" if a<=8 and b<=8 else ":(")\n']
['Wrong Answer', 'Accepted']
['s520314185', 's753974378']
[2940.0, 2940.0]
[18.0, 19.0]
[68, 70]
p03323
u371530330
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(input().split())\n\nif a + b <= 16:\n if a <= 8 and b <= 8:\n print('Yay!')\n else:\n print(':(')\nelse:\n print(':(')", "a,b = 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 + b <= 16:\n if a <= 8 and b <= 8:\n print('Yay!')\n else:\n print(':(')\nelse:\n print(':(')"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s283649042', 's748544526', 's728879397']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[129, 85, 135]
p03323
u373274281
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:\n tmp = a\n a = b\n b = tmp\n\nr = 16 - 2a\nb = b - a\n\nif r // 2 >= b:\n print('Yay!')\nelse:\n print(':')", "a, b = map(int, input().split())\n\nif a < b:\n tmp = a\n a = b\n b = tmp\n\nr = 16 - 2a\nb = b - a\n\nif r // 2 >= b:\n print('Yay!')\nelse:\n print(':')", "a, b = map(int, input().split())\n\nif a > b:\n tmp = a\n a = b\n b = tmp\n\nr = 16 - 2 * a\nb = b - a\n\nif r // 2 >= b:\n print('Yay!')\nelse:\n print(':(')\n"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s035132163', 's306564707', 's501980588']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[156, 156, 161]
p03323
u379535139
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 = tuple(int(num) for num in input().split())\n\nif A <= 8 and B <= 8:\n print('Yay')\nelse:\n print(':(') ", "A, B = tuple(int(num) for num in input().split())\n\nif A <= 8 and B <= 8:\n print('Yay!')\nelse:\n print(':(') "]
['Wrong Answer', 'Accepted']
['s516393441', 's115405539']
[2940.0, 2940.0]
[17.0, 17.0]
[109, 110]
p03323
u380284234
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 or b > 8:\n print(":(")\nelse:\n print("Yay!")', 'a,b=map(int,input().split())\nif a 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', 'Runtime Error', 'Accepted']
['s139785336', 's780364055', 's108139927']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[79, 80, 79]
p03323
u383450070
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']
['s245969989', 's484966708']
[2940.0, 2940.0]
[17.0, 19.0]
[85, 86]
p03323
u384679440
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']
['s865361987', 's796089235']
[2940.0, 2940.0]
[17.0, 17.0]
[90, 90]
p03323
u385309449
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 and y<= 8:\n print('Yay')\nelse:\n print(':(')", "x,y = map(int,input().split())\nif x <= 8 and y<= 8:\n print('Yay!')\nelse:\n print(':(')"]
['Wrong Answer', 'Accepted']
['s756319223', 's273972644']
[2940.0, 2940.0]
[17.0, 17.0]
[86, 87]
p03323
u386819480
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(_) for _ in input().split())\nif(a > 8 or b > 8):\n print("Yay!")\nelse:\n print(":(")\n ', 'a,b = (int(_) for _ in input().split())\nif(a <= 8 and b <=8):\n print("Yay!")\nelse:\n print(":(")']
['Wrong Answer', 'Accepted']
['s576121586', 's714522540']
[2940.0, 2940.0]
[17.0, 17.0]
[104, 101]
p03323
u390958150
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()]\nif n == 100:\n ans = 100**d*(n+1)\nelse:\n ans = 100**d*n\nprint(ans)', 'a,b = [int(i) for i in input().split()]\n\nif max(a,b) <= 8:\n print("Yay!")\nelse:\n print(":(")']
['Wrong Answer', 'Accepted']
['s835939904', 's093970735']
[2940.0, 2940.0]
[17.0, 17.0]
[112, 98]
p03323
u398511319
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(input.split())\nif a<=8 and b<=8:\n print('Yay!')\n else:\n print(':(')", "a,b =map(int, input().split()) \nif a<=8 and b<=8:\n print('Yay!')\nelse:\n print(':(')"]
['Runtime Error', 'Accepted']
['s201788515', 's858329868']
[8948.0, 9108.0]
[24.0, 29.0]
[78, 89]
p03323
u399721252
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(v) for v in input().split() ]\n\nif a >= 8 and b >= 8:\n print("Yay!")\nelse:\n print(":(")', 'a, b = [ int(v) for v in input().split() ]\n\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")']
['Wrong Answer', 'Accepted']
['s514403068', 's019735158']
[2940.0, 2940.0]
[17.0, 17.0]
[101, 101]
p03323
u403331159
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())\nans="Yay!"\nif 16/a>0.5:\n ans=":("\nelif 16/b>0.5:\n ans=":("\nprint(ans)', 'a,b=map(int,input().split())\nif a>8 or b>8:\n print(":(")\n exit()\nelse:\n print("Yay!")\n exit()\n']
['Wrong Answer', 'Accepted']
['s390546152', 's770357395']
[2940.0, 2940.0]
[17.0, 17.0]
[100, 98]
p03323
u412481017
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 else "Yay!")', 'a,b =map(int,input().split())\nprint(":(" if a>8 or b>8 else "Yay!")']
['Runtime Error', 'Accepted']
['s573704999', 's438010615']
[2940.0, 2940.0]
[17.0, 17.0]
[65, 67]
p03323
u415905784
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(':(')", "[A, B] = [int(x) for x in input().split()]\nif A < 9 and B < 9:\n print('Yay!')\nelse:\n print(':(')"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s266133041', 's607767574', 's567077720']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[89, 89, 98]
p03323
u419963262
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())\nans=N*(100**D)\nif N==100:\n ans*=1.01\nprint(int(ans))', 'A,B=map(int,input().split())\nif A<=8 and B<=8:\n print("Yay!")\nelse:\n print(":(")']
['Wrong Answer', 'Accepted']
['s281189351', 's686148845']
[2940.0, 2940.0]
[18.0, 17.0]
[82, 82]
p03323
u421815567
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 __name__ == "__main__":\n a = int(input())\n b = int(input())\n\n if a > 8 or b > 8:\n print(":(")\n else:\n print("Yay!")\n', 'if __name__ == "__main__":\n _ = input()\n nums = map(int, input().split(" "))\n count = 0\n for n in nums:\n while n%2 == 0:\n n /= 2\n count += 1\n\n print(count)\n', 'a = int(input())\nb = int(input())\n \nif a > 8 or b > 8:\n print(":(")\nelse:\n print("Yay!")\n', 'if __name__ == "__main__":\n _ = input()\n nums = map(int, input().split(" "))\n count = 0\n for n in nums:\n while n%2 == 0:\n n /= 2\n count += 1\n\n print(count)\n', 'if __name__ == "__main__":\n a, b = map(int, input().split(" "))\n \n if a > 8 or b > 8:\n print(":(")\n else:\n print("Yay!")']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s002325927', 's311530886', 's362672144', 's570877799', 's979286249']
[2940.0, 2940.0, 3064.0, 2940.0, 2940.0]
[18.0, 17.0, 18.0, 17.0, 17.0]
[145, 200, 95, 200, 143]
p03323
u424967964
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(":(")\n', 'a,b = map(int,input().split())\nif(a<=8 and b<=8):\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Accepted']
['s839106275', 's433601295']
[2940.0, 2940.0]
[19.0, 18.0]
[93, 89]
p03323
u432805419
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()))\nif a[0] <=8 and a[1] <=8:\n print("Yay!")\nelse:\n print(:()', 'a = map(int,input().split())\nif a[0] >9:\n print(":(")\nelif a[1] >9:\n print(":(")\nelse:\n print(""Yay!)', 'a,b = map(int,input().split())\nif a >9:\n print(":(")\nelif b > 9:\n print(":(")\nelse:\n print(""Yay!)', 'a = list(map(int,input().split()))\nif a[0] <=8 and a[1] <=8:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s075577279', 's484942175', 's925129455', 's218371380']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[94, 104, 101, 96]
p03323
u433030640
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())\nif a <= 8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')"]
['Wrong Answer', 'Accepted']
['s491095734', 's080747994']
[2940.0, 2940.0]
[17.0, 17.0]
[91, 92]
p03323
u436335724
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 = int(input())\nB = int(input())\n\nif (A > 8) or (B > 8):\n print (":(")\nelse:\n print ("Yay!")', '# -*- coding: utf-8 -*-\nA, B = map(int, input().split())\n\nif (A > 8) or (B > 8):\n print (":(")\nelse:\n print ("Yay!")']
['Runtime Error', 'Accepted']
['s770161542', 's346308500']
[2940.0, 2940.0]
[17.0, 18.0]
[124, 122]
p03323
u439392790
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(iny,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(':(')\n"]
['Runtime Error', 'Accepted']
['s752491827', 's306571732']
[2940.0, 2940.0]
[17.0, 17.0]
[87, 88]
p03323
u440191278
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\n\ndef solve(a, b):\n if 1<a and a<9:\n if 1<b and b<9:\n answer='yay!'\n else:\n answer=':('\n else:\n answer=':('\n return answer\n\n\ndef readQuestion():\n line = sys.stdin.readline().rstrip()\n [str_a, str_b] = line.split(' ')\n return (int(str_a), int(str_b))\n\ndef main():\n a, b = readQuestion()\n answer = solve(a, b)\n print(answer)\n \nif __name__ == '__main__':\n main()", "import sys\n\n\ndef solve(a, b):\n if 1<a and a<9:\n if 1<b and b<9:\n answer='yay!'\n else:\n answer=':('\n return answer\n\n\ndef readQuestion():\n line = sys.stdin.readline().rstrip()\n [str_a, str_b] = line.split(' ')\n return (int(str_a), int(str_b))\n\ndef main():\n a, b = readQuestion()\n answer = solve(a, b)\n print(answer)\n \nif __name__ == '__main__':\n main()", "import sys\n\n\ndef solve(a, b):\n if a==0:\n answer = atr(range(b))\n else:\n answer = (100*a*b)\n return answer\n\n\ndef readQuestion():\n line = sys.stdin.readline().rstrip()\n [str_a, str_b] = line.split(' ')\n return (int(str_a), int(str_b))\n\ndef main():\n a, b = readQuestion()\n answer = solve(a, b)\n print(answer)\n \nif __name__ == '__main__':\n main()", "import sys\n\ndef solve(a, b):\n if a == 0 or a==1 or a==2:\n if b==100:\n answer=100**a*b+(1**a)\n else:\n answer=100**a*b\n return answer\n\ndef readQuestion():\n line = sys.stdin.readline().rstrip()\n [str_a, str_b] = line.split(' ')\n return (int(str_a), int(str_b))\n\ndef main():\n a, b = readQuestion()\n answer = solve(a, b)\n print(answer)\n\nif __name__ == '__main__':\n main()", "import sys\n\n\ndef solve(a, b):\n if a>8 or b>8:\n answer=':('\n else:\n answer='Yay!'\n return answer\n\n\ndef readQuestion():\n line = sys.stdin.readline().rstrip()\n [str_a, str_b] = line.split(' ')\n return (int(str_a), int(str_b))\n\ndef main():\n a, b = readQuestion()\n answer = solve(a, b)\n print(answer)\n \nif __name__ == '__main__':\n main()"]
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s351192358', 's473607240', 's941571101', 's997578632', 's920568715']
[3064.0, 3060.0, 3316.0, 3060.0, 3060.0]
[18.0, 18.0, 21.0, 17.0, 18.0]
[607, 577, 550, 429, 540]
p03323
u443569380
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())\ncnt = 0\n\nfor i in range(1,10000):\n ans = (100 ** d) * i\n cnt += 1\n if cnt == n:\n print(ans)', 'a,b = map(int,input().split())\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")']
['Wrong Answer', 'Accepted']
['s556446640', 's497424888']
[3316.0, 2940.0]
[26.0, 18.0]
[138, 92]
p03323
u444856278
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?
['from sys import stderr\nfrom functools import reduce\nfrom operator import add\ndef f(): return [int(i) for i in input().split()]\ndef debug(*x): stderr.write(reduce(add,repr(x)).strip("()\\\',")+\'\\n\')\n\na = int(input())\nb = int(input())\n\nprint("Yay!") if abs(a-b) <= 1 else print(":(")', 'from sys import stderr\nfrom functools import reduce\nfrom operator import add\ndef f(): return [int(i) for i in input().split()]\ndef debug(*x): stderr.write(reduce(add,repr(x)).strip("()\\\',")+\'\\n\')\n\na,b = f()\n\nprint("Yay!") if abs(a-b) <= 1 else print(":(")']
['Runtime Error', 'Accepted']
['s011798018', 's909618349']
[3700.0, 3572.0]
[130.0, 25.0]
[279, 255]
p03323
u452786862
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 = int(input())\na, b = map(int, input().split())\n# c = list(map(int, input().split()))\n# d = [list(map(int, input().split())) for _ in range(n)]\n\n\nans = "Yey!"\n\nif a <= 8 and b <= 8:\n ans ="Yey!"\nelse:\n ans = ":("\n\nprint(ans)', '# n = int(input())\na, b = map(int, input().split())\n# c = list(map(int, input().split()))\n# d = [list(map(int, input().split())) for _ in range(n)]\n\n\n\nif a <= 8 and b <= 8:\n ans ="Yay!"\nelse:\n ans = ":("\n\nprint(ans)']
['Wrong Answer', 'Accepted']
['s327377496', 's772875288']
[2940.0, 2940.0]
[17.0, 17.0]
[247, 234]
p03323
u453068434
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 print(n)\nelse:\n print(n*(100**d))', 'a,b=map(int,input().split())\nif(a>8 or b>8):\n print(":(")\nelse:\n print("Yay!")']
['Wrong Answer', 'Accepted']
['s995627967', 's739195470']
[2940.0, 2940.0]
[17.0, 17.0]
[79, 84]