problem_id
stringlengths
6
6
user_id
stringlengths
10
10
time_limit
float64
1k
8k
memory_limit
float64
262k
1.05M
problem_description
stringlengths
48
1.55k
codes
stringlengths
35
98.9k
status
stringlengths
28
1.7k
submission_ids
stringlengths
28
1.41k
memories
stringlengths
13
808
cpu_times
stringlengths
11
610
code_sizes
stringlengths
7
505
p02675
u305237878
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['num = list(str(input()))\nif (num[-1] == 3):\n print("bon")\nelif (num[-1] == 0 or num[-1] == 1 or num[-1] == 6 or num[-1] == 8):\n print("pon")\nelse:\n print("hon")', 'num = list(str(input()))\nif num[-1] == "3":\n print("bon")\nelif num[-1] == "0" or num[-1] == "1" or num[-1] == "6" or num[-1] == "8":\n print("pon")\nelse:\n print("hon")']
['Wrong Answer', 'Accepted']
['s627379268', 's853217370']
[9112.0, 9076.0]
[27.0, 26.0]
[169, 175]
p02675
u306033313
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['nn = input()\nn = int(nn[-1])\nprint(n)\n\nif n == 2 or n == 4 or n == 5 or n == 7 or n == 9:\n print("hon")\nelif n == 0 or n == 1 or n == 6 or n == 8:\n print("pon")\nelse:\n print("bon")', 'nn = input()\nn = int(nn[-1])\n\nif n == 2 or n == 4 or n == 5 or n == 7 or n == 9:\n print("hon")\nelif n == 0 or n == 1 or n == 6 or n == 8:\n print("pon")\nelse:\n print("bon")']
['Wrong Answer', 'Accepted']
['s126599891', 's532957202']
[9172.0, 9172.0]
[21.0, 24.0]
[189, 180]
p02675
u306260540
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["n = input()\nif n[-1] == '2' or '4' or '5' or '7' or '9':\n print('hon')\nelif n[-1] == '0' or '1' or '6' or '8':\n print('pon')\nelse:\n print('bon')\n", "n = input()\nif n[-1] == '2' or '4' or '5' or '7' or '9':\n print('hon')\nelif n[-1] == '0' or '1' or '6' or '8':\n print('pon')\nelse print('bon'):\n print('bon')", "n = input()\nif n[-1] == '2' or n[-1] == '4' or n[-1] == '5' or n[-1] =='7' or n[-1] == '9':\n print('hon')\nelif n[-1] == '0' or n[-1] == '1' or n[-1] == '6' or n[-1] == '8':\n print('pon')\nelse:\n print('bon')\n"]
['Wrong Answer', 'Runtime Error', 'Accepted']
['s554228830', 's789748633', 's990065932']
[9096.0, 8892.0, 9112.0]
[20.0, 23.0, 22.0]
[154, 166, 216]
p02675
u309805564
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['N = N[-1]\n\nhon = [str(n) for n in list([2,4,5,7,9])]\npon = [str(n) for n in list([0,1,6,8])]\nbon = ["3"]\n\nif N in hon:\n print(\'hon\')\nelif N in pon:\n print("pon")\nelif N in bon:\n print("bon") \nelse:\n print("booom")', 'N = 12\nN = str(N)\nN = N[-1]\n\nhon = [str(n) for n in list([2,4,5,7,9])]\npon = [str(n) for n in list([0,1,6,8])]\nbon = ["3"]\n\nif N in hon:\n print(\'hon\')\nelif N in pon:\n print("pon")\nelif N in bon:\n print("bon") \nelse:\n print("booom")', 'N = str(N)\nN = N[-1]\n\nhon = [str(n) for n in list([2,4,5,7,9])]\npon = [str(n) for n in list([0,1,6,8])]\nbon = ["3"]\n\nif N in hon:\n print(\'hon\')\nelif N in pon:\n print("pon")\nelif N in bon:\n print("bon") \nelse:\n print("booom")', 'N = (input())\nN = N[-1]\n\nhon = [str(n) for n in list([2,4,5,7,9])]\npon = [str(n) for n in list([0,1,6,8])]\nbon = ["3"]\n\nif N in hon:\n print(\'hon\')\nelif N in pon:\n print("pon")\nelif N in bon:\n print("bon") \nelse:\n print("booom")']
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s089893519', 's134084429', 's248064073', 's867400545']
[9060.0, 9048.0, 9000.0, 9084.0]
[22.0, 21.0, 21.0, 22.0]
[217, 235, 228, 231]
p02675
u313890617
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['import math\n\n#decimal.getcontext().prec = 12\n\n\na,b,h,m=map(int,input().split())\n#a=decimal.Decimal(a)\n#b=decimal.Decimal(b)\n#h=decimal.Decimal(h)\n#m=decimal.Decimal(m)\n\n#print(a,b,h,m)\n\n#ang1=decimal.Decimal(360*(h/12)+30*m/60)\n#ang2=decimal.Decimal(360*m/60)\n#ang=decimal.Decimal(abs(ang1-ang2))\nang1=360*(h/12)+30*m/60\nang2=360*m/60\nang=abs(ang1-ang2)\n#print(ang)\nif ang>=180.0:\n\n ang=360.0-ang\n\n#print(ang)\n\nans = a**2 + b**2 - 2.0*a*b*math.cos(math.radians(ang))\nans = math.sqrt(ans)\n#print(math.cos(math.radians(ang)))\n\nprint(ans)', 's=input()\n#print(s)\na=int(s[-1])\n#print(a)\n\nif a==3:\n print("bon")\nelif a==0 or a==1 or a==6 or a==8:\n print(\'pon\')\nelse:\n print("hon")\n\n']
['Runtime Error', 'Accepted']
['s118810738', 's489844508']
[9128.0, 9108.0]
[23.0, 21.0]
[692, 146]
p02675
u316390754
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["n = input()\nif n[-1] == 3:\n print('bon')\nelif n[-1] ==2 or 4 or 5 or 7 or 9:\n print('hon')\nelse:\n print('pon')\n", "n = int(input())\nif n[-1] == 3:\n print('bon')\nelif n[-1] ==2 or 4 or 5 or 7 or 9:\n print('hon')\nelse:\n print('pon')", "n = input()\ns = int(n[-1])\nif s == 3:\n print('bon')\nelif s == 2 or s == 4 or s == 5 or s== 7 or s== 9:\n print('hon')\nelse:\n print('pon')"]
['Wrong Answer', 'Runtime Error', 'Accepted']
['s385633363', 's521223522', 's606560453']
[9036.0, 9104.0, 9172.0]
[19.0, 24.0, 23.0]
[114, 118, 139]
p02675
u317187086
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["n = int(input()[-1])\nif n in [2, 4, 5, 7, 9]: print('hon')\nelse if n in [0, 1, 6, 8]: print('pon')\nelse: print('bon')", "n = int(input()[-1])\nif n in [2, 4, 5, 7, 9]: print('hon')\nelif n in [0, 1, 6, 8]: print('pon')\nelse: print('bon')\n"]
['Runtime Error', 'Accepted']
['s673401669', 's107188424']
[9032.0, 9116.0]
[25.0, 24.0]
[117, 115]
p02675
u317533286
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['import math\nA, B, H, M = map(int, input().split())\nMkaku = 6 * M\nHkaku = (H * 60 + M) / 2\nr1 = Hkaku * math.pi / 180\nr2 = Mkaku * math.pi / 180\nv1x = A * math.cos(r1)\nv1y = A * math.sin(r1)\nv2x = B * math.cos(r2)\nv2y = B * math.sin(r2)\nans = ((v1x - v2x) ** 2 + (v1y - v2y) ** 2) ** 1/2\nprint(ans)', 'N = int(input())\nNS = str(N)\nprint(NS[len(NS) - 1])\nif NS[len(NS) - 1] == "3":\n ans = "bon"\nelif NS[len(NS) - 1] == "0" or "1" or "6" or "8":\n ans = "pon"\nelse:\n ans = "hon"\nprint(ans)', 'N = int(input())\nNS = str(N)\nif NS[len(NS) - 1] == "3":\n ans = "bon"\nelif NS[len(NS) - 1] == "0":\n ans = "pon"\nelif NS[len(NS) - 1] == "1":\n ans = "pon"\nelif NS[len(NS) - 1] == "6":\n ans = "pon"\nelif NS[len(NS) - 1] == "8":\n ans = "pon"\nelse:\n ans = "hon"\nprint(ans)']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s512765761', 's580796513', 's381680176']
[9204.0, 9184.0, 9076.0]
[22.0, 23.0, 20.0]
[297, 187, 272]
p02675
u318066360
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['n = int(input())%10', '(base) C:\\Users\\toshi\\AtCorder>python abc.py\n2\nhon\n\n(base) C:\\Users\\toshi\\AtCorder>\n(base) C:\\Users\\toshi\\AtCorder>python abc.py\n3\nbon\n\n(base) C:\\Users\\toshi\\AtCorder>python abc.py\n4\nhon\n\n(base) C:\\Users\\toshi\\AtCorder>python abc.py\n5\nhon\n\n(base) C:\\Users\\toshi\\AtCorder>python abc.py\n6\npon\n\n(base) C:\\Users\\toshi\\AtCorder>python abc.py\n7\nhon\n\n(base) C:\\Users\\toshi\\AtCorder>python abc.py\n8\npon\n\n(base) C:\\Users\\toshi\\AtCorder>python abc.py\n9\nhon\n\n(base) C:\\Users\\toshi\\AtCorder>', 'n = int(input())\nif n==0:\n print("pon")\nif n==1:\n print("pon")\nif n==2:\n print("hon")\nif n==3:\n print("bon")\nif n==4:\n print("hon")\nif n==5:\n print("hon")\nif n==6:\n print("pon")\nif n==7:\n print("hon")\nif n==8:\n print("pon")\nif n==9:\n print("hon")\n', 'n = int(input())%10\nif n==2:\n print("hon")\nif n==4:\n print("hon") \nif n==5: \n print("hon")\nif n==7:\n print("hon")\nif n==9:\n print("hon")\nif n==1:\n print("pon")\nif n==8:\n print("pon") \nif n==6:\n print("pon") \nif n==3:\n print("bon")\nif n==0:\n print("pon")']
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s114438559', 's300773287', 's575421253', 's848366038']
[9208.0, 9008.0, 9184.0, 9032.0]
[20.0, 20.0, 20.0, 21.0]
[19, 479, 277, 286]
p02675
u319957725
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['import math\n\n \nA,B,H,M= list(map(int, input().split()))\n \ntheta = 2*math.pi*H/12+2*math.pi*M/12/60 \nphi = 2*math.pi*M/60 \n \nC = math.sqrt(A**2+B**2-2*A*B*math.cos(theta-phi))\nprint(C)', "N = int(input())\n\nd1 = N%10\n\nif (d1 == 3):\n print('bon')\nelif(d1 == 0 or d1 == 1 or d1 ==6 or d1 == 8):\n print('pon')\nelse:\n print('hon')"]
['Runtime Error', 'Accepted']
['s936547746', 's347831682']
[9000.0, 9092.0]
[21.0, 23.0]
[216, 146]
p02675
u322603957
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["n = list(map(int,input()))\nif (n[-1] == 2 or n[-1] == 4 or n[-1] == 5 or n[-1] == 7 or n[-1] == 9):\n print('hon')\nelif (n[-1] == 0 or n[-1] == 1 or n[-1] == 4 or n[-1] == 8):\n print('pon')\nelse:\n print('bon')", "n = list(map(int,input()))\nif (n[-1] == 2 or n[-1] == 4 or n[-1] == 5 or n[-1] == 7 or n[-1] == 9):\n print('hon')\nelif (n[-1] == 0 or n[-1] == 1 or n[-1] == 6 or n[-1] == 8):\n print('pon')\nelse:\n print('bon')"]
['Wrong Answer', 'Accepted']
['s722695113', 's664335878']
[9188.0, 9192.0]
[22.0, 22.0]
[217, 217]
p02675
u323045245
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['n = list(input())\nketa = n[-1]\nprint(keta)\nif keta == "3":\n print("bon")\nelif keta == "0" or keta == "1" or keta == "6" or keta == "8":\n print("pon")\nelse:\n print("hon")', 'n = list(input())\nketa = n[-1]\n\nif keta == "3":\n print("bon")\nelif keta == "0" or keta == "1" or keta == "6" or keta == "8":\n print("pon")\nelse:\n print("hon")']
['Wrong Answer', 'Accepted']
['s911953581', 's869195449']
[9072.0, 8976.0]
[22.0, 20.0]
[178, 167]
p02675
u323459806
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['K = input()\nS = input()\n\nKnum = int(K)\nSlength = len(S)\n\nif Slength <= Knum:\n\tstr = S\nelse:\n\tstr = S[0:Knum]\n\nprint(str)', 'n = int(input())\nstr = ""\n\nif n%10 == 0:\n\tstr = "pon"\nelif n%10 == 1:\n\tstr = "pon"\nelif n%10 == 2:\n\tstr = "hon"\nelif n%10 == 3:\n\tstr = "bon"\nelif n%10 == 4:\n\tstr = "hon"\nelif n%10 == 5:\n\tstr = "hon"\nelif n%10 == 6:\n\tstr = "pon"\nelif n%10 == 7:\n\tstr = "hon"\nelif n%10 == 8:\n\tstr = "pon"\nelif n%10 == 9:\n\tstr = "hon"\n\nprint(str)']
['Runtime Error', 'Accepted']
['s298967157', 's049461269']
[9036.0, 9152.0]
[24.0, 22.0]
[120, 326]
p02675
u326943507
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['N=int(input())%10\n\nif n ==3:\n print("bon")\n ', 'N=int(input())%10\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\nif N==3:\n print("bon")\nelif N in hon:\n print("hon")\nelse:\n print("pon")']
['Runtime Error', 'Accepted']
['s443128358', 's008799737']
[9152.0, 9176.0]
[21.0, 22.0]
[46, 132]
p02675
u328179275
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['a,b,h,m = map(int,input().split())\nimport math\nalp = 0.5*(h*60+m)/180*math.pi\nbe = 6*m/180*math.pi\nif alp >=be:\n if alp-be < math.pi: \n l = (a**2+b**2 - 2*a*b*math.cos(alp - be))**(1/2)\n else:\n l = (a**2+b**2 + 2*a*b*math.cos(alp - be))**(1/2)\nelse:\n if be-alp < math.pi:\n l = (a**2+b**2 - 2*a*b*math.cos(be - alp))**(1/2)\n else:\n l = (a**2+b**2 + 2*a*b*math.cos(be - alp))**(1/2)\nprint(l)', "n = int(input())\np = n%10\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\nif p in hon:\n print('hon')\nelif p in pon:\n print('pon')\nelse:\n print('bon')"]
['Runtime Error', 'Accepted']
['s367709568', 's106572686']
[9152.0, 9116.0]
[23.0, 24.0]
[429, 144]
p02675
u329058683
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['N=input()\nN=N[-1]\nif N==3:\n print("bon")\nelif N==0 or N==1 or N==6 or N==8:\n print("pon")\nelse:\n print("hon")', 'N=input()\nN=int(N[-1])\nif N==3:\n print("bon")\nelif N==0 or N==1 or N==6 or N==8:\n print("pon")\nelse:\n print("hon")']
['Wrong Answer', 'Accepted']
['s542433532', 's820086936']
[9072.0, 9156.0]
[23.0, 22.0]
[112, 117]
p02675
u329817560
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["n = str(input())\nm = n[2]\nif m == '2' or m == '4' or m == '5' or m == '7' or m == '9':\n print('hon')\nelif m == '0' or m == '1' or m == '6' or m == '8':\n print('pon')\nelse:\n print('bon')", "n = str(input())\nm = n[-1]\nif m == '2' or m == '4' or m == '5' or m == '7' or m == '9':\n print('hon')\nelif m == '0' or m == '1' or m == '6' or m == '8':\n print('pon')\nelse:\n print('bon')"]
['Runtime Error', 'Accepted']
['s461429895', 's397454359']
[9116.0, 9112.0]
[21.0, 24.0]
[194, 195]
p02675
u329962837
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["S = input()\nT = input()\n\nif S == T[0:-1]:\n print('Yes')\nelse:\n print('No')", "N = int(input())\nif N%10 in [2,4,5,7,9]:\n print('hon')\nelif N%10 in [0,1,6,8]:\n print('pon')\nelse:\n print('bon')"]
['Runtime Error', 'Accepted']
['s488533712', 's511720014']
[8992.0, 8900.0]
[22.0, 29.0]
[76, 115]
p02675
u332793228
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['n=input()\ns=n[-1]\nif s=="2" or s=="4" or s=="5" or s=="7" or s==9:\n print("hon")\nelif s==0 or s==1 or s==6 or s==8:\n print("pon")\nelse:\n print("bon")', 'n=input()\ns=n[-1]\nif s=="2" or s=="4" or s=="5" or s=="7" or s=="9":\n print("hon")\nelif s=="0" or s=="1" or s=="6" or s=="8":\n print("pon")\nelse:\n print("bon")']
['Wrong Answer', 'Accepted']
['s111512510', 's386728835']
[9128.0, 8976.0]
[22.0, 23.0]
[158, 168]
p02675
u336968242
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['abhm=tuple(map(float, input().split()))\na=abhm[0]\nb=abhm[1]\nh=abhm[2]\nm=abhm[3]\n\nimport math as mt\n\npi=mt.pi\nprint(pi)\n\nc=pi*(h+m/60)/6\nd=pi*m/30\n\nprint(mt.sqrt((a*mt.cos(c)-b*mt.cos(d))**2+(a*mt.sin(c)-b*mt.sin(d))**2))\n', "n=int(input())\nm=n%10\nif m in [2, 4,5,7,9]:\n print('hon')\nelif m in [0,1,6,8]:\n print('pon')\nelse:\n print('bon')\n"]
['Runtime Error', 'Accepted']
['s339719673', 's232264513']
[9004.0, 9168.0]
[24.0, 20.0]
[221, 122]
p02675
u340040203
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["def josu(N):\n N %= 10\n if ((N==2)or(N==4)or(N==5)or(N==7)or(N==9)):\n print('hon')\n elif ((N==0)or(N==1)or(N==6)or(N==8)):\n print('pon')\n else:\n print('bon')\n \njosu(N)", "def josu(N):\n N %= 10\n if ((N==2)or(N==4)or(N==5)or(N==7)or(N==9)):\n print('hon')\n elif ((N==0)or(N==1)or(N==6)or(N==8)):\n print('pon')\n else:\n print('bon')", "N = int(input())\n\nnum = N % 10\n\nif ((num==2)or(num==4)or(num==5)or(num==7)or(num==9)):\n\tprint('hon')\nelif ((num==0)or(num==1)or(num==6)or(num==8)):\n\tprint('pon')\nelse:\n print('bon')"]
['Runtime Error', 'Wrong Answer', 'Accepted']
['s095886226', 's205081074', 's047222861']
[9116.0, 9052.0, 9184.0]
[24.0, 24.0, 25.0]
[206, 189, 184]
p02675
u343021464
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['n = input()\n\nprint(n[-1])\nif n[-1] == \'2\' or n[-1] == \'4\' or n[-1] == \'5\' or n[-1] == \'7\' or n[-1] == \'9\':\n print("hon")\nelif n[-1] == \'0\' or n[-1] == \'1\' or n[-1] == \'6\' or n[-1] == \'8\':\n print("pon")\nelse:\n print("bon")', 'n = input()\nif n[-1] == \'2\' or n[-1] == \'4\' or n[-1] == \'5\' or n[-1] == \'7\' or n[-1] == \'9\':\n print("hon")\nelif n[-1] == \'0\' or n[-1] == \'1\' or n[-1] == \'6\' or n[-1] == \'8\':\n print("pon")\nelse:\n print("bon")']
['Wrong Answer', 'Accepted']
['s269842892', 's944154397']
[8996.0, 8988.0]
[20.0, 20.0]
[230, 216]
p02675
u344813796
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["n=str(input())\n\nif n[-1]==3:\n print('bon')\nelif n[-1]==0 or n[-1]==1 or n[-1]==6 or n[-1]==8:\n print('pon')\nelse:\n print('hon')", "n=str(input())\n\nif int(n[-1])==3:\n print('bon')\nelif int(n[-1])==0 or int(n[-1])==1 or int(n[-1])==6 or int(n[-1])==8:\n print('pon')\nelse:\n print('hon')\n"]
['Wrong Answer', 'Accepted']
['s673835307', 's390438532']
[9052.0, 9100.0]
[23.0, 24.0]
[130, 156]
p02675
u345132740
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['N=input()\nn=N[:-1]\nif(n==3):\n print("bon")\nelif(n==0):\n print("pon")\nelif(n==1):\n print("pon")\nelif(n==6):\n print("pon")\nelif(n==8):\n print("pon")\nelse:\n print("hon")', 'N=input()\nn=N[-1:]\nn=int(n)\nprint(n)\nprint(n)\nif(n==3):\n print("bon")\nelif(n==0):\n print("pon")\nelif(n==1):\n print("pon")\nelif(n==6):\n print("pon")\nelif(n==8):\n print("pon")\nelse:\n print("hon")', 'N=input()\nn=N[-1:]\nif(n==3):\n print("bon")\nelif(n==0):\n print("pon")\nelif(n==1):\n print("pon")\nelif(n==6):\n print("pon")\nelif(n==8):\n print("pon")\nelse:\n print("hon")', 'N=input()\nn=N[-1:]\nn=int(n)\n\nif(n==3):\n print("bon")\nelif(n==0):\n print("pon")\nelif(n==1):\n print("pon")\nelif(n==6):\n print("pon")\nelif(n==8):\n print("pon")\nelse:\n print("hon")']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s143200635', 's510127257', 's870569330', 's663585183']
[9116.0, 9188.0, 9116.0, 9188.0]
[23.0, 22.0, 22.0, 22.0]
[172, 199, 172, 182]
p02675
u345483150
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["n=int(input())\nn=str(n)\nif n[-1]==2 or n[-1]==4 or n[-1]==5 or n[-1]==7 or n[-1]==9:\n print('hon')\nelif n[-1]==0 or n[-1]==1 or n[-1]==6 or n[-1]==8:\n print('pon')\nelse:\n print('bon')", "n=int(input())\nn=str(n)\nif n[-1]=='2' or n[-1]=='4' or n[-1]=='5' or n[-1]=='7' or n[-1]=='9':\n print('hon')\nelif n[-1]=='0' or n[-1]=='1' or n[-1]=='6' or n[-1]=='8':\n print('pon')\nelse:\n print('bon')"]
['Wrong Answer', 'Accepted']
['s585709893', 's279913090']
[9184.0, 9188.0]
[23.0, 23.0]
[186, 204]
p02675
u346371758
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['import math\na,b,h,m = map(int, input().split())\nif h > 12:\n h_c = h-12\nelse:\n h_c = h\np_d = 6*(abs((h_c)*5 - m))\nif p_d >= 180:\n p_d2 = 360 - p_d \n d_2 = a**2 + b**2 - 2*a*b*math.cos(math.radians(p_d2))\n print(math.sqrt(d_2))\nelse:\n d_2 = a**2 + b**2 - 2*a*b*math.cos(math.radians(p_d))\n print(math.sqrt(d_2))', 'n = list(input())\nn_1 = int(n[-1])\nif n_1 == 3:\n print("bon")\nelif n_1 == 0 or n_1 == 1 or n_1 == 6 or n_1 == 8:\n print("pon")\nelse:\n print("hon")']
['Runtime Error', 'Accepted']
['s598276605', 's499325738']
[9076.0, 9164.0]
[24.0, 18.0]
[330, 155]
p02675
u347134705
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['N = input()\n\na = int(N[len(N)-1])\n\nif a == 3:\n print(bon)\nelse if a==0 or a==1 or a==6 or a==8:\n print(pon)\nelse:\n print(hon)', "N = input()\n \na = int(N[len(N)-1])\n \nif a == 3:\n print('bon')\nelif a==0 or a==1 or a==6 or a==8:\n print('pon')\nelse:\n print('hon')"]
['Runtime Error', 'Accepted']
['s798238988', 's051331360']
[9016.0, 9168.0]
[21.0, 21.0]
[128, 133]
p02675
u348432940
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['A = map(int, open(0).read().split())\nrem = A % 10\nif rem == 3:\n print("bon")\nelif (rem == 0) or (rem == 1) or (rem == 6) or (rem == 8):\n print("pon")\nelse:\n print("hon")', 'A = int(input())\nrem = A % 10\nif rem == 3:\n print("bon")\nelif (rem == 0) or (rem == 1) or (rem == 6) or (rem == 8):\n print("pon")\nelse:\n print("hon")']
['Runtime Error', 'Accepted']
['s303177176', 's123971825']
[9116.0, 9180.0]
[23.0, 25.0]
[172, 152]
p02675
u349765885
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['N=input()\n\ndef yomikata(N):\n N_firstdigit=N%10\n if N_firstdigit==3:\n print("bon")\n \n elif N_firstdigit==0 or N_firstdigit==1 or N_firstdigit==6 or N_firstdigit==8:\n print("pon")\n else:\n print("hon")\n \nyomikata(N)', 'def yomikata(N):\n N_firstdigit=N%10\n if N_firstdigit==3:\n print("bon")\n elif N_firstdigit==0 or 1 or 6 or 8:\n print("pon")\n else:\n print("hon")', 'def yomikata(N):\n N_firstdigit=N%10\n if N_firstdigit==3:\n print("bon")\n elif N_firstdigit==0 or 1 or 6 or 8:\n print("pon")\n else:\n print("hon")\n\nyomikata(N)', 'K=int(input())\nS=input()\n\ndef moji(S,K):\n if len(S)<=K:\n print(S)\n else:\n T=""\n for i in range(len(S)):\n if i <K:\n T+=S[i]\n if i >=K:\n continue\n T+="..."\n print(T)\n\nmoji(S,K)', 'def yomikata(N):\n N_firstdigit=N%10\n if N_firstdigit==3:\n print("bon")\n elif N_firstdigit==0 or 1 or 6 or 8:\n print("pon")\n else:\n print("hon")\n\nyomikata(N)', 'def yomikata(N):\n N_firstdigit=N%10\n if N_firstdigit==3:\n print("bon")\n elif N_firstdigit==0 or 1 or 6 or 8:\n print("pon")\n else:\n print("hon")', '\nN,M=map(int,input().split())\nAB=[map(int,input().split()) for _ in range(M)]\n\n\n\nlinks=[[] for _ in range(N+1)]\n\n\n\nfor a,b in AB:\n\n links[a].append(b)\n links[b].append(a)\n\nfrom collections import deque\nresult=[-1]*(N+1)\n\n\n\nq=deque([1])\n\nwhile len(q)>0:\n i=q.popleft()\n for j in links[i]:\n if result[j] ==-1:\n result[j] = i\n \n q.append(j)\nprint("yes")\nprint("\\n".join(str(i) for i in result[2:] ))', 'N=int(input())\n\ndef yomikata(N):\n N_firstdigit=N%10\n if N_firstdigit==3:\n print("bon")\n \n elif N_firstdigit==0 or N_firstdigit==1 or N_firstdigit==6 or N_firstdigit==8:\n print("pon")\n else:\n print("hon")\n \nyomikata(N)\n']
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s192478716', 's347171982', 's348682927', 's505955282', 's603989811', 's692384065', 's913244417', 's366433117']
[9108.0, 9092.0, 9000.0, 9188.0, 9040.0, 8964.0, 9228.0, 9028.0]
[24.0, 21.0, 20.0, 21.0, 25.0, 23.0, 24.0, 23.0]
[357, 176, 189, 268, 189, 176, 1025, 363]
p02675
u350093546
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["N=int(input())\n\nx=N%10\nif X==3:\n print('bon')\n\nelif x==0 or x==1 or x==6 or x==8:\n print('pon')\n\nelse:\n print('hon')", "N=int(input())\n\nx=N%10\nif X==3:\n print('bon')\n\nelif x==0:\n print('pon')\n\nelif x==1:\n print('pon')\n\nelif x==6:\n print('pon')\n\nelif x==8:\n print('pon')\n \nelse:\n print('hon')\n", "N=int(input())\n\nx=N%10\nif x==3:\n print('bon')\n\nelif x==0 or x==1 or x==6 or x==8:\n print('pon')\n\nelse:\n print('hon')\n"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s073649853', 's673236166', 's162808034']
[9180.0, 9172.0, 9156.0]
[24.0, 22.0, 22.0]
[119, 179, 120]
p02675
u351265848
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['a = map(int, input().split())\n\nif a%10==3:\n print("bon")\nelif a%10 in [0,1,6,8]:\n print("pon")\nelse:\n print("hon")\n ', 'a = int(input())\n\nif a%10==3:\n print("bon")\nelif a%10 in [0,1,6,8]:\n print("pon")\nelse:\n print("hon")\n ']
['Runtime Error', 'Accepted']
['s560697260', 's154537254']
[8924.0, 9048.0]
[24.0, 20.0]
[120, 107]
p02675
u351654473
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["hon = [2, 4, 5, 7, 9]\npon = [0, 1, 6, 8]\nbon = [3]\n\n\ndef therefore(N):\n lastdigit = int(repr(N)[-1])\n if lastdigit in hon:\n return 'hon'\n elif lastdigit in pon:\n return 'pon'\n else:\n return 'bon'\n\n", '\nN = input()\n\none = int(N[-1])\n\nif one in [2, 4, 5, 7, 9]:\n print("hon")\nelif one in [0, 1, 6, 8]:\n print("pon")\nelse:\n print("bon")']
['Wrong Answer', 'Accepted']
['s087875620', 's470700199']
[9108.0, 9116.0]
[19.0, 22.0]
[230, 141]
p02675
u353919145
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['n = int(input())\nn = n % 10\nif n == 2 or n == 4 or n == 5 or n == 7 or n == 9:\n print("hon")\nelif n == 0 or n == 1 or n == 6 or n == 8:\n print("pon")\nelse\n print("bon")\n', "pl=input()\nn=int(pl)\nif n%10 is 3:\n\tprint('bon')\nelif n%10 is 0 or n%10 is 1 or n%10 is 6 or n%10 is 8:\n\tprint('pon')\nelse: print('hon')"]
['Runtime Error', 'Accepted']
['s616545895', 's511610138']
[8952.0, 8940.0]
[25.0, 26.0]
[178, 136]
p02675
u354126779
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['n=int(input())\n\nif n in (2,4,5,7,9):\n print("hon")\nelif n in (0,1,6,8):\n print("pon")\nelse:\n print("bon")', 'n=int(input())\n\nm=n%10\n\nif m in (2,4,5,7,9):\n print("hon")\nelif m in (0,1,6,8):\n print("pon")\nelse:\n print("bon")']
['Wrong Answer', 'Accepted']
['s167906424', 's036132640']
[9160.0, 9088.0]
[22.0, 22.0]
[114, 116]
p02675
u355154595
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["s=int(input())\nif s[-1]==2 and s[-1]==4 and s[-1]==5 and s[-1]==7 and s[-1]==9:\n print('hon')\nelif s[-1]==0 and s[-1]==1 and s[-1]==6 and s[-1]==8:\n print('pon')\nelse:\n print('bon')\n", "s=list(input())\nif s[-1]=='3':\n print('bon')\nelif s[-1] in [0,1,6,8]\n print('pon')\nelse:\n print('hon')\n", "n=int(input())\nif s[-1]==2 and s[-1]==4 and s[-1]==5 and s[-1]==7 and s[-1]==9:\n print('hon')\nelif s[-1]==0 and s[-1]==1 and s[-1]==6 and s[-1]==8\n print('pon')\nelse:\n print('bon')\n", "s=input()\nif s[-1]==3:\n print('bon')\nelif s[-1] in [0,1,6,8]:\n print('pon')\nelse:\n print('hon')\n", "n=int(input())\nif s[-1]=2 and s[-1]=4 and s[-1]=5 and s[-1]=7 and s[-1]=9:\n print('hon')\nelif s[-1]=0 and s[-1]=1 and s[-1]=6 and s[-1]=8\n print('pon')\nelse:\n print('bon')", "s=input()\nif s[-1]==2 and s[-1]==4 and s[-1]==5 and s[-1]==7 and s[-1]==9:\n print('hon')\nelif s[-1]==0 and s[-1]==1 and s[-1]==6 and s[-1]==8:\n print('pon')\nelse:\n print('bon')\n", "s=input()\nif s[-1]==3:\n print('bon')\nelif s[-1] in [0,1,6,8]\n print('pon')\nelse:\n print('hon')\n", "s=int(input())\nif s[-1]==2 and s[-1]==4 and s[-1]==5 and s[-1]==7 and s[-1]==9:\n print('hon')\nelif s[-1]==0 and s[-1]==1 and s[-1]==6 and s[-1]==8\n print('pon')\nelse:\n print('bon')\n", "s=list(input())\nif s[-1]==3:\n print('bon')\nelif s[-1]==0 or s[-1]==1 or s[-1]==6 or s[-1]==8:\n print('pon')\nelse:\n print('hon')", "s=input()\nif s[-1]==2 and s[-1]==4 and s[-1]==5 and s[-1]==7 and s[-1]==9:\n print('hon')\nelif s[-1]==0 and s[-1]==1 and s[-1]==6 and s[-1]==8:\n print('pon')\nelif s[-1]==3:\n print('bon')\n", "s=input()\nif s[-1]==2 and s[-1]==4 and s[-1]==5 and s[-1]==7 and s[-1]==9:\n print('hon')\nelif s[-1]==0 and s[-1]==1 and s[-1]==6 and s[-1]==8:\n print('pon')\nelse:\n print('bon')\n", "s=input()\nif s[-1]=='3':\n print('bon')\nelif s[-1] in ['0','1','6','8']:\n print('pon')\nelse:\n print('hon')\n"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s036598625', 's050338467', 's138647528', 's391280660', 's456732070', 's458813857', 's526802396', 's609832975', 's646000733', 's835434589', 's843733922', 's297590158']
[9184.0, 8856.0, 8972.0, 9000.0, 9008.0, 9136.0, 8860.0, 8976.0, 9048.0, 9124.0, 9108.0, 8944.0]
[24.0, 22.0, 20.0, 28.0, 24.0, 23.0, 24.0, 23.0, 27.0, 24.0, 24.0, 28.0]
[191, 106, 190, 99, 180, 186, 98, 190, 130, 195, 186, 109]
p02675
u355213193
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["N=input()\nif N[-1]==3:\n print('bon')\nelif N[-1]==0:\n print('pon')\nelif N[-1]==1:\n print('pon')\nelif N[-1]==6:\n print('pon')\nelif N[-1]==8:\n print('pon')\nelse:\n print('hon')", "N=input()\nif N[-1]==3:\n print('bon')\nelif N[-1]==0 or N[-1]==1 or N[-1]==6 or N[-1]==8:\n print('pon')\nelse:\n print('hon')\n", "N=input()\nif N[-1]=='3':\n print('bon')\nelif N[-1]=='0' or N[-1]=='1' or N[-1]=='6' or N[-1]=='8':\n print('pon')\nelse:\n print('hon')"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s050133613', 's393428942', 's226969375']
[9072.0, 8844.0, 9032.0]
[20.0, 21.0, 24.0]
[178, 125, 140]
p02675
u356488962
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['K = int(input())\nS = input()\n\nif(len(S)<=K):\n print(S)\nelse:\n print(S[0:K] + "...")\n', 'N = int(input())%10;\nif(N == 2 or N == 4 or N == 5 or N ==7 or N== 9)\n print(hon)\nelif(N == 0 or N ==1 or N ==8 or N ==6) \n print(pon)\nelse\n print(bon);', 'N = int(input())%10\nyomi = {0:"pon",1:"pon",2:"hon",3:"bon",4:"hon",5:"hon",6:"pon",7:"hon",8:"pon",9:"hon"}\nprint(yomi[N])\n']
['Runtime Error', 'Runtime Error', 'Accepted']
['s063092298', 's759889974', 's264972751']
[9144.0, 8888.0, 9004.0]
[23.0, 22.0, 21.0]
[90, 161, 124]
p02675
u356734902
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['import sys\n \n \ndef main():\n N = int(input())\n \n if N[-1] == 3:\n print("bon")\n elif N[-1] in (0,1,6,8):\n print("pon")\n else:\n print("hon")\n \n \nmain()', 'import sys\n \ndef main():\n N = int(input())\n L = [0,1,6,8]\n n_last = int(N[-1])\n if n_last == 3:\n print("bon")\n elif (n_last in L):\n print("pon")\n else:\n print("hon")\n \n \nmain()', 'import sys\n \ndef main():\n N = str(input())\n L = [0,1,6,8]\n n_last = N[-1]\n \n if N[-1] == 3:\n print("bon")\n elif (N[-1] in L):\n print("pon")\n else:\n print("hon")\n \n \nmain()', 'import sys\n \nL = [0,1,6,8]\n \ndef main():\n N = int(input())\n \n if N[-1] == 3:\n print("bon")\n elif N[-1] in L:\n print("pon")\n else:\n print("hon")\n \n \nmain()', 'import sys\n\ndef main():\n N = int(input())\n L = [0,1,6,8]\n \n if N[-1] == 3:\n print("bon")\n elif N[-1] in L:\n print("pon")\n else:\n print("hon")\n \n \nmain()', 'import sys\n\nL = [0,1,6,8]\n\ndef main():\n N = int(input())\n \n if N[-1] == 3:\n print("bon")\n elif N[-1] in [0,1,6,8]:\n print("pon")\n else:\n print("hon")\n\n \nmain()', 'import sys\n \ndef main():\n N = str(input())\n L = [0,1,6,8]\n n_last = int(N[-1])\n if n_last == 3:\n print("bon")\n elif (n_last in L):\n print("pon")\n else:\n print("hon")\n \n \nmain()']
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s021137996', 's071418318', 's264498195', 's525476624', 's717950045', 's818627622', 's482782476']
[9176.0, 9176.0, 9088.0, 9176.0, 9116.0, 9104.0, 9172.0]
[25.0, 22.0, 20.0, 25.0, 24.0, 25.0, 23.0]
[165, 194, 190, 171, 170, 176, 194]
p02675
u357403505
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['N = input()\nif N[-1] in \'24579\'\n print(\'hon\')\nelif N[-1] in "0168":\n print(\'pon\')\nelse:\n print(\'bon\')', " input()\nif N[-1] in '24579'\n print('hon')\nelif N[-1] in '0168':\n print('pon')\nelse:\n print('bon')", 'N = input()\nif N % 3 == "3":\n print(\'bon\')\nelif N % 3 == "0" or "1" or "6" or "8":\n print(\'pon\')\nelse:\n print(\'hon\')', 'N = input()\nif N[-1] in \'3\'\n print(\'bon\')\nelif N[-1] in "0168":\n print(\'pon\')\nelse:\n print(\'hon\')', "n = input()\nif n[-1] in '24579':\n print('hon')\nelif n[-1] in '0168':\n print('pon')\nelse:\n print('bon')"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s096004082', 's294048524', 's411332929', 's783681888', 's039385057']
[8956.0, 8984.0, 9076.0, 8824.0, 9044.0]
[22.0, 22.0, 21.0, 25.0, 23.0]
[111, 107, 125, 107, 111]
p02675
u360748099
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['N = int(input())\nN%=10\nif N == 3:\n print("bon")\nelif N == 0 or N == 1 or N == 6 N == 8:\n print("pon")\nelse:\n print("hon")', 'N = int(input())\nN%=10\nif N == 3:\n print("bon")\nelif N == 0 or N == 1 or N == 6 or N == 8:\n print("pon")\nelse:\n print("hon")']
['Runtime Error', 'Accepted']
['s462405999', 's388937478']
[8956.0, 9164.0]
[20.0, 22.0]
[130, 133]
p02675
u361370396
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['str = input()\na = str[-1:]\nif a == 3:\n\tresult = "bon"\nelif (a == 0) or (a == 1) or (a == 6) or (a == 8):\n \tresult = "pon"\nelif (a == 2) or (a == 4) or (a == 5) or (a == 7) or (a == 9):\n \tresult = "hon"\nelse:\n \tresult = "hon"\n \nprint(result)', 'max_len = int(input())\nstr = input()\nstr_len = len(str)\nif str_len <= max_len:\n print(str)\nelse:\n print(str[0:max_len] + "...")', 'str = input()\na = str[-1:]\nif a == 3:\n\tresult = "bon"\nelif (a == 0) or (a == 1) or (a == 6) or (a == 8):\n \tresult = "pon"\nelif (a == 2) or (a == 4) or (a == 5) or (a == 7) or (a == 9):\n \tresult = "hon"\n \nprint(result)\n', 'str = input()\na = str[-1:]\nif a == "3"\n\tresult = "bon"\n elseif (a == "0") or (a == "1") or (a == "6") or (a == "8")\n \tresult ="pon"\n else \n \tresult = "hon"\n \nprint(result)', 'str = input()\na = str[-1:]\nif a == "3":\n\tresult = "bon"\nelif (a == "0") or (a == "1") or (a == "6") or (a == "8"):\n \tresult = "pon"\nelif (a == "2") or (a == "4") or (a == "5") or (a == "7") or (a == "9"):\n \tresult = "hon"\nelse:\n \tresult = "ng"\n \nprint(result)']
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s021870693', 's496090433', 's920199482', 's955196754', 's526744400']
[9124.0, 9112.0, 9008.0, 8940.0, 9044.0]
[20.0, 24.0, 20.0, 22.0, 23.0]
[246, 129, 223, 178, 265]
p02675
u366424761
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["a = int(input())\nif a[-1] == 3:\n print('bon')\nelif a[-1]==0 or a[-1]==1 or a[-1]==6 or a[-1]==8:\n print('pon')\nelse:\n print('hon')", "a = str(input())\nif a[-1] == '3':\n print('bon')\nelif a[-1]=='0' or a[-1]=='1' or a[-1]=='6' or a[-1]=='8':\n print('pon')\nelse:\n print('hon')"]
['Runtime Error', 'Accepted']
['s445735418', 's753934837']
[9152.0, 9112.0]
[22.0, 20.0]
[139, 149]
p02675
u368270116
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['n=int(input())\nif n==2 or n==4 or n==5 or n==7 or n==9:\n print("hon")\nelif n==0 or n==1 or n==6 or n==8:\n print("pon")\nelse:\n print("bon")\n\n', 'm=int(input())\nn=m%10\nif n==2 or n==4 or n==5 or n==7 or n==9:\n print("hon")\nelif n==0 or n==1 or n==6 or n==8:\n print("pon")\nelif n==3:\n print("bon")']
['Wrong Answer', 'Accepted']
['s990666477', 's731479317']
[9164.0, 9176.0]
[23.0, 22.0]
[143, 159]
p02675
u369079926
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["import sys\n\nn = sys.stdin.readline()\n\nlast = int(n[-1])\n\nresult = ''\nif last in [0,1,6,8]:\n result = 'pon'\nelif last == 3:\n result = 'bon'\nelse:\n result = 'hon'\n\nprint(result)", "import sys\n\nn = sys.stdin.readline()\n\nlast = int(n[-1])\n\nresutl = ''\nif last in [0,1,6,8]:\n result = 'pon'\nelif last == 3:\n result = 'bon':\nelse:\n result = 'hon'\n\nprint(result)", "import sys\n \nn = sys.stdin.readline()\n \nlast = int(n[-1])\n \nresult = ''\nif last in [0,1,6,8]:\n result = 'pon'\nelif last == 3:\n result = 'bon'\nelse:\n result = 'hon'\n \nprint(result)", "import sys\n\nn = sys.stdin.readline()\n\nlast = int(n[-1])\n\nresult = ''\nif last in [0,1,6,8]:\n result = 'pon'\nelif last == 3:\n result = 'bon'\nelse:\n result = 'hon'\n\nprint(result)", "n = input()\n \nlast = int(n[-1])\n \nresult = ''\nif last in [0,1,6,8]:\n result = 'pon'\nelif last == 3:\n result = 'bon'\nelse:\n result = 'hon'\n \nprint(result)"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s031300375', 's803761302', 's950775432', 's966294560', 's984342639']
[9172.0, 9020.0, 9144.0, 8888.0, 9068.0]
[24.0, 29.0, 25.0, 28.0, 27.0]
[184, 185, 188, 184, 162]
p02675
u369796672
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['N = str(input())\n \nF = N[-1]\n \nif F == "3":\n print("bon")\nelif F == "2" or "4" or "5" or "7" or "9":\n print("hon")\nelse:\n print("pon")', 'N = str(input())\n \nF = N[-1]\n \nif F == "3":\n print("bon")\nelif F == "0" or F == "1" or F == "6" or F == "8":\n print("pon")\nelse:\n print("hon")']
['Wrong Answer', 'Accepted']
['s740965148', 's649313647']
[9108.0, 9100.0]
[20.0, 22.0]
[137, 145]
p02675
u373858851
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["N=int(input())\n\nif N%10 in [2,4,5,7,9]:\n print('hon')\nelif N%10 in[0,1,6,8]:\n print('pon')\nelse:\n print('bon)\n", "K=int(input())\nS=input()\n\ndef printt(S,K):\n if len(S)<=K:\n print(S)\n else:\n print(S[:K]+'...')\n \nprintt(S,K)\n", "N=int(input())\n\nif N%10 in (2,4,5,7,9):\n print('hon')\nelif N%10 in(0,1,6,8):\n print('pon')\nelse:\n ptint('bon)", "K=int(input())\nS=input()\n\ndef printt(S,K):\n if len(S)<=K:\n print(S)\n else:\n print(S[:k],'...')\n \nprintt(S,K)\n", "K=int(input())\nS=input()\n\ndef printt(S,K):\n if len(S)<=K:\n print(S)\n else:\n print(s[:k]+'...')\n \nprintt(S,K)\n", "K=int(input())\nS=input()\n\ndef printt(S,K):\n if len(S)<=K:\n print(S)\n else:\n print(S[:k]+'...')\n \nprintt(S,K)\n", "N=int(input())\n\ndef ass(N):\n if N%10 in [2,4,5,7,9]:\n print('hon')\n elif N%10 in [0,1,6,8]:\n print('pon')\n else:\n print('bon')\n \nass(N)\n"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s086670654', 's260852772', 's330992211', 's849525745', 's932974694', 's967049590', 's003502354']
[8932.0, 9160.0, 8896.0, 9056.0, 9048.0, 9040.0, 9004.0]
[22.0, 21.0, 25.0, 23.0, 22.0, 20.0, 20.0]
[113, 122, 112, 122, 122, 122, 150]
p02675
u376637061
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["N = input()\nr = N%10\nif r == 2 or r==4 or r==5 or r==7 or r==9:\n print('hon')\nelif r == 0 or r == 1 or r == 6 or r == 8:\n print('pon')\nelse:\n print('bon')\n", "N = int(input())\nr = N % 10\nif r == 2 or r==4 or r==5 or r==7 or r==9:\n print('hon')\nelif r == 0 or r == 1 or r == 6 or r == 8:\n print('pon')\nelse:\n print('bon')\n"]
['Runtime Error', 'Accepted']
['s626463334', 's910618176']
[9116.0, 9176.0]
[24.0, 21.0]
[158, 165]
p02675
u378233069
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['N = int(input())\n \nif N % 10 == {2,4,5,7,9} :\n print("hon")\n \nelif N % 10 == {0,1,6,8} :\n print("pon")\n \nelif N % 10 == 3 :\n print("bon")', 'N = int(input())\n\nif N % 10 == 2,4,5,7,9 :\n print("hon")\n\nelif N % 10 == 0,1,6,8 :\n print("pon")\n\nelif N % 10 == 3 :\n print("bon")', 'N = int(input())\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\n \nif N % 10 in hon :\n print("hon")\n \nelif N % 10 in pon :\n print("pon")\n \nelif N % 10 == 3 :\n print("bon")']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s001653656', 's608731728', 's883994438']
[9124.0, 8896.0, 9164.0]
[22.0, 21.0, 25.0]
[140, 133, 160]
p02675
u380854465
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["N = int(input())\nS = str(input())\nif N < len(S):\n S = S[:N]+'...'\nprint(S)\n\n", "N = str(input())\nN = int(N[-1])\nif N in [2,4,5,7,9]:\n print('hon')\nelif N in [0,1,6,8]:\n print('pon')\nelse:\n print('bon')\n\n\n\n"]
['Runtime Error', 'Accepted']
['s219905268', 's515521469']
[9152.0, 9088.0]
[21.0, 24.0]
[79, 134]
p02675
u382169668
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['n = int(input())\nif n[-1] in [1, 4, 5, 7, 9] :\n\tprint("hon")\nelif n[-1] in [0, 1, 6, 8]:\n print("pon")\nelse:\n print("bon")\n ', 'n = input()\nif int(n[len(n)-1]) in [2, 4, 5, 7, 9] :\n\tprint("hon")\nelif int(n[len(n)-1]) in [0, 1, 6, 8]:\n print("pon")\nelse:\n print("bon")\n \n']
['Runtime Error', 'Accepted']
['s073142355', 's670385195']
[9068.0, 9172.0]
[21.0, 24.0]
[127, 145]
p02675
u384744829
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['N= int(input())\n\nN1=N%10\n\nif N1=2,4,5,7,9:\n\tprint(hon)\nelif N1=0,1,6,8:\n\tprint(pon)\nelse:\n \tprint(bon)\n', 'N= int(input())\n \nN1=N%10\n\nif N1 in (2,4,5,7,9):\n\tprint("hon")\n\nelif N1 in (0,1,6,8):\n\tprint("pon")\nelse:\n\tprint("bon")']
['Runtime Error', 'Accepted']
['s614475259', 's189111588']
[8964.0, 9116.0]
[27.0, 26.0]
[104, 119]
p02675
u385733796
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['N = input()\n\nlastnum = int(N)[-1]\n\nif lastnum in [0,1,6,8]\nprint("pon")\n\nelsif lastnum in [3]\nprint("bon")\n\nelse\nprint("hon")\n', 'N = int(input())\n\nlastnum = N[-1]\n\nif lastnum in [0,1,6,8]\nprint("pon")\n\nelsif lastnum in [3]\nprint("bon")\n\nelse\nprint("hon")\n', 'N = int(input())\n\nlastnum = N % 10\n\nif lastnum in [0,1,6,8]\nprint("pon")\n\nelif lastnum in [2,4,5,7,9]\nprint("hon")\n\nelse:\nprint("bon")\n', 'import networkx as nx\nN,M = map(int, input().split())\nE = [list(map(int,input().split())) for i in range(M)]\n\nG = nx.Graph() \nG.add_edges_from(E)\ndi = nx.predecessor(G, source = 1)\n\nprint("Yes")\nfor i in range(2,N+1):\n print(di[i][0])\n', 'N = input()\n\nlastnum = N % 10\n\nif lastnum in [0,1,6,8]\n\tprint("pon")\n\nelif lastnum in [2,4,5,7,9]\n\tprint("hon")\n\nelse:\n\tprint("bon")\n', 'N = int(input())\n\nlastnum = N % 10\n\nif lastnum in [0,1,6,8]\n\tprint("pon")\n\nelif lastnum in [2,4,5,7,9]\n\tprint("hon")\n\nelse:\n\tprint("bon")\n', 'N = int(input())\n\nlastnum = N % 10\n\nif lastnum in [0,1,6,8]\nprint("pon")\n\nelif lastnum in [3]\nprint("bon")\n\nelse:\nprint("hon")\n', 'N = int(input())\n\nlastnum = N[-1]\n\nif lastnum in [0,1,6,8]\nprint("pon")\n\nelif lastnum in [3]\nprint("bon")\n\nelse:\nprint("hon")\n', 'N = input()\n\nlastnum = N[-1]\n\nif lastnum in list[0,1,6,8]\nprint("pon")\n\nelsif lastnum in list[3,]\nprint("bon")\n\nelse\nprint("hon")', 'N = int(input())\n\nlastnum = N[-1]\n\nif lastnum in [0,1,6,8]\nprint("pon")\n\nelif lastnum in [3]\nprint("bon")\n\nelse\nprint("hon")\n', 'N = int(input())\n\nlastnum = N[-1]\n\nif lastnum in list[0,1,6,8]\nprint("pon")\n\nelsif lastnum in list[3,]\nprint("bon")\n\nelse\nprint("hon")\n', 'N = int(input())\n\nlastnum = N % 10\n\nif lastnum in [0,1,6,8]:\n\tprint("pon")\n\nelif lastnum in [2,4,5,7,9]:\n\tprint("hon")\n\nelse:\n\tprint("bon")\n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s090188374', 's143650484', 's377614410', 's438892586', 's471863969', 's502120786', 's576668767', 's579975623', 's652568793', 's778327696', 's789018425', 's643930331']
[8948.0, 9020.0, 9008.0, 53180.0, 8908.0, 8956.0, 9028.0, 8936.0, 8952.0, 9016.0, 8844.0, 9160.0]
[26.0, 21.0, 25.0, 317.0, 25.0, 26.0, 24.0, 23.0, 21.0, 19.0, 22.0, 23.0]
[126, 126, 135, 236, 133, 138, 127, 126, 129, 125, 135, 140]
p02675
u386439695
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['N = int(input())\n\nif N in {2,4,5,7,9}:\n print("hon")\nelif N in {0,1,6,8}:\n print("pon")\nelif N == 3:\n print("bon")', 'N = input()\n\nN = N[-1]\nif N in {"2","4","5","7","9"}:\n print("hon")\nelif N in {"0","1","6","8"}:\n print("pon")\nelif N == "3":\n print("bon")\n\n\n']
['Wrong Answer', 'Accepted']
['s818983046', 's709005317']
[9172.0, 9104.0]
[25.0, 22.0]
[123, 151]
p02675
u387610588
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['t=int(input())\na=[2,4,5,7,9]\nx=n%10\nif x in a:\n print("hon")\nelif x==3:\n print("bon")\nelse:\n print("pon")', 'n=int(input())\na=[2,4,5,7,9]\nx=n%10\nif x in a:\n print("hon")\nelif x==3:\n print("bon")\nelse:\n print("pon")\n']
['Runtime Error', 'Accepted']
['s051833054', 's247450148']
[9164.0, 9164.0]
[22.0, 22.0]
[108, 109]
p02675
u388532391
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['num = input()\n\nif num[::-1] in "24579":\n print("bon")\nelif num[::-1] in "0168":\n print("pon")\nelif num[::-1] in "3":\n print("pon")\n', 'num = str(input())[-1]\n\nif num in "24579":\n print("hon")\nelif num in "0168":\n print("pon")\nelif num in "3":\n print("bon")\n']
['Wrong Answer', 'Accepted']
['s130993009', 's461362575']
[9088.0, 9024.0]
[23.0, 24.0]
[140, 131]
p02675
u390883247
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['import math\n\nA,B,H,M = map(int,input().split())\nangH = 30.0*H+0.5*M\nangM = 6.0*M\nangD = abs(angH-angM)\n\nif angD > 180.0:\n angD = 360.0-angD\ncosD = math.cos(math.radians(angD))\nans2 = A*A + B*B - 2*A*B *cosD\nans = math.sqrt(ans2)\nprint(ans)', "data = ['pon','pon','hon','bon','hon','hon','pon','hon','pon','hon']\nn = int(input()) % 10\nprint(data[n])"]
['Runtime Error', 'Accepted']
['s753707065', 's862365280']
[9180.0, 9104.0]
[20.0, 22.0]
[242, 105]
p02675
u391328897
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['import sys\n\n\ndef int1(x): return int(x) - 1\ndef ii(): return int(sys.stdin.readline())\ndef mi(): return map(int, sys.stdin.readline().split())\ndef mi1(): return map(int1, sys.stdin.readline().split())\ndef li(): return list(map(int, sys.stdin.readline().split()))\ndef lli(rows_number): return [li() for _ in range(rows_number)]\n\n\nif __name__ == "__main__":\n n = ii()\n one = int(str(n)[-1])\n if one in [2,4,5,7,9]:\n print(str(n) + \'hon\')\n elif one in [0,1,6,8]:\n print(str(n) + \'pon\')\n else:\n print(str(n) + \'bon\')', 'import sys\n\n\ndef int1(x): return int(x) - 1\ndef ii(): return int(sys.stdin.readline())\ndef mi(): return map(int, sys.stdin.readline().split())\ndef mi1(): return map(int1, sys.stdin.readline().split())\ndef li(): return list(map(int, sys.stdin.readline().split()))\ndef lli(rows_number): return [li() for _ in range(rows_number)]\n\n\nif __name__ == "__main__":\n n = ii()\n one = int(str(n)[-1])\n if one in [2,4,5,7,9]:\n print(\'hon\')\n elif one in [0,1,6,8]:\n print(\'pon\')\n else:\n print(\'bon\')']
['Wrong Answer', 'Accepted']
['s937565844', 's244191690']
[9076.0, 9144.0]
[27.0, 25.0]
[548, 521]
p02675
u391442102
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["K = int(input())\nS = input()\n\nif K >= len(S):\n print(S)\nelse:\n print(S[0:K]+'...')\n", "N = input()\nif int(N[-1]) == 2 or int(N[-1]) == 4 or int(N[-1]) == 5 or int(N[-1]) == 7 or int(N[-1]) == 9:\n print('hon')\nelif int(N[-1]) == 0 or int(N[-1]) == 1 or int(N[-1]) == 6 or int(N[-1]) == 8:\n print('pon')\nelif int(N[-1]) == 3:\n print('bon')"]
['Runtime Error', 'Accepted']
['s157066748', 's590695415']
[9108.0, 9148.0]
[22.0, 22.0]
[85, 253]
p02675
u393881437
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["k = int(input())\ns = input()\n\nprint(s if len(s) <= k else s[0:k] + '...')\n", "n = input()\nn1 = int(n[-1])\n\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\n\nif hon.count(n1):\n print('hon')\nelif pon.count(n1):\n print('pon')\nelse:\n print('bon')\n"]
['Runtime Error', 'Accepted']
['s731887348', 's644446099']
[9096.0, 9168.0]
[22.0, 22.0]
[74, 159]
p02675
u394731058
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["import sys\n\ninput = sys.stdin.readline\n\ndef main():\n S = input()\n t = '0168'\n if S[-1] == '3':\n print('bon')\n elif S[-1] in t:\n print('pon')\n else:\n print('hon')\nif __name__ == '__main__':\n main()", "import sys\n\ninput = sys.stdin.readline\n\ndef main():\n S = input().rstrip('\\n')\n t = '0168'\n if S[-1] == '3':\n print('bon')\n elif S[-1] in t:\n print('pon')\n else:\n print('hon')\nif __name__ == '__main__':\n main()"]
['Wrong Answer', 'Accepted']
['s474563337', 's867368324']
[9108.0, 9052.0]
[20.0, 25.0]
[235, 248]
p02675
u395010524
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['i = int(input()) \n\ni = i % 100\n\nif i == 3:\n print("bon")\nelif i == 0 or i == 1 or i == 6 or i == 8:\n print("pon")\nelse:\n print("hon") ', 'i = int(input()) \n\ni = i % 10\nif i == 3:\n print("bon")\nelif i == 0 or i == 1 or i == 6 or i == 8:\n print("pon")\nelse:\n print("hon") ']
['Wrong Answer', 'Accepted']
['s283351628', 's347562731']
[9100.0, 9168.0]
[22.0, 22.0]
[177, 176]
p02675
u398182947
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['N = input\n\nif N[-1:] == "2"or"4"or"5"or"7"or"9":\n print("hon")\nelif N[-1:] == "0"or"1"or"6"or"8":\n print("pon")\nelif N[-1:] == "3":\n print("bon")', 'N = input()\nn = N[-1:]\n\nif n == "2" or n == "4" or n == "5" or n == "7" or n == "9":\n print("hon")\nelif n == "0" or n == "1" or n == "6" or n == "8":\n print("pon")\nelif n == "3":\n print("bon")']
['Runtime Error', 'Accepted']
['s963369604', 's583489587']
[9052.0, 9108.0]
[23.0, 36.0]
[154, 201]
p02675
u399437472
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['import networkx as nx\nN, M = map(int, input().split())\n\nedge_list = s = [input().split() for i in range(M)]\nG = nx.Graph()\nG.add_edges_from(edge_list)\n\nif [] in nx.shortest_path(G, target=str(1)).values():\n print("No")\nelse:\n print("Yes")\n for i in range(len(list(nx.shortest_path(G, target=str(1)).values()))-1):\n print(nx.shortest_path(G, target=str(1))[str(i+2)][1])\n ', 'a = input()\na = int(a)\n\nif a % 10 == 2 or a % 10 == 4 or a % 10 == 5 or a % 10 == 7 or a % 10 == 9:\n print("hon")\nelif a % 10 == 0 or a % 10 == 1 or a % 10 == 6 or a % 10 == 8:\n print("pon")\nelse:\n print("bon")']
['Runtime Error', 'Accepted']
['s658305713', 's176382518']
[53100.0, 9052.0]
[320.0, 20.0]
[382, 219]
p02675
u401645051
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['import math\nchou, tan, ji, hun = map(int,input().split())\n\nkakudo = abs(((ji*30 + hun*.5) - (hun*6)))\n\nif kakudo > 180:\n kakudo = kakudo-360\nkakudo = abs(math.cos(math.radians(kakudo)))\nans =( chou**2 + tan**2 - 2*chou*tan*kakudo)**.5\nprint(ans)', 'import math\nchou, tan, ji, hun = map(int,input().split())\n\nkakudo = abs(((ji*30 + hun*.5) - (hun*6)))\n\nif kakudo > 180:\n kakudo = 360 - kakudo\n\nkakudo = abs(math.cos(math.radians(kakudo)))\nans =( chou**2 + tan**2 - 2*chou*tan*kakudo)**.5\nprint(ans)', 'import math\nchou, tan, ji, hun = map(int,input().split())\n\nkakudo = abs(((ji*30 + hun*.5) - (hun*6)))\n\nif kakudo > 180:\n kakudo = abs(kakudo - 360)\n\nkakudo = abs(math.cos(math.radians(kakudo)))\nans =( chou**2 + tan**2 - 2*chou*tan*kakudo)**.5\nprint(ans)', 'm = 0\nm = input () \nm = m % 10\nif(m == 2,4,5,7,9):\n print("hon") \nelif(m == 0,1,6,8):\n print("pon") \nelse:\n print("bon")', 'import math\nchou, tan, ji, hun = map(int,input().split())\n\nkakudo = abs(((ji*30 + hun*.5) - (hun*6)))\n\nif kakudo > 180:\n kakudo = abs(360 - kakudo)\nprint(kakudo)\nkakudo = abs(math.cos((math.radians(kakudo))))\nans =( chou**2 + tan**2 - 2*chou*tan*kakudo)**.5\nprint(ans)', 'k = int(input())\ns = str(input())\nif k<len(s):\n s = s[:k:1] + "..."\nelse:\n pass\n\nprint(s)\n', 'n = int(input())%10\nif(n == 2,4,5,7,9):\n print("hon") \nelif(n == 0,1,6,8):\n print("pon") \nelse:\n print("bon")', 'n = int(input())%10\nif n in {2, 4, 5, 7, 9}:\n print("hon") \nelif(n == 3):\n print("bon") \nelse:\n print("pon")\n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s403669191', 's613125058', 's625222194', 's679532540', 's747357117', 's843362355', 's931493554', 's969021392']
[9120.0, 9104.0, 9132.0, 9028.0, 9204.0, 9160.0, 9164.0, 9168.0]
[23.0, 22.0, 26.0, 22.0, 22.0, 21.0, 22.0, 24.0]
[248, 251, 256, 129, 271, 96, 118, 118]
p02675
u401686269
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["n = input()[-1]\nif n in {2,4,5,7,9}:\n print('hon')\nelif n in {0,1,6,8}:\n print('pon')\nelse:\n print('bon')", "n = int(input()[-1])\nif n in {2,4,5,7,9}:\n print('hon')\nelif n in {0,1,6,8}:\n print('pon')\nelse:\n print('bon')"]
['Wrong Answer', 'Accepted']
['s251348157', 's087587203']
[8712.0, 9092.0]
[30.0, 28.0]
[108, 113]
p02675
u402256496
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['num = int(input())\n\nhonlist = [2,4,5,7,9]\nponlist = [0,1,6,8]\nbonlist = [3]\n\nif num in honlist:\n print("hon")\nelif num in ponlist:\n print("pon")\nelse:\n print("bon")', 'inp = input()\ninp = inp.split()\nN = int(inp[0])\nM = int(inp[1])\nBigM = N+2\n\nE = []\nfor m in range(M):\n abinp = input()\n abinp = abinp.split()\n a = int(abinp[0])\n b = int(abinp[1])\n E.append(set([a,b]))\n\noutput = [0] + [0] + [BigM]*(N-1)\nprev_cnt = 0\nnow = [1]\n\nwhile len(now) > 0:\n n = now.pop(0)\n print("n=",n)\n prev_cnt += 1\n elist = []\n for e in E:\n if n in e:\n elist.append(e)\n for e in elist:\n next = list(e - set([n]))[0]\n if output[next] == BigM:\n output[next] = n\n now.append(int(next))\n E.remove(e)\n print(E)\n\nif prev_cnt == N:\n print("Yes")\n for n in range(2,N+1):\n print(output[n])\nelse:\n print("No")\n\n\n', 'inp = input()\ninp = inp.split()\nN = int(inp[0])\nM = int(inp[1])\nBigM = N+2\n\nE = []\nfor m in range(M):\n abinp = input()\n abinp = abinp.split()\n a = int(abinp[0])\n b = int(abinp[1])\n E.append(set([a,b]))\n\noutput = [0] + [0] + [BigM]*(N-1)\nprev_cnt = 0\nnow = [1]\n\nwhile len(now) > 0:\n n = now.pop(0)\n prev_cnt += 1\n for e in E:\n if n in e:\n next = list(e - set([n]))[0]\n if output[next] == BigM:\n output[next] = n\n now.append(int(next))\n E.remove(e)\n\nif prev_cnt == N:\n print("Yes")\n for n in range(2,N+1):\n print(output[n])\nelse:\n print("No")\n\n\n', 'num = int(input())%10\n\nhonlist = [2,4,5,7,9]\nponlist = [0,1,6,8]\nbonlist = [3]\n\nif num in honlist:\n print("hon")\nelif num in ponlist:\n print("pon")\nelse:\n print("bon")']
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s462800009', 's642827913', 's645085325', 's772406297']
[9132.0, 9276.0, 9260.0, 8980.0]
[26.0, 22.0, 26.0, 22.0]
[173, 739, 657, 176]
p02675
u403187418
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['N = input()\n\none = N[len(N)-1]\nprint("one:"+one)\n\nif one == "3":\n print("bon")\nelif one == "0" or one == "1" or one == "6" or one == "8":\n print("pon")\nelse:\n print("hon")\n', 'N = input()\n\none = N[len(N)-1]\n\nif one == "3":\n print("bon")\nelif one == "0" or one == "1" or one == "6" or one == "8":\n print("pon")\nelse:\n print("hon", end="")\n']
['Wrong Answer', 'Accepted']
['s029737321', 's463822285']
[9040.0, 8968.0]
[24.0, 22.0]
[181, 171]
p02675
u404789658
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['N = input()\n\nprint(N[-1:])\nif (N[-1:] == \'2\')|(N[-1:] == \'4\') | (N[-1:] == \'5\') |(N[-1:] == \'7\') |(N[-1:] == \'9\'):\n print("hon")\nelif (N[-1:] == \'0\') | (N[-1:] == \'1\') | (N[-1:] == \'6\') | (N[-1:] == \'8\'):\n print("pon")\nelse :\n print("bon")\n', 'N = input()\n\nif (N[-1:] == \'2\')|(N[-1:] == \'4\') | (N[-1:] == \'5\') |(N[-1:] == \'7\') |(N[-1:] == \'9\'):\n print("hon")\nelif (N[-1:] == \'0\') | (N[-1:] == \'1\') | (N[-1:] == \'6\') | (N[-1:] == \'8\'):\n print("pon")\nelse :\n print("bon")\n']
['Wrong Answer', 'Accepted']
['s100090073', 's276070668']
[9068.0, 9116.0]
[23.0, 22.0]
[249, 235]
p02675
u405137387
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["n = int(input())\nh = list(map(int, input().split())) \n\n\nif(h[-1]==2 or h[-1]==4 or h[-1]==5 or h[-1]==7 or h[-1]==9):\n print('hon')\nelif(h[-1]==0 or h[-1]==1 or h[-1]==6 or h[-1]==8):\n print('pon')\nelse:\n print('bon')\n", 'n = int(input())\nh = list(map(int, input().split())) \n\n\nif(h[-1]==2 or h[-1]==4 or h[-1]==5 or h[-1]==7 or h[-1]==9):\n print("hon")\nelif(h[-1]==0 or h[-1]==1 or h[-1]==6 or h[-1]==8):\n print("pon")\nelse:\n print("bon")\n', "\nh = list(map(int, input().split())) \n\n\nif(h[-1]==2 or h[-1]==4 or h[-1]==5 or h[-1]==7 or h[-1]==9):\n print('hon')\nelif(h[-1]==0 or h[-1]==1 or h[-1]==6 or h[-1]==8):\n print('pon')\nelse:\n print('bon')\n", "n = int(input())\nnlis = list(map(int, input().split())) \n\nif nlis[-1] == 2 or nlis[-1] == 4 or nlis[-1] == 5 or nlis[-1] == 7 or nlis[-1] == 9:\n print('hon')\nelif nlis[-1] == 0 or nlis[-1] == 1 or nlis[-1] == 6 or nlis[-1] == 8:\n print('pon')\nelse:\n print('bon')\n", 'n = int(input())\nh = list(map(int, input().split())) \n\n\nif(h[-1]==2 or h[-1]==4 or h[-1]==5 or h[-1]==7 or h[-1]==9):\n print("hon")\nelif(h[-1]==0 or h[-1]==1 or h[-1]==6 or h[-1]==8):\n print("pon")\nelse:\n print("bon")\n', "n = input()\nnlis = list(n)\n\nif nlis[-1] == '2' or nlis[-1] == '4' or nlis[-1] == '5' or nlis[-1] == '7' or nlis[-1] == '9':\n print('hon')\nelif nlis[-1] == '0' or nlis[-1] == '1' or nlis[-1] == '6' or nlis[-1] == '8':\n print('pon')\nelse:\n print('bon')\n"]
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s092293380', 's128281831', 's416859477', 's734241969', 's950772031', 's783180583']
[9008.0, 9192.0, 9192.0, 9192.0, 9196.0, 8968.0]
[22.0, 23.0, 19.0, 22.0, 24.0, 22.0]
[326, 326, 310, 325, 326, 260]
p02675
u405483159
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['n = int( input() )\n\nif n in [2,4, 5,7, 9]:\n print( "hon" )\nelif n in [ 0,1,6,8]:\n print( "pon" )\nelse:\n print( "bon" )\n\n', 'n =input()\n \nn = n[-1]\nif n in ["2", "4", "5", "7", "9"]:\n print( "hon" )\nelif n in [ "0", "1", "6", "8"]:\n print( "pon" )\nelse:\n print( "bon" )']
['Wrong Answer', 'Accepted']
['s147078441', 's294184456']
[9156.0, 9044.0]
[19.0, 22.0]
[129, 153]
p02675
u408071652
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['\nk = int(input())\ns = input()\nif len(s)>k:\n print(s[0:k],"...")\nelsea\n print(s)\n', 'k = int(input())\ns = input()\nif len(s)>k:\n print(s[0:k],"...",sep="")\nelse:\n print(s)\n', 'k = int(input())\ns = input()\nif len(s)>k:\n print(s[0:k],"...")\nelse:\n print(s)\n', 'import numpy as np\na = int(input())\nb = a % 10\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\nbon = [3]\nif b in hon:\n print("hon")\nelif b in pon:\n print("pon")\nelse:\n print("bon")\n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s009447714', 's481567288', 's670837333', 's262301588']
[8948.0, 9080.0, 9144.0, 27112.0]
[25.0, 23.0, 26.0, 104.0]
[86, 92, 85, 176]
p02675
u408800324
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['n = input()\nif n[-1]==2 or n[-1]==4 or n[-1]==5 or n[-1]==7 or n[-1]== 9:\n print("hon")\nelif n[-1]==0 or n[-1]==1 or n[-1]==6 or n[-1]==8:\n print("pon")\nelse:\n print("bon")\n ', 'n = input()\n\nif n[-1]==\'2\' or n[-1]==\'4\' or n[-1]==\'5\' or n[-1]==\'7\' or n[-1]==\'9\':\n print("hon")\nelif n[-1]==\'0\' or n[-1]==\'1\' or n[-1]==\'6\' or n[-1]==\'8\':\n print("pon")\nelse:\n print("bon")']
['Wrong Answer', 'Accepted']
['s015068057', 's391990459']
[9108.0, 9120.0]
[24.0, 22.0]
[178, 193]
p02675
u409371339
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['import math\n\na, b, h, m = map(int, input().split())\ncolon = float()\n\nh_angle = 30 * h\nm_angle = 6 * m\n\nangle = abs(h_angle - m_angle)\n\nif angle >= 180:\n angle -= 180\n\n\ncolon = a ** 2 + b ** 2 - 2 * a * b * (math.cos(math.radians(angle)))\n\nprint(math.sqrt(colon))', 'n = int(input())\nlist = []\nwhile n > 0:\n list.append(n % 10)\n n //= 10\n\nif (list[0]) == 2 or 4 or 5 or 7 or 9:\n print("hon")\nelif (list[0]) == 0 or 1 or 6 or 8:\n print("pon")\nelse: #(list[0]) == 3\n print("bon")', 'n = int(input())\n\nlist = []\nlist_hon = [2,4,5,7,9]\nlist_pon = [0,1,6,8]\n\nwhile n > 0:\n list.append(n % 10)\n n //= 10\n\nif list[0] in list_hon:\n print("hon")\nelif list[0] in list_pon:\n print("pon")\nelse: #(list[0]) == 3\n print("bon")\n']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s602161984', 's794967113', 's175091314']
[9196.0, 9200.0, 9172.0]
[23.0, 20.0, 24.0]
[267, 225, 247]
p02675
u409974118
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['a=input()\nb=(a[-1])\nif b == "3":\n print(a+"bon")\nelif b == "0" or b =="1" or b =="6" or b =="8":\n print(a+"pon")\nelse :\n print(a+"hon")', 'a=input()\nb=(a[-1])\nif b == "3":\n print(a+"bon")\nelif b == "0" or "1" or "6" or "8":\n print(a+"pon")\nelse :\n print(a+"hon")', 'a=int(print())\nb=print(a[-1])\nif b == 3:\n print(a+"bon")\nelif b ==0 or 1 or 6 or 8:\n print(a+"pon")\nelse :\n print(a+"hon")', 'a=input()\nb=(a[-1])\nif b == "3":\n print("bon")\nelif b == "0" or b =="1" or b =="6" or b =="8":\n print("pon")\nelse :\n print("hon")']
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s189853418', 's283317481', 's364336258', 's230030103']
[9040.0, 9040.0, 9100.0, 9032.0]
[22.0, 21.0, 19.0, 22.0]
[138, 126, 125, 132]
p02675
u411302151
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['N = input()\n\nif N[-1] == 3:\n print("bon")\nelif N[-1] in [0,1,6,8]:\n print("pon")\nelse:\n \tprint("hon")', 'N = input()\n\nif N[-1] == "3":\n print("bon")\nelif N[-1] in ["0","1","6","8"]:\n print("pon")\nelse:\n \tprint("hon")\n']
['Wrong Answer', 'Accepted']
['s787484071', 's188147064']
[9104.0, 9032.0]
[23.0, 24.0]
[104, 119]
p02675
u411858517
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["n = input()\n\nif n[-1] in [2,4,5,7,9]:\n print('hon')\n \nelif n[-1] in [0, 1, 6, 8]:\n print('pon')\n \nelse:\n print('bon')\n", "n = input()\n\nif int(n[-1]) in [2, 4, 5, 7, 9]:\n print('hon')\nelif int(n[-1]) in [0, 1, 6, 8]:\n print('pon')\nelse:\n print('bon')"]
['Wrong Answer', 'Accepted']
['s107423498', 's589230715']
[9028.0, 9000.0]
[23.0, 27.0]
[123, 130]
p02675
u412694700
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["import sys\nn = int(raw_input())\nif n % 10 == 3:\n print('bon')\nelif n % 10 == 0 or n % 10 ==10 or n % 10 == 6 or n % 10 == 8:\n print('pon')\nelse:\n print('hon')", "n = int(input('a'))\nif n % 10 == 3:\n print('bon')\nelif n % 10 == 0 or n % 10 ==10 or n % 10 == 6 or n % 10 == 8:\n print('pon')\nelse:\n print('hon')", "n = int(input())\nif n % 10 == 3:\n print('bon')\nelif n % 10 == 0 or n % 10 == 1 or n % 10 == 6 or n % 10 == 8:\n print('pon')\nelse:\n print('hon')"]
['Runtime Error', 'Wrong Answer', 'Accepted']
['s028588204', 's686195227', 's026760290']
[8936.0, 9168.0, 9108.0]
[21.0, 21.0, 22.0]
[161, 149, 146]
p02675
u413423448
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['n=int(raw_input())\nlast=n % 10\nhon=[2,4,5,7,9]\npon=[0,1,6,8]\nbon=[3]\nif last in hon:\n print("hon")\nif last in pon:\n print("pon")\nif last in bon:\n print("bon")', 'n=int(input())\nlast=n % 10\nhon=[2,4,5,7,9]\npon=[0,1,6,8]\nbon=[3]\nif last in hon:\n print("hon")\nif last in pon:\n print("pon")\nif last in bon:\n print("bon")']
['Runtime Error', 'Accepted']
['s419645632', 's876137309']
[8960.0, 9196.0]
[22.0, 22.0]
[161, 157]
p02675
u414163108
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["K = int(input())\nS = input()\n\nif len(S) <= K:\n print(S)\nelse:\n print(S[0 : K] + '...')\n", 'N = str(input())\nnumbers = list(N)\nif numbers[-1] == \'3\':\n print("bon")\nelif numbers[-1] in [\'2\', \'4\', \'5\', \'7\', \'9\']:\n print("hon")\nelse:\n print("pon")\n']
['Runtime Error', 'Accepted']
['s985115052', 's964466029']
[9136.0, 8932.0]
[23.0, 19.0]
[93, 162]
p02675
u415849755
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['n = int(input("N = "))\nwhile n>=100:\n n -= 100\nwhile n>=10:\n n -= 10\n\nif n==3:\n print(\'bon\')\nelif n==0 or n==1 or n==6 or n==8:\n print(\'pon\')\nelse:\n print(\'hon\')', "N = int(input('N = '))\nwhile N>=100:\n N -= 100\nwhile N>=10:\n N -= 10\n\nif N==3:\n print('bon')\nelif N==0 or N==1 or N==6 or N==8:\n print('pon')\nelse:\n print('hon')", 'while True:\n n = input(\'N = \')\n try:\n n = int(n)\n except ValueError:\n print(n, \'は数値に変換できません。\')\n continue\n except:\n print("予期しないエラー")\n exit()\n if (n <=0 or n >999):\n print(n,"は範囲外の数値です。")\n continue\n\n while n>=100:\n n -= 100\n while n>=10:\n n -= 10\n\n if n==3:\n print(\'bon\')\n elif n==0 or n==1 or n==6 or n==8:\n print(\'pon\')\n else:\n print(\'hon\')', "N = int(input())\nwhile N>=100:\n N -= 100\nwhile N>=10:\n N -= 10\n\nif N==3:\n print('bon')\nelif N==0 or N==1 or N==6 or N==8:\n print('pon')\nelse:\n print('hon')"]
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s118429876', 's148487335', 's811976174', 's592291202']
[8984.0, 9172.0, 9096.0, 9180.0]
[25.0, 22.0, 21.0, 23.0]
[176, 176, 515, 170]
p02675
u417610915
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['Num = input()\nNum_last = Num[-1]\nfor i in Num_last:\n if i == 3:\n print("bon")\n elif i == 0 and i ==1 and i == 6 and i == 8:\n print("pon")\n else:\n print("hon")', 'num = int(input())\nlastNumber = int(repr(num)[-1])\nif lastNumber == 2 or lastNumber == 4 or lastNumber == 5 or lastNumber == 7 or lastNumber == 9:\n print("hon")\nelif lastNumber == 0 or lastNumber == 1 or lastNumber == 6 or lastNumber == 8:\n print("pon")\nelse:\n print("bon")\n\n']
['Wrong Answer', 'Accepted']
['s287452510', 's935871472']
[9108.0, 9176.0]
[20.0, 22.0]
[188, 284]
p02675
u417707749
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["data = input()\nname = ['pon','pon','hon', 'bon','hon','hon','pon','hon','pon','hon']\nprint(name[int(data[-1])]", "data = input()\nname = ['pon','pon','hon', 'bon','hon','hon','pon','hon','pon','hon']\nprint(name[int(data[-1])])"]
['Runtime Error', 'Accepted']
['s059774714', 's409191499']
[9036.0, 9000.0]
[22.0, 23.0]
[110, 111]
p02675
u418420470
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["N = int(input())\nif N == 3:\n print('bon')\nelif N == 0 or N ==1 or N == 6 or N == 8:\n print('pon')\nelse:\n print('hon')", "N = int(input())\nN = N%10\nif N == 3:\n print('bon')\nelif N == 0 or N ==1 or N == 6 or N == 8:\n print('pon')\nelse:\n print('hon')"]
['Wrong Answer', 'Accepted']
['s985338916', 's976835145']
[9168.0, 9168.0]
[22.0, 24.0]
[120, 129]
p02675
u419027570
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['num = int(input())\n\nif num == 3:\n print("bon")\nelif num == 0 or num == 1 or num == 6 or num == 8:\n print("pon")\nelse:\n print("hon")', 'num = input()\n\nif num[-1] == "3":\n print("bon")\nelif num[-1] == "0" or num[-1] == "1" or num[-1] == "6" or num[-1] == "8":\n print("pon")\nelse:\n print("hon")\n']
['Wrong Answer', 'Accepted']
['s821315453', 's397357597']
[9184.0, 8996.0]
[23.0, 24.0]
[134, 160]
p02675
u419963262
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['print("No")\n', 'n = input()\nif n[-1] in ["2", "4", "5", "7", "9"]:\n print("hon")\nelif n[-1] in ["0", "1", "6", "8"]:\n print("pon")\nelse:\n print("bon")\n']
['Wrong Answer', 'Accepted']
['s861591646', 's341105903']
[9084.0, 9100.0]
[23.0, 22.0]
[12, 144]
p02675
u421674761
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["n = input()\n\nif n[-1] == 3:\n print('bon')\nelif n[-1] == 0 or n[-1] == 1 or n[-1] == 6 or n[-1] == 8:\n print('pon')\nelse:\n print('hon')\n", "n = input()\n\na = n[-1]\nif a in '3':\n print('bon')\nelif a in '0168':\n print('pon')\nelse:\n print('hon')\n"]
['Wrong Answer', 'Accepted']
['s274479546', 's387563581']
[8992.0, 8924.0]
[25.0, 25.0]
[144, 111]
p02675
u422414797
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['n = input()\nif n[-1] == ("2"or"4"or"5"or"7",or9") :\n print("hon")\nelif n[-1] in("0"or"1"or"6"or"8"):\n print("pon")\nelse:\n print("bon")\n', 'import sys\n\nN = sys.argv[1]\n\ndev_type = ""\n \nif (N%10 == 2) or (N%10 == 4) or (N%10 == 5)or (N%10 == 7)or (N%10 == 9):\n dev_type == "hon"\nelif (N%10 == 0) or (N%10 == 1) or (N%10 == 6)or (N%10 == 8):\n dev_type == "pon"\nelse:\n dev_type = "bon"\n\nprint(dev_type)\n\n', 'n = input()\nif n[-1] == ("2"or"4"or"5"or"7"or"9") :\n print("hon")\nelif n[-1] in("0"or"1"or"6"or"8"):\n print("pon")\nelse:\n print("bon")\n', 'N = int(sys.argv[1])\n\ndev_type = ""\nif N%10==(2or4or5or7or9):\n dev_type = "hon"\nelif if N%10==(0or1or6or8):\n dev_type = "pon"\nelse:\n dev_type = "hon"\n \nprint(dev_type)', 'n = input()\nif n[-1] == ("2"or"4"or"5"or"7"or"9") :\n print("hon")\nelif n[-1] == ("0"or"1"or"6"or"8"):\n print("pon")\nelse:\n print("bon")\n', 'n = input()\nif (n[-1] == "2")or(n[-1] == "4")or(n[-1] == "5")or(n[-1] == "7")or(n[-1] == "9") :\n print("hon")\nelif (n[-1] == "0")or(n[-1] == "1")or(n[-1] == "6")or(n[-1] == "8"):\n print("pon")\nelse:\n print("bon")\n']
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s013862839', 's574708917', 's638998464', 's749485089', 's788202053', 's890174783']
[8960.0, 9120.0, 9100.0, 8952.0, 9100.0, 9064.0]
[20.0, 20.0, 23.0, 22.0, 19.0, 23.0]
[144, 265, 144, 171, 145, 222]
p02675
u424485746
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['s = input()[-1]\nif s in "2479":\n print("hon")\nelif s in "0168":\n print("pon")\nelse\n print("bon")', 's = input()\nc = s[-1]\nif c in \'24579\':\n print("hon")\nelif c in \'0168\':\n print("pon")\nelse:\n print("bon")']
['Runtime Error', 'Accepted']
['s836692012', 's154659088']
[9008.0, 9104.0]
[22.0, 23.0]
[105, 113]
p02675
u425762225
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['K = int(input())\nS = input()\n\nif len(S) <=K:\n print(S)\nelse:a\n print(S[:K] + "...")', 'N = int(input()) % 10\n\nhon = {2, 4, 5, 7, 9}\npon = {0, 1, 6, 8}\nbon = {3}\n\nif N in hon:\n print("hon")\nif N in pon:\n print("pon")\nif N in bon:\n print("bon")']
['Runtime Error', 'Accepted']
['s584740324', 's115480246']
[9020.0, 9120.0]
[23.0, 23.0]
[85, 158]
p02675
u426205961
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['n = input()\ns = 10\nN = n % s\nif N == 0 :\n print("pon")\nif N == 1 :\n print("pon")\nif N == 2 :\n print("hon")\nif N == 3 :\n print("bon")\nif N == 4 :\n print("hon")\nif N == 5 :\n print("hon")\nif N == 6 :\n print("pon")\nif N == 7 :\n print("hon")\nif N == 8 :\n print("pon")\nif N == 9 :\n print("hon")', 'a = int(input())\nb = a % 10\nif b == 0 :\n print("pon")\nif b == 1 :\n print("pon")\nif b == 2 :\n print("hon")\nif b == 3 :\n print("bon")\nif b == 4 :\n print("hon")\nif b == 5 :\n print("hon")\nif b == 6 :\n print("pon")\nif b == 7 :\n print("hon")\nif b == 8 :\n print("pon")\nif b == 9 :\n print("hon")']
['Runtime Error', 'Accepted']
['s699164807', 's930742976']
[9136.0, 9020.0]
[20.0, 25.0]
[318, 317]
p02675
u427163848
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class a168{\n public static void main(String[] args){\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try {\n String N = reader.readLine();\n int len = (int)N.length()-1;\n String last = N.substring(len);\n System.out.println(last);\n if(last.equals("3")){\n System.out.println("bon");\n }else if(last.equals("0") || last.equals("1") || last.equals("6") || last.equals("8")){\n System.out.println("pon");\n }else{\n System.out.println("hon");\n }\n }catch(IOException e){\n System.out.println("aaaa");\n }\n }\n}', "N = str(input())\nn = int(N[len(N)-1])\nif n==3:\n print('bon')\nelif n==0 or n==1 or n==6 or n==8:\n print('pon')\nelse:\n print('hon')"]
['Runtime Error', 'Accepted']
['s506296605', 's524000347']
[9012.0, 9180.0]
[26.0, 23.0]
[806, 138]
p02675
u427514507
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["N = input().split()\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\nbon = [3]\nn = int(N[-1])\nif n in hon:\n print('hon')\nelif n in pon:\n print('pon')\nelse:\n print('bon')\n", "N = int(input().split())\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\nbon = [3]\nif N[-1] in hon:\n print('hon')\nelif N[-1] in pon:\n print('pon')\nelse:\n print('bon')\n", "N = input()\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\nbon = [3]\nn = int(N[-1])\nif n in hon:\n print('hon')\nelif n in pon:\n print('pon')\nelse:\n print('bon')\n"]
['Wrong Answer', 'Runtime Error', 'Accepted']
['s612603921', 's807803194', 's535352096']
[9176.0, 9044.0, 9176.0]
[23.0, 23.0, 20.0]
[158, 156, 150]
p02675
u428416104
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["n = str(input())\nprint(n[-1])\n\n\nif n[-1]=='2' or n[-1]=='4' or n[-1]=='5' or n[-1]=='7' or n[-1]=='9':\n print('hon')\nelif n[-1]=='0' or n[-1]=='1' or n[-1]=='6' or n[-1]=='8':\n print('pon')\nelse:\n print('bon')\n\n", "n = str(input())\n\nif n[-1]=='2' or n[-1]=='4' or n[-1]=='5' or n[-1]=='7' or n[-1]=='9':\n print('hon')\nelif n[-1]=='0' or n[-1]=='1' or n[-1]=='6' or n[-1]=='8':\n print('pon')\nelse:\n print('bon')\n\n"]
['Wrong Answer', 'Accepted']
['s936399565', 's072015543']
[9128.0, 8980.0]
[20.0, 23.0]
[220, 206]
p02675
u429029348
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['n=list(input())[::-1]\nif n[0]=="3":\n ans="bon"\nelif n[0]=="0" or n[0]=="1" or n[0]=="6" or n[0]=="8":\n ans="hon"\nelse:\n ans="pon"\n\nprint(ans)', 'n=list(input())[::-1]\nif n[0]=="3":\n ans="bon"\nelif n[0]=="0" or n[0]=="1" or n[0]=="6" or n[0]=="8":\n ans="pon"\nelse:\n ans="hon"\n\nprint(ans)']
['Wrong Answer', 'Accepted']
['s612869162', 's735549751']
[9008.0, 9036.0]
[23.0, 21.0]
[144, 144]
p02675
u430395207
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["input()\n N = N % 10\nif N == 2 or N == 4 or N == 5 or N == 7 or N == 9:\n print('hon')\nelif N == 3:\n print('bon')\nelse:\n print('pon')", "N = int(input())\nN = N % 10\nif N == 2 or N == 4 or N == 5 or N == 7 or N == 9:\n print('hon')\nelif N == 3:\n print('bon')\nelse:\n print('pon')"]
['Runtime Error', 'Accepted']
['s135616008', 's403970921']
[8984.0, 9012.0]
[24.0, 25.0]
[141, 149]
p02675
u431860365
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['a=input()\ns=len(a)\n\nprint(a[s-1])\n\n\nif a[s-1] is "0" or a[s-1] is "1" or a[s-1] is "6" or a[s-1] is "8":\n print("pon")\n\nelif a[s-1] is "3":\n print("bon")\n\nelse:\n print("hon")\n', 'N=input()\ns=len(N)\n\nprint(N[s-1])\n\n\nif N[s-1] is "0" or N[s-1] is "1" or N[s-1] is "6" or N[s-1] is "8":\n print("pon")\n\nelif N[s-1] is "3":\n print("bon")\n\nelif N[s-1] is "2" or N[s-1] is "4" or N[s-1] is "5" or N[s-1] is "7" or N[s-1] is "9":\n print("hon")\n', 'a=input()\ns=len(a)\n\nprint(a[s-1])\n\n\nif a[s-1] is "0" or a[s-1] is "1" or a[s-1] is "6" or a[s-1] is "8":\n print("pon")\n\nelif a[s-1] is "3":\n print("bon")\n\nelif a[s-1] is "2" or a[s-1] is "4" or a[s-1] is "5" or a[s-1] is "7" or a[s-1] is "9":\n print("hon")\n', 'N=input()\ns=len(N)\n\nif N[s-1] is "0" or N[s-1] is "1" or N[s-1] is "6" or N[s-1] is "8":\n print("pon")\n\nelif N[s-1] is "3":\n print("bon")\n\nelse:\n print("hon")\n']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s316087246', 's528176919', 's591235170', 's614731766']
[9112.0, 9140.0, 9068.0, 9112.0]
[22.0, 23.0, 24.0, 23.0]
[184, 266, 266, 168]
p02675
u432357988
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['a = input()\nb = a - a // 10 * 10\nc = ("pon" if b == 0 else\n "pon" if b == 1 else\n "hon" if b == 2 else\n "bon" if b == 3 else\n "hon" if b == 4 else\n "hon" if b == 5 else\n "pon" if b == 6 else\n "hon" if b == 7 else\n "pon" if b == 8 else\n "hon" if b == 9 else\n ""\n )\nprint(c)', 'a = int(input())\nb = a - a // 10 * 10\nc = ("pon" if b == 0 else\n "pon" if b == 1 else\n "hon" if b == 2 else\n "bon" if b == 3 else\n "hon" if b == 4 else\n "hon" if b == 5 else\n "pon" if b == 6 else\n "hon" if b == 7 else\n "pon" if b == 8 else\n "hon" if b == 9 else\n ""\n )\nprint(c)']
['Runtime Error', 'Accepted']
['s874548824', 's395549190']
[9108.0, 9156.0]
[23.0, 25.0]
[316, 321]
p02675
u432453907
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['n=int(input())\njo=int(n[-1])\nif jo==3:\n print("bon")\nelif jo ==0 or 1 or 6 or 8:\n print("pon")\nelse:\n print("hon")', 'n=str(input())\njo=int(n[-1])\nif jo==3:\n print("bon")\nelif jo==0 or jo == 1 or jo==6 or jo==8:\n print("pon")\nelse:\n print("hon")']
['Runtime Error', 'Accepted']
['s199309380', 's574245104']
[8792.0, 9188.0]
[28.0, 28.0]
[123, 136]
p02675
u432754124
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['import math\n\na, b, h, m = list(map(int, input().split()))\n\nif m == 0:\n\tm = 60\nif h == 0\n\th = 12\n\nif h/12 > m/60:\n\tk = (h/12 - m/60) * 360\nelif h/12 < m/60:\n\tk = (m/60 - h/12) * 360\nelse:\n\tprint(0)\n\texit()\nprint(math.sqrt((a**2) + (b**2) - (2 * a * b * math.cos(math.radians(k)))))\n', "N = input()\n\nif int(N[-1]) in [2,4,5,7,9]:\n\tprint('hon')\nelif int(N[-1]) in [0,1,6,8]:\n\tprint('pon')\nelse:\n\tprint('bon')"]
['Runtime Error', 'Accepted']
['s365197613', 's041109845']
[8896.0, 9120.0]
[23.0, 22.0]
[281, 120]
p02675
u433080052
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['N = int(input())\n\nls = N%10\n\nif ls == 2,4,5,7,9:\n print("hon")\n \nelif ls == 0,1,6,8:\n print("pon")\n \nelse:\n print("bon")', 'N = int(input())\n \nmod = N % 10\n \nif mod in [2,4,5,7,9]:\n print("hon")\n \nelif mod in [0,1,6,8]:\n print("pon")\n \nelse:\n print("bon")']
['Runtime Error', 'Accepted']
['s828434364', 's814176600']
[8960.0, 9040.0]
[23.0, 23.0]
[125, 136]