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
u831081653
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[len(n)-1] in [2,4,5,7,9]:\n print("hon")\nelif n[len(n)-1] in [0,1,6,8]:\n print("pon")\nelse:\n print("bon")', 'n = input()\nif int(n[len(n)-1]) in [2,4,5,7,9]:\n print("hon")\nelif int(n[len(n)-1]) in [0,1,6,8]:\n print("pon")\nelse:\n print("bon")']
['Wrong Answer', 'Accepted']
['s033295534', 's312113793']
[9052.0, 9184.0]
[22.0, 23.0]
[130, 140]
p02675
u832806457
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\nimport numpy as np\n\ni = list(map(int, input().split()))\na = i[0]\nb = i[1]\nh = i[2]\nm = i[3]\ntime = h*60+m\nths = np.pi/2-(np.pi * time/(60*12))\nthl = np.pi/2-(np.pi * m/30.0)\n#ths = np.deg2rad(90-h*30.0)\n#thl = np.deg2rad(90-m*6.0)\nx1 = a*np.cos(ths)\ny1 = a*np.sin(ths)\nx2 = b*np.cos(thl)\ny2 = b*np.sin(thl)\nprint(np.sqrt((x1-x2)**2+(y1-y2)**2))\n', "import sys\nimport numpy as np\nlines = sys.stdin.readlines()\na = int(lines[0].strip())\n\nif a%10 == 3:\n print('bon')\nelif a%10 in [0,1,6,8]:\n print('pon')\nelse:\n print('hon')"]
['Runtime Error', 'Accepted']
['s886645587', 's790292179']
[26828.0, 27156.0]
[107.0, 110.0]
[356, 175]
p02675
u833382483
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())\na=N%10\nif a<10:\n\tif a==2 or a==4 or a==5 or a==7 or a==9:\n \tprint("hon")\n else if a==0 or a==1 or a==6 or a==8:\n \tprint("pon")\n else:\n \tprint("bon")\n\n\n \n \n\t', 'def cal():\n k = int(input())\n string = input()\n if len(string) <= k:\n print(string)\n else:\n list1 = list(string)\n for i in range(k):\n print(list1[i], end=\'\')\n print("...")\n\ncal()', 'def cal():\n\n num = int(input())\n if num >= 10:\n ben = num % 10\n else:\n ben = num\n \n if ben == 3:\n print("bon")\n elif ben == 0 or ben == 1 or ben == 6 or ben == 8:\n print("pon")\n elif ben == 2 or ben == 4 or ben == 5 or ben == 7 or ben == 9:\n print("hon")\n \n\n\ncal()']
['Runtime Error', 'Runtime Error', 'Accepted']
['s055138659', 's581016418', 's639429179']
[9024.0, 9168.0, 9080.0]
[22.0, 19.0, 24.0]
[197, 229, 323]
p02675
u834120237
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, sys\nfrom bisect import bisect_left, bisect_right\nfrom collections import Counter, defaultdict, deque\nfrom copy import deepcopy\nfrom functools import lru_cache\nfrom heapq import heapify, heappop, heappush\nfrom itertools import accumulate, combinations, permutations\ninput = sys.stdin.readline\nmod = 10**9 + 7\nns = lambda: input().strip()\nni = lambda: int(input().strip())\nnm = lambda: map(int, input().split())\nnl = lambda: list(map(int, input().split()))\n\ndef main():\n n = ni()\n\n one = n % 10\n\n a = set(2, 4, 5, 7, 9)\n b = set(0, 1, 6, 8)\n if one in a:\n print('hon')\n elif one in b:\n print('pon')\n else:\n print('bon')\n\n\nif __name__ == '__main__':\n main()", "import math, sys\nfrom bisect import bisect_left, bisect_right\nfrom collections import Counter, defaultdict, deque\nfrom copy import deepcopy\nfrom functools import lru_cache\nfrom heapq import heapify, heappop, heappush\nfrom itertools import accumulate, combinations, permutations\ninput = sys.stdin.readline\nmod = 10**9 + 7\nns = lambda: input().strip()\nni = lambda: int(input().strip())\nnm = lambda: map(int, input().split())\nnl = lambda: list(map(int, input().split()))\n\ndef main():\n n = ni()\n\n one = n % 10\n\n a = set([2, 4, 5, 7, 9])\n b = set([0, 1, 6, 8])\n if one in a:\n print('hon')\n elif one in b:\n print('pon')\n else:\n print('bon')\n\n\nif __name__ == '__main__':\n main()"]
['Runtime Error', 'Accepted']
['s499142720', 's701815856']
[9672.0, 9736.0]
[25.0, 26.0]
[712, 716]
p02675
u834322852
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//10\n\nif n=2\u3000or 4 or 5 or 7 or 9:\n print(hon)\nelif n=0 or 1 or 6 or 8:\n print(pon)\nelse:\n print(bon)\n', "N=input()\nn=int(N)%10\n\nif n==2:\n print('hon')\nelif n==4:\n print('hon')\nelif n==5:\n print('hon')\nelif n==7:\n print('hon')\nelif n==9:\n print('hon')\nelif n==0:\n print('pon')\nelif n==1:\n print('pon')\nelif n==6:\n print('pon')\nelif n==8:\n print('pon')\nelif n==3:\n print('bon')"]
['Runtime Error', 'Accepted']
['s446698428', 's205666432']
[8948.0, 9208.0]
[20.0, 24.0]
[119, 280]
p02675
u837501838
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())\nm = N%10\nif m==0 or m==1 or m==6 or m==8:\n print('pon')\nif m==3:\n print('bon')\nelse:\n print('hon')", "N = 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')"]
['Wrong Answer', 'Accepted']
['s822286581', 's481334621']
[9100.0, 9012.0]
[28.0, 29.0]
[118, 126]
p02675
u838959206
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()\nprint(N[-1])\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")', 'N = input()\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']
['s189462014', 's949149336']
[9064.0, 9104.0]
[24.0, 22.0]
[151, 138]
p02675
u839584122
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 or 4 or 5 or 7 or 9:\n print("hon")\nelif n % 10 == 0 or 1 or 6 or 8:\n print("pon")\nelse:\n print("bon")', 'n = int(input())\nnum = n % 10\n\nif num == 2 or num == 4 or num == 5 or num == 7 or num == 9:\n print("hon")\nelif num == 0 or num == 1 or num == 6 or num == 8:\n print("pon")\nelse:\n print("bon")']
['Wrong Answer', 'Accepted']
['s714020364', 's698153669']
[9108.0, 9172.0]
[22.0, 23.0]
[143, 199]
p02675
u840234291
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 本".
["book = int(input())\nif book % 10 == 0 or if book % 10 == 1 or if book % 10 == 6 or if book % 10 == 8 :\n\tprint('pon')\nelif book % 10 == 2 or book % 10 == 4 or book % 10 == 5 or book % 10 == 7 or book % 10 == 9:\n\tprint('hon')\nelif book % 10 == 3 :\n\tprint('bon')", 'book = input()\nif book % 10 == 0 or if book % 10 == 1 or if book % 10 == 6 or if book % 10 == 8 :\n\tprint(pon)\nelif book % 10 == 2 or book % 10 == 4 or book % 10 == 5 or book % 10 == 7 or book % 10 == 9:\n\tprint(hon)\nelif book % 10 == 3 :\n\tprint(bon)', 'book = input()\nif book % 10 = 0 or if book % 10 = 1 or if book % 10 = 6 or if book % 10 = 8 :\n\tprint(pon)\nelif book % 10 = 2 or book % 10 = 4 or book % 10 = 5 or book % 10 = 7 or book % 10 = 9:\n\tprint(hon)\nelif book % 10 = 3 :\n\tprint(bon)\n', "book = int(input())\nif book % 10 == 0 or book % 10 == 1 or book % 10 == 6 or book % 10 == 8 :\n\tprint('pon')\nelif book % 10 == 2 or book % 10 == 4 or book % 10 == 5 or book % 10 == 7 or book % 10 == 9:\n\tprint('hon')\nelif book % 10 == 3 :\n\tprint('bon')\n"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s203351265', 's681359762', 's796377199', 's727303474']
[9004.0, 8968.0, 8940.0, 9132.0]
[21.0, 24.0, 22.0, 23.0]
[259, 248, 239, 251]
p02675
u842028864
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())\nb = a%10\nprint("hon" if b == 2,4,5,7,9 else "pon" if b == 0,1,6,8 else "bon")', 'a = int(input())\nb = a%10\nprint("hon" if b = 2,4,5,7,9 else "pon" if b = 0,1,6,8 else "bon")', 'a = int(input())\nb = a%10\nprint("hon" if b in [2,4,5,7,9] else "pon" if b in [0,1,6,8] else "bon")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s520648435', 's617271297', 's038830554']
[8920.0, 8948.0, 9144.0]
[20.0, 23.0, 21.0]
[94, 92, 98]
p02675
u842797390
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\nh = n % 10\nprint(h)\nif h == 2 or h == 4 or h == 5 or h == 7 or h == 9:\n print('hon')\nelif h == 3:\n print('bon')\nelse:\n print('pon')", "n = int(input())\n\nh = n % 10\nif h == 2 or h == 4 or h == 5 or h == 7 or h == 9:\n print('hon')\nelif h == 3:\n print('bon')\nelse:\n print('pon')"]
['Wrong Answer', 'Accepted']
['s385930553', 's823055094']
[9168.0, 9164.0]
[24.0, 24.0]
[158, 149]
p02675
u842901156
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\tprint(s)\n\nelse:\n\tprint(s[0:k] + "...")', 'k = int(input())\ns = input()\n\nif len(s)<=k:\n\tprint(s)\n\nelse:\n\tprint(s[0:k] + "...")', 'k = int(input())\ns = input()\n\nif len(s)<=k:\n\tprint(s)\n\nelse:\n\tprint(s[0:k] + "…")', 'n = int(input()) \nen = str(n)\nif (en[-1:]=="2" or en[-1:]=="4" or en[-1:]=="5" or en[-1:]=="7" or en[-1:]=="9"):\n\tprint("hon")\nelif (en[-1:]=="0" or en[-1:]=="1" or en[-1:]=="6" or en[-1:]=="8"):\n\tprint("pon")\nelse:\n\tprint("bon")']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s186434117', 's971353473', 's976619184', 's049911298']
[9104.0, 9168.0, 9096.0, 9072.0]
[20.0, 22.0, 24.0, 21.0]
[83, 83, 83, 229]
p02675
u844558673
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 本".
['from math import cos, radians, sqrt\n \na,b,h,m = map(int, input().split())\nh1 = h * 30\nm1 = m * 5.5\nr = abs(h1 - m1)\na1 = a ** 2\nb1 = b ** 2\nab = a * b\nif 180 <= int(r):\n r1 = 360 - int(r)\nelse:\n r1 = r\ncos = cos(radians(r1))\nd = int(a1) + int(b1) - 2 * int(ab) * float(cos)\nans = d ** (1/2)\nprint(ans)', 'import math\n \na,b,h,m = map(int, input().split())\nh1 = int(h) * 30\nm1 = int(m) * 5.5\nr = abs(float(h1) - float(m1))\na1 = int(a) ** 2\nb1 = int(b) ** 2\nab = int(a) * int(b)\nif 180 <= int(r):\n r1 = int(r) -180\nelse:\n r1 = r\ncos = math.cos(math.radians(int(r1)))\nd = int(a1) + int(b1) - 2 * int(ab) * float(cos)\nans = d ** (1/2)\nprint(ans)', 'l = input()\ns = [int(i) for i in l]\nl1 = len(l)\nl2 = l[int(l1) - 1]\nif int(l2) == 3:\n print("bon")\nelif int(l2) == 0:\n print("pon")\nelif int(l2) == 1:\n print("pon")\nelif int(l2) == 6:\n print("pon")\nelif int(l2) == 8:\n print("pon")\nelse:\n print("hon")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s641269873', 's960467788', 's735626698']
[9152.0, 9216.0, 9144.0]
[24.0, 24.0, 22.0]
[303, 337, 256]
p02675
u844697453
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, list(str(input()))))\nprint(n[-1])\nif n[-1]==3:\n print('bon')\nelif n[-1]==8 or n[-1]==6 or n[-1]==1 or n[-1]==0:\n print('pon')\nelse:\n print('hon')", "n=list(str(input()))\nif n[-1]==3:\n print('bon')\nelif n[-1]==8 or n[-1]==6 or n[-1]==1 or n[-1]==0:\n print('pon')\nelse:\n print('hon')", "n=list(map(int, list(str(input()))))\nif n[-1]==3:\n print('bon')\nelif n[-1]==8 or n[-1]==6 or n[-1]==1 or n[-1]==0:\n print('pon')\nelse:\n print('hon')"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s257400451', 's993895279', 's443900043']
[9188.0, 8976.0, 9184.0]
[23.0, 25.0, 20.0]
[170, 141, 157]
p02675
u845573105
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 本".
['x = input()[-1]\n\nif x in [2,4,5,7,9]:\n print("hon")\nelif x in [0,1,6,8]:\n print("pon")\nelse:\n print("bon")', 'import queue\n\nq = queue.Queue()\nN, M = map(int, input().split())\n\nans = [-1 for i in range(N+1)]\npath = [[] for i in range(N+1)]\n\nfor i in range(M):\n A, B = map(int, input().split())\n path[A].append(B)\n path[B].append(A)\nq.put(1)\nCOUNTER = 0\nwhile not q.empty() :\n now = q.get()\n for p in path[now]:\n if ans[p]==-1:\n ans[p]=now\n q.put(p)\n #print(COUNTER, now,p)\n COUNTER+=1\n \nprint("Yes")\nfor i in ans[2:]:\n print(i)\n', 'N, M = map(int, input().split())\n\nans = [-1 for i in range(N-1)]\npath = [[] for i in range(N)]\n\nfor i in range(M):\n A, B = map(int, input().split())\n path[A-1].append(B)\n path[B-1].append(A)\nnows = [1]\nCOUNTER = 0\nwhile len(nows)>0 :\n buf = []\n for now in nows:\n for p in path[now-1]:\n if ans[p-2]==-1:\n ans[p-2]=now\n buf.append(p)\n #print(COUNTER)\n COUNTER+=1\n nows = buf\n \nprint("Yes")\nfor i in ans:\n print(i)\n', 'x = input()[-1]\n \nif x in ["2","4","5","7","9"]:\n print("hon")\nelif x in ["0","1","6","8"]:\n print("pon")\nelse:\n print("bon")']
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s083206170', 's747268667', 's818172652', 's670649909']
[9016.0, 9704.0, 9224.0, 9100.0]
[21.0, 28.0, 24.0, 22.0]
[109, 451, 456, 128]
p02675
u845650912
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\nN_str = str(N)\n\nif N_str[-1] == '2' or '4' or '5' or '9':\n print('hon')\nelif N_str[-1] == '0' or '1' or '6' or '8':\n print('pon')\nelse:\n print('bon')", "N = int(input())\n\nN_str = str(N)\n\nif N_str[-1] == '2' or '4' or '5' or '9' or '7':\n print('hon')\nelif N_str[-1] == '0' or '1' or '6' or '8':\n print('pon')\nelse:\n print('bon')", "N = int(input())\n\nN_str = str(N)\n\nif int(N_str[-1]) == 2 or int(N_str[-1]) == 4 or int(N_str[-1]) == 5 or int(N_str[-1]) == 9 or int(N_str[-1]) == 7:\n print('hon')\nelif int(N_str[-1]) == 0 or int(N_str[-1]) == 1 or int(N_str[-1]) == 6 or int(N_str[-1]) == 8:\n print('pon')\nelse:\n print('bon')\n"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s606731101', 's749684478', 's627019744']
[9176.0, 9112.0, 9140.0]
[24.0, 21.0, 20.0]
[176, 183, 302]
p02675
u845847173
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())\nif n[-1] == "2" and n[-1] == "4" and n[-1] == "5" and n[-1] == "7" and n[-1] == "9":\n print("hon")\nelif n[-1] == "0" and n[-1] == "1" and n[-1] == "6" and n[-1] == "8":\n print("pon")\nelse:\n print("bon")', 'n = str(input())\nif n[-1] == "3":\n print("bon")\nelif n[-1] == "0" and n[-1] == "1" and n[-1] == "6" and n[-1] == "8":\n print("pon")\nelse:\n print("hon")', 'n = str(input())\nif n[-1] == "3":\n print("bon")\nelif n[-1] == "0" and n[-1] == "1" and n[-1] == "6" and n[-1] == "8":\n print("pon")\nelse:\n print("hon")', 'n = str(input())\nif n[-1] == "0":\n print("pon")\nelif n[-1] == "1":\n print("pon")\nelif n[-1] == "2":\n print("hon")\nelif n[-1] == "3":\n print("bon")\nelif n[-1] == "4":\n print("hon")\nelif n[-1] == "5":\n print("hon")\nelif n[-1] == "6":\n print("pon")\nelif n[-1] == "7":\n print("hon")\nelif n[-1] == "8":\n print("pon")\nelif n[-1] == "9":\n print("hon") ']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s074968886', 's436686066', 's488450519', 's999361905']
[9060.0, 9108.0, 9104.0, 9104.0]
[20.0, 22.0, 21.0, 21.0]
[228, 160, 160, 378]
p02675
u848535504
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]\n\nif int(N) == (2,4,5,7,9):\n print("hon")\nelif int(N) == (0,1,6,8):\n print("pon")\nelse:\n print("bon")', 'N = input()[-1]\n\nif N == "0" or "1" or "6" or "8":\n print("hon")\nelif N == "3":\n print("pon")\nelse:\n print("bon")', 'N = input()[-1]\n\nif int(N) == (2 or 4 or 5 or 7 or 9):\n print("hon")\nelif int(N) == (0 or 1 or 6 or 8):\n print("pon")\nelse:\n print("bon")\n', 'N = input()[-1]\n\nif N == "0" or N == "1" or N == "6" or N == "8":\n print("pon")\nelif N == "3":\n print("bon")\nelse:\n print("hon")']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s305616680', 's468451519', 's679637054', 's514841897']
[9092.0, 8924.0, 9104.0, 8968.0]
[31.0, 31.0, 26.0, 27.0]
[119, 122, 141, 137]
p02675
u849756457
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 本".
['\ndef q1():\n n = int(input()[-1])\n print(n)\n if n in [2, 4, 5, 7, 9]:\n print("hon")\n return\n if n in [0, 1, 6, 8]:\n print("pon")\n return\n if n in [3]:\n print("bon")\n return\n\n\nq1()\n', '\ndef q1():\n n = int(input()[-1])\n if n in [2, 4, 5, 7, 9]:\n print("hon")\n return\n if n in [0, 1, 6, 8]:\n print("pon")\n return\n if n in [3]:\n print("bon")\n return\n\n\nq1()\n']
['Wrong Answer', 'Accepted']
['s636443171', 's950366069']
[9168.0, 9196.0]
[23.0, 21.0]
[236, 223]
p02675
u851082576
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()[-1\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')", "a = input()[0]\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')", "a = input()[0]\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')", "a = input()[-1]\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')", "a = input()[-1]\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')", "a = input()[-1]\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', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s092974132', 's212184000', 's239898387', 's506749991', 's785430864', 's238791384']
[9008.0, 9008.0, 9100.0, 9012.0, 9040.0, 9100.0]
[24.0, 25.0, 21.0, 21.0, 23.0, 21.0]
[123, 113, 113, 114, 114, 124]
p02675
u851704997
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 % 10 == 0 or N % 10 == 1 N % 10 == 6 N % 10 == 8):\n print("pon")\nelif(N % 10 == 3):\n print("bon")\nelse:\n print("hon")', 'N = int(input())\nif(N % 10 == 0 or N % 10 == 1 or N % 10 == 6 or N % 10 == 8):\n print("pon")\nelif(N % 10 == 3):\n print("bon")\nelse:\n print("hon")\n']
['Runtime Error', 'Accepted']
['s826169192', 's171578568']
[8976.0, 9040.0]
[23.0, 20.0]
[142, 149]
p02675
u852797044
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 = N % 10\nif a = 2 or 4 or 5 or 7 or 9:\n print('hon')\nelif a = 0 or 1 or 6 or 8:\n print('pon')\nelse:\n print('bon')\n", "N = int(input('number->'))\na = N % 10\nif a == 2 or 4 or 5 or 7 or 9:\n print('hon')\nelif a == 0 or 1 or 6 or 8:\n print('pon')\nelse:\n print('bon')\n", "N = int(input('number->'))\na = N % 10\nprint(a)\nif a == 2 or a==4 or a==5 or a==7 or a==9:\n print('hon')\nelif a == 0 or a==1 or a==6 or a==8:\n print('pon')\nelse:\n print('bon')\n", "N = int(input('number'))\na = N % 10\nif a = 2 or 4 or 5 or 7 or 9:\n print('hon')\nelif a = 0 or 1 or 6 or 8:\n print('pon')\nelse:\n print('bon')", "N = int(input())\na = N % 10\nif a == 2 or a==4 or a==5 or a==7 or a==9:\n print('hon')\nelif a == 0 or a==1 or a==6 or a==8:\n print('pon')\nelse:\n print('bon')"]
['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s465517095', 's502023195', 's830782618', 's945551258', 's365160448']
[8896.0, 9160.0, 9176.0, 9020.0, 9180.0]
[23.0, 22.0, 20.0, 22.0, 23.0]
[119, 148, 184, 143, 164]
p02675
u853187694
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 4 or 5 or 7 or 9:\n print("hon")\nelif N == 0 or 1 or 6 or 8:\n print("pon")\nelse:\n print("bon")', 'N = input()\nif N[-1] == 3\n print("bon")\nelif N[-1] == 0 or 1 or 6 or 8:\n print("pon")\nelse:\n print("hon")', 'N = int(input())\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()\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")\nelif N[-1] == "2":\n print("hon")\nelif N[-1] == "4":\n print("hon")\nelif N[-1] == "5":\n print("hon")\nelif N[-1] == "7":\n print("hon")\nelif N[-1] == "9":\n print("hon")']
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s422334296', 's489263152', 's861476975', 's243912826']
[9128.0, 9012.0, 9080.0, 9068.0]
[23.0, 21.0, 20.0, 24.0]
[132, 114, 191, 369]
p02675
u853728588
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())\nd = n%10\n\nif d in [2, 4, 5, 7, 9]:\n print("hon")\nelif d in [0, 1, 6, 8]:\n print("pon")\nelse d in [3]:\n print("bon")', '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 pritn("pon")\nelse:\n print("hon")\n', 'n = int(input())\nd = n%10\n \nif d in [2, 4, 5, 7, 9]:\n print("hon")\nelif d in [0, 1, 6, 8]:\n print("pon")\nelif d in [3]:\n print("bon")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s203193698', 's606138497', 's021991547']
[8856.0, 9140.0, 9200.0]
[21.0, 24.0, 23.0]
[135, 147, 136]
p02675
u858550872
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 or N % 10 == 4 or N % 10 == 5 or N % 10 == 7 or N % 10 == 9:\n print('hon')\nelif N % 10 == 0 or N % 10 == 1 or N % 10 == 6 or N % 10 == 8:\n print('pon')\nelse:\n print('bon')", "if N % 10 == 2 or N % 10 == 4 or N % 10 == 5 or N % 10 == 7 or N % 10 == 9:\n print('hon')\nelif N % 10 == 0 or N % 10 == 1 or N % 10 == 6 or N % 10 == 8:\n print('pon')\nelse:\n print('bon')", "n = int(input())\n\nn_onesplace = n%10\n\nif n_onesplace==2 or n_onesplace==4 or n_onesplace==5\\\n or n_onesplace==7 or n_onesplace==9:\n print('hon')\nelif n_onesplace==0 or n_onesplace==1 or\\\n n_onesplace==6 or n_onesplace==8:\n print('pon')\nelse:\n print('bon')"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s157520641', 's397096379', 's261574549']
[8940.0, 8968.0, 9096.0]
[22.0, 24.0, 20.0]
[208, 189, 270]
p02675
u860338101
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())\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')", "N = list(input())\n\nnum = N[-1]\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')"]
['Runtime Error', 'Accepted']
['s991261728', 's258039330']
[9068.0, 9100.0]
[21.0, 24.0]
[137, 150]
p02675
u862910769
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 本".
["x = int(input())\nif x[-1] == 3:\n print('bon')\nelif x[-1] == 0 or x[-1] == 1 or x[-1] == 6 or x[-1] == 8:\n print('pon')\nelse:\n print('hon')", "x = str(input())\n\nif x[-1] == '3':\n print('bon')\nelif x[-1] == '0' or x[-1] == '1' or x[-1] == '6' or x[-1] == '8':\n print('pon')\nelse:\n print('hon')"]
['Runtime Error', 'Accepted']
['s441085442', 's247258437']
[9112.0, 8976.0]
[22.0, 22.0]
[141, 158]
p02675
u862959195
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 本".
['x=str(input())\ny = x[-1]\n\nif y == "2" or "4" or "5" or "7" or "9":\n\t z="hon"\nelif y == "0" or "1" or "6" or "8":\n\tz="pon"\nelse:\n\tz="bon"\n\nprint(z)\n', 'x=list(int(input()))\nprint(x)\n\nif x[-1] = "2","4","5","7","9":\n\ty="hon"\nelif x[-1] ="0","1","6","8":\n\ty="pon"\nelse:\n\ty="bon"\n\nprint(y)\n', 'x=str(input())\ny = x[-1]\n\n\nif y == "3":\n\t \t z="bon"\nelif y == "0":\n\tz="pon"\nelif y == "1":\n\tz="pon"\nelif y == "6":\n\tz="pon"\nelif y =="8":\n\tz="pon"\nelse:\n\tz="hon"\n\nprint(z)\nexit()']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s207102256', 's573243902', 's042492415']
[9100.0, 8976.0, 9112.0]
[21.0, 21.0, 20.0]
[147, 135, 178]
p02675
u863371419
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\na = int(n[-1])\n\nif n==2 or n==2 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 = int(input())\n\na = n[-1]\n\nif a==2 or a==4 or a==5 or a==7 or a==9:\n print('hon')\nelif a==0 or a==1 or a==6 or a==8:\n print('pon')\nelif a==3:\n print('bon')\n", "n = input()\n\na = int(n[-1])\n\nif n==2 or n==2 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 = input()\n\na = int(n[-1])\n\nif a==2 or a==4 or a==5 or a==7 or a==9:\n print('hon')\nelif a==0 or a==1 or a==6 or a==8:\n print('pon')\nelse:\n print('bon')"]
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s458935563', 's556814383', 's595125944', 's977634909']
[9008.0, 9160.0, 9108.0, 9020.0]
[29.0, 27.0, 28.0, 25.0]
[173, 167, 168, 161]
p02675
u863433366
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 or 4 or 5 or 7 or 9:\n print('hon')\nelif n % 10 == 0 or 1 or 6 or 8:\n print('pon')\nelse:\n print('bon')", 'n = int(input())\n\nif n % 10 == 2 or 4 or 5 or 7 or 9:\n print("hon")\nelif n % 10 == 0 or 1 or 6 or 8:\n print("pon")\nelse:\n print("bon")', 'n = int(input())\n\nif n % 10 == 2 or 4 or 5 or 7 or 9:\n print("hon")\nelif n % 10 == 0 or 1 or 6 or 8:\n print("pon")\nelse:\n print("bon")', "N = int(input())\nn = N % 10\n\nprint('bon' if n == 3)\nprint('pon' if n == 0 or n == 1 or n == 6 or n == 8)\nprint('hon' if n == 2 or n == 4 or n == 5 or n == 7 or n == 9)\n ", "n = input() % 10\nprint('bon' if n == 3 else 'pon' if n == 0 or n == 1 or n == 6 or n == 8 else 'hon')", "N = int(input())\nn = 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', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s090957752', 's508564389', 's654236411', 's674041628', 's783641240', 's588188941']
[9148.0, 9064.0, 9108.0, 8996.0, 9036.0, 9152.0]
[20.0, 21.0, 25.0, 23.0, 21.0, 22.0]
[137, 138, 137, 170, 101, 133]
p02675
u864069774
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# a = map(int,input().split())\na = int(n[-1])\nprint("a",a)\nif a == 2 or a == 4 or a == 5 or a == 7 or a == 9:\n print("hon")\nelif a == 3:\n print("bon")\nelse:\n print("pon")\n', 'n = input()\n# a = map(int,input().split())\na = int(n[-1])\n# print("a",a)\nif a == 2 or a == 4 or a == 5 or a == 7 or a == 9:\n print("hon")\nelif a == 3:\n print("bon")\nelse:\n print("pon")']
['Wrong Answer', 'Accepted']
['s187186390', 's947934797']
[9168.0, 9168.0]
[23.0, 22.0]
[192, 193]
p02675
u864085306
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 本".
['limit = int(input())\noriginal = input()\nif(int(len(original))>limit):\n print(original[0:limit]+ "..." )\nelse:\n print(original)', 'num = input()\none_num = len(num) - 1\nif (num[one_num] == "3"):\n print("bon")\nelif (num[one_num] == "0" or num[one_num] == "1" or num[one_num] == "6" or num[one_num] == "8"):\n print("pon")\nelse:\n print("hon")']
['Runtime Error', 'Accepted']
['s830224981', 's400795833']
[9036.0, 9112.0]
[24.0, 21.0]
[128, 210]
p02675
u865728927
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()\n\nb = a[len(a)-1]\n\nif b=='3':\n\tprint('bon')\nelse if b == '0' or b == '1' or b == '6' or b == '8':\n\tprint('pon')\nelse:\n\tprint('hon')\n\t", "a = input()\n \nb = a[len(a)-1]\n \nif b=='3':\n\tprint('bon')\nelif b == '0' or b == '1' or b == '6' or b == '8':\n\tprint('pon')\nelse:\n\tprint('hon')"]
['Runtime Error', 'Accepted']
['s588414189', 's369145162']
[8856.0, 8940.0]
[22.0, 22.0]
[146, 143]
p02675
u867826040
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 本".
['#define _GLIBCXX_DEBUG\n#include <bits/stdc++.h>\nusing namespace std;\n\nint main()\n{\n int n;\n vector<string> s;\n s = {"p","p","h","b","h","h","p","h","p","h"};\n cin >> n;\n int x = n%10;\n cout << s[x] << "on" << endl;\n}', 'n = input()\nx = int(n[-1])\nif x in [2,4,5,7,9]:\n print("hon")\nelif x in [0,1,6,8]:\n print("pon")\nelif x == 3:\n print("bon")']
['Runtime Error', 'Accepted']
['s487780193', 's206395055']
[9000.0, 9176.0]
[28.0, 22.0]
[234, 132]
p02675
u869154953
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]\u3000==\u3000"3":\n\tprint("bon")\nelif N[-1] in ["1","6","8"]:\n\tprint("pon")\nelse:\n\tprint("hon")', 'N=input()\n\nif N[-1]=="2" or "4" or "5" or "7" or "9":\n\tprint("hon")\nelif N[-1]=="0" or "1" or "6" or "8":\n\tprint("pon")\nelse:\n\tprint("bon")\n', 'N=input()\n\n\nif N[-1]=="3":\n\tprint("bon")\nelif N[-1] in ["0","1","6","8"]:\n\tprint("pon")\nelse:\n\tprint("hon")']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s870693683', 's931372997', 's897170845']
[8916.0, 8968.0, 8852.0]
[26.0, 27.0, 29.0]
[108, 140, 107]
p02675
u873736356
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()\nl = len(N)\n\n\na = N[l-1]\nprint(a)\nif (a == '2' or a == '4' or a == '5' or a == '7' or a == '9'):\n print('hon')\nelif (a == '0' or a == '1' or a == '6' or a == '8'):\n print('pon')\nelse:\n print('bon')\n", "N = int(input())\n\na = N % 10\nif (a == 2 or a == 4 or a == 5 or a == 7 or a == 9):\n print('hon')\nelif (a == 0 or a == 1 or a == 6 or a == 8):\n print('pon')\nelse:\n print('bon')\n"]
['Wrong Answer', 'Accepted']
['s874974647', 's069057912']
[9056.0, 9172.0]
[24.0, 24.0]
[218, 184]
p02675
u874001579
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 == 3: print('bon')\nelif n == [0,1,6,8]: print('pon')\nelse: print('hon') ", "n = int(input()[-1])\nif n == 3: print('bon')\nelif n in [0,1,6,8]: print('pon')\nelse: print('hon')"]
['Wrong Answer', 'Accepted']
['s075557123', 's557500317']
[9096.0, 9164.0]
[23.0, 24.0]
[105, 97]
p02675
u875997221
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())\np=n%10\nif p in [2,4,5,7,9]:\n return "hon"\nelif p in [0,1,6,8]:\n return "pon"\nreturn "bon"', 'n=int(input())\np=n%10\nif p in [2,4,5,7,9]:\n print("hon")\nelif p in [0,1,6,8]:\n print("pon")\nelse:\n print("bon")']
['Runtime Error', 'Accepted']
['s605068955', 's596594257']
[9036.0, 9176.0]
[24.0, 20.0]
[106, 114]
p02675
u878173555
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())\nm = n%10\nif m == 2 or m == 4 or m == 5 or m == 7 or m == 9:\n return 'hon'\nelif m == 0 or m == 1 or m == 6 or m == 8:\n return 'pon'\nelif m == 3:\n return 'bon'", "n = int(input())\nm = n%10\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')\nelif m == 3:\n print('bon')"]
['Runtime Error', 'Accepted']
['s719750175', 's079533533']
[9044.0, 9172.0]
[19.0, 24.0]
[177, 177]
p02675
u879901633
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 本".
["pronunciation = {0: 'pon', 1: 'pon', 2: 'hon', 3: 'bon', 4: 'hon', 5: 'hon', 6: 'pon', 7: 'hon', 8: 'pon', 9: 'hon'}\ninput = int(input())\nprint(pronunciation[input])", "pronunciation = {0: 'pon', 1: 'pon', 2: 'hon', 3: 'bon', 4: 'hon', 5: 'hon', 6: 'pon', 7: 'hon', 8: 'pon', 9: 'hon'}\ninput = input()\nif len(input) > 1:\n input = int(input[-1])\nif type(input) != int:\n input = int(input)\nprint(pronunciation[input])\n\n\n"]
['Runtime Error', 'Accepted']
['s153177862', 's548949598']
[9172.0, 9188.0]
[20.0, 24.0]
[165, 253]
p02675
u879921371
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==3:\n print("bon")\nelif n== 1 | n==0 | n==6 | n==8:\n print("pon")\nelse:\n print("hon")', 'n=int(input()[-1:])\nif n==3:\n print("bon")\nelif n== 1 or n==0 or n==6 or n==8:\n print("pon")\nelse:\n print("hon")']
['Wrong Answer', 'Accepted']
['s269510902', 's427289324']
[9168.0, 9164.0]
[22.0, 21.0]
[112, 115]
p02675
u882389182
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())\nhrad = h * 30 + m * 0.5\nmrad = m * 6\nrad = hrad - mrad\nif rad < 0:\n rad = -rad\nelse:\n if rad > 180:\n rad = 360 - rad\n else:\n pass\nc = float((a**2 + b**2 - 2 * a * b * math.cos(math.radians(rad))) ** (0.5))\nprint(c)\n', "n = input()\nslist = list(n)\nprint(slist)\n\nnumber = int(slist[len(slist) - 1])\nprint(number)\n\nif number == 3:\n print('bon')\nelif number == 0 or number == 1 or number == 6 or number == 8:\n print('pon')\nelse:\n print('hon')", "s = input()\nslist = list(s)\n\n\nnumber = int(slist(len(slist) - 1))\n\nif number == 3:\n print('bon')\nelif number == 0 or number == 1 or number == 6 or number == 8:\n print('pon')\nelse:\n print('hon')", "n = input()\nslist = list(n)\nnumber = int(slist[len(slist) - 1])\n\nif number == 3:\n print('bon')\nelif number == 0 or number == 1 or number == 6 or number == 8:\n print('pon')\nelse:\n print('hon')\n"]
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s207449267', 's346532403', 's764246853', 's277340509']
[9132.0, 9172.0, 9084.0, 9156.0]
[22.0, 24.0, 23.0, 21.0]
[289, 222, 196, 195]
p02675
u882869256
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()\nif a[-1]==2 or a[-1]==4 or a[-1]==5 or a[-1]==7 or a[-1]==9:\n print('hon')\nif a[-1]==0 or a[-1]==1 or a[-1]==6 or a[-1]==8:\n print('pon')\nif a[-1]==3:\n print('bon')", "a=input()\n\nif a[-1]=='2' or a[-1]=='4'or a[-1]=='5' or a[-1]=='7'or a[-1]=='9':\n print('hon')\nif a[-1]=='0' or a[-1]=='1' or a[-1]=='6' or a[-1]=='8':\n print('pon')\nif a[-1]=='3':\n print('bon')"]
['Wrong Answer', 'Accepted']
['s927987826', 's923889965']
[9060.0, 9124.0]
[19.0, 23.0]
[183, 202]
p02675
u882986997
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 = str(input())\nprint(s[-1])\n\nif s[-1] == '2':\n print('hon')\nelif s[-1] == '4':\n print('hon')\nelif s[-1] == '5':\n print('hon')\nelif s[-1] == '7':\n print('hon')\nelif s[-1] == '9':\n print('hon')\nelif s[-1] == '0':\n print('pon')\nelif s[-1] == '1':\n print('pon')\nelif s[-1] == '6':\n print('pon')\nelif s[-1] == '8':\n print('pon')\nelse:\n print('bon')\n", "s = str(input())\n\nif s[-1] == '2':\n print('hon')\nelif s[-1] == '4':\n print('hon')\nelif s[-1] == '5':\n print('hon')\nelif s[-1] == '7':\n print('hon')\nelif s[-1] == '9':\n print('hon')\nelif s[-1] == '0':\n print('pon')\nelif s[-1] == '1':\n print('pon')\nelif s[-1] == '6':\n print('pon')\nelif s[-1] == '8':\n print('pon')\nelse:\n print('bon')\n"]
['Wrong Answer', 'Accepted']
['s434716137', 's856843273']
[9072.0, 9076.0]
[23.0, 21.0]
[376, 363]
p02675
u884846065
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())\nnum_1 = num % 10\nif num_1 == 2 or 4 or 5 or 7 or 9:\n print('hon')\nelif num_1 == 0 or 1 or 6 or 8:\n print('pon')\nelse:\n print('bon')", "num = int(input())\nnum_1 = num % 10\nif num_1 == 2,4,5,7,9:\n print('hon')\nelif num_1 == 0,1,6,8:\n print('pon')\nelse:\n print('bon')", "num = int(input())\nnum_1 = num % 10\nif num_1 = 2,4,5,7,9:\n print('hon')\nelif num_1 = 0,1,6,8:\n print('pon')\nelse:\n print('bon')", "num = int(input())\nnum_1 = num % 10\nif num_1 <= 1:\n print('hon')\nelif num_1 == 6 or num_1 == 8:\n print('hon')\nelif num_1 == 3:\n print('bon')\nelse:\n print('pon')\n ", "num == int(input())\nnum_1 == num % 10\nif num_1 == 3:\n print('bon')\nelif num_1 <= 1 or num_1 == 6 or num_1 == 8:\n print('pon')\nelse:\n print('hon')", "num == int(input())\nnum_1 == num % 10\nif num_1 == 3:\n print('bon')\nelif num_1 <= 1 or num_1 == 6 or num_1 == 8:\n print('pon')\nelse:\n print('hon')", "num = int(input())\nnum_1 = num % 10\nif num_1 == 3:\n print('bon')\nelif num_1 <= 1 or num_1 == 6 or num_1 == 8:\n print('pon')\nelse:\n print('hon')"]
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s132997948', 's373798566', 's376569081', 's376941987', 's496189124', 's670606341', 's257829036']
[9160.0, 8896.0, 8872.0, 9096.0, 8964.0, 9004.0, 9000.0]
[24.0, 23.0, 24.0, 23.0, 25.0, 21.0, 21.0]
[159, 132, 130, 167, 148, 148, 146]
p02675
u885222140
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())\nb = a%10\nprint(b)\nif b == 2 or b == 4 or b == 5 or b == 7 or b == 9:\n print("hon")\nelsif b == 0 or b == 1 or b == 6 or b == 8:\n print("pon")\nelse:\n print("bon")', 'a = int(input())\nb = a%10\nprint(b)\nif b == 2 or b == 4 or b == 5 or b == 7 or b == 9:\n print("hon")\nelsif b == 0 or b == 1 or b == 6 or b == 8:\n print("pon")\nelse:\n print("bon")\n', 'a = int(input())\nb = a%10\nif b == 2 or b == 4 or b == 5 or b == 7 or b == 9:\n print("hon")\nelif b == 0 or b == 1 or b == 6 or b == 8:\n print("pon")\nelse:\n print("bon")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s253285804', 's366605084', 's799989295']
[8920.0, 8968.0, 9028.0]
[21.0, 25.0, 23.0]
[180, 182, 171]
p02675
u885627844
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())\nL = N % 10\nif L == 3:\n print("bon")\n#0\n,\n1\n,\n6\n,\n8\n\nelif L == 0 or L == 1 or L == 6 or L == 8:\n print(\'pon\')\nelse:\n print(\'hon\')', 'N = int(input())\nL = N % 10\nif L == 3:\n print("bon")\nelif L == 0 or L == 1 or L == 6 or L == 8:\n print(\'pon\')\nelse:\n print(\'hon\')']
['Runtime Error', 'Accepted']
['s828440793', 's903145107']
[9016.0, 9164.0]
[22.0, 23.0]
[148, 132]
p02675
u886297662
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()\nprint(N[-1])\n\nif N[-1] == '3':\n print('bon')\nelif N[-1] == ('0' or '1' or '6' or '8'):\n print('pon')\nelse: print('hon')", "N = input()\n\nif N[-1] == '3':\n print('bon')\nelif N[-1] == ('0' or '1' or '6' or '8'):\n print('pon')\nelse: print('hon')", "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')"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s463961911', 's955198345', 's082972331']
[9104.0, 9036.0, 8972.0]
[23.0, 21.0, 19.0]
[133, 120, 147]
p02675
u886362575
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 [2, 4, 5, 7, 9]:\n print("hon")\nelif N[-1] in [0, 1, 6, 8]:\n print("pon")\nelse:\n print("bon")', 'N = int(input())\nif N%100%10 in [2, 4, 5, 7, 9]:\n print("hon")\nelif N%100%10 in [0, 1, 6, 8]:\n print("pon")\nelse:\n print("bon")']
['Wrong Answer', 'Accepted']
['s497395976', 's157856267']
[9104.0, 9172.0]
[22.0, 23.0]
[119, 130]
p02675
u886545507
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 本".
["#abc168a\nn=int(input())\ns1=[2,4,5,7,9]\ns2=[0,1,6,8]\ns3=[3]\nif n in s1:\n print('hon')\nelif n in s2:\n print('pon')\nelif n in s3:\n print('bon')\nelse:\n print('')\n", "#abc168a\nn=int(input())\ns1=[2,4,5,7,9]\ns2=[0,1,6,8]\ns3=[3]\nn=n%10\nif n in s1:\n print('hon')\nelif n in s2:\n print('pon')\nelif n in s3:\n print('bon')\nelse:\n print('')\n"]
['Wrong Answer', 'Accepted']
['s252200164', 's871947305']
[9056.0, 9180.0]
[21.0, 24.0]
[158, 165]
p02675
u886718563
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())\na = N[-1]\n \nif a == 2, 4, 5, 7, 9:\n print('hon')\nelif a == 0, 1, 6, 8:\n print('pon')\nelse:\n print('bon')", "N = int(input())\na = 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')", "N = int(input())\na = int(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')", "N = int(input())\na = N[-1]\n\nif a == 2, 4, 5, 7, 9:\n print('hon')\nif a == 0, 1, 6, 8:\n print('pon')\nelse:\n print('bon')", "N = int(input())\na = N%10\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', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s030540648', 's236905259', 's880662727', 's892526209', 's080040670']
[8948.0, 9084.0, 9104.0, 8740.0, 9144.0]
[29.0, 29.0, 25.0, 27.0, 33.0]
[124, 132, 138, 121, 132]
p02675
u886878171
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] == "3":\n print("bon")\nelif n[-1] == ["0","1","6","8"]:\n print("pon")\nelse:\n print("hon")', 'n = input()\nif n[-1] == "3":\n print("bon")\nelif n[-1] == ["0","1","6","8"]:\n print("pon")\nelse:\n print("hon")', 'n = input()\nif n[-1] == "3":\n print("bon")\nelif n[-1] in ["0","1","6","8"]:\n print("pon")\nelse:\n print("hon")']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s368892930', 's534640102', 's584537687']
[9148.0, 9036.0, 9012.0]
[24.0, 22.0, 22.0]
[117, 112, 112]
p02675
u887080361
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","1","6","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")']
['Runtime Error', 'Accepted']
['s266692930', 's606863182']
[8928.0, 8972.0]
[26.0, 26.0]
[115, 147]
p02675
u887147934
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())\nM=N%10\nif M==2 or 4 or 5 or 7 or 9:\n print("hon\\n")\nelif M==3:\n print("bon\\n")\nelse:\n print("pon\\n")', 'N=int(input())\nM=N%10\nif M==2 or 4 or 5 or 7 or 9:\n print("hon")\nelif M==3:\n print("bon")\nelse:\n print("pon")', 'N=int(input())\nM=N%10\nif M in (2,4,5,7,9):\n print("hon")\nelif M == 3:\n print("bon")\nelse:\n print("pon")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s491659122', 's767702124', 's394248200']
[9136.0, 9176.0, 9172.0]
[19.0, 20.0, 19.0]
[118, 112, 106]
p02675
u887222798
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 本".
['user = int(input())\nnew = str(user)\nif (new[-1] == 2 or 4 or 5 or 7 or 9):\n print("hon")\nelif (new[-1] == 0 or 1 or 6 or 8):\n print("pon")\nelif(new[-1]== 3):\n print("bon")', 'user = int(input())\nnew = str(user)\nif (new == 2 or 4 or 5 or 7 or 9):\n print("hon")\nelif (new == 0 or 1 or 6 or 8):\n print("pon")\nelif(new == 3):\n print("bon")', 'user = int(input())\nnew = str(user)\nifunction new():\n user = int(input())\n new = str(user)\n if (new == 2 or 4 or 5 or 7 or 9):\n return("hon")\n elif (new == 0 or 1 or 6 or 8):\n return("pon")\n elif(new == 3):\n return("bon")\nprint()', 'user = int(input())\nif (user == 2 or 4 or 5 or 7 or 9):\n print("hon")\nelif (user == 0 or 1 or 6 or 8):\n print("pon")\nelif(user== 3):\n print("bon")', 'hon = \'24579\'\npon = \'0168\'\nbon = \'3\'\nN = str(input())\nif N[-1] in hon:\n print("hon")\nelif N[-1] in pon:\n print("pon")\nelif N[-1] in bon:\n print("bon")']
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s063465057', 's096614789', 's342257092', 's559369308', 's793009416']
[9008.0, 9176.0, 8960.0, 9044.0, 9068.0]
[24.0, 23.0, 23.0, 22.0, 23.0]
[181, 170, 290, 156, 153]
p02675
u889919275
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# A, B, H, M = 3, 4, 9, 0\nA, B, H, M = map(int, input().split())\n\ndeg = 0\ndeg += 5.5 * M\ndeg -= 30 * H\n\nprint(math.sqrt(A**2 + B**2 - 2*A*B* math.cos(math.radians(abs(deg)))))', 'import math\n \na, b, h, m = map(int, input().split())\n \ndeg = 0\n \ndeg += 5.5 * m\ndeg -= 30 * h\n \nprint(math.sqrt(a ** 2 + b ** 2 - 2 * a * b * math.cos(math.radians(abs(deg)))))', 'import math\n# A, B, H, M = 3, 4, 9, 0\nA, B, H, M = map(int, input().split())\n\nsa = abs(H* 30-M*5.5)\ncos = abs(math.cos(math.radians(sa)))\nans = math.sqrt(A**2 + B**2 - 2*A*B*cos)\nprint(ans)', 'import math\n# A, B, H, M = 3, 4, 9, 0\nA, B, H, M = map(int, input().split())\n\ndeg = 0\ndeg += 5.5 * M\ndeg -= 30 * H\n\nprint(math.sqrt(A**2 + B**2 - 2*A*B* math.cos(math.radians(abs(deg)))))', 'import math\n# A, B, H, M = 3, 4, 9, 0\nA, B, H, M = map(int, input().split())\n\nsa = abs(H* 30-M*5.5)\ncos = math.cos(math.radians(sa))\nans = math.sqrt(A**2 + B**2 - 2*A*B*cos)\nprint(ans)', "one = int(input()) % 10\n\n\nhon_list = [2, 4, 5, 7, 9]\n\nif one in hon_list:\n print('hon')\nelif 3 == one:\n print('bon')\nelse:\n print('pon')"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s096718039', 's126128995', 's262824612', 's384638723', 's867655946', 's285878971']
[9180.0, 9104.0, 9176.0, 9140.0, 9200.0, 9164.0]
[20.0, 23.0, 19.0, 21.0, 19.0, 23.0]
[187, 176, 189, 187, 184, 145]
p02675
u893661063
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())\nHs = H*30 + M*0.5\nMs = 6*M\nshita = Hs-Ms\nshita = abs(shita)\nif shita >= 180:\n shita = 360 - shita\nshita = math.radians(shita)\nC = A*A + B*B - 2*A*B*(math.cos(shita))\nprint (math.sqrt(C))', 'import math\nA, B, H, M =map(int, input().split())\nHs = H*30 + M/2\nMs = 6*M\nshita = Hs-Ms\nprint (shita)\nshita = abs(shita)\nif shita >= 180:\n shita = shita - 180\nshita = math.radians(shita)\nC = A*A + B*B - 2*A*B*(math.cos(shita))\nprint (math.sqrt(C))', 'N = int(input())\nN = N % 10\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']
['Runtime Error', 'Runtime Error', 'Accepted']
['s327522681', 's583260773', 's123471440']
[9188.0, 9188.0, 8956.0]
[31.0, 22.0, 27.0]
[240, 252, 144]
p02675
u898331860
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('pphbhhphph'[int(input())%10])", "print('pphbhhphph'[int(input())%10]+'on')"]
['Wrong Answer', 'Accepted']
['s153078124', 's811496111']
[9096.0, 9148.0]
[25.0, 30.0]
[36, 41]
p02675
u898634672
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])\n\nif b in [2, 4, 5, 7, 9]:\n print("hon")\nelif b in [0, 1, 6, 8]:\n print("pon")\nelse:\n print("bon")\n', "a = input()\nb = int(a[-1:])\nif b in [2, 4, 5, 7, 9]:\n print('hon')\nelif b in [0, 1, 6, 8]:\n print('pon')\nelif b == 3:\n print('bon')\n"]
['Wrong Answer', 'Accepted']
['s902969879', 's194807746']
[9036.0, 9048.0]
[24.0, 30.0]
[131, 141]
p02675
u901144784
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 [2,4,5,7,9]):\n print('hon')\nelif(n[-1] in [0,1,6,8]):\n print('pon')\nelse:\n print('bon')", "n=input()\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']
['s623191676', 's469007846']
[8984.0, 9176.0]
[22.0, 20.0]
[112, 122]
p02675
u904331908
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()\nx = len(s)\n\nif k >= x:\n print(s)\n\nelse:\n print(s + "...")\n', 'n = input()\n\nx = len(n)-1\n\n\nif n[x] == "2" or n[x] == "4" or n[x] == "5" or n[x] == "7" or n[x] == "9":\n print("hon")\n \nelif n[x] == "0" or n[x] =="1" or n[x] == "6" or n[x] == "8":\n print("pon")\nelse:\n print("bon")']
['Runtime Error', 'Accepted']
['s369639336', 's759946615']
[9160.0, 9020.0]
[27.0, 29.0]
[89, 219]
p02675
u911315237
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= list(intput())\nk = int(s[-1])\nif k in [2,4,7,9,5]:\n \n print('hon')\nelif k in [0,1,6,8]:\n print('pon')\nelse:\n print('bon') ", "s= list(input())\nk = int(s[-1])\nif k in [2,4,7,9,5]:\n print('hon')\nelif k in [0,1,6,8]:\n print('pon')\nelse:\n print('bon') \n\n"]
['Runtime Error', 'Accepted']
['s323841634', 's305646689']
[9040.0, 9160.0]
[25.0, 21.0]
[133, 137]
p02675
u912650255
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] == '2'or '4' or '5' or '7' or '9':\n print('hon')\nelse:\n print('pon')", "N = input()\n\nif int(N[-1]) == 3:\n print('bon')\nelif int(N[-1]) == 2 or 4 or 5 or 7 or 9:\n print('hon')\nelse:\n print('pon')", "N = int(input())\n\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()\n\na = int(N[-1])\n\nif a == 3:\n print('bon')\nelif a == 2 or a==4 or a==5 or a==7 or a==9:\n print('hon')\nelse:\n print('pon')"]
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s249284959', 's718798573', 's947495771', 's739651054']
[8976.0, 9072.0, 9052.0, 9004.0]
[25.0, 21.0, 21.0, 21.0]
[132, 131, 126, 141]
p02675
u913294360
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())\nb=a[-1]\nif b=='3':\n print('bon')\nelif b=='2' or b=='4' or b=='5' or b=='7'or b=='9':\n print('hon')\nelse:\n print('pon')", 'a=int(input())\nb=a[-1]\nif b==3:\n print("bon")\nelif b==2 or b==4 or b==5 or b==7 or b==9:\n print("hon")\nelse:\n print("pon")', "a=int(input())\na=a[-1]\nif a=3:\n print('bon')\nelif a=2 or a=4 or a=5 or a=7 or a=9:\n print('hon')\nelse:\n print('pon')", "a=int(input())\na=a[-1]\nif a==3:\n print('bon')\nelif a==2 or a==4 or a==5 or a==7 or a==9:\n print('hon')\nelse:\n print('pon')", "a=int(input())\nb=a[-1]\nif b==3:\n print('bon')\nelif b==2 or b==4 or b==5 or b==7 or b==9:\n print('hon')\nelse:\n print('pon')", 'a=int(input())\nb = a % 10\nif b==3:\n print("bon")\nelif b==2 or b==4 or b==5 or b==7 or b==9:\n print("hon")\nelse:\n print("pon")\n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s108936862', 's356962862', 's397459694', 's605695116', 's709018412', 's994391763']
[9116.0, 9120.0, 8948.0, 9164.0, 9124.0, 9040.0]
[25.0, 22.0, 26.0, 23.0, 26.0, 29.0]
[138, 125, 119, 125, 125, 129]
p02675
u921156673
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 in [2,4,5,7,9]:\n print('{}hon'.format(N))\nelif n in [0,1,6,8]:\n print('{}pon'.format(N))\nelse:\n print('{}bon'.format(N))", "N = int(input())\nn = N % 10\nif n in [2,4,5,7,9]:\n print('hon')#.format(N))\nelif n in [0,1,6,8]:\n print('pon')#.format(N))\nelse:\n print('bon')#.format(N))"]
['Wrong Answer', 'Accepted']
['s419938060', 's194245708']
[9104.0, 9056.0]
[27.0, 24.0]
[156, 156]
p02675
u921729430
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 = input()\nif int(N[-1]) in [2,4,5,7,9]:\n print('hon')\nelif int(N[-1]) in [3]:\n print('bon')\nelse:\n print('pon')"]
['Wrong Answer', 'Accepted']
['s305799273', 's554913479']
[9060.0, 9144.0]
[21.0, 24.0]
[121, 116]
p02675
u922968013
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\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())%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")\n', "n = input()\npon = ['0','1','6','8']\nlast = n[-1]\nif last == '3':\n print('bon')\nelif last in pon:\n print('pon')\nelse:\n print('hon')"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s533756920', 's857090090', 's794137067']
[9064.0, 9112.0, 9036.0]
[20.0, 25.0, 19.0]
[136, 135, 133]
p02675
u924299505
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[:K] + '...' )", "N = input()\nfirst = int(N) % 10\nif first in ( 2, 4, 5, 7, 9 ):\n ret = 'hon'\nelif first in ( 0, 1,6,8 ):\n ret = 'pon'\nelse:\n ret = 'bon'\n\nprint( ret )"]
['Runtime Error', 'Accepted']
['s206070060', 's270154787']
[9108.0, 9172.0]
[20.0, 21.0]
[91, 152]
p02675
u925478395
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())\nc = b.split(\'\')\na = c[-1]\nif a ==2 or a== 4 or a==5 or a== 7 or a== 9:\n\tprint("hon")\nelif a == 0 or a== 1 or a==6 or a == 8:\n\tprint("pon")\nelse:\n print("bon")\n', '# -*- coding: utf-8 -*-\na,b,c = int(input())\nif (c == 2 || c== 4 || c==5 || c ==7 || c==9){\n\tprint("hon")\n}else if(c == 0 || c== 1 || c==6 || c ==8){\n\tprint("pon")\n}else {\n print("bon")\n}', 'a = int(input())\nif a ==2 or a== 4 or a==5 or a== 7 or a== 9:\n\tprint("hon")\nelif a == 0 or a== 1 or a==6 or a == 8:\n\tprint("pon")\nelse:\n print("bon")', '# -*- coding: utf-8 -*-\nb = int(input())\nc = b.split(\'\')\na = c[-1]\nif (a == \'2\' || a== \'4\' || a==\'5\' || a == \'7\' || a == \'9\'){\n\tprint("hon")\n}else if(a == \'0\' || a== \'1\' || a==\'6\' || a == \'8\'){\n\tprint("pon")\n}else {\n print("bon")\n}', 'a = int(input())\nc = b.split()\na = c[-1]\nif a ==2 or a== 4 or a==5 or a== 7 or a== 9:\n\tprint("hon")\nelif a == 0 or a== 1 or a==6 or a == 8:\n\tprint("pon")\nelse:\n print("bon")', 'a = int(input())\nc = b.split(\'\')\na = c[-1]\nif (a ==2 || a== 4 || a==5 || a== 7 || a== 9){\n\tprint("hon")\n}else if(a == 0 || a== 1 || a==6 || a == 8){\n\tprint("pon")\n}else {\n print("bon")\n}', 'b = int(input())\na = b % 10\nif a ==2 or a== 4 or a==5 or a== 7 or a== 9:\n\tprint("hon")\nelif a == 0 or a== 1 or a==6 or a == 8:\n\tprint("pon")\nelse:\n print("bon")']
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s015088131', 's244725453', 's400354718', 's400482846', 's530085416', 's952910792', 's125870686']
[9128.0, 8960.0, 9184.0, 8968.0, 9192.0, 9032.0, 9176.0]
[20.0, 22.0, 24.0, 23.0, 23.0, 25.0, 21.0]
[177, 188, 150, 232, 174, 187, 161]
p02675
u926046014
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()))\n\nprint(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 = list(map(int, 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")']
['Wrong Answer', 'Accepted']
['s217136409', 's887264353']
[9176.0, 9048.0]
[26.0, 24.0]
[168, 159]
p02675
u928385607
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 本".
["#!/usr/bin/python3.7\n# -*- coding: utf-8 -*-\n\n#ABC168A\n\n\nn = input()\n\nprint(n[-1])\n\nif n[-1] == '3':\n\tprint('bon')\nelif n[-1] == '0' or n[-1] == '1' or n[-1] == '6' or n[-1] == '8':\n\tprint('pon')\nelse:\n\tprint('hon')", "#!/usr/bin/python3.7\n# -*- coding: utf-8 -*-\n\n#ABC168A\n\n\nn = int(input())\n\nif n == 3:\n\tprint('bon')\nelif n == 0 or n == 1 or n == 6 or n == 8:\n\tprint('pon')\nelse:\n\tprint('hon')", "#!/usr/bin/python3.7\n# -*- coding: utf-8 -*-\n\n#ABC168A\n\n\nn = input()\n\nif n[-1] == '3':\n\tprint('bon')\nelif n[-1] == '0' or n[-1] == '1' or n[-1] == '6' or n[-1] == '8':\n\tprint('pon')\nelse:\n\tprint('hon')"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s112597211', 's122191582', 's581214790']
[9048.0, 9168.0, 9040.0]
[21.0, 22.0, 24.0]
[215, 176, 201]
p02675
u929217794
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 Therefore\n\nn = input()\n\nif n[2] in ["2", "4", "5", "7", "9"]:\n print("hon")\nelif n[2] in ["0", "1", "6", "8"]:\n print("pon")\nelse:\n print("bon")', '# A Therefore\n\nn = input()\n\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")']
['Runtime Error', 'Accepted']
['s303855983', 's621584768']
[9040.0, 9044.0]
[30.0, 28.0]
[151, 153]
p02675
u929996201
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 = str(input())\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\nbon = [3]\n\nif int(a[-1]) in hon:\n\tprint("hon")\n \nif int(a[-1]) in bon:\n\tprint("hon")\n \nif int(a[-1]) in bon:\n\tprint("hon")', 'a = str(input())\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\nbon = [3]\n\nif int(a[-1]) in hon:\n\tprint("hon")\n \nif int(a[-1]) in bon:\n\tprint("bon")\n \nif int(a[-1]) in pon:\n\tprint("pon")']
['Wrong Answer', 'Accepted']
['s982724996', 's503490705']
[9188.0, 9192.0]
[21.0, 20.0]
[179, 179]
p02675
u931394483
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")\nelif n[-1] == 3:\n print("bon")', 'n = int(input())\nN = n % 10\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")']
['Wrong Answer', 'Accepted']
['s918817480', 's712277748']
[8960.0, 8968.0]
[20.0, 23.0]
[146, 133]
p02675
u932868243
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()\nl=len(n)\na=[2,4,5,7,9]\nb=[0,1,6,8]\nif n[l-1] in a:\n print('hon')\nelse n[l-1] in b:\n print('pon')\nelse:\n print('bon')", "n=input()\nl=len(n)\na=[2,4,5,7,9]\nb=[0,1,6,8]\nk=n[l-1]\nif k in a:\n print('hon')\nelif k in b:\n print('pon')\nelif k==3:\n print('bon')", "n=input()\nl=len(n)\nnn=int(n)\na=[2,4,5,7,9]\nb=[0,1,6,8]\nk=nn[l-1]\nif k in a:\n print('hon')\nelif k in b:\n print('pon')\nelse:\n print('bon')", "n=input()\nl=len(n)\na=[2,4,5,7,9]\nb=[0,1,6,8]\nk=n[l-1]\nif k==2 or k==4 or k==5 or k==7 or k==9:\n print('hon')\nelif k==0 or k==1 or k==6 or k==8:\n print('pon')\nelse:\n print('bon')", "n=input()\nl=len(n)\na=[2,4,5,7,9]\nb=[0,1,6,8]\nk=n[l-1]\nif k in a:\n print('hon')\nelif k in b:\n print('pon')\nelse:\n print('bon')", "n=input()\nl=len(n)\na=[2,4,5,7,9]\nb=[0,1,6,8]\nk=int(n[l-1])\nif k in a:\n print('hon')\nelif k in b:\n print('pon')\nelse:\n print('bon')"]
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s027021384', 's057927116', 's298967909', 's685884549', 's803248411', 's494649424']
[9028.0, 9116.0, 9184.0, 9068.0, 9116.0, 9180.0]
[24.0, 25.0, 21.0, 19.0, 21.0, 20.0]
[129, 133, 139, 180, 128, 133]
p02675
u937782958
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 [2,4,5,7,9].count(a%10) == 1:\n print('hon')\nelif [0,1,6,8].count(a%10) == 1:\n print('hon')\nelif [3].count(a%10) == 1:\n print('bon')", "a = int(input()) % 10\nif [2,4,5,7,9].count(a) == 1:\n print('hon')\nelif [0,1,6,8].count(a) == 1:\n print('pon')\nelif [3].count(a) == 1:\n print('bon')"]
['Wrong Answer', 'Accepted']
['s176649481', 's922552912']
[9124.0, 9180.0]
[21.0, 23.0]
[160, 156]
p02675
u938249459
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 == 3:\n\tprint('bon')\nelse if N%10 == 0 or N%10 == 1 or N%10 == 6 or N%10 == 8:\n\tprint('pon')\nelse: print('hon')\n ", "K = int(input())\nS = input()\nif len(S) > K:\n new_S = S[:K]\n new_S += '...'\n print(new_S)\nelse:\n print(S)", "K = int(input())\nS = input()\nif len(S) > K:\n\tnew_S = S[:K]\n\tnew_S += '...'\n print(new_S)\nelse:\n print(S)\n", "N = int(input())\n \nif N % 10 == 3:\n\tprint('bon')\nelif N%10 == 0 or N%10 == 1 or N%10 == 6 or N%10 == 8:\n\tprint('pon')\nelse: print('hon')"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s262517969', 's676356242', 's700407677', 's508279864']
[8944.0, 9156.0, 9024.0, 9104.0]
[23.0, 25.0, 24.0, 24.0]
[141, 116, 109, 136]
p02675
u938350027
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 本".
['\ndef main():\n K = int(input())\n S = input()\n diff = K - len(S)\n if diff >= 0:\n print(S)\n else:\n print(S[:K]+\'...\')\n\nif __name__ == "__main__":\n main()\n', 'def main():\n N = input()\n hon = (2, 4, 5, 7, 9)\n pon = (0, 1, 6, 8)\n bon = (3,)\n if int(N[-1]) in hon:\n print(\'hon\')\n elif int(N[-1]) in pon:\n print(\'pon\')\n elif int(N[-1]) in bon:\n print(\'bon\')\n\nif __name__ == "__main__":\n main()\n']
['Runtime Error', 'Accepted']
['s075358669', 's001302725']
[9168.0, 9076.0]
[23.0, 20.0]
[183, 276]
p02675
u939026953
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())\nX = N[-1]\nif X == 2 or X == 4 or X == 5 or X == 7 or X == 9:\n print("hon")\nif X == 3:\n print("bon")\nelse:\n print("pon")', 'N = input()\nX = int(N[-1])\nif X == 2 or X == 4 or X == 5 or X == 7 or X == 9:\n print("hon")\nelif X == 3:\n print("bon")\nelse:\n print("pon")']
['Runtime Error', 'Accepted']
['s976184975', 's518678926']
[9168.0, 9168.0]
[23.0, 23.0]
[139, 141]
p02675
u939303932
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%10 in [2,4,5,7,9]:\n print(str(N) + "hon")\nelif N%10 in [0,1,6,8]:\n print(str(N) + "pon")\nelse:\n print(str(N) + "bon")', '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")']
['Wrong Answer', 'Accepted']
['s876305199', 's780878496']
[9172.0, 9196.0]
[21.0, 21.0]
[140, 113]
p02675
u941644149
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()\nprint(n,n[-1])\n\nif n[-1] in ["2","4","5","7","9"]: print("hon")\nelif n[-1] in ["0","1","6","8"]: print("pon")\nelse: print("bon")', 'n = input()\n#print(n,n[-1])\n\nif n[-1] in ["2","4","5","7","9"]: print("hon")\nelif n[-1] in ["0","1","6","8"]: print("pon")\nelse: print("bon")']
['Wrong Answer', 'Accepted']
['s478007148', 's970172680']
[9052.0, 9104.0]
[22.0, 24.0]
[140, 141]
p02675
u942356554
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=="2" or "4" or "5" or "7" or "9":\n print("hon")\nelif b=="0" or b=="1" or b=="6" or b=="8":\n print("pon")\nelse:\n print("bon")', 'a=input()\nb=a[-1]\nif b=="2" or "4" or "5" or "7" or "9":\n print("hon")\nelif b=="0" or b=="1" or b=="6" or b=="8":\n print("pon")\nelif b==3:\n print("bon")', 'a=input()\nb=str(a[-1])\n\nif b=="2" or b=="4" or b=="5" or b=="7" or b== "9":\n print("hon")\nelif b=="0" or b=="1" or b=="6" or b=="8":\n print("pon")\nelif b=="3":\n print("bon")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s253876223', 's709593214', 's475462960']
[9104.0, 9108.0, 9116.0]
[23.0, 25.0, 25.0]
[156, 161, 182]
p02675
u944325914
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())\nif n[-1] == "2" or "4" or "5" or "7" or "9":\n print(\'hon\')\nif n[-1] == "0" or "1" or "6" or "8":\n print(\'pon\')\nelse:\n print(\'bon\')', 'n = list(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', 'Accepted']
['s818128415', 's620437272']
[9124.0, 9108.0]
[23.0, 22.0]
[151, 142]
p02675
u944886577
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\na=n//10\nif a==3:\n print("bon")\nelif a==0 or a==6 or a==8 or a==1\n print("pon")\nelse\n print("hon")', 'n=int(input())\n \na=n%10\nif a==3:\n print("bon")\nelif a==0 or a==6 or a==8 or a==1:\n print("pon")\nelse:\n print("hon")']
['Runtime Error', 'Accepted']
['s401418367', 's082261546']
[8904.0, 9168.0]
[27.0, 24.0]
[113, 115]
p02675
u945335181
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 本".
['from queue import Queue\n\nn,m = map(int,input().split())\n\ngrafo = [[] for i in range(n)]\n\nfor x in range(m):\n a,b = map(int,input().split())\n grafo[a-1].append(b)\n grafo[b-1].append(a)\n\n\nplacas = [0] * (n)\n\ndef bfs(a):\n q = Queue(maxsize = n)\n placas[0] = 1\n q.put(a)\n while not q.empty():\n popado = q.get()\n for adj in grafo[popado-1]:\n if not placas[adj-1]:\n placas[adj-1] = popado\n q.put(adj)\n\n if placas.count(0) == 0:\n print("Yes")\n for x in placas[1::]:\n print(x)\n else:\n print("No")\n\nbfs(1)\n', 'import math\n\nA,B,H,M = map(int,input().split())\n\n\nif M == 0 and H == 6:\n\n print(A+B)\n\nelif M == 0 and H == 0:\n\n print(abs(A-B))\n\nelse:\n\n angulo = abs(11 * M - 60 * H)/2\n\n angulo = math.radians(angulo)\n\n print(abs(math.sqrt((A**2 + B ** 2) - (2 * A * B * math.cos(angulo)))))\n', 'numero = int(input())\n\ndigito_1 = numero % 10\n\nif digito_1 == 2 or digito_1 == 4 or digito_1 == 5 or digito_1 == 7 or digito_1 == 9:\n print("hon")\nelif digito_1 == 0 or digito_1 == 1 or digito_1 == 6 or digito_1 == 8:\n print("pon")\nelif digito_1 == 3:\n print("bon")\n']
['Runtime Error', 'Runtime Error', 'Accepted']
['s479176013', 's598511169', 's670671026']
[9712.0, 9184.0, 9164.0]
[22.0, 23.0, 20.0]
[611, 291, 275]
p02675
u948165355
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\nnum = sys.stdin\n\nhon_num_list = ["2", "4", "5", "7", "9"]\npon_num_list = ["0", "1", "6", "8"]\nbon_num_list = ["3"]\n\n\nif num[-1] in hon_num_list:\n print("hon")\nelif num[-1] in pon_num_list:\n print("pon")\nelif num[-1] in bon_num_list:\n print("bon")', 'import sys\nnum = input()\n \nhon_num_list = ["2", "4", "5", "7", "9"]\npon_num_list = ["0", "1", "6", "8"]\nbon_num_list = ["3"]\n \n\nif num[-1] in hon_num_list:\n print("hon")\nelif num[-1] in pon_num_list:\n print("pon")\nelif num[-1] in bon_num_list:\n print("bon")']
['Runtime Error', 'Accepted']
['s871865799', 's385224412']
[9120.0, 9056.0]
[24.0, 24.0]
[260, 260]
p02675
u948233576
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 [2,4,5,7,9]:\n print("hon")\nelif N[-1] in [0,1,6,8]:\n print("pon"\nelse:\n print("bon")', '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=input()\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")\n']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s118435873', 's136184474', 's194168629']
[9024.0, 9012.0, 9164.0]
[24.0, 20.0, 24.0]
[109, 110, 121]
p02675
u948875995
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 本".
['U = int(input())\nb = str(U)\nc = int(b[-1])\nif c in [2,4,5,7,9]:\n print("hon")\nelif c in [0,1,6,8]:\n print("pon")\nelse:\n print("bon")S', 'a = int(input())\nb = str(a)\nc = int(b[-1])\nif c in [2,4,5,7,9]:\n print("hon")\nelif c in [0,1,6,8]:\n print("pon")\nelse:\n print("bon")']
['Runtime Error', 'Accepted']
['s981492809', 's044138358']
[8988.0, 9176.0]
[21.0, 22.0]
[142, 141]
p02675
u949237528
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())\nH=5*H+5*M/60\ntheta=6*abs(H-M) \nif theta>180:\n theta=360-theta\nC=math.sqrt(A**2+B**2-2*A*B*(math.cos(math.radians(theta))))\nprint(C)', 'N=list(map(int,input()))\nif N[-1]==3:\n print("bon")\nelif N[-1]==2 or N[-1]==4 or N[-1]==5 or N[-1]==7 or N[-1]==9:\n print("hon")\nelse:\n print("pon")\n']
['Runtime Error', 'Accepted']
['s265358724', 's624466341']
[9036.0, 9092.0]
[23.0, 25.0]
[179, 158]
p02675
u949327459
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\nN = list(N)\n\nif N[len(N)-1] == '3':\n print('bon')\n\nelif N[len(N)-1] == 0 or N[len(N)-1] == 1 or N[len(N)-1] == 6 or N[len(N)-1] == 8:\n print('pon')\n \nelse:\n print('hon')", 'def main():\n \n \n A, B = map(float,input().split())\n \n if A == 0:\n return 0\n\n else:\n AB = A*(B*100)\n \n if AB > 1e18:\n return -1\n \n else:\n return int(AB/100)\n \n \nprint(main())', "import sys\n\n\nN = input()\n \n\nN_in = int(N)\n\nif N_in>10000 or N_in<0:\n print('error')\n sys.exit()\n\nN = N_in/1000;\n\nN_f = float(N)\n\nN_i = int(N)\n\n\nif (N_f - N_i) == 0:\n Ans = 0\n print(Ans)\n\nelse:\n N_i = N_i + 1\n Ans = N_i*1000 - N_in\n print(Ans)", "\nN = input()\n\nN = list(N)\n\nif N[len(N)-1] == '3':\n print('bon')\n\nelif N[len(N)-1] == '0' or N[len(N)-1] == '1' or N[len(N)-1] == '6' or N[len(N)-1] == '8':\n print('pon')\n \nelse:\n print('hon')"]
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s197674422', 's371402016', 's868626126', 's173974723']
[9096.0, 9116.0, 9192.0, 9060.0]
[25.0, 26.0, 27.0, 27.0]
[194, 265, 266, 203]
p02675
u949595367
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)\nN = N % 10\nif N in 2, 4, 5, 7, 9:\n print('hon')\n\nelif N in 0, 1, 6, 8:\n print('pon')\n\nelse:\n print('bon')", "N = input()\nN = N % 10\nif N in [2, 4, 5, 7, 9]:\n print('hon')\n\nelif N in [0, 1, 6, 8]:\n print('pon')\n\nelse:\n print('bon')", "N = int(input(N))\nN = N % 10\nif N in 2, 4, 5, 7, 9:\n print('hon')\n\nelif N in 0, 1, 6, 8:\n print('pon')\n\nelse:\n print('bon')", "S = input()\nK = int(input())\n\nif len(S) <= K:\n print(S)\nelse\n S = S[0:K]\u3000+ '...'\n print(S)", "K = int(input())\nS = input()\n\nif len(S) <= K:\n print(S)\nelse\n print(S[0:K]\u3000+ '...')", "N = input(N)\nN = N % 10\nif(N == 2, 4, 5, 7, 9):\n print('hon')\n\nelif(N == 0, 1, 6, 8):\n print('pon')\n\nelse:\n print('bon')", "S = input()\nK = int(input())\n\nif len(S) <= K:\n print(S)\nelse\n print(S[0:K]\u3000+ '...')", "K = int(input())\nS = input()\n\nif len(S) <= K:\n print(S)\nelse:\n print(S[0:K]\u3000+ '...')", 'K = int(input())\nS = input()\n\nif len(S) <= K:\n print(S)\nelse:\n print(S[0:K]\u3000+ "...")', "N = int(input())\nN = N % 10\nif N in [2, 4, 5, 7, 9]:\n print('hon')\n\nelif N in [0, 1, 6, 8]:\n print('pon')\n\nelse:\n print('bon')"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s167504575', 's185776557', 's202017046', 's355087927', 's381459039', 's420362565', 's420792934', 's545104818', 's671596268', 's242933389']
[9024.0, 9040.0, 9028.0, 8960.0, 8804.0, 9052.0, 8960.0, 8852.0, 9036.0, 9116.0]
[23.0, 25.0, 25.0, 24.0, 21.0, 22.0, 25.0, 24.0, 21.0, 21.0]
[127, 130, 132, 101, 91, 129, 91, 92, 92, 135]
p02675
u952245863
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 本".
['>>> for N in range(1:1000):\n>>> if N%10==2,4,5,7,9:\n print("hon")\n>>> elif N%10==0,1,6,8:\n print("pon")\n>>> else:\n print("bon")', "N=int(input())\nn=N%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())\nn=N%10\nif n==2,4,5,7,9:\n ptint('hon')\nelif n==0,1,6,8:\n print('pon')\nelse:\n print('bon')", "N=int(input())\nn=N%10\nif n==2 or n==4 or n==5 or n==7 or n==9:\n ptint('hon')\nelif n==3\n print('bon')\nelse:\n print('pon')\n", 'a = int(input())\na %= 10\n\nif a==0 or a==1 or a==6 or a==8:\n print("pon")\nelif a==3:\n print("bon")\nelse:\n print("hon")\n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s202488911', 's234965342', 's379576021', 's621614488', 's286796635']
[8976.0, 9008.0, 8972.0, 8900.0, 9160.0]
[25.0, 25.0, 23.0, 24.0, 24.0]
[136, 110, 112, 130, 121]
p02675
u952669998
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,N[-1])\nl = ["0","1","6","8"]\nif N[-1]=="3":\n print("bon")\nelif N[-1] in l:\n print("pon")\nelse:\n print("hon")', 'N = input()\n\nl = ["0","1","6","8"]\nif N[-1]=="3":\n print("bon")\nelif N[-1] in l:\n print("pon")\nelse:\n print("hon")']
['Wrong Answer', 'Accepted']
['s489956727', 's132123777']
[9044.0, 9012.0]
[22.0, 24.0]
[138, 123]
p02675
u952968889
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[0] == 3:\n print("bon")\nelif n[0] in [0,1,6,8]:\n print("pon")\nelse:\n print("hon")', 'n = input()\nif n[-1] == "3":\n print("bon")\nelif n[-1] in ["0", "1", "6", "8"]:\n print("pon")\nelse:\n print("hon")\n']
['Wrong Answer', 'Accepted']
['s411130624', 's211821197']
[9104.0, 9092.0]
[22.0, 24.0]
[100, 116]
p02675
u954153335
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())\nnum=n%1000\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")', 'n=int(input())\nnum=n%10\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")']
['Wrong Answer', 'Accepted']
['s759068079', 's915374175']
[9164.0, 9100.0]
[24.0, 21.0]
[130, 128]
p02675
u955135274
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()\na = int(n[-1])\nb = ["pon","pon","hon","bon","hon","hon","hon","hon","pon","hon","pon"]\n\nc = b[a]\nprint(c)\n', 'n = input()\na = int(n[-1])\nb = ["pon","pon","hon","bon","hon","hon","pon","hon","pon","hon","pon"]\n\nc = b[a]\nprint(c)\n']
['Wrong Answer', 'Accepted']
['s478804805', 's178894661']
[9100.0, 9100.0]
[23.0, 22.0]
[118, 118]
p02675
u955474478
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() % 10\nif n == 3:\n\tprint("bon")\nelif n == 0 or 1 or 6 or 8:\n\tprint("pon")\nelse:\n\tprint("hon")', 'n = int(input()) % 10\nif n == 3:\n\tprint("bon")\nelif n == 0 or n == 1 or n == 6 or n == 8:\n\tprint("pon")\nelse:\n\tprint("hon")\n']
['Runtime Error', 'Accepted']
['s211737769', 's640889151']
[9044.0, 9108.0]
[23.0, 20.0]
[103, 124]
p02675
u958053648
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()\na=n[-1]\nif a==2 or a==4 or a==5 or a==7 or a==9:\n\tprint('hon')\nelif a==0 or a==1 or a==6 or a==8:\n\tprint('pon')\nelse:\n\tprint('bon')", "n=input()\na=int(n[-1])\nif a==2 or a==4 or a==5 or a==7 or a==9:\n\tprint('hon')\nelif a==0 or a==1 or a==6 or a==8:\n\tprint('pon')\nelse:\n\tprint('bon')"]
['Wrong Answer', 'Accepted']
['s490228897', 's319066342']
[8980.0, 9116.0]
[20.0, 22.0]
[141, 146]
p02675
u958646220
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\nfirst_place = int(str(num)[-1])\n\nif first_place == 3:\n print('bon')\nelif first_place in [0, 1, 6, 8]:\n print('pon')\n else:\n print('hon')\n ", "num = input()\n \nfirst_place = int(str(num)[-1])\n \nif first_place == 3:\n print('bon')\nelif first_place in [0, 1, 6, 8]:\n print('pon')\nelse:\n print('hon')"]
['Runtime Error', 'Accepted']
['s831771423', 's196551690']
[9028.0, 9172.0]
[22.0, 23.0]
[156, 155]
p02675
u958693198
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 \nyomi = ['pon','hon','bon','hon','hon','pon','hon','pon','hon','pon']\n \nprint(yomi[N%10])\n", "N = int(input())\n \nyomi = ['pon','pon','hon','bon','hon','hon','pon','hon','pon','hon']\n\nprint(yomi[N%10])\n"]
['Wrong Answer', 'Accepted']
['s853929721', 's859452857']
[9176.0, 9112.0]
[20.0, 21.0]
[110, 108]