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
u695474809
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['import math\n\nA,B,H,M = map(int,input().split())\nMM = 6*M \nHH = H*30 + M//2\nrad = MM-HH\ncosine = math.cos(math.radians(rad))\n\nr = math.sqrt(A**2+B**2-2*A*B*cosine)\nprint(r)', 'import math\n\nA,B,H,M = map(int,input().split())\nMM = 6*M \nHH = H*30 + M//2\nrad = MM-HH\nif(rad>=-90 and rad<=90):\n cosine = math.cos(math.radians(rad))\nelse:\n cosine = 0-math.cos(math.radians(rad))\n \nr = math.sqrt(A**2+B**2-2*A*B*cosine)\nprint(r)', '\nN=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', 'Runtime Error', 'Accepted']
['s133695509', 's215227353', 's712804984']
[9156.0, 9128.0, 8984.0]
[24.0, 20.0, 29.0]
[187, 270, 1281]
p02675
u696499790
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 == 3:\n print('bon')\nelif m == 0 or m == 1 or m == 6 or m == 8:\n print('hon')\nelse:\n print('pon')", "N=int(input())\nm = N % 10\nif m == 3:\n print('bon')\nelif m == 0 or m == 1 or m == 6 or m == 8:\n print('pon')\nelse:\n print('hon')"]
['Wrong Answer', 'Accepted']
['s246437630', 's391715311']
[9168.0, 9168.0]
[22.0, 20.0]
[130, 130]
p02675
u697377589
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 = 0\nfor (N<1000 N++)\n if N == [2,4,5,7,9]\n print("h")\n elif N == [0,1,6,8]\n print("p")\n else N == [3]\n print("b")\nprint ("on")\n', 'int = input()\nif int[-1] == "3":\n \tprint("bon")\nelif int[-1] == "0" or int[-1] == "1" or int[-1] == "6" or int[-1] == "8":\n print("pon")\nelse:\n\tprint("hon")']
['Runtime Error', 'Accepted']
['s621413689', 's569167225']
[8904.0, 9104.0]
[21.0, 28.0]
[159, 160]
p02675
u697422981
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(int(input()))\nif N[-1]==0 or N[-1]==1 or N[-1]==6 or N[-1]==8:\n print("pon")\nelif N[-1]==3:\n print("bon")\nelse:\n print("hon")', 'N=list(input())\nif N[-1]==0 or N[-1]==1 or N[-1]==6 or N[-1]==8:\n print("pon")\nelif N[-1]==3:\n print("bon")\nelse:\n print("hon")', 'N=list(map(int,input()))\n\nif N[-1]==0 or N[-1]==1 or N[-1]==6 or N[-1]==8:\n print("pon")\nelif N[-1]==3:\n print("bon")\nelse:\n print("hon")']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s673261290', 's862570676', 's751086844']
[9180.0, 9028.0, 9120.0]
[19.0, 21.0, 19.0]
[135, 130, 140]
p02675
u698136145
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 list(a[-1]) == 2 or list(a[-1]) == 4 or list(a[-1]) == 5 or list(a[-1]) == 7 or list(a[-1]) == 9:\n print('hon')\nelif list(a[-1]) == 0 or list(a[-1]) == 1 or list(a[-1]) == 6 or list(a[-1]) == 8:\n print('pon')\nelse:\n print('bon')", "a = input()\nif list(a[-1]) == 2 == 4 == 5 == 7 == 9:\n print('hon')\nelif list(a[-1]) == 0 == 1 == 6 == 8:\n print('pon')\nelse:\n print('bon')", '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\')\nelif a[-1] == "0" or a[-1] == "1" or a[-1] == "6" or a[-1] == "8":\n print(\'pon\')\nelse:\n print(\'bon\')']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s696078000', 's788440905', 's426860990']
[9076.0, 9024.0, 9060.0]
[21.0, 23.0, 24.0]
[252, 147, 216]
p02675
u698868214
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()\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\nbon = [3]\n\nif N[-1] in hon:\n print("hon")\nelif N[-1] in pon:\n print("pon")\nelse:\n print("bon")', 'N = input()\nhon = ["2","4","5","7","9"]\npon = ["0","1","6","8"]\nbon = ["3"]\n\nif N[-1] in hon:\n print("hon")\nelif N[-1] in pon:\n print("pon")\nelse:\n print("bon")']
['Wrong Answer', 'Accepted']
['s944618579', 's613150579']
[9080.0, 8984.0]
[30.0, 31.0]
[143, 163]
p02675
u698919163
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["N = input()\n\nif N[-1] == ('2' or '4' or '5' or '7' or '9'):\n print('hon')\nelif N[-1] == ('0' or '1' or '6' or '8'):\n print('pon')\nelse:\n print('bon')", "N = input()\n\nif N[-1] == '2' or N[-1] == '4' or N[-1] == '5' or N[-1] == '7' or N[-1] == '9':\n print('hon')\nelif N[-1] == '0' or N[-1] == '1' or N[-1] == '6' or N[-1] == '8':\n print('pon')\nelse:\n print('bon')"]
['Wrong Answer', 'Accepted']
['s632741996', 's174930544']
[9100.0, 9056.0]
[20.0, 23.0]
[158, 218]
p02675
u699008198
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[-1]\nif n in [0,1,6,8]:\n print("pon")\nelif n in [3]:\n print("bon")\nelse:\n print("hon")', 'N = input()\n \nn = int( N[-1] )\nif n in [0,1,6,8]:\n print("pon")\nelif n in [3]:\n print("bon")\nelse:\n print("hon")']
['Wrong Answer', 'Accepted']
['s355073491', 's453950551']
[9084.0, 9164.0]
[21.0, 23.0]
[107, 115]
p02675
u699912843
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["def a():\n n = int(input()) % 10\n if n == 2 or n == 4 or n == 5 or n == 7 or n == 9:\n print('hon')\n elif n == 3:\n print('bon')\n else:\n print('pon')\n\n\n\n\ndef b():\n\ndef c():\n \n\n\n\n\na()", "def a():\n n = int(input()) % 10\n if n == 2 or n == 4 or n == 5 or n == 7 or n == 9:\n print('hon')\n elif n == 3:\n print('bon')\n else:\n print('pon')\n\n\n\n\n\n\n\n \n\n\n\n\na()"]
['Runtime Error', 'Accepted']
['s670061048', 's518276165']
[8992.0, 9024.0]
[22.0, 23.0]
[225, 229]
p02675
u700526568
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())\nn = N[-1]\nif n == \'3\':\n\tprint("%sbon" % N)\nelif n in ["0", "1", "6", "8"]:\n\tprint("%spon" % N)\nelse:\n\tprint("%shon" % N)', 'N = str(input())\nn = N[-1]\nif n == \'3\':\n\tprint("bon")\nelif n in ["0", "1", "6", "8"]:\n\tprint("pon")\nelse:\n\tprint("hon")']
['Wrong Answer', 'Accepted']
['s881167908', 's200247360']
[8916.0, 8964.0]
[30.0, 30.0]
[137, 119]
p02675
u701893485
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 本".
['if __name__=="__main__":\n \n K = input()\n S = input()\n K_len = int(K)\n S_len = len(S)\n\n if S_len <= K_len:\n print(S)\n else:\n print(S[:K_len]+str("..."))\n', 'if __name__=="__main__":\n \n N = int(input())\n ones_digit = int(N)%10\n if ones_digit in [2, 4, 5, 7, 9]:\n print("hon")\n elif ones_digit in [0, 1, 6, 8]:\n print("pon")\n else:\n print("bon")']
['Runtime Error', 'Accepted']
['s608959850', 's005519420']
[9096.0, 9176.0]
[20.0, 22.0]
[198, 236]
p02675
u703935694
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("hon")\nelif n%10 == 6:\n print("bon")\nelse:\n print("pon")', 'n = int(input())\nif(n%10 in [2,4,5,7,9]):\n print("hon")\nelif n%10 == 3:\n print("bon")\nelse:\n print("pon")\n']
['Wrong Answer', 'Accepted']
['s954111831', 's792701295']
[9168.0, 9076.0]
[23.0, 21.0]
[108, 109]
p02675
u704287489
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(raw_input())\nn = num % int(len(str(num)))\ns1 = [2,4,5,7,9]\ns2 = [0,1,6,8]\nif n in s1:\n print("hon")\nelif n in s2:\n print("pon")\nelse:\n print("bon")', 'num = input()\ns1 = [2,4,5,7,9]\ns2 = [0,1,6,8]\nif int(num[int(len(str(num)))-1]) in s1:\n print("hon")\nelif int(num[int(len(str(num)))-1]) in s2:\n print("pon")\nelse:\n print("bon")']
['Runtime Error', 'Accepted']
['s612866080', 's299865647']
[9052.0, 9196.0]
[19.0, 24.0]
[160, 180]
p02675
u706121438
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 % 10\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())\nif n % 10 == 3:\n print("bon")\nelif n % 10 == 0 or n % 10 == 1 or n % 10 == 6 or n % 10 == 8:\n print("pon")\nelse:\n print("hon")']
['Runtime Error', 'Accepted']
['s256504644', 's546460554']
[9104.0, 9168.0]
[24.0, 22.0]
[133, 152]
p02675
u706908631
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['N = str(input())\nprint()\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\nbon = [3]\n\nif hon in int(N[len(N)-1]):\n print(', 'N = str(input())\nhon = ["2","4","5","7","9"]\npon = ["0","1","6","8"]\nbon = ["3"]\nif N[len(N)-1] in hon:\n print("hon")\nelif N[len(N)-1] in pon:\n print("pon")\nelif N[len(N)-1] in bon:\n print("bon")']
['Runtime Error', 'Accepted']
['s537210383', 's651907907']
[8960.0, 9028.0]
[24.0, 23.0]
[106, 198]
p02675
u707614029
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 in [2,4,5,7,9]:\n print('hon')\nelif N in [0,1,6,8]:\n print('pon')\nelse:\n print('bon')\n", "N = int(input()[-1])\nif N in [2,4,5,7,9]:\n print('hon')\nelif N in [0,1,6,8]:\n print('pon')\nelse:\n print('bon')\n"]
['Wrong Answer', 'Accepted']
['s466203054', 's034719258']
[9124.0, 9112.0]
[31.0, 28.0]
[116, 120]
p02675
u709079466
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['n = input()\n\nif n[-1] in ["0", "1", "6", "8"]:\n print("bon")\nelif n[-1] in ["3"]:\n print("hon")\nelse:\n print("pon")', 'n = input()\n\nif n[-1] in ["0", "1", "6", "8"]:\n print("pon")\nelif n[-1] in ["3"]:\n print("bon")\nelse:\n print("hon")']
['Wrong Answer', 'Accepted']
['s455986779', 's859418287']
[8992.0, 9040.0]
[22.0, 21.0]
[124, 124]
p02675
u712429027
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\ninput = sys.stdin.readline\nins = lambda: input().rstrip()\nini = lambda: int(input().rstrip())\ninm = lambda: map(int, input().rstrip().split())\ninl = lambda: list(map(int, input().split()))\nout = lambda x, s=\'\\n\': print(s.join(map(str, x)))\n\nn = ini()\nif n%10 == 3:\n print("bon")\nelif n%10 in [0, 1, 6, 8]:\n print("Pon")\nelse:\n print("hon")', 'import sys\ninput = sys.stdin.readline\nins = lambda: input().rstrip()\nini = lambda: int(input().rstrip())\ninm = lambda: map(int, input().rstrip().split())\ninl = lambda: list(map(int, input().split()))\nout = lambda x, s=\'\\n\': print(s.join(map(str, x)))\n\nn = ins()\nif n[0] == "3":\n print("bon")\nelif n in [0, 1, 6, 8]:\n print("Pon")\nelse:\n print("hon")', 'import sys\ninput = sys.stdin.readline\nins = lambda: input().rstrip()\nini = lambda: int(input().rstrip())\ninm = lambda: map(int, input().rstrip().split())\ninl = lambda: list(map(int, input().split()))\nout = lambda x, s=\'\\n\': print(s.join(map(str, x)))\n\nn = ins()\nif n[0] == "3":\n print("bon")\nelif n[0] in [0, 1, 6, 8]:\n print("Pon")\nelse:\n print("hon")', 'import sys\ninput = sys.stdin.readline\nins = lambda: input().rstrip()\nini = lambda: int(input().rstrip())\ninm = lambda: map(int, input().rstrip().split())\ninl = lambda: list(map(int, input().split()))\nout = lambda x, s=\'\\n\': print(s.join(map(str, x)))\n\nn = ins()\nif n[0] == "3":\n print("bon")\nelif int(n[0]) in [0, 1, 6, 8]:\n print("Pon")\nelse:\n print("hon")', 'import sys\ninput = sys.stdin.readline\nins = lambda: input().rstrip()\nini = lambda: int(input().rstrip())\ninm = lambda: map(int, input().rstrip().split())\ninl = lambda: list(map(int, input().split()))\nout = lambda x, s=\'\\n\': print(s.join(map(str, x)))\n\nn = ins()\nprint(n[0])\nif n[0] == "3":\n print("bon")\nelif int(n[0]) in [0, 1, 6, 8]:\n print("Pon")\nelse:\n print("hon")', 'import sys\ninput = sys.stdin.readline\nins = lambda: input().rstrip()\nini = lambda: int(input().rstrip())\ninm = lambda: map(int, input().rstrip().split())\ninl = lambda: list(map(int, input().split()))\nout = lambda x, s=\'\\n\': print(s.join(map(str, x)))\n\nn = ini()\nif n%10 == 3:\n print("bon")\nelif n%10 in [0, 1, 6, 8]:\n print("pon")\nelse:\n print("hon")']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s098398430', 's387067740', 's461245646', 's609660543', 's916308857', 's518449054']
[9104.0, 9052.0, 8984.0, 9096.0, 9204.0, 9104.0]
[24.0, 26.0, 26.0, 31.0, 24.0, 29.0]
[359, 358, 361, 366, 378, 359]
p02675
u713434266
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()\nlst = list(map(int, num))\nele = lst[-1]\nif ele==2 or ele==4 or ele==5 or ele==7 or ele==9:\n \tprint("hon")\nelif ele==1 or ele==6 or ele==8:\n \tprint("pon")\nelif ele==3\n\tprint("bon")', 'num = input()\nlst = lst(map(int, num))\nele = lst[-1]\nif ele==2 or ele==4 or ele==5 or ele==7 or ele==9:\n \tprint("hon")\nelif ele==1 or ele==6 or ele==8:\n \tprint("pon")\nelif ele==3\n\tprint("bon")', 'num = input()\nlst = list(map(int, num))\nele = lst[-1]\nif ele==2 or ele==4 or ele==5 or ele==7 or ele==9:\n \tprint("hon")\nelif ele==0 or ele==1 or ele==6 or ele==8:\n \tprint("pon")\nelif ele==3:\n\tprint("bon")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s571806968', 's653499537', 's450778554']
[8868.0, 8976.0, 9184.0]
[21.0, 24.0, 23.0]
[194, 193, 205]
p02675
u716660050
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 in [2,4,5,7,9]: print(N+str(N)+'hon')\nelif N in [0,1,6,8]: print(N+str(N)+'pon')\nelse: print(N+str(N)+'bon')", "N=int(input())\nif N in [2,4,5,7,9]: print('hon')\nelif N in [0,1,6,8]: print('pon')\nelse: print('bon')", "N=int(input())\nif N in [2,4,5,7,9]: print(str(N)+'hon')\nelif N in [0,1,6,8]: print(str(N)+'pon')\nelse: print(str(N)+'bon')", "N=input()\nif int(N[len(N)-1]) in [2,4,5,7,9]: print('hon')\nelif int(N[len(N)-1]) in [0,1,6,8]: print('pon')\nelse: print('bon')"]
['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s074082947', 's174230627', 's940056519', 's862140562']
[9172.0, 9164.0, 9168.0, 9184.0]
[24.0, 21.0, 25.0, 24.0]
[128, 101, 122, 126]
p02675
u718765445
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())\nC = (H * 30 + M * 0.5) - (M * 6)\nRadians = math.radians(C)\nCOS= math.cos(Radians)\nans = (A**2) + (B**2) - 2*(A*B)*COS\nprint(ans**0.5)', 'N = int(input())\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\nif N%10 in hon:\n print("hon")\nif N%10 in pon:\n print("pon")\nif N%10 == 3:\n print("bon")']
['Runtime Error', 'Accepted']
['s598798621', 's794566716']
[9196.0, 9116.0]
[22.0, 21.0]
[181, 147]
p02675
u719790500
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-(n//100)*100\nb = a-(a//10)*10\nprint(b)\nif b == 2 or b == 4 or b == 5 or b == 7 or b == 9:\n print("hon")\nif b == 0 or b == 1 or b == 6 or b == 8:\n print("pon")\nif b == 3:\n print("bon")\n\n', 'n = int(input())\na = n-(n//100)*100\nb = a-(a//10)*10\nprint(b)\nif b == 2 or b == 4 or b == 5 or b == 7 or b == 9:\n print("hon")\nif b == 0 or b == 1:\n print("pon")\nif b == 3:\n print("bon")\n\n', 'n = int(input())\na = n-(n//100)*100\nb = a-(a//10)*10\nif b == 2 or b == 4 or b == 5 or b == 7 or b == 9:\n print("hon")\nif b == 0 or b == 1 or b == 6 or b == 8:\n print("pon")\nif b == 3:\n print("bon")\n\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s404719033', 's609674929', 's612746376']
[9060.0, 9160.0, 9128.0]
[25.0, 30.0, 24.0]
[211, 191, 202]
p02675
u719873358
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 print("bon")\nelse if(n%10 in [0, 1, 6, 8]):\n print("pon")\nelse:\n print("hon")\n', 'n = int(input())\n\nif(n%10==3):\n print("bon")\nelif(n%10 in [0, 1, 6, 8]):\n print("pon")\nelse:\n print("hon")\n']
['Runtime Error', 'Accepted']
['s209801481', 's387738087']
[8972.0, 9040.0]
[20.0, 20.0]
[119, 116]
p02675
u720065198
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['s = int(input())\nif s >= 10:\n n = str(s)\n if n[-1]=="3":\n print("bon")\n else:\n if n[-1]==("0" or "1" or "6" or "8"):\n print("pon")\n else:\n print("hon")\nelse:\n if s==3:\n print("bon")\n else:\n if s== 1 or 6 or 8:\n print("pon")\n else:\n print("hon")', 's = int(input())\nif s >= 10:\n n = str(s)\n if n[-1]=="3":\n print("bon")\n else:\n if n[-1]==("0" or "1" or "6" or "8"):\n print("pon")\n else:\n print("hon")\nelse:\n if s==3:\n print("bon")\n else:\n if s==( 1 or 6 or 8):\n print("pon")\n else:\n print("hon")', 'n = str(input())\nif n[-1]=="3":\n print("bon")\nelse:\n if n[-1]==("0" or "1" or "6" or "8"):\n print("pon")\n else:\n print("hon")', 's = int(input())\nif s >= 10:\n n = str(s)\n if n[-1]=="3":\n print("bon")\n else:\n if n[-1]=="0"or n[-1]=="1"or n[-1]=="6"or n[-1]=="8":\n print("pon")\n else:\n print("hon")\nelse:\n if s==3:\n print("bon")\n else:\n if s==1 or s==6 or s==8:\n print("pon")\n else:\n print("hon")']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s039197898', 's359717613', 's901155526', 's781738948']
[9140.0, 9196.0, 9104.0, 9148.0]
[21.0, 20.0, 22.0, 21.0]
[287, 289, 134, 308]
p02675
u720124072
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())\nhon = [2, 4, 5, 7, 9]\npon = [0, 1, 6, 8]\nbon = [3]\nif N[-1] in hon:\n print("hon")\nelif N[-1] in pon:\n print("pon")\nelse:\n print("bon")', 'N = str(input())\nhon = [2, 4, 5, 7, 9]\npon = [0, 1, 6, 8]\nbon = [3]\n\nif int(N[-1]) in hon:\n print("hon")\nelif int(N[-1]) in pon:\n print("pon")\nelse:\n print("bon")']
['Wrong Answer', 'Accepted']
['s727242762', 's366350517']
[9120.0, 9184.0]
[23.0, 22.0]
[154, 165]
p02675
u722761145
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 = int(a/10)\nprint(b)\na -= b*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")\nelif a == 3:\n print("bon")', 'a = int(input())\nb = int(a/10)\na -= b*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")\nelif a == 3:\n print("bon")\n']
['Wrong Answer', 'Accepted']
['s501787057', 's186205417']
[9132.0, 9116.0]
[21.0, 21.0]
[216, 199]
p02675
u723690956
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\nfor i in [2,4,5,7,9]:\n if i==N:\n print('hon')\n\nfor i in [0,1,6,8]:\n if i==N:\n print('pon')\nfor i in [3]:\n if i==N:\n print('bon')", "N = int(input())\n\nN1 = int(str(N)[-1])\n\nfor i in [2, 4, 5, 7, 9]:\n if i == N1:\n print('hon')\n\nfor i in [0, 1, 6, 8]:\n if i == N1:\n print('pon')\n\nfor i in [3]:\n if i == N1:\n print('bon')\n"]
['Wrong Answer', 'Accepted']
['s195798758', 's446206278']
[9116.0, 9184.0]
[23.0, 23.0]
[174, 216]
p02675
u724742135
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 sys import stdin\nN = stdin.readline().rstrip()\nif N[-1] == '3':\n ans = 'bon'\nelif N[-1] in [0, 1, 6, 8]:\n ans = 'pon'\nelse:\n ans = 'hon'\nprint(ans)", "from sys import stdin\nN = stdin.readline().rstrip()\nif N[-1] == '3':\n ans = 'bon'\nelif N[-1] in ['0', '1', '6', '8']:\n ans = 'pon'\nelse:\n ans = 'hon'\nprint(ans)"]
['Wrong Answer', 'Accepted']
['s965977826', 's935578594']
[8992.0, 9052.0]
[23.0, 24.0]
[161, 169]
p02675
u725993280
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["import math\n\na,b,h,m = map(int,input().split())\n\nhangle = float((h/12)*360)\nhangle += float((m/60)*30)\nmangle = float((m/60)*360)\n\nif hangle > 180 and mangle > 180:\n angle = abs(hangle-mangle)\nelif hangle > 180:\n hangle = 360-hangle\n angle = abs(hangle-mangle)\nelif mangle > 180:\n mangle = 360-mangle\n angle = abs(hangle-mangle)\nelse:\n angle = abs(hangle-mangle)\n\nif hangle > 180:\n hangle = 360-hangle\nif mangle > 180:\n mangle = 360-mangle\n\nangle = abs(hangle-mangle)\nrad = math.radians(angle)\n\nans = float(math.sqrt(a*a + b*b - float(2*a*b*math.cos(rad))))\n\nif m != 0 and h != 0:\n print('{:.10f}'.format(ans))\nelse :\n print(0)", 'n = int(input())\n\nif n >= 100:\n n = n%100\n if n >= 10:\n n = n%10\n if n == 3:\n print("bon")\n elif n == 0 or n == 1 or n == 6 or n == 8:\n print("pon")\n else:\n print("hon")\nelif n <= 99 and n >= 10:\n n = n%10\n if n == 3:\n print("bon")\n elif n == 0 or n == 1 or n == 6 or n == 8:\n print("pon")\n else:\n print("hon")\nelse:\n if n == 3:\n print("bon")\n elif n == 0 or n == 1 or n == 6 or n == 8:\n print("pon")\n else:\n print("hon")\n\n\n']
['Runtime Error', 'Accepted']
['s947945772', 's795444879']
[9248.0, 9212.0]
[26.0, 22.0]
[657, 530]
p02675
u726823037
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["def Ii():return int(input())\ndef Mi():return map(int,input().split())\ndef Li():return list(map(int,input().split()))\n\nn = Ii()%10\nif n == 3\n print('bon')\nelif n==2 or n == 4 or n == 5 or n==7 or n == 9\n print('hon')\nelse\n print('pon')\n\n ", "def Ii():return int(input())\ndef Mi():return map(int,input().split())\ndef Li():return list(map(int,input().split()))\n \nn = Ii()%10\nif n == 3:\n print('bon')\nelif n==2 or n == 4 or n == 5 or n==7 or n == 9:\n print('hon')\nelse:\n print('pon')"]
['Runtime Error', 'Accepted']
['s593090687', 's262974747']
[8972.0, 9116.0]
[23.0, 28.0]
[240, 241]
p02675
u728564399
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["import sys\n\ndata = []\n \nfor l in sys.stdin:\n data.append(str(l))\n \nlast = int(data[0][-1])\n\nif last in [2,4,5,7,9]:\n print('hon')\nelif last in [0,1,6,8]:\n print('pon')\nelse:\n print('hon')", "import sys\n \ndata = []\n \nfor l in sys.stdin:\n data.append(str(l))\n \nlast = int(data[0][-1])\n \nif last in [2,4,5,7,9]:\n print('hon')\nelif last in [0,1,6,8]:\n print('pon')\nelse:\n print('hon')", "import numpy as np\nimport sys\n\ndata = []\n\nfor l in sys.stdin:\n data.append(l)\n \nlast = int(data[0][-1])\n\nif last in [2,4,5,7,9]:\n print('hon')\nelif last in [0,1,6,8]:\n print('pon')\nelse:\n print('hon')", "import sys\n \ndata = []\n \nfor l in sys.stdin:\n data.append(str(l))\n \nlast = int(data[0][-1])\n \nif last in [2,4,5,7,9]:\n print('hon')\nelif last in [0,1,6,8]:\n print('pon')\nelse:\n print('hon')", "last = int(input()[-1])\n \nif last in [2,4,5,7,9]:\n print('hon')\nelif last in [0,1,6,8]:\n print('pon')\nelse:\n print('bon')"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s137289119', 's583941539', 's766999236', 's912006024', 's895642520']
[9192.0, 9116.0, 27076.0, 9188.0, 9104.0]
[25.0, 20.0, 112.0, 22.0, 20.0]
[196, 213, 209, 213, 128]
p02675
u729119068
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["N=int(input())\nh=[2,4,5,7,9]\np=[0,1,6,8]\nb=[3]\nif N in h:print('hon')\nelif N in p:print('pon')\nelse:print('bon')", "N=int(input())\nh=[2,4,5,7,9]\np=[0,1,6,8]\nb=[3]\nif N%10 in h:print('hon')\nelif N%10 in p:print('pon')\nelse:print('bon')"]
['Wrong Answer', 'Accepted']
['s951515850', 's076766140']
[9120.0, 9120.0]
[29.0, 29.0]
[112, 118]
p02675
u730807152
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\nM = N%10\n\nif(M == 2 or M == 4 or M == 5 or M == 7 or M == 9):\n print("hon")\n\nelse if(M == 0 or M == 1 or M == 6 or M == 8):\n print("pon")\n\nelse if(M == 3):\n print("bon")', 'N = input()\n\nM = int(N) % 10\n\nif M == 2 or M == 4 or M == 5 or M == 7 or M == 9:\n print("hon")\n\nelif M == 0 or M == 1 or M == 6 or M == 8:\n print("pon")\n\nelif M == 3:\n print("bon")']
['Runtime Error', 'Accepted']
['s173689724', 's310977898']
[9028.0, 9052.0]
[20.0, 22.0]
[191, 189]
p02675
u731807761
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 numpy as np\nimport sys\n#import copy\n\n\ndef xnxn(n=0, flag="v"):\n """\n args:\n int n: a number of lows to read\n example:\n input 1\n retrun 1\n\n input 1 2 3\n return [1,2,3]\n input 1 2 3\n 4 \n return [[1,2,3],\n [4]]\n """\n if n == 0:\n temp = list(map(int, input().split()))\n if len(temp) == 1:\n if flag == "l":\n return temp\n else:\n return temp[0]\n elif len(temp) > 1:\n return temp\n else:\n temp = [list(map(int, input().split())) for _ in range(n)]\n return temp\n\n\ndef sp_xnxn(n=0):\n """\n args:\n int n: a number of lows to read\n example\n input 1\n retrun [1]\n\n input 123\n return [1,2,3]\n\n input 123\n 4 \n return [[1,2,3],\n [4]]\n """\n if n == 0:\n return [int(k) for k in xsxs()]\n else:\n return [[int(k) for k in xsxs()] for _ in range(n)]\n\n\ndef xsxs(n=0):\n """\n args:\n int n: a number of lows to read \n example:\n input AA\n retrun AA\n\n input A BBB CC\n return ["A","BBB","CC"]\n\n input A BB CCC\n D\n return [["A","BBB","CC"],\n ["D"]]\n """\n if n == 0:\n temp = list(input().split())\n if len(temp) == 1:\n return temp[0]\n elif len(temp) > 1:\n return temp\n else:\n return [list(input().split()) for _ in range(n)]\n\n\ndef sp_xsxs(n=0):\n """\n args:\n int n: a number of lows to read \n example:\n input A\n retrun ["A"]\n\n input ABC\n return ["A","B","C"]\n\n input ABC\n D\n return [["A","B","C"],\n ["D"]]\n """\n if n == 0:\n return [s for s in xsxs()]\n else:\n return [[s for s in xsxs()] for _ in range(n)]\n\n\nn = xnxn()\n\nif n % 10 == 3:\n print("bon")\nelif n % 10 == 0 | n % 10 == 1 | n % 10 == 6 | n % 10 == 8:\n print("pon")\nelse:\n print("hon")\n', 'import numpy as np\nimport sys\n#import copy\n\n\ndef xnxn(n=0, flag="v"):\n """\n args:\n int n: a number of lows to read\n example:\n input 1\n retrun 1\n\n input 1 2 3\n return [1,2,3]\n input 1 2 3\n 4 \n return [[1,2,3],\n [4]]\n """\n if n == 0:\n temp = list(map(int, input().split()))\n if len(temp) == 1:\n if flag == "l":\n return temp\n else:\n return temp[0]\n elif len(temp) > 1:\n return temp\n else:\n temp = [list(map(int, input().split())) for _ in range(n)]\n return temp\n\n\ndef sp_xnxn(n=0):\n """\n args:\n int n: a number of lows to read\n example\n input 1\n retrun [1]\n\n input 123\n return [1,2,3]\n\n input 123\n 4 \n return [[1,2,3],\n [4]]\n """\n if n == 0:\n return [int(k) for k in xsxs()]\n else:\n return [[int(k) for k in xsxs()] for _ in range(n)]\n\n\ndef xsxs(n=0):\n """\n args:\n int n: a number of lows to read \n example:\n input AA\n retrun AA\n\n input A BBB CC\n return ["A","BBB","CC"]\n\n input A BB CCC\n D\n return [["A","BBB","CC"],\n ["D"]]\n """\n if n == 0:\n temp = list(input().split())\n if len(temp) == 1:\n return temp[0]\n elif len(temp) > 1:\n return temp\n else:\n return [list(input().split()) for _ in range(n)]\n\n\ndef sp_xsxs(n=0):\n """\n args:\n int n: a number of lows to read \n example:\n input A\n retrun ["A"]\n\n input ABC\n return ["A","B","C"]\n\n input ABC\n D\n return [["A","B","C"],\n ["D"]]\n """\n if n == 0:\n return [s for s in xsxs()]\n else:\n return [[s for s in xsxs()] for _ in range(n)]\n\n\nn = xnxn()\n\nif n % 10 == 3:\n print("bon")\nelif n % 10 == 0 or n % 10 == 1 or n % 10 == 6 or n % 10 == 8:\n print("pon")\nelse:\n print("hon")\n']
['Wrong Answer', 'Accepted']
['s865429053', 's262976648']
[27160.0, 27056.0]
[104.0, 111.0]
[2160, 2163]
p02675
u734169929
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 = map(int, input().split())\n\ns = str(N)\nif s[-1] == 2 or s[-1]== 4 or s[-1]== 5 or s[-1]== 7 or s[-1]== 9:\n print("hon")\nelif s[-1]== 0 or s[-1]== 1 or s[-1]== 6 or s[-1]== 8:\n print("pon")\nelse:\n print("bon")', 'N = input()\n\ns = str(N)\nif s[-1] == 2 or s[-1]== 4 or s[-1]== 5 or s[-1]== 7 or s[-1]== 9:\n print("hon")\nelif s[-1]== 0 or s[-1]== 1 or s[-1]== 6 or s[-1]== 8:\n print("pon")\nelse:\n print("bon")', 'N = map(int,input())\n\ns = str(N)\nif s[-1] == 2 and s[-1]== 4 and s[-1]== 5 and s[-1]== 7 and s[-1]== 9:\n print("hon")\nelif s[-1]== 0 and s[-1]== 1 and s[-1]== 6 and s[-1]== 8:\n print("pon")\nelse:\n print("bon")', 'N = input()\n\ns = str(N)\nif s[-1] == 2 and s[-1]== 4 and s[-1]== 5 and s[-1]== 7 and s[-1]== 9:\n print("hon")\nelif s[-1]== 0 and s[-1]== 1 and s[-1]== 6 and s[-1]== 8:\n print("pon")\nelse:\n print("bon")', 'N = 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', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s332424143', 's351806606', 's406990653', 's536196164', 's251987520']
[9132.0, 9128.0, 9060.0, 9068.0, 9108.0]
[21.0, 22.0, 24.0, 21.0, 28.0]
[220, 202, 218, 209, 153]
p02675
u739885912
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, sqrt, radians\nA, B, H, M = map(int, input().split())\nMd = M * 6\nHd = (H * 30) + ((M/60) * 30)\nCd = (Hd - Md)\nAs = A ** 2\nBs = B ** 2\nD = 2 * A * B\nX = sqrt(As + Bs - (D * cos(radians(Cd))))\nprint(X)', "N = str(input())\nif N[-1] == '2' or N[-1] == '4' or N[-1] == '5' or N[-1] == '7' or N[-1] == '9':\n print('hon')\nelif N[-1] == '0' or N[-1] == '1' or N[-1] == '6' or N[-1] == '8':\n print('pon')\nelif N[-1] == '3':\n print('bon')"]
['Runtime Error', 'Accepted']
['s455779503', 's144458585']
[9176.0, 9080.0]
[24.0, 22.0]
[220, 234]
p02675
u742729271
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==3:\n print("bon")\nelif N==0 or N==1 or N==6 or N==8:\n print("pon")\nelse:\n print("hon")', 'N=int(input())\n\nN=str(N)\nN=int(N[len(N)-1])\nif N==3:\n print("bon")\nelif N==0 or N==1 or N==6 or N==8:\n print("pon")\nelse:\n print("hon")']
['Wrong Answer', 'Accepted']
['s553387687', 's641818740']
[9192.0, 9176.0]
[23.0, 20.0]
[110, 138]
p02675
u744695362
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=list(input())\nb =len(a)\n\n\nif int(a[b-1])==2 or int(a[b-1])==4 or int(a[b-1])==5 or int(a[b-1])==7 or int(a[b-1])==9 : \n print('hon') \n\nelif int(a[b-1])==0 or int(a[b-1])==1 or int(a[b-1])==6 or int(a[b-1])==8 :\n print('pon')\n \nelse : \n print('bon')\n\nprint(a[b-1])", "a=list(input())\nb =len(a)\n\n\nif a[b-1]==2 or a[b-1]==4 or a[b-1]==5 or a[b-1]==7 or a[b-1]==9 : \n print('hon') \n\nelif a[b-1]==0 or a[b-1]==1 or a[b-1]==6 or a[b-1]==8 :\n print('pon')\n \nelse : \n print('bon')", "a=list(input())\nb =len(a)\n\n\nif int(a[b-1])==2 or int(a[b-1])==4 or int(a[b-1])==5 or int(a[b-1])==7 or int(a[b-1])==9 : \n print('hon') \n\nelif int(a[b-1])==0 or int(a[b-1])==1 or int(a[b-1])==6 or int(a[b-1])==8 :\n print('pon')\n \nelse : \n print('bon')\n\n"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s166579911', 's667550764', 's360206125']
[9208.0, 9120.0, 9192.0]
[20.0, 21.0, 24.0]
[369, 309, 356]
p02675
u745861782
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 本".
["numberOfMange= int(input()) % 10\n\nif numberOfMange in [2,4,5,7,9]:\n print('hon')\nelif numberOfMange in [0,1,6,8]:\n print('pon')\nelse numberOfMange:\n print('bon')", "n = int(input()) % 10\noutput = 'hon'\n\nif n == 3:\n output = 'b' + output[1:]\nelif n in [0, 1, 6, 8]:\n output = 'p' + output[1:]\n\nprint(output)"]
['Runtime Error', 'Accepted']
['s506793979', 's436228753']
[8972.0, 8992.0]
[23.0, 24.0]
[164, 143]
p02675
u748311048
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=str(input())\nif len(S)<=K:\n print(S)\nelse:\n print(S[:K]+'...')", "N=str(input())\nM=int(N[len(N)-1])\n\nh=[2,4,5,7,9]\np=[0,1,6,8]\nif M in h:\n print('hon')\nelif M in p:\n print('pon')\nelse:\n print('bon')"]
['Runtime Error', 'Accepted']
['s272307406', 's287832884']
[9160.0, 9180.0]
[20.0, 24.0]
[85, 141]
p02675
u750058957
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())\n# long 0.25rad/m short 6rad/m\ndeg = abs(6*M-0.5*(60*H+M))\nans = (A**2 + B**2 - 2*A*B*math.cos(math.radians(deg))) ** (1/2)\nprint(ans)', 'N = str(input())\nhon = [2,4,5,7,9]\n \nfor i in hon:\n if N[-1] == str(i):\n print("hon")\n exit()\n\nif N[-1] == "3":\n print("bon")\nelse:\n print("pon")']
['Runtime Error', 'Accepted']
['s855615610', 's726513702']
[9180.0, 9108.0]
[24.0, 22.0]
[180, 168]
p02675
u750958070
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 = int(N[2])\nif N == 3:\n print('bon')\nelif N in [0,1,6,8]:\n print('pon')\nelse:\n print('hon')\n", "N = input()\nN = N[2]\nif N == 3:\n print('bon')\nelif N in [0,1,6,8]:\n print('pon')\nelse:\n print('hon')", "N = input()\nN = int(N[-1])\nif N == 3:\n print('bon')\nelif N in [0,1,6,8]:\n print('pon')\nelse:\n print('hon')\n"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s017314550', 's381450815', 's095824575']
[9096.0, 9100.0, 9160.0]
[21.0, 23.0, 26.0]
[115, 109, 116]
p02675
u751485759
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\nfor i,number in enumerate(n):\n print(i,number)\n if i == len(n) - 1:\n if number == "3":\n print(\'bon\')\n elif number in list("0168"):\n print(\'pon\')\n else:\n print(\'hon\')\n', 'n = list(input())\n\nfor i,number in enumerate(n):\n if i == len(n) - 1:\n if number == "3":\n print(\'bon\')\n elif number in list("0168"):\n print(\'pon\')\n else:\n print(\'hon\')\n']
['Wrong Answer', 'Accepted']
['s023437771', 's693227285']
[9032.0, 9036.0]
[22.0, 24.0]
[245, 225]
p02675
u752236842
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 本".
['# -*- coding: utf-8 -*-\n\nval=int(input())\n\nhon=[2,4,5,7,9]\npon=[0,1,6,8]\n\nprint(val%10)\nif(val%10 in hon):\n print("hon")\nelif(val%10 in pon):\n print("pon")\nelse:\n print("hon")\n', '# -*- coding: utf-8 -*-\n\nval=int(input())\n\nhon=[2,4,5,7,9]\npon=[0,1,6,8]\n\nprint(val%10)\nif(val%10 in hon):\n print("hon")\nelif(val%10 in pon):\n print("pon")\nelse:\n print("bon")\n', '# -*- coding: utf-8 -*-\n\nval=int(input())\n\nhon=[2,4,5,7,9]\npon=[0,1,6,8]\n\nif(val%10 in hon):\n print("hon")\nelif(val%10 in pon):\n print("pon")\nelse:\n print("bon")\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s237717443', 's434203665', 's648345425']
[9168.0, 9168.0, 9084.0]
[23.0, 22.0, 22.0]
[185, 185, 171]
p02675
u754511616
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=int(N[-1])\n\nif n==2 or n==4 or n==5 n==7 n==9:\n print('hon')\nelif n==3:\n print('bon')\nelse :\n print('pon')", "N=input()\nn=int(N[-1])\n\nif n==2 or n==4 or n==5 or n==7 or n==9:\n print('hon')\nelif n==3:\n print('bon')\nelse :\n print('pon')\n"]
['Runtime Error', 'Accepted']
['s332796493', 's652883227']
[8956.0, 9140.0]
[24.0, 26.0]
[121, 128]
p02675
u756279759
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 本".
['m=input()\n\nm=n[-1]\nif m==0,1,6,8:\n print("pon")\nelif m==3:\n print("bon")\n \nelse:\n print("hon")', 'N=input("what`s the number?")\nN= int(N)\nN=999\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")', 'N=input("what`s the number?")\nN= int(N)\nN=999\nif (num==2,4,5,7,9):\n print("hon")\n \nelif(num==0,1,6,8):\n print("pon")\n \nelse:\n print("bon")\n', 'n=input()\nm=int(n[-1])\n \n \n \n \n \nif (m)==3:\n print("bon")\nelif m==6 or m==8 or m==0 or m==1:\n print("pon")\n \nelse:\n print("hon")']
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s078585173', 's469712423', 's792997845', 's907110130']
[8844.0, 9156.0, 9156.0, 9128.0]
[21.0, 21.0, 21.0, 23.0]
[98, 138, 143, 140]
p02675
u756311765
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['N = list(map(int, input()))\nif N[-1] == 3:\n print("bon")\nelif N[-1] == 0:\n print("hon")\nelif N[-1] == 1:\n print("hon")\nelif N[-1] == 6:\n print("hon")\nelif N[-1] == 8:\n print("hon")\nelse:\n print("pon")', 'N = list(map(int, input()))\nif N[-1] == 3:\n print("bon")\nelif N[-1] == 0:\n print("pon")\nelif N[-1] == 1:\n print("pon")\nelif N[-1] == 6:\n print("pon")\nelif N[-1] == 8:\n print("pon")\nelse:\n print("hon")']
['Wrong Answer', 'Accepted']
['s834132324', 's440515674']
[9184.0, 9184.0]
[20.0, 24.0]
[218, 218]
p02675
u760130918
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['n = str(input())\n\nif len(n) == 1:\n i = int(n)\nelse:\n i = int(n[-1:])\n\nprint(n[-1:])\n \nif i in (2,4,5,7,9):\n print("hon")\nelif i in (0,1,6,8):\n print("pon")\nelse:\n print("bon")', 'n = str(input())\n\nif len(n) == 1:\n i = int(n)\nelse:\n i = int(n[-1:])\n\nif i in (2,4,5,7,9):\n print("hon")\nelif i in (0,1,6,8):\n print("pon")\nelse:\n print("bon")']
['Wrong Answer', 'Accepted']
['s308504983', 's755307705']
[9120.0, 9180.0]
[23.0, 21.0]
[181, 164]
p02675
u760450035
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 = []\na = input()\nf = len(a)\n\n\n\nprint(a[3])\n\n\nif a[f-1] == "3":\n print("bon")\nelif a[f-1] == "0" or a[f-1] == "6" or a[f-1] == "1" or a[f-1] == "8":\n print("pon")\nelse:\n print("hon")', 'a = []\na = input()\nf = len(a)\n\n\n\n\n\n\nif a[f-1] == "3":\n print("bon")\nelif a[f-1] == "0" or a[f-1] == "6" or a[f-1] == "1" or a[f-1] == "8":\n print("pon")\nelse:\n print("hon")']
['Runtime Error', 'Accepted']
['s056086968', 's597824836']
[9056.0, 9088.0]
[23.0, 20.0]
[186, 175]
p02675
u761320129
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'.index(int(input())%10)+'on')", "N = int(input())\nif N%10==3:\n print('bon')\nelif N%10 in (0,1,6,8):\n print('pon')\nelse:\n print('hon')"]
['Runtime Error', 'Accepted']
['s545874333', 's785523815']
[9152.0, 9000.0]
[24.0, 29.0]
[47, 109]
p02675
u762755436
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())\nif s[-1] == 0 or s[-1] ==1 or s[-1] == 6 or s[-1] ==8:\n print('pon')\n exit()\nelif s[-1] == 3:\n print('bon')\n exit()\nelse:\n print('hon')\n exit()", "s = str(input())\nif s[-1] == '0' or s[-1] =='1' or s[-1] == '6' or s[-1] =='8':\n print('pon')\n #print(s[-1])\n exit()\nelif s[-1] == '3':\n print('bon')\n exit()\nelse:\n print('hon')\n exit()"]
['Wrong Answer', 'Accepted']
['s161287567', 's350966318']
[9108.0, 8928.0]
[23.0, 23.0]
[166, 192]
p02675
u763628696
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['\nN = int(input())\nif N % 10 == 2 or 4 or 5 or 7 or 9:\n print("hon")\nelif N % 10 == 3:\n print("bon")\nelse:\n print("pon")\n', '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")']
['Wrong Answer', 'Accepted']
['s838574876', 's130470061']
[9156.0, 9172.0]
[29.0, 28.0]
[123, 155]
p02675
u765401716
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['N= int(input())\nN = str(N)\nn = N[-1]\nf n == "3":\n print("bon")\nelif n == "0" or n == "1" or n =="6" or n == "8":\n print("pon")\nelse:\n print("hon")', 'N= int(input())\nN = str(N)\nn = N[-1]\nif n == "3":\n print("bon")\nelif n == "0" or n == "1" or n =="6" or n == "8":\n print("pon")\nelse:\n print("hon")']
['Runtime Error', 'Accepted']
['s608772002', 's245218614']
[9016.0, 9176.0]
[21.0, 21.0]
[155, 156]
p02675
u766646838
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 = input()\nif len(list(a)) <=N:\n print(a)\nelse:\n print(a[0:N]+'...')", "N = (int(input())%100)%10\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')"]
['Runtime Error', 'Accepted']
['s983422647', 's375621750']
[9120.0, 9128.0]
[21.0, 26.0]
[88, 118]
p02675
u767438459
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 == 3:\n print("bon")\nelif N%10 == 2 or 4 or 5 or 7 or 9:\n print("hon")\nelse:\n print("pon")', 'N = int(input())\ni = 0\ngoods = []\nwhile i < N:\n goods.append(int(input()))\n i += 1\n\nans = sum(goods) - max(goods) + (max(goods) // 2)\nprint(ans)', 'N=int(input())\nif N%10==3:\n print("bon")\nelif N%10==0 or N%10==1 or N%10==6 or N%10==8:\n print("pon")\nelse:\n print("hon")']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s241625628', 's253185537', 's810252279']
[9168.0, 9016.0, 9168.0]
[23.0, 25.0, 22.0]
[123, 150, 130]
p02675
u767821815
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['import math\n\nA,B,H,M = map(int,input().split())\n\nkakudo = abs((H*30+0.5*M-M*6)%180) \n\na = (A**2 + B**2 - 2*A*B*math.cos(math.radians(kakudo)))\nprint(math.sqrt(a))', 'N = input()\n\nif int(N[-1]) in [2,4,5,7,9]:\n print("hon")\nelif int(N[-1]) in [0,1,6,8]:\n print("pon")\nelse:print("bon")']
['Runtime Error', 'Accepted']
['s644468242', 's443653590']
[9008.0, 9184.0]
[19.0, 22.0]
[162, 124]
p02675
u769095634
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())\nangle = radians(h*30 + m / 2- m*6)\nprint(sqrt(a**2 + b**2 - 2*a*b*cos(angle)))', "n = int(input())%10\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')"]
['Runtime Error', 'Accepted']
['s811300147', 's465655171']
[9160.0, 9100.0]
[23.0, 28.0]
[154, 125]
p02675
u773793847
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 N=="3":\n print("bon")\nelif N in {0,1,6,8}:\n print("pon")\nelse:\n print("hon")', 'N=input()[-1:]\n\nif N="3":\n print("bon")\nelif N in {0,1,6,8}:\n print("pon")\nelse:\n print("hon")', 'N=input()[-1]\nif N=="3":\n print("bon")\nelif N in {"0","1","6","8"}:\n print("pon")\nelse:\n print("hon")']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s566389284', 's859377038', 's902209587']
[9096.0, 8864.0, 9036.0]
[20.0, 23.0, 20.0]
[98, 97, 104]
p02675
u775673382
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 numpy as np\n\nn = int(input())\nn = np.mod(n, 10)\n\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')", "import numpy as np\n\nn = int(input())\nn = np.mod(n, 10)\n\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')", "import numpy as np\n\nn = int(input())\nnn = (np.mod(n, 10), 0)[n % 10 == 0]\n\nif nn == 2 or 4 or 5 or 7 or 9:\n print('hon')\nelif nn == 0 or 1 or 6 or 8:\n print('pon')\nelse:\n print('bon')", "n = int(input())\nnn = (n%10, 0)[n % 10 == 0]\n\nif nn == 2 or nn == 4 or nn == 5 or nn == 7 or nn == 9:\n print('hon')\nelif nn == 0 or nn == 1 or nn == 6 or nn == 8:\n print('pon')\nelse:\n print('bon')"]
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s166909874', 's410227473', 's903527858', 's995477051']
[27048.0, 27156.0, 27076.0, 9164.0]
[109.0, 113.0, 111.0, 22.0]
[165, 165, 186, 199]
p02675
u776134564
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())\nr=n%10\nif(r==3):\n print('bon')\nelif(r==0 or r==1 or r==6 or r=8):\n print('pon')\nelse:\n print('hon')", "n=int(input())\nr=n%10\nif(r==3):\n print('bon')\nelif(r==0 or r==1 or r==6 or r==8):\n print('pon')\nelse:\n print('hon')"]
['Runtime Error', 'Accepted']
['s195624586', 's315713858']
[9020.0, 9164.0]
[22.0, 24.0]
[117, 118]
p02675
u779599374
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 本".
['ichinikurai = int(input()).[-1]\nif ichinikurai in [2,4,5,7,9]:\n print("hon")\nelse if ichinikurai in [0,1,6,8]:\n print("pon")\nelse:\n print("bon")', 'def therefore(i):\n ichinokurai = i[-1]\n if ichinokurai in [2,4,5,7,9]:\n return "hon"\n else if ichinokurai in [0,1,6,8]:\n return "pon"\n else:\n return "bon"', 'ichinikurai = int(input()[-1])\nif ichinikurai in [2,4,5,7,9]:\n print("hon")\nelif ichinikurai in [0,1,6,8]:\n print("pon")\nelse:\n print("bon")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s272468558', 's902865422', 's683304103']
[9012.0, 8908.0, 9152.0]
[24.0, 21.0, 23.0]
[153, 167, 149]
p02675
u779759600
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["n = int(input())\n\nif n in (2,4,5,7,9):\n yomi = 'hon'\nif n in (0,1,6,8):\n yomi = 'pon'\nif n == (3):\n yomi = 'bon'\n\nprint(yomi)", "n = int(input())\n\nif n in (2,4,5,7,9):\n yomi = 'hon'\nif n in (0,1,6,8):\n yomi = 'pon'\nif n == (3):\n yomi = 'bon'\n\nprint(yomi)", 'k = int(input())\ns = input()\n\nif len(s) >= k:\n s = s[0:k]\n\nprint(s)', "n = int(input())\n\nn = n % 10\n\nif n in (2,4,5,7,9):\n yomi = 'hon'\nif n in (0,1,6,8):\n yomi = 'pon'\nif n == (3):\n yomi = 'bon'\n\nprint(yomi)"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s012215911', 's629366909', 's883677346', 's795541722']
[9112.0, 9116.0, 9092.0, 9176.0]
[23.0, 25.0, 23.0, 22.0]
[134, 134, 70, 146]
p02675
u780698286
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 in [0, 1, 6, 8]:\n print("pon")\nelse:\n print("hon")', 'n = int(input()[-1])\nif n == 3:\n print("bon")\nelif n in [0, 1, 6, 8]:\n print("pon")\nelse:\n print("hon")']
['Wrong Answer', 'Accepted']
['s786480993', 's049633605']
[9072.0, 9068.0]
[23.0, 24.0]
[108, 112]
p02675
u783206113
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['s = input()\nprint(S)', 's = input()\nbonlist = ["3"]\nponlist = ["0","1","6","8"]\nif str(s)[-1] in bonlist:\n \tprint("bon")\nelif str(s)[-1] in ponlist:\n \tprint("pon")\nelse:\n \tprint("hon")\n\t\n ']
['Runtime Error', 'Accepted']
['s829891368', 's669318547']
[9148.0, 9100.0]
[23.0, 22.0]
[20, 168]
p02675
u783229284
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(int())\nif (N%100)%10 == 3:\n print('bon')\nelif (N%100)%10 == 0 or (N%100)%10 ==1 or (N%100)%10 ==6 or (N%100)%10 ==8:\n print('pon')\nelse:\n print('hon')\n\n", "N = int(input())\nif (N%100)%10 == 3:\n print('bon')\nelif (N%100)%10 == 0 or (N%100)%10 ==1 or (N%100)%10 ==6 or (N%100)%10 ==8:\n print('pon')\nelse:\n print('hon')\n"]
['Runtime Error', 'Accepted']
['s221400592', 's339221998']
[9040.0, 9160.0]
[22.0, 26.0]
[171, 170]
p02675
u783291692
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]\n\nif A != str(2) or str(4) or str(5) or str(7) or str(9):\n \tprint("hon")\nelif A != str(0) or str(1) or str(6) or str(8): \n\tprint("pon")\nelse:\n\tprint("bon")', 'N = (input())\ns = N[-1]\n\nif s == str(2) or s == str(4) or s == str(5) or s == str(7) or s == str(9):\n \tprint("hon")\nelif s == str(0) or s== str(1) or s == str(6) or s == str(8): \n\tprint("pon")\nelse:\n\tprint("bon")']
['Wrong Answer', 'Accepted']
['s522263449', 's954520206']
[9056.0, 9128.0]
[21.0, 21.0]
[181, 215]
p02675
u785354231
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 本".
['nb = int(input())\nnumber = len(nb)-1\n\nif nb[number] in [2, 4, 5, 7, 9]:\n print("hon")\nelif nb[number] in [0, 1, 6, 8]:\n print(\'pon\')\nelse:\n print(\'bon\')', 'nb = input()\nnumber = len(nb)-1\n\nif int(nb[number]) in [2, 4, 5, 7, 9]:\n print("hon")\nelif int(nb[number]) in [0, 1, 6, 8]:\n print(\'pon\')\nelse:\n print(\'bon\')']
['Runtime Error', 'Accepted']
['s102420563', 's268580914']
[9176.0, 9160.0]
[32.0, 24.0]
[155, 160]
p02675
u787131053
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 == 3 :\n print("bon")\nelif n == 1 or N == 0 or N == 6 or N == 8:\n print("pon")\nelse:\n print("hon")', 'N = int(input())\nn = N%10\nif n == 3 :\n print("bon")\nelif n == 1 or n == 0 or n == 6 or n == 8:\n print("pon")\nelse:\n print("hon")']
['Wrong Answer', 'Accepted']
['s606693183', 's204828667']
[9164.0, 9112.0]
[21.0, 25.0]
[137, 137]
p02675
u790768332
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=[2,4,5,7,9]\nb=[0,1,6,8]\nc=[3]\nif n[-1] in a:\n print("hon")\nelif n[-1] in b:\n print("pon")\nelse:\n print("bon")', 'n=input()\na=[2,4,5,7,9]\nb=[0,1,6,8]\nc=[3]\nif int(n[-1]) in a:\n print("hon")\nelif int(n[-1]) in b:\n print("pon")\nelse:\n print("bon")\n\n']
['Wrong Answer', 'Accepted']
['s195780111', 's324349419']
[8988.0, 9172.0]
[21.0, 22.0]
[124, 136]
p02675
u792309960
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_1 = int(n[-1])\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\nbon = [3]\nif n_1 in hon:\n print('hon')\n elif n_1 in pon:\n print('pon')\n else:\n print('bon')", "n = input()\nn_1 = int(n[-1])\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\nbon = [3]\nif n_1 in hon:\n print('hon')\nelif n_1 in pon:\n print('pon')\nelse:\n print('bon')"]
['Runtime Error', 'Accepted']
['s920288143', 's384921954']
[8912.0, 9032.0]
[22.0, 23.0]
[163, 161]
p02675
u792578588
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 >0):\n\ts=str(a)\n\tif(s[-1] in ('2','4','5','7','9')):\n\t\tprint('hon')\n\telif(s[-1] in ('0','1','6','8')):\n\t\tprint('pon')\n\telif(s[-1] == '3'):\n\t\tprint('bonn')", "a=input()\ns=str(a)\nif(s[-1]==('2'or'4'or'5'or'7'or'9')):\n\tprint('hon')\nelif(s[-1]==('0'or'1'or'6'or'8')):\n\tprint('pon')\nelif(s[-1]==3):\n\tprint('bonn')", "a=input()\n\ts=str(a)\n\tif(s[-1] in ('2','4','5','7','9')):\n\t\tprint('hon')\n\telif(s[-1] in ('0','1','6','8')):\n\t\tprint('pon')\n\telif(s[-1] == '3'):\n\t\tprint('bon')", "k = input()\ns = input()\nif(len(s) <= int(k)):\n print(s)\nelse:\n print(s[:int(k)]+'...')", "a=input()\ns = str(a)\n\tif(s[-1] in ('2','4','5','7','9')):\n\t\tprint('hon')\n\telif(s[-1] in ('0','1','6','8')):\n\t\tprint('pon')\n\telif(s[-1] == '3'):\n\t\tprint('bon')", "a=input()\ns=str(a)\nif(s[-1]=='2','4','5','7','9'):\n\tprint('hon')\nelif(s[-1]=='0','1','6','8'):\n\tprint('pon')\nelse:\n\tprint('bonn')\n \n", "a=input()\ns=str(a)\nif(s[-1]==('2'or'4'or'5'or'7'or'9')):\n\tprint('hon')\nelif(s[-1]==('0'or'1'or'6'or'8')):\n\tprint('pon')\nelse:\n\tprint('bonn')", "a=input()\ns = str(a)\nif(s[-1] in ('2','4','5','7','9')):\n\tprint('hon')\nelif(s[-1] in ('0','1','6','8')):\n\tprint('pon')\nelif(s[-1] == '3'):\n\tprint('bon')"]
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s128180200', 's197711333', 's307783210', 's548839360', 's571316163', 's645216712', 's745780571', 's268965246']
[9124.0, 9112.0, 9016.0, 9008.0, 9016.0, 9104.0, 9108.0, 9052.0]
[22.0, 23.0, 21.0, 24.0, 25.0, 22.0, 22.0, 21.0]
[168, 150, 157, 88, 158, 135, 140, 152]
p02675
u792671636
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/env python3\nimport sys\n\n\ndef solve(K: int, S: str):\n if (len(S) <= K):\n print(S)\n else:\n print(S[0:K], "...", sep=\'\')\n return\n\n\n# Generated by 1.1.7.1 https://github.com/kyuridenamida/atcoder-tools (tips: You use the default template now. You can remove this line by using your custom template)\ndef main():\n def iterate_tokens():\n for line in sys.stdin:\n for word in line.split():\n yield word\n tokens = iterate_tokens()\n K = int(next(tokens)) # type: int\n S = next(tokens) # type: str\n solve(K, S)\n\nif __name__ == \'__main__\':\n main()\n', '#!/usr/bin/env python3\nimport sys\n\n\ndef solve(N: int):\n mod = N % 10\n if mod in [2, 4, 5, 7, 9]:\n print("hon")\n elif mod in [0, 1, 6, 8]:\n print("pon")\n else:\n print("bon")\n return\n\n\n# Generated by 1.1.7.1 https://github.com/kyuridenamida/atcoder-tools (tips: You use the default template now. You can remove this line by using your custom template)\ndef main():\n def iterate_tokens():\n for line in sys.stdin:\n for word in line.split():\n yield word\n tokens = iterate_tokens()\n N = int(next(tokens)) # type: int\n solve(N)\n\nif __name__ == \'__main__\':\n main()\n']
['Runtime Error', 'Accepted']
['s909553635', 's699731497']
[9188.0, 9188.0]
[25.0, 21.0]
[622, 642]
p02675
u793825184
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 nStr = str(n)\n if nStr[len(nStr)-1] == '3':\n print('bon')\n elif nStr[len(nStr)-1] == {'0','1','6','8'}:\n print('pon')\n else:\n print('hon')", "import math\n\nif __name__ =='__main__':\n a, b, h, m = map(int, input().split())\n h = h * 30 + m/2\n m = m * 6\n degree = abs(h - m)\n \n print(math.sqrt(a*a + b*b - 2*a*b*math.cos(math.radians(degree))))", 'import math\n\n a, b, h, m = map(int, input().split())\n h = h * 30 + m/2\n m = m * 6\n degree = abs(h - m)\n \n print(math.sqrt(a*a + b*b - 2*a*b*math.cos(math.radians(degree))))', " n = int(input())\n nStr = str(n)\n number = nStr[len(nStr)-1]\n if number == '3':\n print('bon')\n elif number == '0'or number=='1'or number =='6'or number =='8':\n print('pon')\n else:\n print('hon')\n", "n = int(input())\n nStr = str(n)\n number = nStr[len(nStr)-1]\n if number == '3':\n print('bon')\n elif number == '0'or number=='1'or number =='6'or number =='8':\n print('pon')\n else:\n print('hon')", " n = int(input())\n nStr = str(n)\n print(nStr[len(nStr)-1])\n if nStr[len(nStr)-1] == '3':\n print('bon')\n elif nStr[len(nStr)-1] == {'0','1','6','8'}:\n print('pon')\n else:\n print('hon')", "n = int(input())\n nStr = str(n)\n if nStr[len(nStr)-1] == 3:\n print('bon')\n elif n == {0,1,6,8}:\n print('pon')\n else:\n print('hon')", "n = int(input())\n nStr = str(n)\n if nStr[len(nStr)-1] == 3:\n print('bon')\n elif n == {0,1,6,8}:\n print('pon')\n else:\n print('hon')", 'n = int(input()) % 10\nif n == 3:\n print("bon")\nelif n in(0,1,6,8):\n print("pon")\nelse:\n print("hon")']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s025651544', 's120256829', 's370103783', 's403822784', 's634383554', 's755091081', 's775131622', 's839347998', 's958625426']
[8912.0, 9108.0, 9000.0, 8836.0, 8944.0, 8940.0, 8932.0, 8944.0, 9136.0]
[24.0, 21.0, 21.0, 21.0, 24.0, 24.0, 23.0, 23.0, 21.0]
[190, 213, 188, 231, 229, 220, 163, 163, 103]
p02675
u796942881
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 本".
['IDENTIFICATION DIVISION.\nPROGRAM-ID. PROGRAM_ID.\n\nDATA DIVISION.\nWORKING-STORAGE SECTION.\n01 ln PIC X(30).\n01 N PIC 9(10).\n01 Q PIC 9(10).\n01 R PIC 9(10).\n\nPROCEDURE DIVISION.\n ACCEPT ln.\n UNSTRING ln DELIMITED BY SPACE INTO N.\n DIVIDE N BY 10 GIVING Q REMAINDER R.\n IF R = 2 OR 4 OR 5 OR 7 OR 9\n DISPLAY "hon"\n ELSE IF R = 0 OR 1 OR 6 OR 8\n DISPLAY "pon"\n ELSE\n DISPLAY "bon"\n END-IF.\n STOP RUN.\n', 'def main():\n N = input()\n N = int(N[len(N) - 1])\n ans = ""\n if N in {2, 4, 5, 7, 9}:\n ans = "hon"\n elif N in {0, 1, 6, 8}:\n ans = "pon"\n else:\n ans = "bon"\n print(ans)\n return\n\n\nmain()\n']
['Runtime Error', 'Accepted']
['s472435655', 's491941955']
[8932.0, 9024.0]
[22.0, 23.0]
[471, 230]
p02675
u799428010
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>=100:\n x=str(x)\n if x[2]==2 or 4 or 5 or 7 or 9:\n \t print('hon')\n elif x[2]==0 or 1 or 6 or 8:\n \t print('pon')\n else:\n print('bon')\nx=int(x)\nif x<100 and x>=10:\n x=str(x)\n if x[1]==2 or 4 or 5 or 7 or 9:\n \t print('hon')\n elif x[1]==0 or 1 or 6 or 8:\n \t print('pon')\n else:\n print('bon')\nx=int(x)\nif x<10:\n x=str(x)\n if x[0]==2 or 4 or 5 or 7 or 9:\n \t print('hon')\n elif x[0]==0 or 1 or 6 or 8:\n \t print('pon')\n else:\n print('bon')", "x=int(input())\nif x>=100:\n x=str(x)\n if x[2]==2 or 4 or 5 or 7 or 9:\n \t print('hon')\n elif x[2]==0 or 1 or 6 or 8:\n \t print('pon')\n else:\n print('bon')\nx=int(x)\nif x<100 and x>=10:\n x=str(x)\n if x[1]==2 or 4 or 5 or 7 or 9:\n \t print('hon')\n elif x[1]==0 or 1 or 6 or 8:\n \t print('pon')\n else:\n print('bon')\nx=int(x)\nif x<10:\n x=str(x)\n if x[0]==2 or 4 or 5 or 7 or 9:\n \t print('hon')\n elif x[0]==0 or 1 or 6 or 8:\n \t print('pon')\n else:\n print('bon')\n", 'n = int(input())\ns = n%10\nif s in [3]:\n print("bon")\nelif s in [0,1,6,8]:\n print("pon")\nelse:\n print("hon")\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s501149412', 's585746992', 's834800439']
[9268.0, 9256.0, 9124.0]
[23.0, 20.0, 20.0]
[536, 537, 111]
p02675
u801676229
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("enter the number:"))\nldigit = num%10\nbon = [3]\npon = [0,1,6,8]\nif ldigit in bon:\n print(\'bon\')\nelif ldigit in pon:\n print(\'pon\')\nelse:\n print(\'hon\')', 'N = int(input("enter the number:"))\nldigit = N%10\nbon = [3]\npon = [0,1,6,8]\nif ldigit in bon:\n print(\'bon\')\nelif ldigit in pon:\n print(\'pon\')\nelse:\n print(\'hon\')', "N = int(input())\nldigit = N%10\nbon = [3]\npon = [0,1,6,8]\nif ldigit in bon:\n print('bon')\nelif ldigit in pon:\n print('pon')\nelse:\n print('hon')"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s195938674', 's585809695', 's586054704']
[8916.0, 9176.0, 9112.0]
[21.0, 19.0, 23.0]
[166, 164, 145]
p02675
u802662134
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()\nf = N % 10\nif(f==3):\n print("bon")\nelif(f==0,1,6,8):\n print("pon")\nelse:\n print("hon")', 'N = input()\nf = N % 10 \nif (f==3):\n print("bon")\nelif (f==0 || f==1 || f== 6 || f==8):\n print("pon")\nelse:\n print("hon")', 'N=int(input())\nf = N % 10\nif f==3:\n print("bon")\nelif f==0 or f==1 or f==6 or f==8:\n print("pon")\nelse:\n print("hon")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s357823229', 's937003053', 's194675556']
[9068.0, 8892.0, 9144.0]
[23.0, 22.0, 24.0]
[101, 123, 120]
p02675
u803684095
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', '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']
['Wrong Answer', 'Accepted']
['s631758508', 's372191118']
[9032.0, 8980.0]
[27.0, 28.0]
[128, 133]
p02675
u803865203
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())\nprint(n,n[-1])\nif(n[-1] == "3"):\n print("bon")\nelif(n[-1] in ["0","1","6","8"]):\n print("pon")\nelse:\n print("hon")\n', 'n = list(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']
['s527510059', 's820707003']
[9100.0, 9092.0]
[22.0, 22.0]
[142, 127]
p02675
u803969401
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['def A():\n n = int(input())\n hon = [2, 4, 5,7,9]\n pon = [0, 1, 6, 8]\n bon = [3]\n if n%10 in hon:\n print("hon")\n elif n%10 in pon:\n print("pon")\n elif n%10 in bon:\n print("bon")\n', 'def A():\n n = int(input())\n hon = [2, 4, 5,7,9]\n pon = [0, 1, 6, 8]\n bon = [3]\n if n%10 in hon:\n print("hon")\n elif n%10 in pon:\n print("pon")\n elif n%10 in bon:\n print("bon")\nA()']
['Wrong Answer', 'Accepted']
['s884725832', 's439148768']
[9040.0, 9172.0]
[20.0, 22.0]
[218, 221]
p02675
u806392288
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 or N[-1] == 1 or N[-1] == 6 or N[-1] == 8:\n print("pon")\nelse:\n print("hon")', 'N = input()\nif N[-1] == "3":\n print("bon")\nelif N[-1] == "0" or N[-1] == "1" or N[-1] == "6" or N[-1] == "8":\n print("pon")\nelse:\n print("hon")']
['Wrong Answer', 'Accepted']
['s158203775', 's088002804']
[9012.0, 9032.0]
[24.0, 20.0]
[138, 146]
p02675
u809963697
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(N)\nidentify = N[-1]\nanswer = 'hon'\npon_list = ['0','1', '6', '8']\nbon_list = ['3']\nif identify in pon_list:\n answer = 'pon'\nelif identify in bon_list:\n answer = 'bon'\nprint(answer)", "N = str(N)\nanswer = 'hon'\npon_list = [0, 1, 6, 8]\nbon_list = [3]\nif N[-1] in bon_list:\n answer = 'bon'\nelif N[-1] in pon_list:\n answer = 'pon'\nprint(answer)", "N = str(input())\nidentify = N[-1]\nanswer = ''\npon_list = ['0','1', '6', '8']\nbon_list = ['3']\nif identify in pon_list:\n answer = 'pon'\nelif identify in bon_list:\n answer = 'bon'\nelse:\n answer = 'hon'\nprint(answer)"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s031843317', 's931212762', 's375445707']
[9036.0, 8992.0, 8928.0]
[25.0, 23.0, 21.0]
[190, 158, 216]
p02675
u811416874
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=<999\n\nif N[-1]==2 or 4 or 5 or 7 or 9:\n print('hon')\n\nelif N[-1]==0 or 1 or 6 or 8:\n print('pon')\n \nelse:\n print('bon')", "N=< 999\n\nif N [-1]= 2 or 4 or 5 or 7 or 9 :\n print ('hon')\n\nelif N[-1]= 0 or 1 or 6 or 8:\n print('pon')\n \nelse N[-1]=3:\n print('bon')", "N=<999\n\nN = input()\n\nif N[-1]= 2or 4or 5 or 7 or 9:\n print('hon')\n \nelif N[-1]==0or 1or 6or 8:\n print('pon')\n \nelse:\n print('bon')\n \n ", "N = input()\n \nif N[-1]==2or 4or 5or 7or 9:\n print('hon')\n \n elif N[-1]==0or 1or 6or 8:\n print('pon')\n \n else:\n print('bon')", "N = input()\n \nif N[-1]==2or N[-1]==4 or N[-1]==5or N[-1]==7or N[-1]==9:\n print('hon')\n \nelif N[-1]==0or N[-1]==1or N[-1]==6or N[-1]==8:\n print('pon')\n \nelse:\n print('bon')", "N = input()\n\nif N{[-1]==2or 4or 5or 7or 9:\n print('hon')\n \n elif N[-1]==0or 1or 6or 8:\n print('pon')\n \n else:\n print('bon')", "N = input()\n \nif N[-1]==2or N[-1]==4 or N[-1]==5or N[-1]==7or N[-1]==9:\n print('hon')\n \nelif N[-1]==0or N[-1]==1or N[-1]==6or N[-1]==8:\n print('pon')\n \nelse:\n print('bon')", "N = input()\n \nif N[-1]==2or N[-1]==4 or N[-1]==5or N[-1]==7or N[-1]==9:\n print('hon')\n \n elif N[-1]==0or N[-1]==1or N[-1]==6or N[-1]==8:\n print('pon')\n \n else:\n print('bon')", "N = input()\n\nif N[-1]==2or 4or 5or 7or 9:\n print('hon')\n \nelif N[-1]==0or 1or 6or 8:\n print('pon')\n \nelse:\n print('bon')", "N = input()\n \nif N[-1]==2 or N[-1]==4 or N[-1]==5 or N[-1]==7 or N[-1]==9:\n print('hon')\n \nelif N[-1]==0 or N[-1]==1 or N[-1]==6 or N[-1]==8:\n print('pon')\n \nelse:\n print('bon')", "N = input()\n \nif N[-1]==2or 4or 5or 7or 9:\n print('hon')\n \nelif N[-1]==0or 1or 6or 8:\n print('pon')\n \nelse:\n print('bon')", "N = input()\n \nif N[-1]=='2' or N[-1]=='4' or N[-1]=='5' or N[-1]=='7' or N[-1]=='9':\n print('hon')\n \nelif N[-1]=='0' or N[-1]=='1' or N[-1]=='6' or N[-1]=='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', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s047889656', 's062832101', 's183881137', 's188738437', 's258893815', 's297431471', 's320661471', 's379560948', 's548242354', 's875462794', 's984878054', 's085901623']
[8948.0, 8940.0, 9008.0, 9020.0, 8952.0, 8948.0, 9028.0, 8960.0, 8840.0, 8988.0, 8960.0, 9048.0]
[22.0, 20.0, 24.0, 24.0, 20.0, 23.0, 23.0, 21.0, 22.0, 19.0, 22.0, 20.0]
[126, 137, 141, 147, 189, 151, 188, 197, 125, 194, 139, 212]
p02675
u812771098
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 == 3:\n\tprint('bon')\nelif n in [0, 1, 6, 8]:\n\tprint('pon')\nelse:\n\tprint('hon')", "n = int(input()) % 10\n\nif n == 3:\n\tprint('bon')\nelif n in [0, 1, 6, 8]:\n\tprint('pon')\nelse:\n\tprint('hon')"]
['Wrong Answer', 'Accepted']
['s340822886', 's912882919']
[9040.0, 9164.0]
[22.0, 22.0]
[100, 105]
p02675
u812829470
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 numpy as np\n# -*- coding: utf-8 -*-\nN = int(input())\nX = np.zeros((N, 2))\nfor i in range(N):\n X[i,:] = list(map(int, input().split()))\nprint("{0}".format((((np.abs(X @ X.T))[np.triu_indices(N, 1)] > 0).sum() + N)% 1000000007) )', '# -*- coding: utf-8 -*-\n\nN = int(input()[-1])\n\nprint("{0}".format("hon" if N in [2,4,5,7,9] else "pon" if N in [0, 1, 6, 8] else "bon"))\n']
['Runtime Error', 'Accepted']
['s970342888', 's983006674']
[27084.0, 9156.0]
[113.0, 22.0]
[237, 154]
p02675
u813405587
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["s = int(input())\nn = len(s)\na = s[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')\n", "s = int(input())\nb = [s]\nn = len(s)\na = b[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')\n", "s = int(input())\nn = len(s)\na = s[: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')\n", "s = int(input())\nb = [s]\nn = len(s)\na = b[n-1]\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", "s = input()\nif s.endswith(2,4,5,7,9) == True:\n print('hon')\nelif s.endswith(0,1,6,8) == True:\n print('pon')\nelse:\n print('bon')", "s = list(int,input())\nn = len(s)\na = s[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')\n", "s = input()\nif s.endswith(2) == True or s.endswith(4) ==True or s.endswitch(5) == True or s.endswith(7) == True or s.endswith(9) == True:\n \n print('hon')\nelif s.endswith(0) == True or s.endswith(1) == True or s.endswitch(6) == True or s.endswitch(8) == True:\n print('pon')\nelse:\n print('bon')\n", "s = int(input())\nn = len(s)\nif s[n] == 2,4,5,7,9:\n print('hon')\nelif s[n] = 0,1,6,8:\n print('pon')\nelse:\n print('bon')", "s = input()\nn = len(s)\nb = [s]\n\nc = n-1\na = b[c]\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", "s = int(input())\nb = [s]\nn = len(s)\na = b[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')\n", "s = input()\nn = len(s)\nb = [s]\n\nc = n-1\na = b[c]\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", "s = input()\nb = [s]\nn = len(s)\na = b[n-1]\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", "s = input()\nif s.endswith('2') == True or s.endswith('4') ==True or s.endswitch('5') == True or s.endswith('7') == True or s.endswith('9') == True:\n \n print('hon')\nelif s.endswith('0') == True or s.endswith('1') == True or s.endswitch('6') == True or s.endswitch('8') == True:\n print('pon')\nelse:\n print('bon')\n", "s = input()\nb = [s]\nn = len(s)\nc = n-1\na = b[c]\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", "s = int(input())\nn = len(s)\na = s[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')\n", "s = input()\nn = len(s)\na = s[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')\n"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s012633421', 's224744997', 's225927047', 's245484046', 's248007854', 's268850770', 's314129400', 's635429987', 's699424589', 's757448766', 's765935167', 's815299372', 's829969647', 's851279734', 's986855539', 's804427609']
[9112.0, 9176.0, 9112.0, 9184.0, 9040.0, 8980.0, 9124.0, 9008.0, 9052.0, 9172.0, 9056.0, 9080.0, 8984.0, 9048.0, 9176.0, 9112.0]
[24.0, 24.0, 20.0, 25.0, 25.0, 23.0, 22.0, 20.0, 22.0, 24.0, 20.0, 24.0, 22.0, 21.0, 24.0, 24.0]
[182, 208, 183, 210, 130, 187, 297, 121, 212, 190, 194, 205, 315, 211, 186, 199]
p02675
u815763296
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\nans = int(N[len(N)-1])\n\nprint(ans)\nif ans == 3:\n print('bon')\nelif ans == 0 or ans == 1 or ans == 6 or ans == 8:\n print('pon')\nelse:\n print('hon')\n", "N = input()\n\nans = int(N[len(N)-1])\n\n\nif ans == 3:\n print('bon')\nelif ans == 0 or ans == 1 or ans == 6 or ans == 8:\n print('pon')\nelse:\n print('hon')\n"]
['Wrong Answer', 'Accepted']
['s530556269', 's151181708']
[8980.0, 9160.0]
[29.0, 30.0]
[169, 159]
p02675
u816500527
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 S = S[0:K] + "..."\n print(S)\n', 'import numpy as np\nimport math \nA, B, H, M = map(int, input().split())\n\npai = math.pi\nangle = 2*pai*((H+M/60)/12 - M/60)\n\ndistance = np.sqrt(A**2+B**2-2*A*B*np.cos(angle))\nprint(distance)\n', 'i = int(input())\ns = i % 10\nif s in [2, 4, 5, 7, 9]:\n print("pon")\nelif s in [0, 1, 6, 8]:\n print("hon")\nelse:\n print("bon")', 'i = int(input())\ns = i % 10\nif s in [2, 4, 5, 7, 9]:\n print("hon")\nelif s in [0, 1, 6, 8]:\n print("pon")\nelse:\n print("bon")']
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s502374967', 's723802231', 's918490296', 's003099375']
[9072.0, 27100.0, 9116.0, 9172.0]
[21.0, 105.0, 22.0, 22.0]
[97, 188, 127, 127]
p02675
u819911285
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 = print()\n\ns = int(n) % 10\n\nif s == 3:\n print('bon')\nif s == 1:\n print('pon')\nif s == 2:\n print('hon')\nif s == 4:\n print('hon')\nif s == 5:\n print('hon')\nif s == 6:\n print('pon')\nif s == 7:\n print('hon')\nif s == 8:\n print('pon')\nif s == 9:\n print('hon')\nif s == 0:\n print('pon')", "N = input()\ns = int(N) % 10\n \nif s == 3:\n print('bon')\nif s == 0 or 1 or 6 or 8:\n print('hon')\nelse:\n print('pon')", "N = input()\ns = int(N) % 10\n\nif s == 3:\n print('bon')\nif s == 0 or 1 or 6 or 8:\n print('hon')\nelse:\n print('pon')\n ", "n = print()\n \ns = int(n) % 10\n \nif s == 3:\n\tprint('bon')\nif s == 1:\n\tprint('pon')\nif s == 2:\n print('hon')\nif s == 4:\n print('hon')\nif s == 5:\n print('hon')\nif s == 6:\n print('pon')\nif s == 7:\n print('hon')\nif s == 8:\n print('pon')\nif s == 9:\n print('hon')\nif s == 0:\n print('pon')", "n = input()\n\ns = N % 10\n\nif s in [3]\n\tprint('bon')\nif s in [0, 1, 6, 8]\n\tprint('hon')\nif s in [2, 4, 5, 7, 9]\n print('pon')", "N = input()\ns = int(N) % 10\n \nif s == 3:\n print('bon')\nif s == 0 or 1 or 6 or 8:\n print('pon')\nif s == 2 or 4 or 5 or 7 or 9:\n print('hon')", "N = input()\ns = int(N) % 10\nif s == 3:\n print('bon')\nif s == 0:\n print('pon')\nif s == 1:\n print('pon')\nif s == 6:\n print('pon')\nif s == 8:\n print('pon')\n \nif s == 2:\n print('hon')\nif s == 4:\n print('hon')\nif s == 5:\n print('hon')\nif s == 7:\n print('hon')\nif s == 9:\n print('hon')"]
['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s060613983', 's368395169', 's619129316', 's752709735', 's824681126', 's998951356', 's178392860']
[9080.0, 9000.0, 9088.0, 9000.0, 9028.0, 9072.0, 9144.0]
[19.0, 20.0, 21.0, 20.0, 23.0, 22.0, 20.0]
[289, 117, 121, 305, 126, 142, 309]
p02675
u820180033
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 return'hon'\nelif N in[0,1,6,8]:\n return 'pon'\nelif N == 3:\n return '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')\n"]
['Runtime Error', 'Accepted']
['s507054163', 's739311060']
[8964.0, 9104.0]
[20.0, 22.0]
[123, 125]
p02675
u820685137
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 本".
['"""AtCoder."""\n\nn = int(input())\n\ns = None\n\nif n in (2, 4, 5, 7, 9):\n s = \'hon\'\nelif n in (0, 1, 6, 8):\n s = \'pon\'\nelif n in (3,):\n s = \'bon\'\n\nprint(s)\n', '"""AtCoder."""\n\nn = int(input()[-1])\n\ns = None\n\nif n in (2, 4, 5, 7, 9):\n s = \'hon\'\nelif n in (0, 1, 6, 8):\n s = \'pon\'\nelif n in (3,):\n s = \'bon\'\n\nprint(s)\n']
['Wrong Answer', 'Accepted']
['s172172289', 's036126022']
[8800.0, 9024.0]
[26.0, 28.0]
[161, 165]
p02675
u822090837
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 or N[-1]==8 or N[-1]==6 or N[-1]==1:\n print("pon")\nelse:\n print("hon") ', 'N=input()\nif s[-1]==3:\n print ("bon")\nelif s[-1]==0 or s[-1]==8 or s[-1]==6 or s[-1]==1:\n print("pon")\nelse:\n print("hon") ', 'N=input()\nif N[-1]==3:\n print ("bon")\nelif N[-1]==0 or N[-1]==8 or N[-1]==6 or [n-1]==1:\n print("pon")\nelse:\n print("hon") \n', 'N=input()\nif N[-1]=="3":\n print ("bon")\nelif N[-1]=="0" or N[-1]=="8" or N[-1]=="6" or N[-1]=="1":\n print("pon")\nelse:\n print("hon") \n']
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s355627792', 's370217994', 's874111759', 's557441114']
[9016.0, 8824.0, 9000.0, 8860.0]
[24.0, 25.0, 24.0, 27.0]
[132, 134, 136, 146]
p02675
u824537226
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
["N = input()\n\nif N[-1] == 3:\n print('bon')\nelif N[-1] == 0 or N[-1] == 1 or N[-1] == 6 or N[-1] == 8 :\n print('pon')\nelse :\n print('hon')\n", "N = input()\n\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"]
['Wrong Answer', 'Accepted']
['s559400681', 's333330349']
[9092.0, 9104.0]
[19.0, 21.0]
[146, 156]
p02675
u824734140
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['n = input()\n\nif n[1] in [2, 4, 5, 7, 9]:\n print("hon")\nelif n[1] in [0, 1, 6, 8]:\n print("pon")\nelse:\n print("bon")\n', 'n = 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")\n', '\n\n\na = int(input()) % 10\nprint(\'pphbhhphph\'[a] + "on") \n']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s030062872', 's217319437', 's416310365']
[9024.0, 9044.0, 9152.0]
[26.0, 22.0, 21.0]
[125, 127, 164]
p02675
u825176191
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()\ny = x[-1]\nif y == 3:\n print("bon")\nelif y == 0:\n print("pon")\nelif y == 1:\n print("pon")\nelif y == 6:\n print("pon")\nelif y == 8:\n print("pon")\nelse:\n print("hon")', 'x = input()\ny = x[-1]\nif y == 3:\n print("bon")\nelif y == 0,1,6,8:\n print("pon")\nelse:\n print("hon")', 'x = input()\ny = x[-1]\nif y==3:\n print("bon")\nelif y == 0:\n print("pon")\nelif y == 1:\n print("pon")\nelif y == 6:\n print("pon")\nelif y == 8:\n print("pon")\nelse:\n print("hon")', 'x = input()\ny = x[-1]\nif y == 3:\n print("bon")\nelif y == 0,:\n print("pon")\nelif y == 1:\n print("pon")\nelif y == 6:\n print("pon")\nelif y == 8:\n print("pon")\nelse:\n print("hon")', 'x = int(input())\ny = x%10\nif y == 3:\n print("bon")\nelif y == 0:\n print("pon")\nelif y == 1:\n print("pon")\nelif y == 6:\n print("pon")\nelif y == 8:\n print("pon")\nelse:\n print("hon")']
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s017333565', 's053744246', 's353244131', 's511251137', 's507821792']
[9048.0, 8956.0, 8988.0, 8752.0, 8996.0]
[23.0, 22.0, 22.0, 23.0, 23.0]
[180, 102, 178, 181, 184]
p02675
u826354810
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['def resolve():\n N = int(input())\n if(N % 10 in [2,4,5,7,9]):\n print("hon")\n elif(N % 10 in [0,1,6,8]):\n print("pon")\n elif(N % 10 == 3):\n print("bon")\n\n', 'def resolve():\n N = int(input())\n if(N % 10 in [2,4,5,7,9]):\n print("hon")\n elif(N % 10 in [0,1,6,8]):\n print("pon")\n elif(N % 10 == 3):\n print("bon")\n\nresolve()']
['Wrong Answer', 'Accepted']
['s959445154', 's450931484']
[9036.0, 9112.0]
[21.0, 21.0]
[185, 194]
p02675
u827554201
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a positive integer N not exceeding 999 is as follows: * `hon` when the digit in the one's place of N is 2, 4, 5, 7, or 9; * `pon` when the digit in the one's place of N is 0, 1, 6 or 8; * `bon` when the digit in the one's place of N is 3. Given N, print the pronunciation of "本" in the phrase "N 本".
['def solve(N):\n last = int(str(N)[len(N)-1])\n if last == 0 or last == 1 or last == 6 or last == 8:\n print("pon")\n elif last == 3:\n print("bon")\n else:\n print("hon")\n\nN = open(0).read()\nsolve(N)', 'def solve(N):\n last = int(str(N)[len(N)-1])\n if last == 0 or last == 1 or last == 6 or last == 8:\n print("pon")\n elif last == 3:\n print("bon")\n else:\n print("hon")\n\nN = input()\nsolve(N)\n']
['Runtime Error', 'Accepted']
['s252944766', 's164712920']
[9172.0, 9164.0]
[20.0, 20.0]
[225, 219]
p02675
u828551622
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/python\n# -*- coding: UTF-8 -*-\n\nN = int(input())\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:\n\tprint('hon')", "#!/usr/bin/python\n# -*- coding: UTF-8 -*-\n\nN = int(input())\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:\n\tprint('hon')"]
['Runtime Error', 'Accepted']
['s474646761', 's910820310']
[8824.0, 9108.0]
[22.0, 21.0]
[175, 176]
p02675
u829416877
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 = 3:\n print('bon')\nelif N % 10 = 0:\n print('pon')\nelif N % 10 = 1:\n print('pon')\nelif N % 10 = 6:\n print('pon')\nelif N % 10 = 8:\n print('pon')\nelse:\n print('hon')", "N = int(input())\n\nif int(N) % 10 = 3:\n print('bon')\nelif int(N) % 10 = 0:\n print('pon')\nelif int(N) % 10 = 1:\n print('pon')\nelif int(N) % 10 = 6:\n print('pon')\nelif int(N) % 10 = 8:\n print('pon')\nelse:\n print('hon')\n", "N = int(input())\n\nif N % 10 = 3:\n print('bon')\nelif N % 10 = 0:\n print('pon')\nelif N % 10 = 1:\n print('pon')\nelif N % 10 = 6:\n print('pon')\nelif N % 10 = 8:\n print('pon')\nelse:\n print('hon')\n", "N = int(input())\n\nif N % 10 = 3:\n print('bon')\nelif N % 10 = 0 or 1 or 6 or 8:\n print('pon')\nelse:\n print('hon')", "N = int(input())\nif int(N)%10 = 3:\n print('bon')\nelif int(N)%10 = 0 or 1 or 6 or 8:\n print('pon')\nelse:\n print('hon')", "N = int(input())\n\nif N % 10 == 3:\n print('bon')\nelif N % 10 == 0:\n print('pon')\nelif N % 10 == 1:\n print('pon')\nelif N % 10 == 6:\n print('pon')\nelif N % 10 == 8:\n print('pon')\nelse:\n print('hon')\n"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s070835721', 's281011303', 's490876195', 's663048907', 's780928554', 's422832010']
[9012.0, 8952.0, 9008.0, 8944.0, 9012.0, 9168.0]
[22.0, 22.0, 22.0, 23.0, 25.0, 24.0]
[189, 216, 191, 112, 117, 196]
p02675
u830881690
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 == 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())\nmod = n % 10\nif mod==2 or mod==4 or mod==5 or mod==7 or mod==9:\n print('hon')\nelif mod==0 or mod==1 or mod==6 or mod==8:\n print('pon')\nelse:\n print('bon')"]
['Wrong Answer', 'Accepted']
['s062522775', 's681156352']
[9080.0, 9020.0]
[20.0, 22.0]
[136, 174]