node_ids
listlengths 4
1.4k
| edge_index
listlengths 1
2.22k
| text
listlengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
0,
13,
4,
18,
13,
18,
13,
17,
41,
13,
39,
17,
17,
17,
17,
17,
41,
13,
39,
17,
17,
17,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
4,
18,
18,
13,
13,
17,
29,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
94,
8
],
[
94,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
17,
22
],
[
11,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
35,
38
],
[
35,
39
],
[
35,
40
],
[
11,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
43,
46
],
[
43,
47
],
[
11,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
49,
55
],
[
55,
56
],
[
55,
57
],
[
48,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
58,
65
],
[
11,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
67,
73
],
[
73,
74
],
[
73,
75
],
[
66,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
76,
83
],
[
11,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
11,
90
],
[
9,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
]
] |
[
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n String[] arr = reader.readLine().split (\" \");\n int N;\n N = Integer.parseInt (arr[0]);\n Integer[] arrHon = {2, 4, 5, 7, 9};\n Integer[] arrPon = {0, 1, 6, 8};\n if (Arrays.asList (arrHon).contains (N % 10)) {\n System.out.println (\"hon\");\n return;\n }\n if (Arrays.asList (arrPon).contains (N % 10)) {\n System.out.println (\"pon\");\n return;\n }\n System.out.println (\"bon\");\n return;\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n String[] arr = reader.readLine().split (\" \");\n int N;\n N = Integer.parseInt (arr[0]);\n Integer[] arrHon = {2, 4, 5, 7, 9};\n Integer[] arrPon = {0, 1, 6, 8};\n if (Arrays.asList (arrHon).contains (N % 10)) {\n System.out.println (\"hon\");\n return;\n }\n if (Arrays.asList (arrPon).contains (N % 10)) {\n System.out.println (\"pon\");\n return;\n }\n System.out.println (\"bon\");\n return;\n }\n}",
"Main",
"public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n String[] arr = reader.readLine().split (\" \");\n int N;\n N = Integer.parseInt (arr[0]);\n Integer[] arrHon = {2, 4, 5, 7, 9};\n Integer[] arrPon = {0, 1, 6, 8};\n if (Arrays.asList (arrHon).contains (N % 10)) {\n System.out.println (\"hon\");\n return;\n }\n if (Arrays.asList (arrPon).contains (N % 10)) {\n System.out.println (\"pon\");\n return;\n }\n System.out.println (\"bon\");\n return;\n }",
"main",
"{\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n String[] arr = reader.readLine().split (\" \");\n int N;\n N = Integer.parseInt (arr[0]);\n Integer[] arrHon = {2, 4, 5, 7, 9};\n Integer[] arrPon = {0, 1, 6, 8};\n if (Arrays.asList (arrHon).contains (N % 10)) {\n System.out.println (\"hon\");\n return;\n }\n if (Arrays.asList (arrPon).contains (N % 10)) {\n System.out.println (\"pon\");\n return;\n }\n System.out.println (\"bon\");\n return;\n }",
"BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));",
"reader",
"new BufferedReader (new InputStreamReader (System.in))",
"String[] arr = reader.readLine().split (\" \");",
"arr",
"reader.readLine().split (\" \")",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\" \"",
"int N;",
"N",
"N = Integer.parseInt (arr[0])",
"N",
"Integer.parseInt (arr[0])",
"Integer.parseInt",
"Integer",
"arr[0]",
"arr",
"0",
"Integer[] arrHon = {2, 4, 5, 7, 9};",
"arrHon",
"{2, 4, 5, 7, 9}",
"2",
"4",
"5",
"7",
"9",
"Integer[] arrPon = {0, 1, 6, 8};",
"arrPon",
"{0, 1, 6, 8}",
"0",
"1",
"6",
"8",
"if (Arrays.asList (arrHon).contains (N % 10)) {\n System.out.println (\"hon\");\n return;\n }",
"Arrays.asList (arrHon).contains (N % 10)",
"Arrays.asList (arrHon).contains",
"Arrays.asList (arrHon)",
"Arrays.asList",
"Arrays",
"arrHon",
"N % 10",
"N",
"10",
"{\n System.out.println (\"hon\");\n return;\n }",
"System.out.println (\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"return;",
"if (Arrays.asList (arrPon).contains (N % 10)) {\n System.out.println (\"pon\");\n return;\n }",
"Arrays.asList (arrPon).contains (N % 10)",
"Arrays.asList (arrPon).contains",
"Arrays.asList (arrPon)",
"Arrays.asList",
"Arrays",
"arrPon",
"N % 10",
"N",
"10",
"{\n System.out.println (\"pon\");\n return;\n }",
"System.out.println (\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"return;",
"System.out.println (\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"return;",
"String[] args",
"args",
"public class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n String[] arr = reader.readLine().split (\" \");\n int N;\n N = Integer.parseInt (arr[0]);\n Integer[] arrHon = {2, 4, 5, 7, 9};\n Integer[] arrPon = {0, 1, 6, 8};\n if (Arrays.asList (arrHon).contains (N % 10)) {\n System.out.println (\"hon\");\n return;\n }\n if (Arrays.asList (arrPon).contains (N % 10)) {\n System.out.println (\"pon\");\n return;\n }\n System.out.println (\"bon\");\n return;\n }\n}",
"public class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n String[] arr = reader.readLine().split (\" \");\n int N;\n N = Integer.parseInt (arr[0]);\n Integer[] arrHon = {2, 4, 5, 7, 9};\n Integer[] arrPon = {0, 1, 6, 8};\n if (Arrays.asList (arrHon).contains (N % 10)) {\n System.out.println (\"hon\");\n return;\n }\n if (Arrays.asList (arrPon).contains (N % 10)) {\n System.out.println (\"pon\");\n return;\n }\n System.out.println (\"bon\");\n return;\n }\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main {
public static void main (String[] args) throws Exception {
BufferedReader reader =
new BufferedReader (new InputStreamReader (System.in));
String[] arr = reader.readLine().split (" ");
int N;
N = Integer.parseInt (arr[0]);
Integer[] arrHon = {2, 4, 5, 7, 9};
Integer[] arrPon = {0, 1, 6, 8};
if (Arrays.asList (arrHon).contains (N % 10)) {
System.out.println ("hon");
return;
}
if (Arrays.asList (arrPon).contains (N % 10)) {
System.out.println ("pon");
return;
}
System.out.println ("bon");
return;
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
4,
18,
13,
17,
14,
2,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
4,
18,
13,
13,
17,
2,
4,
18,
13,
13,
17,
2,
4,
18,
13,
13,
17,
2,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
80,
5
],
[
80,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
19,
23
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
25,
30
],
[
24,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
24,
37
],
[
37,
38
],
[
40,
39
],
[
53,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
41,
46
],
[
40,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
47,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
53,
58
],
[
40,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
59,
64
],
[
37,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
37,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO θͺεηζγγγγ‘γ½γγγ»γΉγΏγ\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.next();\n\t\t\n\t\tint temp = n.length() - 1;\n\t\t\n\t\tif(n.charAt(temp) == '3') System.out.println(\"bon\");\n\t\telse if(n.charAt(temp) == '0' || n.charAt(temp) == '1' || n.charAt(temp) == '6' || n.charAt(temp) == '8') System.out.println(\"pon\");\n\t\telse System.out.println(\"hon\");\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO θͺεηζγγγγ‘γ½γγγ»γΉγΏγ\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.next();\n\t\t\n\t\tint temp = n.length() - 1;\n\t\t\n\t\tif(n.charAt(temp) == '3') System.out.println(\"bon\");\n\t\telse if(n.charAt(temp) == '0' || n.charAt(temp) == '1' || n.charAt(temp) == '6' || n.charAt(temp) == '8') System.out.println(\"pon\");\n\t\telse System.out.println(\"hon\");\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO θͺεηζγγγγ‘γ½γγγ»γΉγΏγ\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.next();\n\t\t\n\t\tint temp = n.length() - 1;\n\t\t\n\t\tif(n.charAt(temp) == '3') System.out.println(\"bon\");\n\t\telse if(n.charAt(temp) == '0' || n.charAt(temp) == '1' || n.charAt(temp) == '6' || n.charAt(temp) == '8') System.out.println(\"pon\");\n\t\telse System.out.println(\"hon\");\n\t\t\n\t}",
"main",
"{\n\t\t// TODO θͺεηζγγγγ‘γ½γγγ»γΉγΏγ\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.next();\n\t\t\n\t\tint temp = n.length() - 1;\n\t\t\n\t\tif(n.charAt(temp) == '3') System.out.println(\"bon\");\n\t\telse if(n.charAt(temp) == '0' || n.charAt(temp) == '1' || n.charAt(temp) == '6' || n.charAt(temp) == '8') System.out.println(\"pon\");\n\t\telse System.out.println(\"hon\");\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String n = sc.next();",
"n",
"sc.next()",
"sc.next",
"sc",
"int temp = n.length() - 1;",
"temp",
"n.length() - 1",
"n.length()",
"n.length",
"n",
"1",
"if(n.charAt(temp) == '3') System.out.println(\"bon\");\n\t\telse if(n.charAt(temp) == '0' || n.charAt(temp) == '1' || n.charAt(temp) == '6' || n.charAt(temp) == '8') System.out.println(\"pon\");\n\t\telse System.out.println(\"hon\");",
"n.charAt(temp) == '3'",
"n.charAt(temp)",
"n.charAt",
"n",
"temp",
"'3'",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(n.charAt(temp) == '0' || n.charAt(temp) == '1' || n.charAt(temp) == '6' || n.charAt(temp) == '8') System.out.println(\"pon\");\n\t\telse System.out.println(\"hon\");",
"n.charAt(temp) == '0' || n.charAt(temp) == '1' || n.charAt(temp) == '6' || n.charAt(temp) == '8'",
"n.charAt(temp) == '6'",
"n.charAt(temp) == '0' || n.charAt(temp) == '1' || n.charAt(temp) == '6' || n.charAt(temp) == '8'",
"n.charAt(temp) == '0'",
"n.charAt(temp)",
"n.charAt",
"n",
"temp",
"'0'",
"n.charAt(temp) == '1'",
"n.charAt(temp)",
"n.charAt",
"n",
"temp",
"'1'",
"n.charAt(temp) == '6'",
"n.charAt(temp)",
"n.charAt",
"n",
"temp",
"'6'",
"n.charAt(temp) == '8'",
"n.charAt(temp)",
"n.charAt",
"n",
"temp",
"'8'",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO θͺεηζγγγγ‘γ½γγγ»γΉγΏγ\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.next();\n\t\t\n\t\tint temp = n.length() - 1;\n\t\t\n\t\tif(n.charAt(temp) == '3') System.out.println(\"bon\");\n\t\telse if(n.charAt(temp) == '0' || n.charAt(temp) == '1' || n.charAt(temp) == '6' || n.charAt(temp) == '8') System.out.println(\"pon\");\n\t\telse System.out.println(\"hon\");\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO θͺεηζγγγγ‘γ½γγγ»γΉγΏγ\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.next();\n\t\t\n\t\tint temp = n.length() - 1;\n\t\t\n\t\tif(n.charAt(temp) == '3') System.out.println(\"bon\");\n\t\telse if(n.charAt(temp) == '0' || n.charAt(temp) == '1' || n.charAt(temp) == '6' || n.charAt(temp) == '8') System.out.println(\"pon\");\n\t\telse System.out.println(\"hon\");\n\t\t\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO θͺεηζγγγγ‘γ½γγγ»γΉγΏγ
Scanner sc = new Scanner(System.in);
String n = sc.next();
int temp = n.length() - 1;
if(n.charAt(temp) == '3') System.out.println("bon");
else if(n.charAt(temp) == '0' || n.charAt(temp) == '1' || n.charAt(temp) == '6' || n.charAt(temp) == '8') System.out.println("pon");
else System.out.println("hon");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
18,
13,
2,
18,
13,
13,
17,
14,
4,
18,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
75,
5
],
[
75,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
29,
40
],
[
40,
41
],
[
43,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
43,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
42,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
43,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
40,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
40,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
6,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] list = sc.next().split(\"\");\n\n String x = list[list.length - 1];\n if (x.equals(\"3\")) System.out.println(\"bon\");\n else if (x.equals(\"0\") || x.equals(\"1\") || x.equals(\"6\") || x.equals(\"8\")) System.out.println(\"pon\");\n else System.out.println(\"hon\");\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] list = sc.next().split(\"\");\n\n String x = list[list.length - 1];\n if (x.equals(\"3\")) System.out.println(\"bon\");\n else if (x.equals(\"0\") || x.equals(\"1\") || x.equals(\"6\") || x.equals(\"8\")) System.out.println(\"pon\");\n else System.out.println(\"hon\");\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] list = sc.next().split(\"\");\n\n String x = list[list.length - 1];\n if (x.equals(\"3\")) System.out.println(\"bon\");\n else if (x.equals(\"0\") || x.equals(\"1\") || x.equals(\"6\") || x.equals(\"8\")) System.out.println(\"pon\");\n else System.out.println(\"hon\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String[] list = sc.next().split(\"\");\n\n String x = list[list.length - 1];\n if (x.equals(\"3\")) System.out.println(\"bon\");\n else if (x.equals(\"0\") || x.equals(\"1\") || x.equals(\"6\") || x.equals(\"8\")) System.out.println(\"pon\");\n else System.out.println(\"hon\");\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String[] list = sc.next().split(\"\");",
"list",
"sc.next().split(\"\")",
"sc.next().split",
"sc.next()",
"sc.next",
"sc",
"\"\"",
"String x = list[list.length - 1];",
"x",
"list[list.length - 1]",
"list",
"list.length - 1",
"list.length",
"list",
"list.length",
"1",
"if (x.equals(\"3\")) System.out.println(\"bon\");\n else if (x.equals(\"0\") || x.equals(\"1\") || x.equals(\"6\") || x.equals(\"8\")) System.out.println(\"pon\");\n else System.out.println(\"hon\");",
"x.equals(\"3\")",
"x.equals",
"x",
"\"3\"",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if (x.equals(\"0\") || x.equals(\"1\") || x.equals(\"6\") || x.equals(\"8\")) System.out.println(\"pon\");\n else System.out.println(\"hon\");",
"x.equals(\"0\") || x.equals(\"1\") || x.equals(\"6\") || x.equals(\"8\")",
"x.equals(\"6\")",
"x.equals(\"0\") || x.equals(\"1\") || x.equals(\"6\") || x.equals(\"8\")",
"x.equals(\"0\")",
"x.equals",
"x",
"\"0\"",
"x.equals(\"1\")",
"x.equals",
"x",
"\"1\"",
"x.equals(\"6\")",
"x.equals",
"x",
"\"6\"",
"x.equals(\"8\")",
"x.equals",
"x",
"\"8\"",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] list = sc.next().split(\"\");\n\n String x = list[list.length - 1];\n if (x.equals(\"3\")) System.out.println(\"bon\");\n else if (x.equals(\"0\") || x.equals(\"1\") || x.equals(\"6\") || x.equals(\"8\")) System.out.println(\"pon\");\n else System.out.println(\"hon\");\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] list = sc.next().split(\"\");\n\n String x = list[list.length - 1];\n if (x.equals(\"3\")) System.out.println(\"bon\");\n else if (x.equals(\"0\") || x.equals(\"1\") || x.equals(\"6\") || x.equals(\"8\")) System.out.println(\"pon\");\n else System.out.println(\"hon\");\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String[] list = sc.next().split("");
String x = list[list.length - 1];
if (x.equals("3")) System.out.println("bon");
else if (x.equals("0") || x.equals("1") || x.equals("6") || x.equals("8")) System.out.println("pon");
else System.out.println("hon");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
17,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
76,
5
],
[
76,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
18,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
17,
36
],
[
36,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
38,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
38,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
36,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
36,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
6,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n if (n % 10 == 3 || n % 100 == 3) {\n System.out.println(\"bon\");\n }\n else if (n % 10 == 0 || n % 10 == 1 | n % 10 == 6 || n % 10 == 8) {\n System.out.println(\"pon\");\n }\n else System.out.println(\"hon\");\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n if (n % 10 == 3 || n % 100 == 3) {\n System.out.println(\"bon\");\n }\n else if (n % 10 == 0 || n % 10 == 1 | n % 10 == 6 || n % 10 == 8) {\n System.out.println(\"pon\");\n }\n else System.out.println(\"hon\");\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n if (n % 10 == 3 || n % 100 == 3) {\n System.out.println(\"bon\");\n }\n else if (n % 10 == 0 || n % 10 == 1 | n % 10 == 6 || n % 10 == 8) {\n System.out.println(\"pon\");\n }\n else System.out.println(\"hon\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n if (n % 10 == 3 || n % 100 == 3) {\n System.out.println(\"bon\");\n }\n else if (n % 10 == 0 || n % 10 == 1 | n % 10 == 6 || n % 10 == 8) {\n System.out.println(\"pon\");\n }\n else System.out.println(\"hon\");\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (n % 10 == 3 || n % 100 == 3) {\n System.out.println(\"bon\");\n }\n else if (n % 10 == 0 || n % 10 == 1 | n % 10 == 6 || n % 10 == 8) {\n System.out.println(\"pon\");\n }\n else System.out.println(\"hon\");",
"n % 10 == 3 || n % 100 == 3",
"n % 10 == 3",
"n % 10",
"n",
"10",
"3",
"n % 100 == 3",
"n % 100",
"n",
"100",
"3",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if (n % 10 == 0 || n % 10 == 1 | n % 10 == 6 || n % 10 == 8) {\n System.out.println(\"pon\");\n }\n else System.out.println(\"hon\");",
"n % 10 == 0 || n % 10 == 1 | n % 10 == 6 || n % 10 == 8",
"n % 10 == 0 || n % 10 == 1 | n % 10 == 6 || n % 10 == 8",
"n % 10 == 0",
"n % 10",
"n",
"10",
"0",
"n % 10 == 1 | n % 10 == 6",
"n % 10 == 1",
"n % 10",
"n",
"10",
"1",
"n % 10 == 6",
"n % 10",
"n",
"10",
"6",
"n % 10 == 8",
"n % 10",
"n",
"10",
"8",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n if (n % 10 == 3 || n % 100 == 3) {\n System.out.println(\"bon\");\n }\n else if (n % 10 == 0 || n % 10 == 1 | n % 10 == 6 || n % 10 == 8) {\n System.out.println(\"pon\");\n }\n else System.out.println(\"hon\");\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n if (n % 10 == 3 || n % 100 == 3) {\n System.out.println(\"bon\");\n }\n else if (n % 10 == 0 || n % 10 == 1 | n % 10 == 6 || n % 10 == 8) {\n System.out.println(\"pon\");\n }\n else System.out.println(\"hon\");\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
if (n % 10 == 3 || n % 100 == 3) {
System.out.println("bon");
}
else if (n % 10 == 0 || n % 10 == 1 | n % 10 == 6 || n % 10 == 8) {
System.out.println("pon");
}
else System.out.println("hon");
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
14,
2,
2,
2,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
30,
4,
18,
13,
17,
14,
2,
2,
13,
17,
17,
30,
4,
18,
13,
17,
30,
4,
18,
13,
17,
23,
13,
23,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
119,
17
],
[
119,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
20,
31
],
[
31,
32
],
[
31,
33
],
[
20,
34
],
[
34,
35
],
[
34,
36
],
[
20,
37
],
[
37,
38
],
[
37,
39
],
[
20,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
40,
45
],
[
20,
46
],
[
46,
47
],
[
47,
48
],
[
18,
49
],
[
49,
50
],
[
119,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
55,
61
],
[
61,
62
],
[
65,
63
],
[
81,
64
],
[
76,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
65,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
65,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
61,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
61,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
96,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
96,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
53,
112
],
[
112,
113
],
[
53,
114
],
[
114,
115
],
[
53,
116
],
[
116,
117
],
[
0,
118
],
[
118,
119
],
[
118,
120
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author CompuWare\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ATherefore solver = new ATherefore();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ATherefore {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n if (x % 10 == 2 || x % 10 == 9 || x % 10 == 7 || x % 10 == 5 || x % 10 == 4) {\n out.print(\"hon\");\n } else if (x % 10 == 3) {\n out.print(\"bon\");\n } else {\n out.print(\"pon\");\n }\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ATherefore solver = new ATherefore();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ATherefore {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n if (x % 10 == 2 || x % 10 == 9 || x % 10 == 7 || x % 10 == 5 || x % 10 == 4) {\n out.print(\"hon\");\n } else if (x % 10 == 3) {\n out.print(\"bon\");\n } else {\n out.print(\"pon\");\n }\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ATherefore solver = new ATherefore();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ATherefore solver = new ATherefore();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"Scanner in = new Scanner(inputStream);",
"in",
"new Scanner(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"ATherefore solver = new ATherefore();",
"solver",
"new ATherefore()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class ATherefore {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n if (x % 10 == 2 || x % 10 == 9 || x % 10 == 7 || x % 10 == 5 || x % 10 == 4) {\n out.print(\"hon\");\n } else if (x % 10 == 3) {\n out.print(\"bon\");\n } else {\n out.print(\"pon\");\n }\n }\n\n }",
"ATherefore",
"public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n if (x % 10 == 2 || x % 10 == 9 || x % 10 == 7 || x % 10 == 5 || x % 10 == 4) {\n out.print(\"hon\");\n } else if (x % 10 == 3) {\n out.print(\"bon\");\n } else {\n out.print(\"pon\");\n }\n }",
"solve",
"{\n long x = in.nextLong();\n if (x % 10 == 2 || x % 10 == 9 || x % 10 == 7 || x % 10 == 5 || x % 10 == 4) {\n out.print(\"hon\");\n } else if (x % 10 == 3) {\n out.print(\"bon\");\n } else {\n out.print(\"pon\");\n }\n }",
"long x = in.nextLong();",
"x",
"in.nextLong()",
"in.nextLong",
"in",
"if (x % 10 == 2 || x % 10 == 9 || x % 10 == 7 || x % 10 == 5 || x % 10 == 4) {\n out.print(\"hon\");\n } else if (x % 10 == 3) {\n out.print(\"bon\");\n } else {\n out.print(\"pon\");\n }",
"x % 10 == 2 || x % 10 == 9 || x % 10 == 7 || x % 10 == 5 || x % 10 == 4",
"x % 10 == 5",
"x % 10 == 7",
"x % 10 == 2 || x % 10 == 9 || x % 10 == 7 || x % 10 == 5 || x % 10 == 4",
"x % 10 == 2",
"x % 10",
"x",
"10",
"2",
"x % 10 == 9",
"x % 10",
"x",
"10",
"9",
"x % 10 == 7",
"x % 10",
"x",
"10",
"7",
"x % 10 == 5",
"x % 10",
"x",
"10",
"5",
"x % 10 == 4",
"x % 10",
"x",
"10",
"4",
"{\n out.print(\"hon\");\n }",
"out.print(\"hon\")",
"out.print",
"out",
"\"hon\"",
"if (x % 10 == 3) {\n out.print(\"bon\");\n } else {\n out.print(\"pon\");\n }",
"x % 10 == 3",
"x % 10",
"x",
"10",
"3",
"{\n out.print(\"bon\");\n }",
"out.print(\"bon\")",
"out.print",
"out",
"\"bon\"",
"{\n out.print(\"pon\");\n }",
"out.print(\"pon\")",
"out.print",
"out",
"\"pon\"",
"int testNumber",
"testNumber",
"Scanner in",
"in",
"PrintWriter out",
"out",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ATherefore solver = new ATherefore();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ATherefore {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n if (x % 10 == 2 || x % 10 == 9 || x % 10 == 7 || x % 10 == 5 || x % 10 == 4) {\n out.print(\"hon\");\n } else if (x % 10 == 3) {\n out.print(\"bon\");\n } else {\n out.print(\"pon\");\n }\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ATherefore solver = new ATherefore();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ATherefore {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n if (x % 10 == 2 || x % 10 == 9 || x % 10 == 7 || x % 10 == 5 || x % 10 == 4) {\n out.print(\"hon\");\n } else if (x % 10 == 3) {\n out.print(\"bon\");\n } else {\n out.print(\"pon\");\n }\n }\n\n }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author CompuWare
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
Scanner in = new Scanner(inputStream);
PrintWriter out = new PrintWriter(outputStream);
ATherefore solver = new ATherefore();
solver.solve(1, in, out);
out.close();
}
static class ATherefore {
public void solve(int testNumber, Scanner in, PrintWriter out) {
long x = in.nextLong();
if (x % 10 == 2 || x % 10 == 9 || x % 10 == 7 || x % 10 == 5 || x % 10 == 4) {
out.print("hon");
} else if (x % 10 == 3) {
out.print("bon");
} else {
out.print("pon");
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
4,
13,
41,
13,
2,
17,
13,
41,
13,
4,
18,
13,
2,
4,
18,
13,
17,
14,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
4,
18,
13,
17,
2,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
135,
8
],
[
135,
9
],
[
9,
10
],
[
135,
11
],
[
11,
12
],
[
135,
13
],
[
13,
14
],
[
135,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
17,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
17,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
35,
39
],
[
17,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
40,
52
],
[
52,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
54,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
52,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
52,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
15,
86
],
[
86,
87
],
[
135,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
95,
96
],
[
135,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
104,
105
],
[
135,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
113,
114
],
[
135,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
118,
127
],
[
127,
128
],
[
127,
129
],
[
117,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
0,
134
],
[
134,
135
],
[
134,
136
]
] |
[
"import java.util.*; \nimport java.io.*;\n\npublic class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n \n int N = nextInt();\n \n String S= (\"\" + N);\n String s = S.substring(S.length()-1);\n\n if(s.equals(\"3\")){\n System.out.println(\"bon\");\n } \n else if(s.equals(\"0\")||s.equals(\"1\")|s.equals(\"6\")||s.equals(\"8\")){\n System.out.println(\"pon\");\n } \n else{\n System.out.println(\"hon\");\n }\n\n\n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n \n int N = nextInt();\n \n String S= (\"\" + N);\n String s = S.substring(S.length()-1);\n\n if(s.equals(\"3\")){\n System.out.println(\"bon\");\n } \n else if(s.equals(\"0\")||s.equals(\"1\")|s.equals(\"6\")||s.equals(\"8\")){\n System.out.println(\"pon\");\n } \n else{\n System.out.println(\"hon\");\n }\n\n\n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"Main",
"static StringTokenizer st;",
"st",
"static BufferedReader br;",
"br",
"static PrintWriter out;",
"out",
"public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n \n int N = nextInt();\n \n String S= (\"\" + N);\n String s = S.substring(S.length()-1);\n\n if(s.equals(\"3\")){\n System.out.println(\"bon\");\n } \n else if(s.equals(\"0\")||s.equals(\"1\")|s.equals(\"6\")||s.equals(\"8\")){\n System.out.println(\"pon\");\n } \n else{\n System.out.println(\"hon\");\n }\n\n\n }",
"main",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n\n \n int N = nextInt();\n \n String S= (\"\" + N);\n String s = S.substring(S.length()-1);\n\n if(s.equals(\"3\")){\n System.out.println(\"bon\");\n } \n else if(s.equals(\"0\")||s.equals(\"1\")|s.equals(\"6\")||s.equals(\"8\")){\n System.out.println(\"pon\");\n } \n else{\n System.out.println(\"hon\");\n }\n\n\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int N = nextInt();",
"N",
"nextInt()",
"nextInt",
"String S= (\"\" + N);",
"S",
"(\"\" + N)",
"\"\"",
"N",
"String s = S.substring(S.length()-1);",
"s",
"S.substring(S.length()-1)",
"S.substring",
"S",
"S.length()-1",
"S.length()",
"S.length",
"S",
"1",
"if(s.equals(\"3\")){\n System.out.println(\"bon\");\n } \n else if(s.equals(\"0\")||s.equals(\"1\")|s.equals(\"6\")||s.equals(\"8\")){\n System.out.println(\"pon\");\n } \n else{\n System.out.println(\"hon\");\n }",
"s.equals(\"3\")",
"s.equals",
"s",
"\"3\"",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(s.equals(\"0\")||s.equals(\"1\")|s.equals(\"6\")||s.equals(\"8\")){\n System.out.println(\"pon\");\n } \n else{\n System.out.println(\"hon\");\n }",
"s.equals(\"0\")||s.equals(\"1\")|s.equals(\"6\")||s.equals(\"8\")",
"s.equals(\"0\")||s.equals(\"1\")|s.equals(\"6\")||s.equals(\"8\")",
"s.equals(\"0\")",
"s.equals",
"s",
"\"0\"",
"s.equals(\"1\")|s.equals(\"6\")",
"s.equals(\"1\")",
"s.equals",
"s",
"\"1\"",
"s.equals(\"6\")",
"s.equals",
"s",
"\"6\"",
"s.equals(\"8\")",
"s.equals",
"s",
"\"8\"",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"String[] args",
"args",
"public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine().trim())",
"st",
"new StringTokenizer(br.readLine().trim())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n \n int N = nextInt();\n \n String S= (\"\" + N);\n String s = S.substring(S.length()-1);\n\n if(s.equals(\"3\")){\n System.out.println(\"bon\");\n } \n else if(s.equals(\"0\")||s.equals(\"1\")|s.equals(\"6\")||s.equals(\"8\")){\n System.out.println(\"pon\");\n } \n else{\n System.out.println(\"hon\");\n }\n\n\n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n \n int N = nextInt();\n \n String S= (\"\" + N);\n String s = S.substring(S.length()-1);\n\n if(s.equals(\"3\")){\n System.out.println(\"bon\");\n } \n else if(s.equals(\"0\")||s.equals(\"1\")|s.equals(\"6\")||s.equals(\"8\")){\n System.out.println(\"pon\");\n } \n else{\n System.out.println(\"hon\");\n }\n\n\n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main {
static StringTokenizer st;
static BufferedReader br;
static PrintWriter out;
public static void main(String[] args) throws IOException {
br = new BufferedReader(new InputStreamReader(System.in));
int N = nextInt();
String S= ("" + N);
String s = S.substring(S.length()-1);
if(s.equals("3")){
System.out.println("bon");
}
else if(s.equals("0")||s.equals("1")|s.equals("6")||s.equals("8")){
System.out.println("pon");
}
else{
System.out.println("hon");
}
}
public static int nextInt() throws IOException {
return Integer.parseInt(next());
}
public static long nextLong() throws IOException {
return Long.parseLong(next());
}
public static double nextDouble() throws IOException {
return Double.parseDouble(next());
}
static String next() throws IOException {
while (st == null || !st.hasMoreTokens())
st = new StringTokenizer(br.readLine().trim());
return st.nextToken();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
13,
17,
4,
18,
13,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
84,
5
],
[
84,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
29,
27
],
[
39,
28
],
[
36,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
36,
36
],
[
36,
37
],
[
36,
38
],
[
39,
39
],
[
39,
40
],
[
39,
41
],
[
29,
42
],
[
42,
43
],
[
42,
44
],
[
25,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
25,
52
],
[
52,
53
],
[
55,
54
],
[
62,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
62,
62
],
[
62,
63
],
[
62,
64
],
[
55,
65
],
[
65,
66
],
[
65,
67
],
[
52,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
52,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] |
[
"import java.util.Scanner;\npublic class Main {\npublic static void main(final String[] args) {\n final Scanner scan = new Scanner(System.in);\n\n final int N = scan.nextInt();\n\n final int num = N % 10;\nscan.close();\nif((num==2) ||(num==4)||(num==5)||(num==7)||(num==9)){\n System.out.println(\"hon\");\n}else if((num==0)||(num==1)||(num==6)||(num==8)){\n System.out.println(\"pon\");\n}else \nSystem.out.println(\"bon\");\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\npublic static void main(final String[] args) {\n final Scanner scan = new Scanner(System.in);\n\n final int N = scan.nextInt();\n\n final int num = N % 10;\nscan.close();\nif((num==2) ||(num==4)||(num==5)||(num==7)||(num==9)){\n System.out.println(\"hon\");\n}else if((num==0)||(num==1)||(num==6)||(num==8)){\n System.out.println(\"pon\");\n}else \nSystem.out.println(\"bon\");\n}\n}",
"Main",
"public static void main(final String[] args) {\n final Scanner scan = new Scanner(System.in);\n\n final int N = scan.nextInt();\n\n final int num = N % 10;\nscan.close();\nif((num==2) ||(num==4)||(num==5)||(num==7)||(num==9)){\n System.out.println(\"hon\");\n}else if((num==0)||(num==1)||(num==6)||(num==8)){\n System.out.println(\"pon\");\n}else \nSystem.out.println(\"bon\");\n}",
"main",
"{\n final Scanner scan = new Scanner(System.in);\n\n final int N = scan.nextInt();\n\n final int num = N % 10;\nscan.close();\nif((num==2) ||(num==4)||(num==5)||(num==7)||(num==9)){\n System.out.println(\"hon\");\n}else if((num==0)||(num==1)||(num==6)||(num==8)){\n System.out.println(\"pon\");\n}else \nSystem.out.println(\"bon\");\n}",
"final Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"final int N = scan.nextInt();",
"N",
"scan.nextInt()",
"scan.nextInt",
"scan",
"final int num = N % 10;",
"num",
"N % 10",
"N",
"10",
"scan.close()",
"scan.close",
"scan",
"if((num==2) ||(num==4)||(num==5)||(num==7)||(num==9)){\n System.out.println(\"hon\");\n}else if((num==0)||(num==1)||(num==6)||(num==8)){\n System.out.println(\"pon\");\n}else \nSystem.out.println(\"bon\");",
"(num==2) ||(num==4)||(num==5)||(num==7)||(num==9)",
"(num==7)",
"(num==5)",
"(num==2) ||(num==4)||(num==5)||(num==7)||(num==9)",
"(num==2)",
"num",
"2",
"(num==4)",
"num",
"4",
"(num==5)",
"num",
"5",
"(num==7)",
"num",
"7",
"(num==9)",
"num",
"9",
"{\n System.out.println(\"hon\");\n}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if((num==0)||(num==1)||(num==6)||(num==8)){\n System.out.println(\"pon\");\n}else \nSystem.out.println(\"bon\");",
"(num==0)||(num==1)||(num==6)||(num==8)",
"(num==6)",
"(num==0)||(num==1)||(num==6)||(num==8)",
"(num==0)",
"num",
"0",
"(num==1)",
"num",
"1",
"(num==6)",
"num",
"6",
"(num==8)",
"num",
"8",
"{\n System.out.println(\"pon\");\n}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"final String[] args",
"args",
"public class Main {\npublic static void main(final String[] args) {\n final Scanner scan = new Scanner(System.in);\n\n final int N = scan.nextInt();\n\n final int num = N % 10;\nscan.close();\nif((num==2) ||(num==4)||(num==5)||(num==7)||(num==9)){\n System.out.println(\"hon\");\n}else if((num==0)||(num==1)||(num==6)||(num==8)){\n System.out.println(\"pon\");\n}else \nSystem.out.println(\"bon\");\n}\n}",
"public class Main {\npublic static void main(final String[] args) {\n final Scanner scan = new Scanner(System.in);\n\n final int N = scan.nextInt();\n\n final int num = N % 10;\nscan.close();\nif((num==2) ||(num==4)||(num==5)||(num==7)||(num==9)){\n System.out.println(\"hon\");\n}else if((num==0)||(num==1)||(num==6)||(num==8)){\n System.out.println(\"pon\");\n}else \nSystem.out.println(\"bon\");\n}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(final String[] args) {
final Scanner scan = new Scanner(System.in);
final int N = scan.nextInt();
final int num = N % 10;
scan.close();
if((num==2) ||(num==4)||(num==5)||(num==7)||(num==9)){
System.out.println("hon");
}else if((num==0)||(num==1)||(num==6)||(num==8)){
System.out.println("pon");
}else
System.out.println("bon");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
2,
4,
18,
13,
17,
41,
13,
4,
18,
13,
13,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
103,
5
],
[
103,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
28,
32
],
[
8,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
8,
39
],
[
39,
40
],
[
43,
41
],
[
53,
42
],
[
50,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
50,
50
],
[
50,
51
],
[
50,
52
],
[
53,
53
],
[
53,
54
],
[
53,
55
],
[
43,
56
],
[
56,
57
],
[
56,
58
],
[
39,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
8,
66
],
[
66,
67
],
[
69,
68
],
[
76,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
76,
76
],
[
76,
77
],
[
76,
78
],
[
69,
79
],
[
79,
80
],
[
79,
81
],
[
66,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
8,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
6,
100
],
[
100,
101
],
[
0,
102
],
[
102,
103
],
[
102,
104
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n //εγεΊγγγζεε\n int N = sc.nextInt();\n String Nst = String.valueOf(N);\n String Anst = Nst.substring(Nst.length() - 1);\n int Ans = Integer.parseInt(Anst);\n if(Ans == 2 || Ans == 4 || Ans == 5 || Ans == 7|| Ans == 9){\n System.out.println(\"hon\");\n }\n if(Ans == 0 || Ans == 1 || Ans == 6 || Ans == 8){\n System.out.println(\"pon\");\n }\n if(Ans == 3){\n System.out.println(\"bon\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n //εγεΊγγγζεε\n int N = sc.nextInt();\n String Nst = String.valueOf(N);\n String Anst = Nst.substring(Nst.length() - 1);\n int Ans = Integer.parseInt(Anst);\n if(Ans == 2 || Ans == 4 || Ans == 5 || Ans == 7|| Ans == 9){\n System.out.println(\"hon\");\n }\n if(Ans == 0 || Ans == 1 || Ans == 6 || Ans == 8){\n System.out.println(\"pon\");\n }\n if(Ans == 3){\n System.out.println(\"bon\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n //εγεΊγγγζεε\n int N = sc.nextInt();\n String Nst = String.valueOf(N);\n String Anst = Nst.substring(Nst.length() - 1);\n int Ans = Integer.parseInt(Anst);\n if(Ans == 2 || Ans == 4 || Ans == 5 || Ans == 7|| Ans == 9){\n System.out.println(\"hon\");\n }\n if(Ans == 0 || Ans == 1 || Ans == 6 || Ans == 8){\n System.out.println(\"pon\");\n }\n if(Ans == 3){\n System.out.println(\"bon\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n //εγεΊγγγζεε\n int N = sc.nextInt();\n String Nst = String.valueOf(N);\n String Anst = Nst.substring(Nst.length() - 1);\n int Ans = Integer.parseInt(Anst);\n if(Ans == 2 || Ans == 4 || Ans == 5 || Ans == 7|| Ans == 9){\n System.out.println(\"hon\");\n }\n if(Ans == 0 || Ans == 1 || Ans == 6 || Ans == 8){\n System.out.println(\"pon\");\n }\n if(Ans == 3){\n System.out.println(\"bon\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String Nst = String.valueOf(N);",
"Nst",
"String.valueOf(N)",
"String.valueOf",
"String",
"N",
"String Anst = Nst.substring(Nst.length() - 1);",
"Anst",
"Nst.substring(Nst.length() - 1)",
"Nst.substring",
"Nst",
"Nst.length() - 1",
"Nst.length()",
"Nst.length",
"Nst",
"1",
"int Ans = Integer.parseInt(Anst);",
"Ans",
"Integer.parseInt(Anst)",
"Integer.parseInt",
"Integer",
"Anst",
"if(Ans == 2 || Ans == 4 || Ans == 5 || Ans == 7|| Ans == 9){\n System.out.println(\"hon\");\n }",
"Ans == 2 || Ans == 4 || Ans == 5 || Ans == 7|| Ans == 9",
"Ans == 7",
"Ans == 5",
"Ans == 2 || Ans == 4 || Ans == 5 || Ans == 7|| Ans == 9",
"Ans == 2",
"Ans",
"2",
"Ans == 4",
"Ans",
"4",
"Ans == 5",
"Ans",
"5",
"Ans == 7",
"Ans",
"7",
"Ans == 9",
"Ans",
"9",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(Ans == 0 || Ans == 1 || Ans == 6 || Ans == 8){\n System.out.println(\"pon\");\n }",
"Ans == 0 || Ans == 1 || Ans == 6 || Ans == 8",
"Ans == 6",
"Ans == 0 || Ans == 1 || Ans == 6 || Ans == 8",
"Ans == 0",
"Ans",
"0",
"Ans == 1",
"Ans",
"1",
"Ans == 6",
"Ans",
"6",
"Ans == 8",
"Ans",
"8",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if(Ans == 3){\n System.out.println(\"bon\");\n }",
"Ans == 3",
"Ans",
"3",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n //εγεΊγγγζεε\n int N = sc.nextInt();\n String Nst = String.valueOf(N);\n String Anst = Nst.substring(Nst.length() - 1);\n int Ans = Integer.parseInt(Anst);\n if(Ans == 2 || Ans == 4 || Ans == 5 || Ans == 7|| Ans == 9){\n System.out.println(\"hon\");\n }\n if(Ans == 0 || Ans == 1 || Ans == 6 || Ans == 8){\n System.out.println(\"pon\");\n }\n if(Ans == 3){\n System.out.println(\"bon\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n //εγεΊγγγζεε\n int N = sc.nextInt();\n String Nst = String.valueOf(N);\n String Anst = Nst.substring(Nst.length() - 1);\n int Ans = Integer.parseInt(Anst);\n if(Ans == 2 || Ans == 4 || Ans == 5 || Ans == 7|| Ans == 9){\n System.out.println(\"hon\");\n }\n if(Ans == 0 || Ans == 1 || Ans == 6 || Ans == 8){\n System.out.println(\"pon\");\n }\n if(Ans == 3){\n System.out.println(\"bon\");\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
//εγεΊγγγζεε
int N = sc.nextInt();
String Nst = String.valueOf(N);
String Anst = Nst.substring(Nst.length() - 1);
int Ans = Integer.parseInt(Anst);
if(Ans == 2 || Ans == 4 || Ans == 5 || Ans == 7|| Ans == 9){
System.out.println("hon");
}
if(Ans == 0 || Ans == 1 || Ans == 6 || Ans == 8){
System.out.println("pon");
}
if(Ans == 3){
System.out.println("bon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
13,
17,
0,
18,
13,
13,
13,
0,
13,
2,
13,
17,
14,
2,
2,
2,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
13,
17,
0,
18,
13,
13,
13,
0,
13,
2,
13,
17,
14,
2,
2,
2,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
302,
5
],
[
302,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
21,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
38,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
38,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
21,
54
],
[
54,
55
],
[
58,
56
],
[
74,
57
],
[
69,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
58,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
58,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
54,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
54,
91
],
[
91,
92
],
[
94,
93
],
[
105,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
94,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
94,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
91,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
91,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
123,
128
],
[
17,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
138,
143
],
[
143,
144
],
[
143,
145
],
[
138,
146
],
[
146,
147
],
[
147,
148
],
[
138,
149
],
[
150,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
153,
155
],
[
150,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
156,
160
],
[
150,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
163,
165
],
[
133,
166
],
[
166,
167
],
[
170,
168
],
[
186,
169
],
[
181,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
171,
175
],
[
170,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
176,
180
],
[
181,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
181,
185
],
[
186,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
186,
190
],
[
170,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
191,
195
],
[
166,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
197,
202
],
[
166,
203
],
[
203,
204
],
[
206,
205
],
[
217,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
206,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
212,
216
],
[
217,
217
],
[
217,
218
],
[
218,
219
],
[
218,
220
],
[
217,
221
],
[
206,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
222,
226
],
[
203,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
228,
233
],
[
203,
234
],
[
234,
235
],
[
235,
236
],
[
236,
237
],
[
237,
238
],
[
237,
239
],
[
235,
240
],
[
129,
241
],
[
241,
242
],
[
242,
243
],
[
246,
244
],
[
256,
245
],
[
253,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
246,
250
],
[
250,
251
],
[
250,
252
],
[
253,
253
],
[
253,
254
],
[
253,
255
],
[
256,
256
],
[
256,
257
],
[
256,
258
],
[
246,
259
],
[
259,
260
],
[
259,
261
],
[
242,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
263,
268
],
[
242,
269
],
[
269,
270
],
[
272,
271
],
[
279,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
272,
276
],
[
276,
277
],
[
276,
278
],
[
279,
279
],
[
279,
280
],
[
279,
281
],
[
272,
282
],
[
282,
283
],
[
282,
284
],
[
269,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
286,
291
],
[
269,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
295,
296
],
[
295,
297
],
[
293,
298
],
[
6,
299
],
[
299,
300
],
[
0,
301
],
[
301,
302
],
[
301,
303
]
] |
[
" import java.util.Scanner;\n \n public class Main {\n public static void main(String args[]){\n \n Scanner scan = new Scanner(System.in);\n int val = scan.nextInt();\n if(val>99){\n int a[] = new int[3];\n for(int i=2;i>=0;i--){\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }\n if(a[2]==2 ||a[2]==4 || a[2]==5 || a[2]==7 || a[2]==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(a[2]==0 ||a[2]==1 || a[2]==6 ||a[2]==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }else if(val>9){\n int a[] = new int[2];\n for(int i=1;i>=0;i--){\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }\n if(a[1]==2 ||a[1]==4 || a[1]==5 || a[1]==7 || a[1]==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(a[1]==0 ||a[1]==1 || a[1]==6 ||a[1]==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }else{\n if(val==2 ||val==4 || val==5 || val==7 || val==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(val==0 ||val==1 || val==6 || val==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }\n }\n }",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String args[]){\n \n Scanner scan = new Scanner(System.in);\n int val = scan.nextInt();\n if(val>99){\n int a[] = new int[3];\n for(int i=2;i>=0;i--){\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }\n if(a[2]==2 ||a[2]==4 || a[2]==5 || a[2]==7 || a[2]==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(a[2]==0 ||a[2]==1 || a[2]==6 ||a[2]==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }else if(val>9){\n int a[] = new int[2];\n for(int i=1;i>=0;i--){\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }\n if(a[1]==2 ||a[1]==4 || a[1]==5 || a[1]==7 || a[1]==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(a[1]==0 ||a[1]==1 || a[1]==6 ||a[1]==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }else{\n if(val==2 ||val==4 || val==5 || val==7 || val==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(val==0 ||val==1 || val==6 || val==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }\n }\n }",
"Main",
"public static void main(String args[]){\n \n Scanner scan = new Scanner(System.in);\n int val = scan.nextInt();\n if(val>99){\n int a[] = new int[3];\n for(int i=2;i>=0;i--){\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }\n if(a[2]==2 ||a[2]==4 || a[2]==5 || a[2]==7 || a[2]==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(a[2]==0 ||a[2]==1 || a[2]==6 ||a[2]==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }else if(val>9){\n int a[] = new int[2];\n for(int i=1;i>=0;i--){\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }\n if(a[1]==2 ||a[1]==4 || a[1]==5 || a[1]==7 || a[1]==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(a[1]==0 ||a[1]==1 || a[1]==6 ||a[1]==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }else{\n if(val==2 ||val==4 || val==5 || val==7 || val==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(val==0 ||val==1 || val==6 || val==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }\n }",
"main",
"{\n \n Scanner scan = new Scanner(System.in);\n int val = scan.nextInt();\n if(val>99){\n int a[] = new int[3];\n for(int i=2;i>=0;i--){\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }\n if(a[2]==2 ||a[2]==4 || a[2]==5 || a[2]==7 || a[2]==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(a[2]==0 ||a[2]==1 || a[2]==6 ||a[2]==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }else if(val>9){\n int a[] = new int[2];\n for(int i=1;i>=0;i--){\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }\n if(a[1]==2 ||a[1]==4 || a[1]==5 || a[1]==7 || a[1]==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(a[1]==0 ||a[1]==1 || a[1]==6 ||a[1]==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }else{\n if(val==2 ||val==4 || val==5 || val==7 || val==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(val==0 ||val==1 || val==6 || val==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int val = scan.nextInt();",
"val",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(val>99){\n int a[] = new int[3];\n for(int i=2;i>=0;i--){\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }\n if(a[2]==2 ||a[2]==4 || a[2]==5 || a[2]==7 || a[2]==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(a[2]==0 ||a[2]==1 || a[2]==6 ||a[2]==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }else if(val>9){\n int a[] = new int[2];\n for(int i=1;i>=0;i--){\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }\n if(a[1]==2 ||a[1]==4 || a[1]==5 || a[1]==7 || a[1]==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(a[1]==0 ||a[1]==1 || a[1]==6 ||a[1]==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }else{\n if(val==2 ||val==4 || val==5 || val==7 || val==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(val==0 ||val==1 || val==6 || val==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }",
"val>99",
"val",
"99",
"{\n int a[] = new int[3];\n for(int i=2;i>=0;i--){\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }\n if(a[2]==2 ||a[2]==4 || a[2]==5 || a[2]==7 || a[2]==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(a[2]==0 ||a[2]==1 || a[2]==6 ||a[2]==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }",
"int a[] = new int[3];",
"a",
"new int[3]",
"3",
"for(int i=2;i>=0;i--){\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }",
"int i=2;",
"int i=2;",
"i",
"2",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }",
"{\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }",
"int x=val%10;",
"x",
"val%10",
"val",
"10",
"a[i]=x",
"a[i]",
"a",
"i",
"x",
"val=val/10",
"val",
"val/10",
"val",
"10",
"if(a[2]==2 ||a[2]==4 || a[2]==5 || a[2]==7 || a[2]==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(a[2]==0 ||a[2]==1 || a[2]==6 ||a[2]==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }",
"a[2]==2 ||a[2]==4 || a[2]==5 || a[2]==7 || a[2]==9",
"a[2]==7",
"a[2]==5",
"a[2]==2 ||a[2]==4 || a[2]==5 || a[2]==7 || a[2]==9",
"a[2]==2",
"a[2]",
"a",
"2",
"2",
"a[2]==4",
"a[2]",
"a",
"2",
"4",
"a[2]==5",
"a[2]",
"a",
"2",
"5",
"a[2]==7",
"a[2]",
"a",
"2",
"7",
"a[2]==9",
"a[2]",
"a",
"2",
"9",
"{\n \t\t\tSystem.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(a[2]==0 ||a[2]==1 || a[2]==6 ||a[2]==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }",
"a[2]==0 ||a[2]==1 || a[2]==6 ||a[2]==8",
"a[2]==6",
"a[2]==0 ||a[2]==1 || a[2]==6 ||a[2]==8",
"a[2]==0",
"a[2]",
"a",
"2",
"0",
"a[2]==1",
"a[2]",
"a",
"2",
"1",
"a[2]==6",
"a[2]",
"a",
"2",
"6",
"a[2]==8",
"a[2]",
"a",
"2",
"8",
"{\n \t\t\tSystem.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(val>9){\n int a[] = new int[2];\n for(int i=1;i>=0;i--){\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }\n if(a[1]==2 ||a[1]==4 || a[1]==5 || a[1]==7 || a[1]==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(a[1]==0 ||a[1]==1 || a[1]==6 ||a[1]==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }else{\n if(val==2 ||val==4 || val==5 || val==7 || val==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(val==0 ||val==1 || val==6 || val==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }",
"val>9",
"val",
"9",
"{\n int a[] = new int[2];\n for(int i=1;i>=0;i--){\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }\n if(a[1]==2 ||a[1]==4 || a[1]==5 || a[1]==7 || a[1]==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(a[1]==0 ||a[1]==1 || a[1]==6 ||a[1]==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }",
"int a[] = new int[2];",
"a",
"new int[2]",
"2",
"for(int i=1;i>=0;i--){\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }",
"{\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }",
"int x=val%10;",
"x",
"val%10",
"val",
"10",
"a[i]=x",
"a[i]",
"a",
"i",
"x",
"val=val/10",
"val",
"val/10",
"val",
"10",
"if(a[1]==2 ||a[1]==4 || a[1]==5 || a[1]==7 || a[1]==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(a[1]==0 ||a[1]==1 || a[1]==6 ||a[1]==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }",
"a[1]==2 ||a[1]==4 || a[1]==5 || a[1]==7 || a[1]==9",
"a[1]==7",
"a[1]==5",
"a[1]==2 ||a[1]==4 || a[1]==5 || a[1]==7 || a[1]==9",
"a[1]==2",
"a[1]",
"a",
"1",
"2",
"a[1]==4",
"a[1]",
"a",
"1",
"4",
"a[1]==5",
"a[1]",
"a",
"1",
"5",
"a[1]==7",
"a[1]",
"a",
"1",
"7",
"a[1]==9",
"a[1]",
"a",
"1",
"9",
"{\n \t\t\tSystem.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(a[1]==0 ||a[1]==1 || a[1]==6 ||a[1]==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }",
"a[1]==0 ||a[1]==1 || a[1]==6 ||a[1]==8",
"a[1]==6",
"a[1]==0 ||a[1]==1 || a[1]==6 ||a[1]==8",
"a[1]==0",
"a[1]",
"a",
"1",
"0",
"a[1]==1",
"a[1]",
"a",
"1",
"1",
"a[1]==6",
"a[1]",
"a",
"1",
"6",
"a[1]==8",
"a[1]",
"a",
"1",
"8",
"{\n \t\t\tSystem.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"{\n if(val==2 ||val==4 || val==5 || val==7 || val==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(val==0 ||val==1 || val==6 || val==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }",
"if(val==2 ||val==4 || val==5 || val==7 || val==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(val==0 ||val==1 || val==6 || val==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }",
"val==2 ||val==4 || val==5 || val==7 || val==9",
"val==7",
"val==5",
"val==2 ||val==4 || val==5 || val==7 || val==9",
"val==2",
"val",
"2",
"val==4",
"val",
"4",
"val==5",
"val",
"5",
"val==7",
"val",
"7",
"val==9",
"val",
"9",
"{\n \t\t\tSystem.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(val==0 ||val==1 || val==6 || val==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }",
"val==0 ||val==1 || val==6 || val==8",
"val==6",
"val==0 ||val==1 || val==6 || val==8",
"val==0",
"val",
"0",
"val==1",
"val",
"1",
"val==6",
"val",
"6",
"val==8",
"val",
"8",
"{\n \t\t\tSystem.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String args[]",
"args",
"public class Main {\n public static void main(String args[]){\n \n Scanner scan = new Scanner(System.in);\n int val = scan.nextInt();\n if(val>99){\n int a[] = new int[3];\n for(int i=2;i>=0;i--){\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }\n if(a[2]==2 ||a[2]==4 || a[2]==5 || a[2]==7 || a[2]==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(a[2]==0 ||a[2]==1 || a[2]==6 ||a[2]==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }else if(val>9){\n int a[] = new int[2];\n for(int i=1;i>=0;i--){\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }\n if(a[1]==2 ||a[1]==4 || a[1]==5 || a[1]==7 || a[1]==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(a[1]==0 ||a[1]==1 || a[1]==6 ||a[1]==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }else{\n if(val==2 ||val==4 || val==5 || val==7 || val==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(val==0 ||val==1 || val==6 || val==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }\n }\n }",
"public class Main {\n public static void main(String args[]){\n \n Scanner scan = new Scanner(System.in);\n int val = scan.nextInt();\n if(val>99){\n int a[] = new int[3];\n for(int i=2;i>=0;i--){\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }\n if(a[2]==2 ||a[2]==4 || a[2]==5 || a[2]==7 || a[2]==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(a[2]==0 ||a[2]==1 || a[2]==6 ||a[2]==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }else if(val>9){\n int a[] = new int[2];\n for(int i=1;i>=0;i--){\n \t\tint x=val%10;\n \n \t\ta[i]=x;\n \t\tval=val/10;\n }\n if(a[1]==2 ||a[1]==4 || a[1]==5 || a[1]==7 || a[1]==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(a[1]==0 ||a[1]==1 || a[1]==6 ||a[1]==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }else{\n if(val==2 ||val==4 || val==5 || val==7 || val==9){\n \t\t\tSystem.out.println(\"hon\");\n }else if(val==0 ||val==1 || val==6 || val==8){\n \t\t\tSystem.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }\n }\n }",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String args[]){
Scanner scan = new Scanner(System.in);
int val = scan.nextInt();
if(val>99){
int a[] = new int[3];
for(int i=2;i>=0;i--){
int x=val%10;
a[i]=x;
val=val/10;
}
if(a[2]==2 ||a[2]==4 || a[2]==5 || a[2]==7 || a[2]==9){
System.out.println("hon");
}else if(a[2]==0 ||a[2]==1 || a[2]==6 ||a[2]==8){
System.out.println("pon");
}else{
System.out.println("bon");
}
}else if(val>9){
int a[] = new int[2];
for(int i=1;i>=0;i--){
int x=val%10;
a[i]=x;
val=val/10;
}
if(a[1]==2 ||a[1]==4 || a[1]==5 || a[1]==7 || a[1]==9){
System.out.println("hon");
}else if(a[1]==0 ||a[1]==1 || a[1]==6 ||a[1]==8){
System.out.println("pon");
}else{
System.out.println("bon");
}
}else{
if(val==2 ||val==4 || val==5 || val==7 || val==9){
System.out.println("hon");
}else if(val==0 ||val==1 || val==6 || val==8){
System.out.println("pon");
}else{
System.out.println("bon");
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
4,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
69,
5
],
[
69,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
19,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
25,
36
],
[
36,
37
],
[
39,
38
],
[
46,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
46,
46
],
[
46,
47
],
[
46,
48
],
[
39,
49
],
[
49,
50
],
[
49,
51
],
[
36,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
36,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] |
[
"import java.util.Scanner;\n\npublic class Main{\n\npublic static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String parm = scanner.next();\n \n int i = Integer.parseInt(parm)%10;\n \n if (i == 3) {\n System.out.print(\"bon\");\n } else if(i == 0 || i == 1 || i == 6 || i == 8) {\n System.out.print(\"pon\");\n } else {\n System.out.print(\"hon\");\n }\n}\n}\n\n ",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\npublic static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String parm = scanner.next();\n \n int i = Integer.parseInt(parm)%10;\n \n if (i == 3) {\n System.out.print(\"bon\");\n } else if(i == 0 || i == 1 || i == 6 || i == 8) {\n System.out.print(\"pon\");\n } else {\n System.out.print(\"hon\");\n }\n}\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String parm = scanner.next();\n \n int i = Integer.parseInt(parm)%10;\n \n if (i == 3) {\n System.out.print(\"bon\");\n } else if(i == 0 || i == 1 || i == 6 || i == 8) {\n System.out.print(\"pon\");\n } else {\n System.out.print(\"hon\");\n }\n}",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n String parm = scanner.next();\n \n int i = Integer.parseInt(parm)%10;\n \n if (i == 3) {\n System.out.print(\"bon\");\n } else if(i == 0 || i == 1 || i == 6 || i == 8) {\n System.out.print(\"pon\");\n } else {\n System.out.print(\"hon\");\n }\n}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String parm = scanner.next();",
"parm",
"scanner.next()",
"scanner.next",
"scanner",
"int i = Integer.parseInt(parm)%10;",
"i",
"Integer.parseInt(parm)%10",
"Integer.parseInt(parm)",
"Integer.parseInt",
"Integer",
"parm",
"10",
"if (i == 3) {\n System.out.print(\"bon\");\n } else if(i == 0 || i == 1 || i == 6 || i == 8) {\n System.out.print(\"pon\");\n } else {\n System.out.print(\"hon\");\n }",
"i == 3",
"i",
"3",
"{\n System.out.print(\"bon\");\n }",
"System.out.print(\"bon\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(i == 0 || i == 1 || i == 6 || i == 8) {\n System.out.print(\"pon\");\n } else {\n System.out.print(\"hon\");\n }",
"i == 0 || i == 1 || i == 6 || i == 8",
"i == 6",
"i == 0 || i == 1 || i == 6 || i == 8",
"i == 0",
"i",
"0",
"i == 1",
"i",
"1",
"i == 6",
"i",
"6",
"i == 8",
"i",
"8",
"{\n System.out.print(\"pon\");\n }",
"System.out.print(\"pon\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n System.out.print(\"hon\");\n }",
"System.out.print(\"hon\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"hon\"",
"String[] args",
"args",
"public class Main{\n\npublic static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String parm = scanner.next();\n \n int i = Integer.parseInt(parm)%10;\n \n if (i == 3) {\n System.out.print(\"bon\");\n } else if(i == 0 || i == 1 || i == 6 || i == 8) {\n System.out.print(\"pon\");\n } else {\n System.out.print(\"hon\");\n }\n}\n}",
"public class Main{\n\npublic static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String parm = scanner.next();\n \n int i = Integer.parseInt(parm)%10;\n \n if (i == 3) {\n System.out.print(\"bon\");\n } else if(i == 0 || i == 1 || i == 6 || i == 8) {\n System.out.print(\"pon\");\n } else {\n System.out.print(\"hon\");\n }\n}\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String parm = scanner.next();
int i = Integer.parseInt(parm)%10;
if (i == 3) {
System.out.print("bon");
} else if(i == 0 || i == 1 || i == 6 || i == 8) {
System.out.print("pon");
} else {
System.out.print("hon");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
6,
13,
41,
13,
2,
17,
17,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
13,
0,
13,
0,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
20,
13,
0,
13,
0,
13,
17,
23,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
17,
41,
13,
42,
2,
0,
13,
4,
13,
40,
17,
30,
14,
2,
13,
17,
3,
0,
18,
13,
40,
13,
13,
29,
20,
12,
13,
30,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
2,
13,
17,
30,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
0,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
0,
13,
4,
18,
13,
13,
0,
13,
17,
13,
14,
2,
13,
40,
17,
0,
18,
13,
17,
40,
17,
12,
13,
30,
14,
2,
13,
13,
4,
13,
29,
18,
13,
40,
13,
12,
13,
30,
14,
2,
13,
17,
29,
4,
18,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
407,
11
],
[
407,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
26,
38
],
[
38,
39
],
[
41,
40
],
[
52,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
41,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
38,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
38,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
12,
74
],
[
74,
75
],
[
407,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
76,
83
],
[
83,
84
],
[
76,
85
],
[
85,
86
],
[
76,
87
],
[
87,
88
],
[
76,
89
],
[
89,
90
],
[
76,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
97,
98
],
[
97,
99
],
[
93,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
76,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
112,
113
],
[
112,
114
],
[
108,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
118,
120
],
[
106,
121
],
[
121,
122
],
[
76,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
130
],
[
130,
131
],
[
130,
132
],
[
125,
133
],
[
133,
134
],
[
125,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
136,
141
],
[
141,
142
],
[
135,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
144,
148
],
[
143,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
149,
154
],
[
125,
155
],
[
155,
156
],
[
76,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
159,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
159,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
167,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
159,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
177,
179
],
[
159,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
159,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
191,
192
],
[
188,
193
],
[
187,
194
],
[
194,
195
],
[
194,
196
],
[
186,
197
],
[
197,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
201,
205
],
[
200,
206
],
[
159,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
210,
211
],
[
159,
212
],
[
212,
213
],
[
76,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
216,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
216,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
224,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
216,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
234,
236
],
[
216,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
216,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
245,
250
],
[
244,
251
],
[
251,
252
],
[
251,
253
],
[
243,
254
],
[
254,
255
],
[
255,
256
],
[
255,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
258,
262
],
[
257,
263
],
[
216,
264
],
[
264,
265
],
[
264,
266
],
[
266,
267
],
[
267,
268
],
[
216,
269
],
[
269,
270
],
[
76,
271
],
[
271,
272
],
[
271,
273
],
[
273,
274
],
[
274,
275
],
[
274,
276
],
[
273,
277
],
[
277,
278
],
[
277,
279
],
[
273,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
273,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
284,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
273,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
294,
296
],
[
273,
297
],
[
297,
298
],
[
297,
299
],
[
299,
300
],
[
299,
301
],
[
301,
302
],
[
273,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
308,
309
],
[
305,
310
],
[
304,
311
],
[
311,
312
],
[
311,
313
],
[
303,
314
],
[
314,
315
],
[
315,
316
],
[
315,
317
],
[
317,
318
],
[
318,
319
],
[
319,
320
],
[
319,
321
],
[
318,
322
],
[
317,
323
],
[
273,
324
],
[
324,
325
],
[
325,
326
],
[
325,
327
],
[
324,
328
],
[
328,
329
],
[
329,
330
],
[
330,
331
],
[
331,
332
],
[
332,
333
],
[
332,
334
],
[
334,
335
],
[
331,
336
],
[
330,
337
],
[
337,
338
],
[
337,
339
],
[
329,
340
],
[
340,
341
],
[
341,
342
],
[
341,
343
],
[
343,
344
],
[
344,
345
],
[
344,
346
],
[
343,
347
],
[
347,
348
],
[
347,
349
],
[
273,
350
],
[
350,
351
],
[
350,
352
],
[
352,
353
],
[
353,
354
],
[
273,
355
],
[
355,
356
],
[
76,
357
],
[
357,
358
],
[
357,
359
],
[
359,
360
],
[
360,
361
],
[
360,
362
],
[
362,
363
],
[
363,
364
],
[
362,
365
],
[
362,
366
],
[
366,
367
],
[
366,
368
],
[
362,
369
],
[
359,
370
],
[
370,
371
],
[
371,
372
],
[
371,
373
],
[
373,
374
],
[
370,
375
],
[
375,
376
],
[
376,
377
],
[
376,
378
],
[
375,
379
],
[
379,
380
],
[
76,
381
],
[
381,
382
],
[
381,
383
],
[
383,
384
],
[
384,
385
],
[
385,
386
],
[
385,
387
],
[
384,
388
],
[
388,
389
],
[
383,
390
],
[
390,
391
],
[
391,
392
],
[
391,
393
],
[
393,
394
],
[
76,
395
],
[
395,
396
],
[
395,
397
],
[
397,
398
],
[
398,
399
],
[
399,
400
],
[
399,
401
],
[
398,
402
],
[
397,
403
],
[
403,
404
],
[
404,
405
],
[
0,
406
],
[
406,
407
],
[
406,
408
]
] |
[
"import com.sun.source.tree.Tree;\n\nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n static class Reader\n {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public String readLine() throws IOException\n {\n byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n\n public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n\n private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }\n }\n\n public static void main(String args[]) throws Exception {\n\n\n Scanner r = new Scanner(System.in);\n\n //Reader r = new Reader();\n\n //int t = Integer.parseInt(r.nextLine());\n //int t = r.nextInt();\n\n //while (t > 0){\n //\n //}\n\n int s = Integer.parseInt(r.nextLine());\n\n if (s%10 == 3)\n System.out.println(\"bon\");\n else if (s%10 == 0 || s%10 == 1 || s%10 == 6 || s%10 == 8)\n System.out.println(\"pon\");\n else \n System.out.println(\"hon\");\n\n\n\n }\n}",
"import com.sun.source.tree.Tree;",
"Tree",
"com.sun.source.tree",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n static class Reader\n {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public String readLine() throws IOException\n {\n byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n\n public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n\n private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }\n }\n\n public static void main(String args[]) throws Exception {\n\n\n Scanner r = new Scanner(System.in);\n\n //Reader r = new Reader();\n\n //int t = Integer.parseInt(r.nextLine());\n //int t = r.nextInt();\n\n //while (t > 0){\n //\n //}\n\n int s = Integer.parseInt(r.nextLine());\n\n if (s%10 == 3)\n System.out.println(\"bon\");\n else if (s%10 == 0 || s%10 == 1 || s%10 == 6 || s%10 == 8)\n System.out.println(\"pon\");\n else \n System.out.println(\"hon\");\n\n\n\n }\n}",
"Main",
"public static void main(String args[]) throws Exception {\n\n\n Scanner r = new Scanner(System.in);\n\n //Reader r = new Reader();\n\n //int t = Integer.parseInt(r.nextLine());\n //int t = r.nextInt();\n\n //while (t > 0){\n //\n //}\n\n int s = Integer.parseInt(r.nextLine());\n\n if (s%10 == 3)\n System.out.println(\"bon\");\n else if (s%10 == 0 || s%10 == 1 || s%10 == 6 || s%10 == 8)\n System.out.println(\"pon\");\n else \n System.out.println(\"hon\");\n\n\n\n }",
"main",
"{\n\n\n Scanner r = new Scanner(System.in);\n\n //Reader r = new Reader();\n\n //int t = Integer.parseInt(r.nextLine());\n //int t = r.nextInt();\n\n //while (t > 0){\n //\n //}\n\n int s = Integer.parseInt(r.nextLine());\n\n if (s%10 == 3)\n System.out.println(\"bon\");\n else if (s%10 == 0 || s%10 == 1 || s%10 == 6 || s%10 == 8)\n System.out.println(\"pon\");\n else \n System.out.println(\"hon\");\n\n\n\n }",
"Scanner r = new Scanner(System.in);",
"r",
"new Scanner(System.in)",
"int s = Integer.parseInt(r.nextLine());",
"s",
"Integer.parseInt(r.nextLine())",
"Integer.parseInt",
"Integer",
"r.nextLine()",
"r.nextLine",
"r",
"if (s%10 == 3)\n System.out.println(\"bon\");\n else if (s%10 == 0 || s%10 == 1 || s%10 == 6 || s%10 == 8)\n System.out.println(\"pon\");\n else \n System.out.println(\"hon\");",
"s%10 == 3",
"s%10",
"s",
"10",
"3",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if (s%10 == 0 || s%10 == 1 || s%10 == 6 || s%10 == 8)\n System.out.println(\"pon\");\n else \n System.out.println(\"hon\");",
"s%10 == 0 || s%10 == 1 || s%10 == 6 || s%10 == 8",
"s%10 == 6",
"s%10 == 0 || s%10 == 1 || s%10 == 6 || s%10 == 8",
"s%10 == 0",
"s%10",
"s",
"10",
"0",
"s%10 == 1",
"s%10",
"s",
"10",
"1",
"s%10 == 6",
"s%10",
"s",
"10",
"6",
"s%10 == 8",
"s%10",
"s",
"10",
"8",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"String args[]",
"args",
"static class Reader\n {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public String readLine() throws IOException\n {\n byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n\n public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n\n private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }\n }",
"Reader",
"final private int BUFFER_SIZE = 1 << 16;",
"BUFFER_SIZE",
"1 << 16",
"1",
"16",
"private DataInputStream din;",
"din",
"private byte[] buffer;",
"buffer",
"private int bufferPointer",
"bufferPointer",
"bytesRead;",
"bytesRead",
"public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }",
"Reader",
"{\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }",
"din = new DataInputStream(System.in)",
"din",
"new DataInputStream(System.in)",
"buffer = new byte[BUFFER_SIZE]",
"buffer",
"new byte[BUFFER_SIZE]",
"BUFFER_SIZE",
"bufferPointer = bytesRead = 0",
"bufferPointer",
"bytesRead = 0",
"bytesRead",
"0",
"public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }",
"Reader",
"{\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }",
"din = new DataInputStream(new FileInputStream(file_name))",
"din",
"new DataInputStream(new FileInputStream(file_name))",
"buffer = new byte[BUFFER_SIZE]",
"buffer",
"new byte[BUFFER_SIZE]",
"BUFFER_SIZE",
"bufferPointer = bytesRead = 0",
"bufferPointer",
"bytesRead = 0",
"bytesRead",
"0",
"String file_name",
"file_name",
"public String readLine() throws IOException\n {\n byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }",
"readLine",
"{\n byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }",
"byte[] buf = new byte[64];",
"buf",
"new byte[64]",
"64",
"int cnt = 0",
"cnt",
"0",
"c;",
"c",
"while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }",
"(c = read()) != -1",
"(c = read())",
"c",
"read()",
"read",
"-1",
"1",
"{\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }",
"if (c == '\\n')\n break;",
"c == '\\n'",
"c",
"'\\n'",
"break;",
"buf[cnt++] = (byte) c",
"buf[cnt++]",
"buf",
"cnt++",
"cnt",
"(byte) c",
"return new String(buf, 0, cnt);",
"new String(buf, 0, cnt)",
"public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }",
"nextInt",
"{\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }",
"int ret = 0;",
"ret",
"0",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ')\n c = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg)\n c = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{\n ret = ret * 10 + c - '0';\n }",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (neg)\n return -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }",
"nextLong",
"{\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }",
"long ret = 0;",
"ret",
"0",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ')\n c = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg)\n c = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{\n ret = ret * 10 + c - '0';\n }",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (neg)\n return -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }",
"nextDouble",
"{\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }",
"double ret = 0",
"ret",
"0",
"div = 1;",
"div",
"1",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ')\n c = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg)\n c = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{\n ret = ret * 10 + c - '0';\n }",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }",
"c == '.'",
"c",
"'.'",
"{\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }",
"while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{\n ret += (c - '0') / (div *= 10);\n }",
"ret += (c - '0') / (div *= 10)",
"ret",
"(c - '0') / (div *= 10)",
"(c - '0')",
"c",
"'0'",
"(div *= 10)",
"div",
"10",
"if (neg)\n return -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }",
"fillBuffer",
"{\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }",
"bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE)",
"bytesRead",
"din.read(buffer, bufferPointer = 0, BUFFER_SIZE)",
"din.read",
"din",
"buffer",
"bufferPointer = 0",
"bufferPointer",
"0",
"BUFFER_SIZE",
"if (bytesRead == -1)\n buffer[0] = -1;",
"bytesRead == -1",
"bytesRead",
"-1",
"1",
"buffer[0] = -1",
"buffer[0]",
"buffer",
"0",
"-1",
"1",
"private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }",
"read",
"{\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }",
"if (bufferPointer == bytesRead)\n fillBuffer();",
"bufferPointer == bytesRead",
"bufferPointer",
"bytesRead",
"fillBuffer()",
"fillBuffer",
"return buffer[bufferPointer++];",
"buffer[bufferPointer++]",
"buffer",
"bufferPointer++",
"bufferPointer",
"public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }",
"close",
"{\n if (din == null)\n return;\n din.close();\n }",
"if (din == null)\n return;",
"din == null",
"din",
"null",
"return;",
"din.close()",
"din.close",
"din",
"public class Main {\n\n static class Reader\n {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public String readLine() throws IOException\n {\n byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n\n public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n\n private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }\n }\n\n public static void main(String args[]) throws Exception {\n\n\n Scanner r = new Scanner(System.in);\n\n //Reader r = new Reader();\n\n //int t = Integer.parseInt(r.nextLine());\n //int t = r.nextInt();\n\n //while (t > 0){\n //\n //}\n\n int s = Integer.parseInt(r.nextLine());\n\n if (s%10 == 3)\n System.out.println(\"bon\");\n else if (s%10 == 0 || s%10 == 1 || s%10 == 6 || s%10 == 8)\n System.out.println(\"pon\");\n else \n System.out.println(\"hon\");\n\n\n\n }\n}",
"public class Main {\n\n static class Reader\n {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public String readLine() throws IOException\n {\n byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n\n public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n\n private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }\n }\n\n public static void main(String args[]) throws Exception {\n\n\n Scanner r = new Scanner(System.in);\n\n //Reader r = new Reader();\n\n //int t = Integer.parseInt(r.nextLine());\n //int t = r.nextInt();\n\n //while (t > 0){\n //\n //}\n\n int s = Integer.parseInt(r.nextLine());\n\n if (s%10 == 3)\n System.out.println(\"bon\");\n else if (s%10 == 0 || s%10 == 1 || s%10 == 6 || s%10 == 8)\n System.out.println(\"pon\");\n else \n System.out.println(\"hon\");\n\n\n\n }\n}",
"Main"
] |
import com.sun.source.tree.Tree;
import java.io.*;
import java.util.*;
public class Main {
static class Reader
{
final private int BUFFER_SIZE = 1 << 16;
private DataInputStream din;
private byte[] buffer;
private int bufferPointer, bytesRead;
public Reader()
{
din = new DataInputStream(System.in);
buffer = new byte[BUFFER_SIZE];
bufferPointer = bytesRead = 0;
}
public Reader(String file_name) throws IOException
{
din = new DataInputStream(new FileInputStream(file_name));
buffer = new byte[BUFFER_SIZE];
bufferPointer = bytesRead = 0;
}
public String readLine() throws IOException
{
byte[] buf = new byte[64]; // line length
int cnt = 0, c;
while ((c = read()) != -1)
{
if (c == '\n')
break;
buf[cnt++] = (byte) c;
}
return new String(buf, 0, cnt);
}
public int nextInt() throws IOException
{
int ret = 0;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do
{
ret = ret * 10 + c - '0';
} while ((c = read()) >= '0' && c <= '9');
if (neg)
return -ret;
return ret;
}
public long nextLong() throws IOException
{
long ret = 0;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do {
ret = ret * 10 + c - '0';
}
while ((c = read()) >= '0' && c <= '9');
if (neg)
return -ret;
return ret;
}
public double nextDouble() throws IOException
{
double ret = 0, div = 1;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do {
ret = ret * 10 + c - '0';
}
while ((c = read()) >= '0' && c <= '9');
if (c == '.')
{
while ((c = read()) >= '0' && c <= '9')
{
ret += (c - '0') / (div *= 10);
}
}
if (neg)
return -ret;
return ret;
}
private void fillBuffer() throws IOException
{
bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);
if (bytesRead == -1)
buffer[0] = -1;
}
private byte read() throws IOException
{
if (bufferPointer == bytesRead)
fillBuffer();
return buffer[bufferPointer++];
}
public void close() throws IOException
{
if (din == null)
return;
din.close();
}
}
public static void main(String args[]) throws Exception {
Scanner r = new Scanner(System.in);
//Reader r = new Reader();
//int t = Integer.parseInt(r.nextLine());
//int t = r.nextInt();
//while (t > 0){
//
//}
int s = Integer.parseInt(r.nextLine());
if (s%10 == 3)
System.out.println("bon");
else if (s%10 == 0 || s%10 == 1 || s%10 == 6 || s%10 == 8)
System.out.println("pon");
else
System.out.println("hon");
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
18,
13,
13,
12,
13,
30,
41,
13,
2,
4,
18,
13,
17,
14,
2,
13,
17,
30,
4,
18,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
13,
17,
30,
4,
18,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
20,
4,
13,
4,
18,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
0,
18,
36,
13,
17,
23,
13,
12,
13,
30,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
29,
18,
13,
40,
13,
29,
40,
17,
12,
13,
30,
29,
40,
2,
2,
13,
17,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
4,
13,
18,
13,
13,
40,
13,
12,
13,
30,
4,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
2,
2,
2,
13,
17,
13,
17,
0,
13,
4,
13,
29,
8,
13,
40,
13,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
2,
2,
2,
13,
17,
13,
17,
0,
13,
4,
13,
29,
8,
13,
40,
13,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
4,
13,
29,
13,
23,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
502,
20
],
[
502,
21
],
[
21,
22
],
[
502,
23
],
[
23,
24
],
[
502,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
502,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
35,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
40,
49
],
[
49,
50
],
[
52,
51
],
[
59,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
59,
59
],
[
59,
60
],
[
59,
61
],
[
52,
62
],
[
62,
63
],
[
62,
64
],
[
49,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
49,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
502,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
81,
83
],
[
77,
84
],
[
84,
85
],
[
77,
86
],
[
86,
87
],
[
87,
88
],
[
75,
89
],
[
89,
90
],
[
502,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
91,
103
],
[
103,
104
],
[
502,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
105,
109
],
[
109,
110
],
[
109,
111
],
[
105,
113
],
[
113,
114
],
[
105,
115
],
[
115,
116
],
[
105,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
119,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
117,
134
],
[
134,
135
],
[
105,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
139,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
147,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
156,
159
],
[
143,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
160,
164
],
[
164,
165
],
[
138,
166
],
[
166,
167
],
[
105,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
171,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
171,
179
],
[
179,
180
],
[
180,
181
],
[
105,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
187,
191
],
[
191,
192
],
[
191,
193
],
[
182,
194
],
[
194,
195
],
[
105,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
200,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
205,
207
],
[
199,
208
],
[
208,
209
],
[
105,
210
],
[
210,
211
],
[
210,
212
],
[
212,
213
],
[
213,
214
],
[
212,
215
],
[
215,
216
],
[
216,
217
],
[
105,
218
],
[
218,
219
],
[
218,
220
],
[
220,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
221,
225
],
[
225,
226
],
[
220,
227
],
[
227,
228
],
[
227,
229
],
[
220,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
220,
234
],
[
234,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
234,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
240,
243
],
[
239,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
220,
248
],
[
248,
249
],
[
249,
250
],
[
250,
251
],
[
105,
252
],
[
252,
253
],
[
252,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
255,
259
],
[
259,
260
],
[
254,
261
],
[
261,
262
],
[
261,
263
],
[
263,
264
],
[
254,
265
],
[
265,
266
],
[
266,
267
],
[
266,
268
],
[
265,
269
],
[
269,
270
],
[
269,
271
],
[
271,
272
],
[
254,
273
],
[
273,
274
],
[
273,
275
],
[
254,
276
],
[
276,
277
],
[
277,
278
],
[
277,
279
],
[
276,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
280,
284
],
[
284,
285
],
[
284,
286
],
[
286,
287
],
[
254,
288
],
[
288,
289
],
[
288,
290
],
[
254,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
291,
296
],
[
296,
297
],
[
297,
298
],
[
298,
299
],
[
299,
300
],
[
299,
301
],
[
298,
302
],
[
302,
303
],
[
302,
304
],
[
297,
305
],
[
305,
306
],
[
296,
307
],
[
307,
308
],
[
307,
309
],
[
309,
310
],
[
310,
311
],
[
311,
312
],
[
311,
313
],
[
310,
314
],
[
309,
315
],
[
296,
316
],
[
316,
317
],
[
316,
318
],
[
318,
319
],
[
254,
320
],
[
320,
321
],
[
321,
322
],
[
321,
323
],
[
323,
324
],
[
321,
325
],
[
105,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
329,
330
],
[
330,
331
],
[
331,
332
],
[
329,
333
],
[
333,
334
],
[
328,
335
],
[
335,
336
],
[
335,
337
],
[
337,
338
],
[
328,
339
],
[
339,
340
],
[
340,
341
],
[
340,
342
],
[
339,
343
],
[
343,
344
],
[
343,
345
],
[
345,
346
],
[
328,
347
],
[
347,
348
],
[
347,
349
],
[
328,
350
],
[
350,
351
],
[
351,
352
],
[
351,
353
],
[
350,
354
],
[
354,
355
],
[
355,
356
],
[
355,
357
],
[
354,
358
],
[
358,
359
],
[
358,
360
],
[
360,
361
],
[
328,
362
],
[
362,
363
],
[
362,
364
],
[
328,
365
],
[
365,
366
],
[
366,
367
],
[
367,
368
],
[
367,
369
],
[
365,
370
],
[
370,
371
],
[
371,
372
],
[
372,
373
],
[
373,
374
],
[
373,
375
],
[
372,
376
],
[
376,
377
],
[
376,
378
],
[
371,
379
],
[
379,
380
],
[
370,
381
],
[
381,
382
],
[
381,
383
],
[
383,
384
],
[
384,
385
],
[
385,
386
],
[
385,
387
],
[
384,
388
],
[
383,
389
],
[
370,
390
],
[
390,
391
],
[
390,
392
],
[
392,
393
],
[
328,
394
],
[
394,
395
],
[
395,
396
],
[
395,
397
],
[
397,
398
],
[
395,
399
],
[
105,
400
],
[
400,
401
],
[
400,
402
],
[
402,
403
],
[
403,
404
],
[
404,
405
],
[
405,
406
],
[
404,
407
],
[
407,
408
],
[
105,
409
],
[
409,
410
],
[
409,
411
],
[
411,
412
],
[
412,
413
],
[
412,
414
],
[
411,
416
],
[
416,
417
],
[
417,
418
],
[
418,
419
],
[
418,
420
],
[
416,
421
],
[
421,
422
],
[
421,
423
],
[
416,
424
],
[
424,
425
],
[
425,
426
],
[
416,
427
],
[
427,
428
],
[
428,
429
],
[
429,
430
],
[
429,
431
],
[
428,
432
],
[
432,
433
],
[
411,
434
],
[
434,
435
],
[
409,
436
],
[
436,
437
],
[
105,
438
],
[
438,
439
],
[
438,
440
],
[
440,
441
],
[
441,
442
],
[
441,
443
],
[
440,
445
],
[
445,
446
],
[
446,
447
],
[
447,
448
],
[
447,
449
],
[
445,
450
],
[
450,
451
],
[
450,
452
],
[
445,
453
],
[
453,
454
],
[
454,
455
],
[
445,
456
],
[
456,
457
],
[
457,
458
],
[
458,
459
],
[
458,
460
],
[
457,
461
],
[
461,
462
],
[
440,
463
],
[
463,
464
],
[
438,
465
],
[
465,
466
],
[
105,
467
],
[
467,
468
],
[
467,
469
],
[
469,
470
],
[
470,
471
],
[
470,
472
],
[
469,
475
],
[
475,
476
],
[
476,
477
],
[
477,
478
],
[
477,
479
],
[
475,
480
],
[
480,
481
],
[
480,
482
],
[
475,
483
],
[
483,
484
],
[
484,
485
],
[
475,
486
],
[
486,
487
],
[
487,
488
],
[
488,
489
],
[
488,
490
],
[
487,
491
],
[
491,
492
],
[
492,
493
],
[
493,
494
],
[
469,
495
],
[
495,
496
],
[
467,
497
],
[
497,
498
],
[
467,
499
],
[
499,
500
],
[
0,
501
],
[
501,
502
],
[
501,
503
]
] |
[
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Arrays;\nimport java.util.InputMismatchException;\nimport java.util.NoSuchElementException;\n\npublic class Main {\n\tstatic PrintWriter out;\n\tstatic InputReader ir;\n\tstatic final long INF = Long.MAX_VALUE;\n\n\tstatic void solve() {\n\t\tint n=ir.nextInt()%10;\n\t\tif(n==3){\n\t\t\tout.println(\"bon\");\n\t\t}\n\t\telse if(n==0||n==1||n==6||n==8){\n\t\t\tout.println(\"pon\");\n\t\t}\n\t\telse{\n\t\t\tout.println(\"hon\");\n\t\t}\n\t}\n\tpublic static void main(String[] args) {\n\t\tir = new InputReader(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tsolve();\n\t\tout.flush();\n\t}\n\n\tstatic class InputReader {\n\n\t\tprivate InputStream in;\n\t\tprivate byte[] buffer = new byte[1024];\n\t\tprivate int curbuf;\n\t\tprivate int lenbuf;\n\n\t\tpublic InputReader(InputStream in) {\n\t\t\tthis.in = in;\n\t\t\tthis.curbuf = this.lenbuf = 0;\n\t\t}\n\n\t\tpublic boolean hasNextByte() {\n\t\t\tif (curbuf >= lenbuf) {\n\t\t\t\tcurbuf = 0;\n\t\t\t\ttry {\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t\tif (lenbuf <= 0)\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\n\t\tprivate int readByte() {\n\t\t\tif (hasNextByte())\n\t\t\t\treturn buffer[curbuf++];\n\t\t\telse\n\t\t\t\treturn -1;\n\t\t}\n\n\t\tprivate boolean isSpaceChar(int c) {\n\t\t\treturn !(c >= 33 && c <= 126);\n\t\t}\n\n\t\tprivate void skip() {\n\t\t\twhile (hasNextByte() && isSpaceChar(buffer[curbuf]))\n\t\t\t\tcurbuf++;\n\t\t}\n\n\t\tpublic boolean hasNext() {\n\t\t\tskip();\n\t\t\treturn hasNextByte();\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tint b = readByte();\n\t\t\twhile (!isSpaceChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tint res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tlong res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic int[] nextIntArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic char[][] nextCharMap(int n, int m) {\n\t\t\tchar[][] map = new char[n][m];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tmap[i] = next().toCharArray();\n\t\t\treturn map;\n\t\t}\n\t}\n\n\tstatic void tr(Object... o) {\n\t\tSystem.err.println(Arrays.deepToString(o));\n\t}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"public class Main {\n\tstatic PrintWriter out;\n\tstatic InputReader ir;\n\tstatic final long INF = Long.MAX_VALUE;\n\n\tstatic void solve() {\n\t\tint n=ir.nextInt()%10;\n\t\tif(n==3){\n\t\t\tout.println(\"bon\");\n\t\t}\n\t\telse if(n==0||n==1||n==6||n==8){\n\t\t\tout.println(\"pon\");\n\t\t}\n\t\telse{\n\t\t\tout.println(\"hon\");\n\t\t}\n\t}\n\tpublic static void main(String[] args) {\n\t\tir = new InputReader(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tsolve();\n\t\tout.flush();\n\t}\n\n\tstatic class InputReader {\n\n\t\tprivate InputStream in;\n\t\tprivate byte[] buffer = new byte[1024];\n\t\tprivate int curbuf;\n\t\tprivate int lenbuf;\n\n\t\tpublic InputReader(InputStream in) {\n\t\t\tthis.in = in;\n\t\t\tthis.curbuf = this.lenbuf = 0;\n\t\t}\n\n\t\tpublic boolean hasNextByte() {\n\t\t\tif (curbuf >= lenbuf) {\n\t\t\t\tcurbuf = 0;\n\t\t\t\ttry {\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t\tif (lenbuf <= 0)\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\n\t\tprivate int readByte() {\n\t\t\tif (hasNextByte())\n\t\t\t\treturn buffer[curbuf++];\n\t\t\telse\n\t\t\t\treturn -1;\n\t\t}\n\n\t\tprivate boolean isSpaceChar(int c) {\n\t\t\treturn !(c >= 33 && c <= 126);\n\t\t}\n\n\t\tprivate void skip() {\n\t\t\twhile (hasNextByte() && isSpaceChar(buffer[curbuf]))\n\t\t\t\tcurbuf++;\n\t\t}\n\n\t\tpublic boolean hasNext() {\n\t\t\tskip();\n\t\t\treturn hasNextByte();\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tint b = readByte();\n\t\t\twhile (!isSpaceChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tint res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tlong res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic int[] nextIntArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic char[][] nextCharMap(int n, int m) {\n\t\t\tchar[][] map = new char[n][m];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tmap[i] = next().toCharArray();\n\t\t\treturn map;\n\t\t}\n\t}\n\n\tstatic void tr(Object... o) {\n\t\tSystem.err.println(Arrays.deepToString(o));\n\t}\n}",
"Main",
"static PrintWriter out;",
"out",
"static InputReader ir;",
"ir",
"static final long INF = Long.MAX_VALUE;",
"INF",
"Long.MAX_VALUE",
"Long",
"Long.MAX_VALUE",
"static void solve() {\n\t\tint n=ir.nextInt()%10;\n\t\tif(n==3){\n\t\t\tout.println(\"bon\");\n\t\t}\n\t\telse if(n==0||n==1||n==6||n==8){\n\t\t\tout.println(\"pon\");\n\t\t}\n\t\telse{\n\t\t\tout.println(\"hon\");\n\t\t}\n\t}",
"solve",
"{\n\t\tint n=ir.nextInt()%10;\n\t\tif(n==3){\n\t\t\tout.println(\"bon\");\n\t\t}\n\t\telse if(n==0||n==1||n==6||n==8){\n\t\t\tout.println(\"pon\");\n\t\t}\n\t\telse{\n\t\t\tout.println(\"hon\");\n\t\t}\n\t}",
"int n=ir.nextInt()%10;",
"n",
"ir.nextInt()%10",
"ir.nextInt()",
"ir.nextInt",
"ir",
"10",
"if(n==3){\n\t\t\tout.println(\"bon\");\n\t\t}\n\t\telse if(n==0||n==1||n==6||n==8){\n\t\t\tout.println(\"pon\");\n\t\t}\n\t\telse{\n\t\t\tout.println(\"hon\");\n\t\t}",
"n==3",
"n",
"3",
"{\n\t\t\tout.println(\"bon\");\n\t\t}",
"out.println(\"bon\")",
"out.println",
"out",
"\"bon\"",
"if(n==0||n==1||n==6||n==8){\n\t\t\tout.println(\"pon\");\n\t\t}\n\t\telse{\n\t\t\tout.println(\"hon\");\n\t\t}",
"n==0||n==1||n==6||n==8",
"n==6",
"n==0||n==1||n==6||n==8",
"n==0",
"n",
"0",
"n==1",
"n",
"1",
"n==6",
"n",
"6",
"n==8",
"n",
"8",
"{\n\t\t\tout.println(\"pon\");\n\t\t}",
"out.println(\"pon\")",
"out.println",
"out",
"\"pon\"",
"{\n\t\t\tout.println(\"hon\");\n\t\t}",
"out.println(\"hon\")",
"out.println",
"out",
"\"hon\"",
"public static void main(String[] args) {\n\t\tir = new InputReader(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tsolve();\n\t\tout.flush();\n\t}",
"main",
"{\n\t\tir = new InputReader(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tsolve();\n\t\tout.flush();\n\t}",
"ir = new InputReader(System.in)",
"ir",
"new InputReader(System.in)",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"solve()",
"solve",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"static void tr(Object... o) {\n\t\tSystem.err.println(Arrays.deepToString(o));\n\t}",
"tr",
"{\n\t\tSystem.err.println(Arrays.deepToString(o));\n\t}",
"System.err.println(Arrays.deepToString(o))",
"System.err.println",
"System.err",
"System",
"System.err",
"Arrays.deepToString(o)",
"Arrays.deepToString",
"Arrays",
"o",
"Object... o",
"o",
"static class InputReader {\n\n\t\tprivate InputStream in;\n\t\tprivate byte[] buffer = new byte[1024];\n\t\tprivate int curbuf;\n\t\tprivate int lenbuf;\n\n\t\tpublic InputReader(InputStream in) {\n\t\t\tthis.in = in;\n\t\t\tthis.curbuf = this.lenbuf = 0;\n\t\t}\n\n\t\tpublic boolean hasNextByte() {\n\t\t\tif (curbuf >= lenbuf) {\n\t\t\t\tcurbuf = 0;\n\t\t\t\ttry {\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t\tif (lenbuf <= 0)\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\n\t\tprivate int readByte() {\n\t\t\tif (hasNextByte())\n\t\t\t\treturn buffer[curbuf++];\n\t\t\telse\n\t\t\t\treturn -1;\n\t\t}\n\n\t\tprivate boolean isSpaceChar(int c) {\n\t\t\treturn !(c >= 33 && c <= 126);\n\t\t}\n\n\t\tprivate void skip() {\n\t\t\twhile (hasNextByte() && isSpaceChar(buffer[curbuf]))\n\t\t\t\tcurbuf++;\n\t\t}\n\n\t\tpublic boolean hasNext() {\n\t\t\tskip();\n\t\t\treturn hasNextByte();\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tint b = readByte();\n\t\t\twhile (!isSpaceChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tint res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tlong res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic int[] nextIntArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic char[][] nextCharMap(int n, int m) {\n\t\t\tchar[][] map = new char[n][m];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tmap[i] = next().toCharArray();\n\t\t\treturn map;\n\t\t}\n\t}",
"InputReader",
"private InputStream in;",
"in",
"private byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int curbuf;",
"curbuf",
"private int lenbuf;",
"lenbuf",
"public InputReader(InputStream in) {\n\t\t\tthis.in = in;\n\t\t\tthis.curbuf = this.lenbuf = 0;\n\t\t}",
"InputReader",
"{\n\t\t\tthis.in = in;\n\t\t\tthis.curbuf = this.lenbuf = 0;\n\t\t}",
"this.in = in",
"this.in",
"this",
"this.in",
"in",
"this.curbuf = this.lenbuf = 0",
"this.curbuf",
"this",
"this.curbuf",
"this.lenbuf = 0",
"this.lenbuf",
"this",
"this.lenbuf",
"0",
"InputStream in",
"in",
"public boolean hasNextByte() {\n\t\t\tif (curbuf >= lenbuf) {\n\t\t\t\tcurbuf = 0;\n\t\t\t\ttry {\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t\tif (lenbuf <= 0)\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}",
"hasNextByte",
"{\n\t\t\tif (curbuf >= lenbuf) {\n\t\t\t\tcurbuf = 0;\n\t\t\t\ttry {\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t\tif (lenbuf <= 0)\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}",
"if (curbuf >= lenbuf) {\n\t\t\t\tcurbuf = 0;\n\t\t\t\ttry {\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t\tif (lenbuf <= 0)\n\t\t\t\t\treturn false;\n\t\t\t}",
"curbuf >= lenbuf",
"curbuf",
"lenbuf",
"{\n\t\t\t\tcurbuf = 0;\n\t\t\t\ttry {\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t\tif (lenbuf <= 0)\n\t\t\t\t\treturn false;\n\t\t\t}",
"curbuf = 0",
"curbuf",
"0",
"try {\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t}",
"lenbuf = in.read(buffer)",
"lenbuf",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (lenbuf <= 0)\n\t\t\t\t\treturn false;",
"lenbuf <= 0",
"lenbuf",
"0",
"return false;",
"false",
"return true;",
"true",
"private int readByte() {\n\t\t\tif (hasNextByte())\n\t\t\t\treturn buffer[curbuf++];\n\t\t\telse\n\t\t\t\treturn -1;\n\t\t}",
"readByte",
"{\n\t\t\tif (hasNextByte())\n\t\t\t\treturn buffer[curbuf++];\n\t\t\telse\n\t\t\t\treturn -1;\n\t\t}",
"if (hasNextByte())\n\t\t\t\treturn buffer[curbuf++];\n\t\t\telse\n\t\t\t\treturn -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[curbuf++];",
"buffer[curbuf++]",
"buffer",
"curbuf++",
"curbuf",
"return -1;",
"-1",
"1",
"private boolean isSpaceChar(int c) {\n\t\t\treturn !(c >= 33 && c <= 126);\n\t\t}",
"isSpaceChar",
"{\n\t\t\treturn !(c >= 33 && c <= 126);\n\t\t}",
"return !(c >= 33 && c <= 126);",
"!(c >= 33 && c <= 126)",
"(c >= 33 && c <= 126)",
"c >= 33",
"c",
"33",
"c <= 126",
"c",
"126",
"int c",
"c",
"private void skip() {\n\t\t\twhile (hasNextByte() && isSpaceChar(buffer[curbuf]))\n\t\t\t\tcurbuf++;\n\t\t}",
"skip",
"{\n\t\t\twhile (hasNextByte() && isSpaceChar(buffer[curbuf]))\n\t\t\t\tcurbuf++;\n\t\t}",
"while (hasNextByte() && isSpaceChar(buffer[curbuf]))\n\t\t\t\tcurbuf++;",
"hasNextByte() && isSpaceChar(buffer[curbuf])",
"hasNextByte()",
"hasNextByte",
"isSpaceChar(buffer[curbuf])",
"isSpaceChar",
"buffer[curbuf]",
"buffer",
"curbuf",
"curbuf++",
"curbuf",
"public boolean hasNext() {\n\t\t\tskip();\n\t\t\treturn hasNextByte();\n\t\t}",
"hasNext",
"{\n\t\t\tskip();\n\t\t\treturn hasNextByte();\n\t\t}",
"skip()",
"skip",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tint b = readByte();\n\t\t\twhile (!isSpaceChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}",
"next",
"{\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tint b = readByte();\n\t\t\twhile (!isSpaceChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}",
"if (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while (!isSpaceChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}",
"!isSpaceChar(b)",
"isSpaceChar(b)",
"isSpaceChar",
"b",
"{\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public int nextInt() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tint res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}",
"nextInt",
"{\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tint res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}",
"if (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"int c = readByte();",
"c",
"readByte()",
"readByte",
"while (isSpaceChar(c))\n\t\t\t\tc = readByte();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = readByte()",
"c",
"readByte()",
"readByte",
"boolean minus = false;",
"minus",
"false",
"if (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}",
"c == '-'",
"c",
"'-'",
"{\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}",
"minus = true",
"minus",
"true",
"c = readByte()",
"c",
"readByte()",
"readByte",
"int res = 0;",
"res",
"0",
"do {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t}",
"if (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res = res * 10 + c - '0'",
"res",
"res * 10 + c - '0'",
"res * 10 + c",
"res * 10",
"res",
"10",
"c",
"'0'",
"c = readByte()",
"c",
"readByte()",
"readByte",
"return (minus) ? -res : res;",
"(minus) ? -res : res",
"(minus)",
"-res",
"res",
"res",
"public long nextLong() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tlong res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}",
"nextLong",
"{\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tlong res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}",
"if (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"int c = readByte();",
"c",
"readByte()",
"readByte",
"while (isSpaceChar(c))\n\t\t\t\tc = readByte();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = readByte()",
"c",
"readByte()",
"readByte",
"boolean minus = false;",
"minus",
"false",
"if (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}",
"c == '-'",
"c",
"'-'",
"{\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}",
"minus = true",
"minus",
"true",
"c = readByte()",
"c",
"readByte()",
"readByte",
"long res = 0;",
"res",
"0",
"do {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t}",
"if (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res = res * 10 + c - '0'",
"res",
"res * 10 + c - '0'",
"res * 10 + c",
"res * 10",
"res",
"10",
"c",
"'0'",
"c = readByte()",
"c",
"readByte()",
"readByte",
"return (minus) ? -res : res;",
"(minus) ? -res : res",
"(minus)",
"-res",
"res",
"res",
"public double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"nextDouble",
"{\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public int[] nextIntArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}",
"nextIntArray",
"{\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextInt();",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"public long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}",
"nextLongArray",
"{\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextLong();",
"a[i] = nextLong()",
"a[i]",
"a",
"i",
"nextLong()",
"nextLong",
"return a;",
"a",
"int n",
"n",
"public char[][] nextCharMap(int n, int m) {\n\t\t\tchar[][] map = new char[n][m];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tmap[i] = next().toCharArray();\n\t\t\treturn map;\n\t\t}",
"nextCharMap",
"{\n\t\t\tchar[][] map = new char[n][m];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tmap[i] = next().toCharArray();\n\t\t\treturn map;\n\t\t}",
"char[][] map = new char[n][m];",
"map",
"new char[n][m]",
"n",
"m",
"for (int i = 0; i < n; i++)\n\t\t\t\tmap[i] = next().toCharArray();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"map[i] = next().toCharArray();",
"map[i] = next().toCharArray()",
"map[i]",
"map",
"i",
"next().toCharArray()",
"next().toCharArray",
"next()",
"next",
"return map;",
"map",
"int n",
"n",
"int m",
"m",
"public class Main {\n\tstatic PrintWriter out;\n\tstatic InputReader ir;\n\tstatic final long INF = Long.MAX_VALUE;\n\n\tstatic void solve() {\n\t\tint n=ir.nextInt()%10;\n\t\tif(n==3){\n\t\t\tout.println(\"bon\");\n\t\t}\n\t\telse if(n==0||n==1||n==6||n==8){\n\t\t\tout.println(\"pon\");\n\t\t}\n\t\telse{\n\t\t\tout.println(\"hon\");\n\t\t}\n\t}\n\tpublic static void main(String[] args) {\n\t\tir = new InputReader(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tsolve();\n\t\tout.flush();\n\t}\n\n\tstatic class InputReader {\n\n\t\tprivate InputStream in;\n\t\tprivate byte[] buffer = new byte[1024];\n\t\tprivate int curbuf;\n\t\tprivate int lenbuf;\n\n\t\tpublic InputReader(InputStream in) {\n\t\t\tthis.in = in;\n\t\t\tthis.curbuf = this.lenbuf = 0;\n\t\t}\n\n\t\tpublic boolean hasNextByte() {\n\t\t\tif (curbuf >= lenbuf) {\n\t\t\t\tcurbuf = 0;\n\t\t\t\ttry {\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t\tif (lenbuf <= 0)\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\n\t\tprivate int readByte() {\n\t\t\tif (hasNextByte())\n\t\t\t\treturn buffer[curbuf++];\n\t\t\telse\n\t\t\t\treturn -1;\n\t\t}\n\n\t\tprivate boolean isSpaceChar(int c) {\n\t\t\treturn !(c >= 33 && c <= 126);\n\t\t}\n\n\t\tprivate void skip() {\n\t\t\twhile (hasNextByte() && isSpaceChar(buffer[curbuf]))\n\t\t\t\tcurbuf++;\n\t\t}\n\n\t\tpublic boolean hasNext() {\n\t\t\tskip();\n\t\t\treturn hasNextByte();\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tint b = readByte();\n\t\t\twhile (!isSpaceChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tint res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tlong res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic int[] nextIntArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic char[][] nextCharMap(int n, int m) {\n\t\t\tchar[][] map = new char[n][m];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tmap[i] = next().toCharArray();\n\t\t\treturn map;\n\t\t}\n\t}\n\n\tstatic void tr(Object... o) {\n\t\tSystem.err.println(Arrays.deepToString(o));\n\t}\n}",
"public class Main {\n\tstatic PrintWriter out;\n\tstatic InputReader ir;\n\tstatic final long INF = Long.MAX_VALUE;\n\n\tstatic void solve() {\n\t\tint n=ir.nextInt()%10;\n\t\tif(n==3){\n\t\t\tout.println(\"bon\");\n\t\t}\n\t\telse if(n==0||n==1||n==6||n==8){\n\t\t\tout.println(\"pon\");\n\t\t}\n\t\telse{\n\t\t\tout.println(\"hon\");\n\t\t}\n\t}\n\tpublic static void main(String[] args) {\n\t\tir = new InputReader(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tsolve();\n\t\tout.flush();\n\t}\n\n\tstatic class InputReader {\n\n\t\tprivate InputStream in;\n\t\tprivate byte[] buffer = new byte[1024];\n\t\tprivate int curbuf;\n\t\tprivate int lenbuf;\n\n\t\tpublic InputReader(InputStream in) {\n\t\t\tthis.in = in;\n\t\t\tthis.curbuf = this.lenbuf = 0;\n\t\t}\n\n\t\tpublic boolean hasNextByte() {\n\t\t\tif (curbuf >= lenbuf) {\n\t\t\t\tcurbuf = 0;\n\t\t\t\ttry {\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t\tif (lenbuf <= 0)\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\n\t\tprivate int readByte() {\n\t\t\tif (hasNextByte())\n\t\t\t\treturn buffer[curbuf++];\n\t\t\telse\n\t\t\t\treturn -1;\n\t\t}\n\n\t\tprivate boolean isSpaceChar(int c) {\n\t\t\treturn !(c >= 33 && c <= 126);\n\t\t}\n\n\t\tprivate void skip() {\n\t\t\twhile (hasNextByte() && isSpaceChar(buffer[curbuf]))\n\t\t\t\tcurbuf++;\n\t\t}\n\n\t\tpublic boolean hasNext() {\n\t\t\tskip();\n\t\t\treturn hasNextByte();\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tint b = readByte();\n\t\t\twhile (!isSpaceChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tint res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tlong res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic int[] nextIntArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic char[][] nextCharMap(int n, int m) {\n\t\t\tchar[][] map = new char[n][m];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tmap[i] = next().toCharArray();\n\t\t\treturn map;\n\t\t}\n\t}\n\n\tstatic void tr(Object... o) {\n\t\tSystem.err.println(Arrays.deepToString(o));\n\t}\n}",
"Main"
] |
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.InputMismatchException;
import java.util.NoSuchElementException;
public class Main {
static PrintWriter out;
static InputReader ir;
static final long INF = Long.MAX_VALUE;
static void solve() {
int n=ir.nextInt()%10;
if(n==3){
out.println("bon");
}
else if(n==0||n==1||n==6||n==8){
out.println("pon");
}
else{
out.println("hon");
}
}
public static void main(String[] args) {
ir = new InputReader(System.in);
out = new PrintWriter(System.out);
solve();
out.flush();
}
static class InputReader {
private InputStream in;
private byte[] buffer = new byte[1024];
private int curbuf;
private int lenbuf;
public InputReader(InputStream in) {
this.in = in;
this.curbuf = this.lenbuf = 0;
}
public boolean hasNextByte() {
if (curbuf >= lenbuf) {
curbuf = 0;
try {
lenbuf = in.read(buffer);
} catch (IOException e) {
throw new InputMismatchException();
}
if (lenbuf <= 0)
return false;
}
return true;
}
private int readByte() {
if (hasNextByte())
return buffer[curbuf++];
else
return -1;
}
private boolean isSpaceChar(int c) {
return !(c >= 33 && c <= 126);
}
private void skip() {
while (hasNextByte() && isSpaceChar(buffer[curbuf]))
curbuf++;
}
public boolean hasNext() {
skip();
return hasNextByte();
}
public String next() {
if (!hasNext())
throw new NoSuchElementException();
StringBuilder sb = new StringBuilder();
int b = readByte();
while (!isSpaceChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
public int nextInt() {
if (!hasNext())
throw new NoSuchElementException();
int c = readByte();
while (isSpaceChar(c))
c = readByte();
boolean minus = false;
if (c == '-') {
minus = true;
c = readByte();
}
int res = 0;
do {
if (c < '0' || c > '9')
throw new InputMismatchException();
res = res * 10 + c - '0';
c = readByte();
} while (!isSpaceChar(c));
return (minus) ? -res : res;
}
public long nextLong() {
if (!hasNext())
throw new NoSuchElementException();
int c = readByte();
while (isSpaceChar(c))
c = readByte();
boolean minus = false;
if (c == '-') {
minus = true;
c = readByte();
}
long res = 0;
do {
if (c < '0' || c > '9')
throw new InputMismatchException();
res = res * 10 + c - '0';
c = readByte();
} while (!isSpaceChar(c));
return (minus) ? -res : res;
}
public double nextDouble() {
return Double.parseDouble(next());
}
public int[] nextIntArray(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = nextInt();
return a;
}
public long[] nextLongArray(int n) {
long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nextLong();
return a;
}
public char[][] nextCharMap(int n, int m) {
char[][] map = new char[n][m];
for (int i = 0; i < n; i++)
map[i] = next().toCharArray();
return map;
}
}
static void tr(Object... o) {
System.err.println(Arrays.deepToString(o));
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
2,
2,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
98,
8
],
[
98,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
24,
22
],
[
40,
23
],
[
35,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
24,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
20,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
20,
57
],
[
57,
58
],
[
60,
59
],
[
71,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
60,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
60,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
57,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
57,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
9,
95
],
[
95,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
]
] |
[
"import java.util.*;\nimport java.io.*;\n \npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n if(n%10 == 2 || n%10==4||n%10==5||n%10==7||n%10==9){\n System.out.println(\"hon\");\n } else if(n%10==0||n%10==1||n%10==6||n%10==8){\n System.out.println(\"pon\");\n } else{\n System.out.println(\"bon\");\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n if(n%10 == 2 || n%10==4||n%10==5||n%10==7||n%10==9){\n System.out.println(\"hon\");\n } else if(n%10==0||n%10==1||n%10==6||n%10==8){\n System.out.println(\"pon\");\n } else{\n System.out.println(\"bon\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n if(n%10 == 2 || n%10==4||n%10==5||n%10==7||n%10==9){\n System.out.println(\"hon\");\n } else if(n%10==0||n%10==1||n%10==6||n%10==8){\n System.out.println(\"pon\");\n } else{\n System.out.println(\"bon\");\n }\n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n if(n%10 == 2 || n%10==4||n%10==5||n%10==7||n%10==9){\n System.out.println(\"hon\");\n } else if(n%10==0||n%10==1||n%10==6||n%10==8){\n System.out.println(\"pon\");\n } else{\n System.out.println(\"bon\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(n%10 == 2 || n%10==4||n%10==5||n%10==7||n%10==9){\n System.out.println(\"hon\");\n } else if(n%10==0||n%10==1||n%10==6||n%10==8){\n System.out.println(\"pon\");\n } else{\n System.out.println(\"bon\");\n }",
"n%10 == 2 || n%10==4||n%10==5||n%10==7||n%10==9",
"n%10==7",
"n%10==5",
"n%10 == 2 || n%10==4||n%10==5||n%10==7||n%10==9",
"n%10 == 2",
"n%10",
"n",
"10",
"2",
"n%10==4",
"n%10",
"n",
"10",
"4",
"n%10==5",
"n%10",
"n",
"10",
"5",
"n%10==7",
"n%10",
"n",
"10",
"7",
"n%10==9",
"n%10",
"n",
"10",
"9",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(n%10==0||n%10==1||n%10==6||n%10==8){\n System.out.println(\"pon\");\n } else{\n System.out.println(\"bon\");\n }",
"n%10==0||n%10==1||n%10==6||n%10==8",
"n%10==6",
"n%10==0||n%10==1||n%10==6||n%10==8",
"n%10==0",
"n%10",
"n",
"10",
"0",
"n%10==1",
"n%10",
"n",
"10",
"1",
"n%10==6",
"n%10",
"n",
"10",
"6",
"n%10==8",
"n%10",
"n",
"10",
"8",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n if(n%10 == 2 || n%10==4||n%10==5||n%10==7||n%10==9){\n System.out.println(\"hon\");\n } else if(n%10==0||n%10==1||n%10==6||n%10==8){\n System.out.println(\"pon\");\n } else{\n System.out.println(\"bon\");\n }\n }\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n if(n%10 == 2 || n%10==4||n%10==5||n%10==7||n%10==9){\n System.out.println(\"hon\");\n } else if(n%10==0||n%10==1||n%10==6||n%10==8){\n System.out.println(\"pon\");\n } else{\n System.out.println(\"bon\");\n }\n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
if(n%10 == 2 || n%10==4||n%10==5||n%10==7||n%10==9){
System.out.println("hon");
} else if(n%10==0||n%10==1||n%10==6||n%10==8){
System.out.println("pon");
} else{
System.out.println("bon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
4,
18,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
78,
5
],
[
78,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
8,
27
],
[
27,
28
],
[
31,
29
],
[
41,
30
],
[
38,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
38,
38
],
[
38,
39
],
[
38,
40
],
[
41,
41
],
[
41,
42
],
[
41,
43
],
[
31,
44
],
[
44,
45
],
[
44,
46
],
[
27,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
27,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
54,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
6,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n String S = scanner.nextLine();\n char s = S.charAt(S.length() - 1);\n if (s == '2' || s == '4' || s == '5' || s == '7' || s == '9'){\n System.out.println(\"hon\");\n } else if(s == '3'){\n System.out.println(\"bon\");\n } else {\n System.out.println(\"pon\");\n }\n\n scanner.close();\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n String S = scanner.nextLine();\n char s = S.charAt(S.length() - 1);\n if (s == '2' || s == '4' || s == '5' || s == '7' || s == '9'){\n System.out.println(\"hon\");\n } else if(s == '3'){\n System.out.println(\"bon\");\n } else {\n System.out.println(\"pon\");\n }\n\n scanner.close();\n }\n\n}",
"Main",
"public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n String S = scanner.nextLine();\n char s = S.charAt(S.length() - 1);\n if (s == '2' || s == '4' || s == '5' || s == '7' || s == '9'){\n System.out.println(\"hon\");\n } else if(s == '3'){\n System.out.println(\"bon\");\n } else {\n System.out.println(\"pon\");\n }\n\n scanner.close();\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n String S = scanner.nextLine();\n char s = S.charAt(S.length() - 1);\n if (s == '2' || s == '4' || s == '5' || s == '7' || s == '9'){\n System.out.println(\"hon\");\n } else if(s == '3'){\n System.out.println(\"bon\");\n } else {\n System.out.println(\"pon\");\n }\n\n scanner.close();\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String S = scanner.nextLine();",
"S",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"char s = S.charAt(S.length() - 1);",
"s",
"S.charAt(S.length() - 1)",
"S.charAt",
"S",
"S.length() - 1",
"S.length()",
"S.length",
"S",
"1",
"if (s == '2' || s == '4' || s == '5' || s == '7' || s == '9'){\n System.out.println(\"hon\");\n } else if(s == '3'){\n System.out.println(\"bon\");\n } else {\n System.out.println(\"pon\");\n }",
"s == '2' || s == '4' || s == '5' || s == '7' || s == '9'",
"s == '7'",
"s == '5'",
"s == '2' || s == '4' || s == '5' || s == '7' || s == '9'",
"s == '2'",
"s",
"'2'",
"s == '4'",
"s",
"'4'",
"s == '5'",
"s",
"'5'",
"s == '7'",
"s",
"'7'",
"s == '9'",
"s",
"'9'",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(s == '3'){\n System.out.println(\"bon\");\n } else {\n System.out.println(\"pon\");\n }",
"s == '3'",
"s",
"'3'",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"scanner.close()",
"scanner.close",
"scanner",
"String args[]",
"args",
"public class Main {\n\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n String S = scanner.nextLine();\n char s = S.charAt(S.length() - 1);\n if (s == '2' || s == '4' || s == '5' || s == '7' || s == '9'){\n System.out.println(\"hon\");\n } else if(s == '3'){\n System.out.println(\"bon\");\n } else {\n System.out.println(\"pon\");\n }\n\n scanner.close();\n }\n\n}",
"public class Main {\n\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n String S = scanner.nextLine();\n char s = S.charAt(S.length() - 1);\n if (s == '2' || s == '4' || s == '5' || s == '7' || s == '9'){\n System.out.println(\"hon\");\n } else if(s == '3'){\n System.out.println(\"bon\");\n } else {\n System.out.println(\"pon\");\n }\n\n scanner.close();\n }\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String args[]){
Scanner scanner = new Scanner(System.in);
String S = scanner.nextLine();
char s = S.charAt(S.length() - 1);
if (s == '2' || s == '4' || s == '5' || s == '7' || s == '9'){
System.out.println("hon");
} else if(s == '3'){
System.out.println("bon");
} else {
System.out.println("pon");
}
scanner.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
35,
4,
18,
13,
2,
4,
18,
13,
17,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
1,
3,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
86,
5
],
[
86,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
24,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
20,
32
],
[
32,
33
],
[
32,
34
],
[
20,
35
],
[
35,
36
],
[
35,
37
],
[
20,
38
],
[
38,
39
],
[
38,
40
],
[
20,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
43,
50
],
[
20,
51
],
[
51,
52
],
[
51,
53
],
[
20,
54
],
[
54,
55
],
[
54,
56
],
[
20,
57
],
[
57,
58
],
[
57,
59
],
[
20,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
62,
69
],
[
20,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
72,
79
],
[
20,
80
],
[
80,
81
],
[
81,
82
],
[
6,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] |
[
"import java.util.*;\n\n \npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String num = scan.nextLine();\n scan.close();\n \n switch (num.charAt(num.length()-1)) {\n case '2':\n case '4':\n case '5':\n case '7':\n case '9':\n System.out.println(\"hon\"); \n break;\n \n case '0':\n case '1':\n case '6':\n case '8':\n System.out.println(\"pon\");\n break;\n \n case '3':\n System.out.println(\"bon\");\n break;\n\n default:\n break;\n }\n }\n}\n",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String num = scan.nextLine();\n scan.close();\n \n switch (num.charAt(num.length()-1)) {\n case '2':\n case '4':\n case '5':\n case '7':\n case '9':\n System.out.println(\"hon\"); \n break;\n \n case '0':\n case '1':\n case '6':\n case '8':\n System.out.println(\"pon\");\n break;\n \n case '3':\n System.out.println(\"bon\");\n break;\n\n default:\n break;\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String num = scan.nextLine();\n scan.close();\n \n switch (num.charAt(num.length()-1)) {\n case '2':\n case '4':\n case '5':\n case '7':\n case '9':\n System.out.println(\"hon\"); \n break;\n \n case '0':\n case '1':\n case '6':\n case '8':\n System.out.println(\"pon\");\n break;\n \n case '3':\n System.out.println(\"bon\");\n break;\n\n default:\n break;\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n String num = scan.nextLine();\n scan.close();\n \n switch (num.charAt(num.length()-1)) {\n case '2':\n case '4':\n case '5':\n case '7':\n case '9':\n System.out.println(\"hon\"); \n break;\n \n case '0':\n case '1':\n case '6':\n case '8':\n System.out.println(\"pon\");\n break;\n \n case '3':\n System.out.println(\"bon\");\n break;\n\n default:\n break;\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String num = scan.nextLine();",
"num",
"scan.nextLine()",
"scan.nextLine",
"scan",
"scan.close()",
"scan.close",
"scan",
"switch (num.charAt(num.length()-1)) {\n case '2':\n case '4':\n case '5':\n case '7':\n case '9':\n System.out.println(\"hon\"); \n break;\n \n case '0':\n case '1':\n case '6':\n case '8':\n System.out.println(\"pon\");\n break;\n \n case '3':\n System.out.println(\"bon\");\n break;\n\n default:\n break;\n }",
"num.charAt(num.length()-1)",
"num.charAt",
"num",
"num.length()-1",
"num.length()",
"num.length",
"num",
"1",
"case '2':",
"'2'",
"case '2':",
"case '4':",
"'4'",
"case '4':",
"case '5':",
"'5'",
"case '5':",
"case '7':",
"'7'",
"case '7':",
"case '9':",
"'9'",
"case '9':",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"break;",
"case '0':",
"'0'",
"case '0':",
"case '1':",
"'1'",
"case '1':",
"case '6':",
"'6'",
"case '6':",
"case '8':",
"'8'",
"case '8':",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"case '3':",
"'3'",
"case '3':",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"break;",
"default:",
"default:",
"break;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String num = scan.nextLine();\n scan.close();\n \n switch (num.charAt(num.length()-1)) {\n case '2':\n case '4':\n case '5':\n case '7':\n case '9':\n System.out.println(\"hon\"); \n break;\n \n case '0':\n case '1':\n case '6':\n case '8':\n System.out.println(\"pon\");\n break;\n \n case '3':\n System.out.println(\"bon\");\n break;\n\n default:\n break;\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String num = scan.nextLine();\n scan.close();\n \n switch (num.charAt(num.length()-1)) {\n case '2':\n case '4':\n case '5':\n case '7':\n case '9':\n System.out.println(\"hon\"); \n break;\n \n case '0':\n case '1':\n case '6':\n case '8':\n System.out.println(\"pon\");\n break;\n \n case '3':\n System.out.println(\"bon\");\n break;\n\n default:\n break;\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String num = scan.nextLine();
scan.close();
switch (num.charAt(num.length()-1)) {
case '2':
case '4':
case '5':
case '7':
case '9':
System.out.println("hon");
break;
case '0':
case '1':
case '6':
case '8':
System.out.println("pon");
break;
case '3':
System.out.println("bon");
break;
default:
break;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
17,
35,
18,
13,
2,
18,
13,
13,
17,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
14,
20
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
21,
29
],
[
29,
30
],
[
29,
31
],
[
21,
32
],
[
32,
33
],
[
32,
34
],
[
21,
35
],
[
35,
36
],
[
35,
37
],
[
21,
38
],
[
38,
39
],
[
38,
40
],
[
21,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
43,
50
],
[
21,
51
],
[
51,
52
],
[
51,
53
],
[
21,
54
],
[
54,
55
],
[
54,
56
],
[
21,
57
],
[
57,
58
],
[
57,
59
],
[
21,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
62,
69
],
[
21,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
72,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] num = sc.nextLine().split(\"\", 0);\n\n\n\n\t\tswitch(num[num.length - 1]) {\n\t\tcase \"2\":\n\t\tcase \"4\":\n\t\tcase \"5\":\n\t\tcase \"7\":\n\t\tcase \"9\":\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase \"0\":\n\t\tcase \"1\":\n\t\tcase \"6\":\n\t\tcase \"8\":\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase \"3\":\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\t\t}\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] num = sc.nextLine().split(\"\", 0);\n\n\n\n\t\tswitch(num[num.length - 1]) {\n\t\tcase \"2\":\n\t\tcase \"4\":\n\t\tcase \"5\":\n\t\tcase \"7\":\n\t\tcase \"9\":\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase \"0\":\n\t\tcase \"1\":\n\t\tcase \"6\":\n\t\tcase \"8\":\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase \"3\":\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] num = sc.nextLine().split(\"\", 0);\n\n\n\n\t\tswitch(num[num.length - 1]) {\n\t\tcase \"2\":\n\t\tcase \"4\":\n\t\tcase \"5\":\n\t\tcase \"7\":\n\t\tcase \"9\":\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase \"0\":\n\t\tcase \"1\":\n\t\tcase \"6\":\n\t\tcase \"8\":\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase \"3\":\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] num = sc.nextLine().split(\"\", 0);\n\n\n\n\t\tswitch(num[num.length - 1]) {\n\t\tcase \"2\":\n\t\tcase \"4\":\n\t\tcase \"5\":\n\t\tcase \"7\":\n\t\tcase \"9\":\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase \"0\":\n\t\tcase \"1\":\n\t\tcase \"6\":\n\t\tcase \"8\":\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase \"3\":\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\t\t}\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String[] num = sc.nextLine().split(\"\", 0);",
"num",
"sc.nextLine().split(\"\", 0)",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\"\"",
"0",
"switch(num[num.length - 1]) {\n\t\tcase \"2\":\n\t\tcase \"4\":\n\t\tcase \"5\":\n\t\tcase \"7\":\n\t\tcase \"9\":\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase \"0\":\n\t\tcase \"1\":\n\t\tcase \"6\":\n\t\tcase \"8\":\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase \"3\":\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\t\t}",
"num[num.length - 1]",
"num",
"num.length - 1",
"num.length",
"num",
"num.length",
"1",
"case \"2\":",
"\"2\"",
"case \"2\":",
"case \"4\":",
"\"4\"",
"case \"4\":",
"case \"5\":",
"\"5\"",
"case \"5\":",
"case \"7\":",
"\"7\"",
"case \"7\":",
"case \"9\":",
"\"9\"",
"case \"9\":",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"break;",
"case \"0\":",
"\"0\"",
"case \"0\":",
"case \"1\":",
"\"1\"",
"case \"1\":",
"case \"6\":",
"\"6\"",
"case \"6\":",
"case \"8\":",
"\"8\"",
"case \"8\":",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"case \"3\":",
"\"3\"",
"case \"3\":",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"break;",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] num = sc.nextLine().split(\"\", 0);\n\n\n\n\t\tswitch(num[num.length - 1]) {\n\t\tcase \"2\":\n\t\tcase \"4\":\n\t\tcase \"5\":\n\t\tcase \"7\":\n\t\tcase \"9\":\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase \"0\":\n\t\tcase \"1\":\n\t\tcase \"6\":\n\t\tcase \"8\":\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase \"3\":\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\t\t}\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] num = sc.nextLine().split(\"\", 0);\n\n\n\n\t\tswitch(num[num.length - 1]) {\n\t\tcase \"2\":\n\t\tcase \"4\":\n\t\tcase \"5\":\n\t\tcase \"7\":\n\t\tcase \"9\":\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase \"0\":\n\t\tcase \"1\":\n\t\tcase \"6\":\n\t\tcase \"8\":\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase \"3\":\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\t\t}\n\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String[] num = sc.nextLine().split("", 0);
switch(num[num.length - 1]) {
case "2":
case "4":
case "5":
case "7":
case "9":
System.out.println("hon");
break;
case "0":
case "1":
case "6":
case "8":
System.out.println("pon");
break;
case "3":
System.out.println("bon");
break;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
17,
12,
13,
30,
41,
13,
4,
13,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
12,
13,
30,
0,
13,
20,
41,
13,
4,
18,
13,
17,
14,
2,
13,
17,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
41,
13,
17,
42,
13,
30,
4,
13,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
17,
14,
2,
4,
18,
13,
17,
30,
4,
18,
13,
4,
18,
18,
13,
13,
17,
30,
0,
13,
17,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
261,
8
],
[
261,
9
],
[
9,
10
],
[
261,
11
],
[
11,
12
],
[
11,
13
],
[
261,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
16,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
21,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
21,
34
],
[
34,
35
],
[
37,
36
],
[
48,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
37,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
37,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
34,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
34,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
261,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
74,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
89,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
74,
99
],
[
99,
100
],
[
99,
101
],
[
74,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
107,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
114,
117
],
[
113,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
119,
123
],
[
118,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
124,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
128,
133
],
[
118,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
72,
138
],
[
138,
139
],
[
261,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
144,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
143,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
153,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
142,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
261,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
171,
174
],
[
174,
175
],
[
261,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
180,
183
],
[
183,
184
],
[
261,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
189,
192
],
[
192,
193
],
[
261,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
196,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
201,
206
],
[
206,
207
],
[
206,
208
],
[
201,
209
],
[
209,
210
],
[
210,
211
],
[
201,
212
],
[
212,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
213,
217
],
[
217,
218
],
[
196,
219
],
[
219,
220
],
[
194,
221
],
[
221,
222
],
[
261,
223
],
[
223,
224
],
[
223,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
261,
231
],
[
231,
232
],
[
231,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
233,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
238,
243
],
[
243,
244
],
[
243,
245
],
[
238,
246
],
[
246,
247
],
[
247,
248
],
[
238,
249
],
[
249,
250
],
[
250,
251
],
[
251,
252
],
[
251,
253
],
[
250,
254
],
[
254,
255
],
[
233,
256
],
[
256,
257
],
[
231,
258
],
[
258,
259
],
[
0,
260
],
[
260,
261
],
[
260,
262
]
] |
[
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\t\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tint N = ni();\n\t\tif(N % 10 == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if(N % 10 == 0 || N % 10 == 1 || N % 10 == 6 || N % 10 == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\t\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tint N = ni();\n\t\tif(N % 10 == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if(N % 10 == 0 || N % 10 == 1 || N % 10 == 6 || N % 10 == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"Main",
"//Switch input source (stdin/file)\n\tprivate static BufferedReader br;",
"br",
"//Input read utility\n\tprivate static StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"private static void solve(){\n\t\t//Implement solution here.\n\t\tint N = ni();\n\t\tif(N % 10 == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if(N % 10 == 0 || N % 10 == 1 || N % 10 == 6 || N % 10 == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t}",
"solve",
"{\n\t\t//Implement solution here.\n\t\tint N = ni();\n\t\tif(N % 10 == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if(N % 10 == 0 || N % 10 == 1 || N % 10 == 6 || N % 10 == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t}",
"int N = ni();",
"N",
"ni()",
"ni",
"if(N % 10 == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if(N % 10 == 0 || N % 10 == 1 || N % 10 == 6 || N % 10 == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"N % 10 == 3",
"N % 10",
"N",
"10",
"3",
"{\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(N % 10 == 0 || N % 10 == 1 || N % 10 == 6 || N % 10 == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"N % 10 == 0 || N % 10 == 1 || N % 10 == 6 || N % 10 == 8",
"N % 10 == 6",
"N % 10 == 0 || N % 10 == 1 || N % 10 == 6 || N % 10 == 8",
"N % 10 == 0",
"N % 10",
"N",
"10",
"0",
"N % 10 == 1",
"N % 10",
"N",
"10",
"1",
"N % 10 == 6",
"N % 10",
"N",
"10",
"6",
"N % 10 == 8",
"N % 10",
"N",
"10",
"8",
"{\n\t\t\tSystem.out.println(\"pon\");\n\t\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"public static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}",
"main",
"{\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String debugDataPath = System.getenv(\"DD_PATH\");",
"debugDataPath",
"System.getenv(\"DD_PATH\")",
"System.getenv",
"System",
"\"DD_PATH\"",
"if(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"debugDataPath != null",
"debugDataPath",
"null",
"{\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"try{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}",
"br = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))))",
"br",
"new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))))",
"boolean hasNext = true;",
"hasNext",
"true",
"while(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}",
"hasNext",
"{\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}",
"solve()",
"solve",
"try{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}",
"br.mark(1)",
"br.mark",
"br",
"1",
"if(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}",
"br.read() > 0",
"br.read()",
"br.read",
"br",
"0",
"{\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t}",
"br.reset()",
"br.reset",
"br",
"System.out.println(\"---\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"---\"",
"{\n\t\t\t\t\thasNext = false;\n\t\t\t\t}",
"hasNext = false",
"hasNext",
"false",
"String[] args",
"args",
"public static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}",
"next",
"{\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"try {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t}",
"tokenizer = new StringTokenizer(br.readLine())",
"tokenizer",
"new StringTokenizer(br.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}",
"ni",
"{\n\t\treturn Integer.parseInt(next());\n\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}",
"nl",
"{\n\t\treturn Long.parseLong(next());\n\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}",
"nd",
"{\n\t\treturn Double.parseDouble(next());\n\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}",
"na",
"{\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = ni();",
"a[i] = ni()",
"a[i]",
"a",
"i",
"ni()",
"ni",
"return a;",
"a",
"int n",
"n",
"//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}",
"ns",
"{\n\t\treturn next().toCharArray();\n\t}",
"return next().toCharArray();",
"next().toCharArray()",
"next().toCharArray",
"next()",
"next",
"//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}",
"nal",
"{\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nl();",
"a[i] = nl()",
"a[i]",
"a",
"i",
"nl()",
"nl",
"return a;",
"a",
"int n",
"n",
"public class Main {\t\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tint N = ni();\n\t\tif(N % 10 == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if(N % 10 == 0 || N % 10 == 1 || N % 10 == 6 || N % 10 == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"public class Main {\t\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tint N = ni();\n\t\tif(N % 10 == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if(N % 10 == 0 || N % 10 == 1 || N % 10 == 6 || N % 10 == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main {
private static void solve(){
//Implement solution here.
int N = ni();
if(N % 10 == 3) {
System.out.println("bon");
} else if(N % 10 == 0 || N % 10 == 1 || N % 10 == 6 || N % 10 == 8) {
System.out.println("pon");
} else {
System.out.println("hon");
}
}
//Switch input source (stdin/file)
private static BufferedReader br;
public static void main(String[] args){
br = new BufferedReader(new InputStreamReader(System.in));
String debugDataPath = System.getenv("DD_PATH");
if(debugDataPath != null){
try{
br = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));
}catch(Exception e){
throw new RuntimeException(e);
}
}
boolean hasNext = true;
while(hasNext){
solve();
try{
br.mark(1);
if(br.read() > 0){
br.reset();
System.out.println("---");
} else {
hasNext = false;
}
}catch(Exception e){
throw new RuntimeException(e);
}
}
}
//Input read utility
private static StringTokenizer tokenizer = null;
public static String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(br.readLine());
} catch (Exception e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
//Get next single int
private static int ni() {
return Integer.parseInt(next());
}
//Get next single long
private static long nl() {
return Long.parseLong(next());
}
//Get next single double
private static double nd() {
return Double.parseDouble(next());
}
//Get next int array from one line
private static int[] na(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = ni();
return a;
}
//Get next char array from one line
private static char[] ns() {
return next().toCharArray();
}
//Get next long array from one line
private static long[] nal(int n) {
long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nl();
return a;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
4,
18,
13,
2,
4,
18,
13,
17,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
180,
26
],
[
180,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
29,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
29,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
52,
56
],
[
48,
57
],
[
29,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
58,
69
],
[
69,
70
],
[
72,
71
],
[
79,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
76,
78
],
[
79,
79
],
[
79,
80
],
[
79,
81
],
[
72,
82
],
[
82,
83
],
[
82,
84
],
[
69,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
69,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
27,
99
],
[
99,
100
],
[
180,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
101,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
112,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
117,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
111,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
101,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
136,
139
],
[
139,
140
],
[
101,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
148,
153
],
[
153,
154
],
[
153,
155
],
[
148,
156
],
[
156,
157
],
[
157,
158
],
[
148,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
160,
164
],
[
164,
165
],
[
143,
166
],
[
166,
167
],
[
141,
168
],
[
168,
169
],
[
101,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
174,
177
],
[
177,
178
],
[
0,
179
],
[
179,
180
],
[
179,
181
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.*;\nimport java.lang.Math;\nimport java.util.Map;\nimport java.util.ArrayList;\nimport java.util.Collections;\n\npublic class Main {\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n String n = fs.next();\n char[] s = n.toCharArray();\n\n int nn = Integer.valueOf(n.charAt(n.length()-1)-'0');\n\n if (nn==3) {\n System.out.println(\"bon\");\n } else if (nn==0 || nn==1 || nn==6 || nn==8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n\n }\n\n\n\n\n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"import java.lang.Math;",
"Math",
"java.lang",
"import java.util.Map;",
"Map",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n String n = fs.next();\n char[] s = n.toCharArray();\n\n int nn = Integer.valueOf(n.charAt(n.length()-1)-'0');\n\n if (nn==3) {\n System.out.println(\"bon\");\n } else if (nn==0 || nn==1 || nn==6 || nn==8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n\n }\n\n\n\n\n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n\n}",
"Main",
"public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n String n = fs.next();\n char[] s = n.toCharArray();\n\n int nn = Integer.valueOf(n.charAt(n.length()-1)-'0');\n\n if (nn==3) {\n System.out.println(\"bon\");\n } else if (nn==0 || nn==1 || nn==6 || nn==8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n\n }",
"main",
"{\n FastScanner fs = new FastScanner();\n String n = fs.next();\n char[] s = n.toCharArray();\n\n int nn = Integer.valueOf(n.charAt(n.length()-1)-'0');\n\n if (nn==3) {\n System.out.println(\"bon\");\n } else if (nn==0 || nn==1 || nn==6 || nn==8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n\n }",
"FastScanner fs = new FastScanner();",
"fs",
"new FastScanner()",
"String n = fs.next();",
"n",
"fs.next()",
"fs.next",
"fs",
"char[] s = n.toCharArray();",
"s",
"n.toCharArray()",
"n.toCharArray",
"n",
"int nn = Integer.valueOf(n.charAt(n.length()-1)-'0');",
"nn",
"Integer.valueOf(n.charAt(n.length()-1)-'0')",
"Integer.valueOf",
"Integer",
"n.charAt(n.length()-1)-'0'",
"n.charAt(n.length()-1)",
"n.charAt",
"n",
"n.length()-1",
"n.length()",
"n.length",
"n",
"1",
"'0'",
"if (nn==3) {\n System.out.println(\"bon\");\n } else if (nn==0 || nn==1 || nn==6 || nn==8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }",
"nn==3",
"nn",
"3",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if (nn==0 || nn==1 || nn==6 || nn==8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }",
"nn==0 || nn==1 || nn==6 || nn==8",
"nn==6",
"nn==0 || nn==1 || nn==6 || nn==8",
"nn==0",
"nn",
"0",
"nn==1",
"nn",
"1",
"nn==6",
"nn",
"6",
"nn==8",
"nn",
"8",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"String[] args",
"args",
"static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n }",
"FastScanner",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"next",
"{\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st=new StringTokenizer(br.readLine());\n }",
"st=new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }",
"readArray",
"{\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }",
"int[] a=new int[n];",
"a",
"new int[n]",
"n",
"for (int i=0; i<n; i++) a[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=nextInt();",
"a[i]=nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n String n = fs.next();\n char[] s = n.toCharArray();\n\n int nn = Integer.valueOf(n.charAt(n.length()-1)-'0');\n\n if (nn==3) {\n System.out.println(\"bon\");\n } else if (nn==0 || nn==1 || nn==6 || nn==8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n\n }\n\n\n\n\n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n String n = fs.next();\n char[] s = n.toCharArray();\n\n int nn = Integer.valueOf(n.charAt(n.length()-1)-'0');\n\n if (nn==3) {\n System.out.println(\"bon\");\n } else if (nn==0 || nn==1 || nn==6 || nn==8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n\n }\n\n\n\n\n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.*;
import java.lang.Math;
import java.util.Map;
import java.util.ArrayList;
import java.util.Collections;
public class Main {
public static void main(String[] args) {
FastScanner fs = new FastScanner();
String n = fs.next();
char[] s = n.toCharArray();
int nn = Integer.valueOf(n.charAt(n.length()-1)-'0');
if (nn==3) {
System.out.println("bon");
} else if (nn==0 || nn==1 || nn==6 || nn==8) {
System.out.println("pon");
} else {
System.out.println("hon");
}
}
static class FastScanner {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer("");
String next() {
while (!st.hasMoreTokens())
try {
st=new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
int[] readArray(int n) {
int[] a=new int[n];
for (int i=0; i<n; i++) a[i]=nextInt();
return a;
}
long nextLong() {
return Long.parseLong(next());
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
2,
13,
17,
13,
14,
2,
2,
2,
2,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
85,
5
],
[
85,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
27,
29
],
[
24,
30
],
[
8,
31
],
[
31,
32
],
[
35,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
35,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
34,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
33,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
35,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
31,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
31,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
63,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
63,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
6,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] |
[
"import java.util.*;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n int len = s.length();\n s = s.substring(len-1,len);\n if(s.equals(\"2\") ||s.equals(\"4\") ||s.equals(\"5\") ||s.equals(\"7\") ||s.equals(\"9\")){\n System.out.println(\"hon\");\n }else if(s.equals(\"3\")){\n System.out.println(\"bon\");\n }else{\n System.out.println(\"pon\");\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n int len = s.length();\n s = s.substring(len-1,len);\n if(s.equals(\"2\") ||s.equals(\"4\") ||s.equals(\"5\") ||s.equals(\"7\") ||s.equals(\"9\")){\n System.out.println(\"hon\");\n }else if(s.equals(\"3\")){\n System.out.println(\"bon\");\n }else{\n System.out.println(\"pon\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n int len = s.length();\n s = s.substring(len-1,len);\n if(s.equals(\"2\") ||s.equals(\"4\") ||s.equals(\"5\") ||s.equals(\"7\") ||s.equals(\"9\")){\n System.out.println(\"hon\");\n }else if(s.equals(\"3\")){\n System.out.println(\"bon\");\n }else{\n System.out.println(\"pon\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n int len = s.length();\n s = s.substring(len-1,len);\n if(s.equals(\"2\") ||s.equals(\"4\") ||s.equals(\"5\") ||s.equals(\"7\") ||s.equals(\"9\")){\n System.out.println(\"hon\");\n }else if(s.equals(\"3\")){\n System.out.println(\"bon\");\n }else{\n System.out.println(\"pon\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"int len = s.length();",
"len",
"s.length()",
"s.length",
"s",
"s = s.substring(len-1,len)",
"s",
"s.substring(len-1,len)",
"s.substring",
"s",
"len-1",
"len",
"1",
"len",
"if(s.equals(\"2\") ||s.equals(\"4\") ||s.equals(\"5\") ||s.equals(\"7\") ||s.equals(\"9\")){\n System.out.println(\"hon\");\n }else if(s.equals(\"3\")){\n System.out.println(\"bon\");\n }else{\n System.out.println(\"pon\");\n }",
"s.equals(\"2\") ||s.equals(\"4\") ||s.equals(\"5\") ||s.equals(\"7\") ||s.equals(\"9\")",
"s.equals(\"7\")",
"s.equals(\"5\")",
"s.equals(\"2\") ||s.equals(\"4\") ||s.equals(\"5\") ||s.equals(\"7\") ||s.equals(\"9\")",
"s.equals(\"2\")",
"s.equals",
"s",
"\"2\"",
"s.equals(\"4\")",
"s.equals",
"s",
"\"4\"",
"s.equals(\"5\")",
"s.equals",
"s",
"\"5\"",
"s.equals(\"7\")",
"s.equals",
"s",
"\"7\"",
"s.equals(\"9\")",
"s.equals",
"s",
"\"9\"",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(s.equals(\"3\")){\n System.out.println(\"bon\");\n }else{\n System.out.println(\"pon\");\n }",
"s.equals(\"3\")",
"s.equals",
"s",
"\"3\"",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n int len = s.length();\n s = s.substring(len-1,len);\n if(s.equals(\"2\") ||s.equals(\"4\") ||s.equals(\"5\") ||s.equals(\"7\") ||s.equals(\"9\")){\n System.out.println(\"hon\");\n }else if(s.equals(\"3\")){\n System.out.println(\"bon\");\n }else{\n System.out.println(\"pon\");\n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n int len = s.length();\n s = s.substring(len-1,len);\n if(s.equals(\"2\") ||s.equals(\"4\") ||s.equals(\"5\") ||s.equals(\"7\") ||s.equals(\"9\")){\n System.out.println(\"hon\");\n }else if(s.equals(\"3\")){\n System.out.println(\"bon\");\n }else{\n System.out.println(\"pon\");\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String s = sc.next();
int len = s.length();
s = s.substring(len-1,len);
if(s.equals("2") ||s.equals("4") ||s.equals("5") ||s.equals("7") ||s.equals("9")){
System.out.println("hon");
}else if(s.equals("3")){
System.out.println("bon");
}else{
System.out.println("pon");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
35,
2,
13,
17,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
0,
13,
17,
3,
34,
1,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
64,
8
],
[
64,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
23,
34
],
[
34,
35
],
[
34,
36
],
[
23,
37
],
[
37,
38
],
[
37,
39
],
[
23,
40
],
[
40,
41
],
[
40,
42
],
[
23,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
23,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
11,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
9,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] |
[
"import java.util.Scanner;\nimport java.util.Arrays;\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tString t = \"\";\n\t\tswitch(n%10){\n\t\tcase 3:\n\t\t\tt += \"bon\";\n\t\t\tbreak;\n\t\tcase 0:\n\t\tcase 1:\n\t\tcase 6:\n\t\tcase 8:\n\t\t\tt += \"pon\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tt += \"hon\";\n\t\t}\n\t\tSystem.out.println(t);\n\t}\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tString t = \"\";\n\t\tswitch(n%10){\n\t\tcase 3:\n\t\t\tt += \"bon\";\n\t\t\tbreak;\n\t\tcase 0:\n\t\tcase 1:\n\t\tcase 6:\n\t\tcase 8:\n\t\t\tt += \"pon\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tt += \"hon\";\n\t\t}\n\t\tSystem.out.println(t);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tString t = \"\";\n\t\tswitch(n%10){\n\t\tcase 3:\n\t\t\tt += \"bon\";\n\t\t\tbreak;\n\t\tcase 0:\n\t\tcase 1:\n\t\tcase 6:\n\t\tcase 8:\n\t\t\tt += \"pon\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tt += \"hon\";\n\t\t}\n\t\tSystem.out.println(t);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tString t = \"\";\n\t\tswitch(n%10){\n\t\tcase 3:\n\t\t\tt += \"bon\";\n\t\t\tbreak;\n\t\tcase 0:\n\t\tcase 1:\n\t\tcase 6:\n\t\tcase 8:\n\t\t\tt += \"pon\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tt += \"hon\";\n\t\t}\n\t\tSystem.out.println(t);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"String t = \"\";",
"t",
"\"\"",
"switch(n%10){\n\t\tcase 3:\n\t\t\tt += \"bon\";\n\t\t\tbreak;\n\t\tcase 0:\n\t\tcase 1:\n\t\tcase 6:\n\t\tcase 8:\n\t\t\tt += \"pon\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tt += \"hon\";\n\t\t}",
"n%10",
"n",
"10",
"case 3:",
"3",
"case 3:",
"t += \"bon\"",
"t",
"\"bon\"",
"break;",
"case 0:",
"0",
"case 0:",
"case 1:",
"1",
"case 1:",
"case 6:",
"6",
"case 6:",
"case 8:",
"8",
"case 8:",
"t += \"pon\"",
"t",
"\"pon\"",
"break;",
"default:",
"default:",
"t += \"hon\"",
"t",
"\"hon\"",
"System.out.println(t)",
"System.out.println",
"System.out",
"System",
"System.out",
"t",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tString t = \"\";\n\t\tswitch(n%10){\n\t\tcase 3:\n\t\t\tt += \"bon\";\n\t\t\tbreak;\n\t\tcase 0:\n\t\tcase 1:\n\t\tcase 6:\n\t\tcase 8:\n\t\t\tt += \"pon\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tt += \"hon\";\n\t\t}\n\t\tSystem.out.println(t);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tString t = \"\";\n\t\tswitch(n%10){\n\t\tcase 3:\n\t\t\tt += \"bon\";\n\t\t\tbreak;\n\t\tcase 0:\n\t\tcase 1:\n\t\tcase 6:\n\t\tcase 8:\n\t\t\tt += \"pon\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tt += \"hon\";\n\t\t}\n\t\tSystem.out.println(t);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
import java.util.Arrays;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
String t = "";
switch(n%10){
case 3:
t += "bon";
break;
case 0:
case 1:
case 6:
case 8:
t += "pon";
break;
default:
t += "hon";
}
System.out.println(t);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
74,
8
],
[
74,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
11,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
33,
43
],
[
43,
44
],
[
46,
45
],
[
53,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
53,
53
],
[
53,
54
],
[
53,
55
],
[
46,
56
],
[
56,
57
],
[
56,
58
],
[
43,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
43,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
9,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] |
[
"import java.util.*;\nimport java.io.*;\n \npublic class Main {\n public static void main (final String[] args) {\n final Scanner sc = new Scanner(System.in);\n String str = sc.next();\n int n = str.length();\n char last = str.charAt(n-1);\n \n if (last == '3') System.out.println(\"bon\");\n else if (last == '0' || last == '1' || last == '6' || last == '8') System.out.println(\"pon\");\n else System.out.println(\"hon\");\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main (final String[] args) {\n final Scanner sc = new Scanner(System.in);\n String str = sc.next();\n int n = str.length();\n char last = str.charAt(n-1);\n \n if (last == '3') System.out.println(\"bon\");\n else if (last == '0' || last == '1' || last == '6' || last == '8') System.out.println(\"pon\");\n else System.out.println(\"hon\");\n \n }\n}",
"Main",
"public static void main (final String[] args) {\n final Scanner sc = new Scanner(System.in);\n String str = sc.next();\n int n = str.length();\n char last = str.charAt(n-1);\n \n if (last == '3') System.out.println(\"bon\");\n else if (last == '0' || last == '1' || last == '6' || last == '8') System.out.println(\"pon\");\n else System.out.println(\"hon\");\n \n }",
"main",
"{\n final Scanner sc = new Scanner(System.in);\n String str = sc.next();\n int n = str.length();\n char last = str.charAt(n-1);\n \n if (last == '3') System.out.println(\"bon\");\n else if (last == '0' || last == '1' || last == '6' || last == '8') System.out.println(\"pon\");\n else System.out.println(\"hon\");\n \n }",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str = sc.next();",
"str",
"sc.next()",
"sc.next",
"sc",
"int n = str.length();",
"n",
"str.length()",
"str.length",
"str",
"char last = str.charAt(n-1);",
"last",
"str.charAt(n-1)",
"str.charAt",
"str",
"n-1",
"n",
"1",
"if (last == '3') System.out.println(\"bon\");\n else if (last == '0' || last == '1' || last == '6' || last == '8') System.out.println(\"pon\");\n else System.out.println(\"hon\");",
"last == '3'",
"last",
"'3'",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if (last == '0' || last == '1' || last == '6' || last == '8') System.out.println(\"pon\");\n else System.out.println(\"hon\");",
"last == '0' || last == '1' || last == '6' || last == '8'",
"last == '6'",
"last == '0' || last == '1' || last == '6' || last == '8'",
"last == '0'",
"last",
"'0'",
"last == '1'",
"last",
"'1'",
"last == '6'",
"last",
"'6'",
"last == '8'",
"last",
"'8'",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"final String[] args",
"args",
"public class Main {\n public static void main (final String[] args) {\n final Scanner sc = new Scanner(System.in);\n String str = sc.next();\n int n = str.length();\n char last = str.charAt(n-1);\n \n if (last == '3') System.out.println(\"bon\");\n else if (last == '0' || last == '1' || last == '6' || last == '8') System.out.println(\"pon\");\n else System.out.println(\"hon\");\n \n }\n}",
"public class Main {\n public static void main (final String[] args) {\n final Scanner sc = new Scanner(System.in);\n String str = sc.next();\n int n = str.length();\n char last = str.charAt(n-1);\n \n if (last == '3') System.out.println(\"bon\");\n else if (last == '0' || last == '1' || last == '6' || last == '8') System.out.println(\"pon\");\n else System.out.println(\"hon\");\n \n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main {
public static void main (final String[] args) {
final Scanner sc = new Scanner(System.in);
String str = sc.next();
int n = str.length();
char last = str.charAt(n-1);
if (last == '3') System.out.println("bon");
else if (last == '0' || last == '1' || last == '6' || last == '8') System.out.println("pon");
else System.out.println("hon");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
35,
2,
13,
17,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
123,
5
],
[
123,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
23,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
33,
40
],
[
17,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
43,
50
],
[
17,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
53,
60
],
[
17,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
63,
70
],
[
17,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
73,
80
],
[
17,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
83,
90
],
[
17,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
93,
100
],
[
17,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
103,
110
],
[
17,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
6,
120
],
[
120,
121
],
[
0,
122
],
[
122,
123
],
[
122,
124
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\n public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n \nswitch (s % 10) { \n case 2: System.out.println(\"hon\");break;\n case 4: System.out.println(\"hon\");break;\n case 5: System.out.println(\"hon\");break;\n case 7: System.out.println(\"hon\");break;\n case 9: System.out.println(\"hon\");break;\n \n\n \n \n case 0: System.out.println(\"pon\");break;\n case 1:System.out.println(\"pon\");break;\n case 6:System.out.println(\"pon\");break;\n case 8:System.out.println(\"pon\");break;\n\n \n case 3:System.out.println(\"bon\"); \n \n defalt:\n break;\n \n \n }\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n \nswitch (s % 10) { \n case 2: System.out.println(\"hon\");break;\n case 4: System.out.println(\"hon\");break;\n case 5: System.out.println(\"hon\");break;\n case 7: System.out.println(\"hon\");break;\n case 9: System.out.println(\"hon\");break;\n \n\n \n \n case 0: System.out.println(\"pon\");break;\n case 1:System.out.println(\"pon\");break;\n case 6:System.out.println(\"pon\");break;\n case 8:System.out.println(\"pon\");break;\n\n \n case 3:System.out.println(\"bon\"); \n \n defalt:\n break;\n \n \n }\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n \nswitch (s % 10) { \n case 2: System.out.println(\"hon\");break;\n case 4: System.out.println(\"hon\");break;\n case 5: System.out.println(\"hon\");break;\n case 7: System.out.println(\"hon\");break;\n case 9: System.out.println(\"hon\");break;\n \n\n \n \n case 0: System.out.println(\"pon\");break;\n case 1:System.out.println(\"pon\");break;\n case 6:System.out.println(\"pon\");break;\n case 8:System.out.println(\"pon\");break;\n\n \n case 3:System.out.println(\"bon\"); \n \n defalt:\n break;\n \n \n }\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n \nswitch (s % 10) { \n case 2: System.out.println(\"hon\");break;\n case 4: System.out.println(\"hon\");break;\n case 5: System.out.println(\"hon\");break;\n case 7: System.out.println(\"hon\");break;\n case 9: System.out.println(\"hon\");break;\n \n\n \n \n case 0: System.out.println(\"pon\");break;\n case 1:System.out.println(\"pon\");break;\n case 6:System.out.println(\"pon\");break;\n case 8:System.out.println(\"pon\");break;\n\n \n case 3:System.out.println(\"bon\"); \n \n defalt:\n break;\n \n \n }\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int s = sc.nextInt();",
"s",
"sc.nextInt()",
"sc.nextInt",
"sc",
"switch (s % 10) { \n case 2: System.out.println(\"hon\");break;\n case 4: System.out.println(\"hon\");break;\n case 5: System.out.println(\"hon\");break;\n case 7: System.out.println(\"hon\");break;\n case 9: System.out.println(\"hon\");break;\n \n\n \n \n case 0: System.out.println(\"pon\");break;\n case 1:System.out.println(\"pon\");break;\n case 6:System.out.println(\"pon\");break;\n case 8:System.out.println(\"pon\");break;\n\n \n case 3:System.out.println(\"bon\"); \n \n defalt:\n break;\n \n \n }",
"s % 10",
"s",
"10",
"case 2:",
"2",
"case 2:",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"break;",
"case 4:",
"4",
"case 4:",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"break;",
"case 5:",
"5",
"case 5:",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"break;",
"case 7:",
"7",
"case 7:",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"break;",
"case 9:",
"9",
"case 9:",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"break;",
"case 0:",
"0",
"case 0:",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"case 1:",
"1",
"case 1:",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"case 6:",
"6",
"case 6:",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"case 8:",
"8",
"case 8:",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"case 3:",
"3",
"case 3:",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n \nswitch (s % 10) { \n case 2: System.out.println(\"hon\");break;\n case 4: System.out.println(\"hon\");break;\n case 5: System.out.println(\"hon\");break;\n case 7: System.out.println(\"hon\");break;\n case 9: System.out.println(\"hon\");break;\n \n\n \n \n case 0: System.out.println(\"pon\");break;\n case 1:System.out.println(\"pon\");break;\n case 6:System.out.println(\"pon\");break;\n case 8:System.out.println(\"pon\");break;\n\n \n case 3:System.out.println(\"bon\"); \n \n defalt:\n break;\n \n \n }\n\t}\n}",
"public class Main {\n\n public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n \nswitch (s % 10) { \n case 2: System.out.println(\"hon\");break;\n case 4: System.out.println(\"hon\");break;\n case 5: System.out.println(\"hon\");break;\n case 7: System.out.println(\"hon\");break;\n case 9: System.out.println(\"hon\");break;\n \n\n \n \n case 0: System.out.println(\"pon\");break;\n case 1:System.out.println(\"pon\");break;\n case 6:System.out.println(\"pon\");break;\n case 8:System.out.println(\"pon\");break;\n\n \n case 3:System.out.println(\"bon\"); \n \n defalt:\n break;\n \n \n }\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int s = sc.nextInt();
switch (s % 10) {
case 2: System.out.println("hon");break;
case 4: System.out.println("hon");break;
case 5: System.out.println("hon");break;
case 7: System.out.println("hon");break;
case 9: System.out.println("hon");break;
case 0: System.out.println("pon");break;
case 1:System.out.println("pon");break;
case 6:System.out.println("pon");break;
case 8:System.out.println("pon");break;
case 3:System.out.println("bon");
defalt:
break;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
18,
13,
4,
18,
13,
2,
4,
18,
13,
17,
4,
18,
13,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
29,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
135,
5
],
[
135,
6
],
[
6,
7
],
[
135,
8
],
[
8,
9
],
[
135,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
16,
18
],
[
12,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
22,
23
],
[
23,
24
],
[
12,
25
],
[
25,
26
],
[
26,
27
],
[
10,
28
],
[
28,
29
],
[
135,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
30,
45
],
[
45,
46
],
[
135,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
61,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
49,
69
],
[
69,
70
],
[
73,
71
],
[
83,
72
],
[
80,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
80,
80
],
[
80,
81
],
[
80,
82
],
[
83,
83
],
[
83,
84
],
[
83,
85
],
[
73,
86
],
[
86,
87
],
[
86,
88
],
[
69,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
69,
93
],
[
93,
94
],
[
96,
95
],
[
103,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
100,
101
],
[
100,
102
],
[
103,
103
],
[
103,
104
],
[
103,
105
],
[
96,
106
],
[
106,
107
],
[
106,
108
],
[
93,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
93,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
49,
121
],
[
121,
122
],
[
135,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
126,
131
],
[
123,
132
],
[
132,
133
],
[
0,
134
],
[
134,
135
],
[
134,
136
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }\n \n\t//γγ£γΌγ«γ\n Scanner sc;\n String N;\n \n //ε
₯ε\n Main(Scanner sc) {\n this.sc = sc;\n this.N = sc.next();\n }\n \n //θ§£ηε¦η\n private String solve() {\n String answer = null;\n int n = Integer.parseInt(N.substring(N.length()-1, N.length()));\n if (n==2 || n==4 || n==5 || n==7 || n==9 ) {\n \tanswer = \"hon\";\n } else if (n==0 || n==1 || n==6 || n==8){\n \tanswer = \"pon\";\n } else if (n==3){\n \tanswer = \"bon\";\n }\n \n return answer;\n }\n \n //εΊε\n public void show(String answer) {\n System.out.println(answer);\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }\n \n\t//γγ£γΌγ«γ\n Scanner sc;\n String N;\n \n //ε
₯ε\n Main(Scanner sc) {\n this.sc = sc;\n this.N = sc.next();\n }\n \n //θ§£ηε¦η\n private String solve() {\n String answer = null;\n int n = Integer.parseInt(N.substring(N.length()-1, N.length()));\n if (n==2 || n==4 || n==5 || n==7 || n==9 ) {\n \tanswer = \"hon\";\n } else if (n==0 || n==1 || n==6 || n==8){\n \tanswer = \"pon\";\n } else if (n==3){\n \tanswer = \"bon\";\n }\n \n return answer;\n }\n \n //εΊε\n public void show(String answer) {\n System.out.println(answer);\n }\n\n}",
"Main",
"//γγ£γΌγ«γ\n Scanner sc;",
"sc",
"String N;",
"N",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Main m = new Main(sc);",
"m",
"new Main(sc)",
"m.show(m.solve())",
"m.show",
"m",
"m.solve()",
"m.solve",
"m",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"//ε
₯ε\n Main(Scanner sc) {\n this.sc = sc;\n this.N = sc.next();\n }",
"Main",
"{\n this.sc = sc;\n this.N = sc.next();\n }",
"this.sc = sc",
"this.sc",
"this",
"this.sc",
"sc",
"this.N = sc.next()",
"this.N",
"this",
"this.N",
"sc.next()",
"sc.next",
"sc",
"Scanner sc",
"sc",
"//θ§£ηε¦η\n private String solve() {\n String answer = null;\n int n = Integer.parseInt(N.substring(N.length()-1, N.length()));\n if (n==2 || n==4 || n==5 || n==7 || n==9 ) {\n \tanswer = \"hon\";\n } else if (n==0 || n==1 || n==6 || n==8){\n \tanswer = \"pon\";\n } else if (n==3){\n \tanswer = \"bon\";\n }\n \n return answer;\n }",
"solve",
"{\n String answer = null;\n int n = Integer.parseInt(N.substring(N.length()-1, N.length()));\n if (n==2 || n==4 || n==5 || n==7 || n==9 ) {\n \tanswer = \"hon\";\n } else if (n==0 || n==1 || n==6 || n==8){\n \tanswer = \"pon\";\n } else if (n==3){\n \tanswer = \"bon\";\n }\n \n return answer;\n }",
"String answer = null;",
"answer",
"null",
"int n = Integer.parseInt(N.substring(N.length()-1, N.length()));",
"n",
"Integer.parseInt(N.substring(N.length()-1, N.length()))",
"Integer.parseInt",
"Integer",
"N.substring(N.length()-1, N.length())",
"N.substring",
"N",
"N.length()-1",
"N.length()",
"N.length",
"N",
"1",
"N.length()",
"N.length",
"N",
"if (n==2 || n==4 || n==5 || n==7 || n==9 ) {\n \tanswer = \"hon\";\n } else if (n==0 || n==1 || n==6 || n==8){\n \tanswer = \"pon\";\n } else if (n==3){\n \tanswer = \"bon\";\n }",
"n==2 || n==4 || n==5 || n==7 || n==9",
"n==7",
"n==5",
"n==2 || n==4 || n==5 || n==7 || n==9",
"n==2",
"n",
"2",
"n==4",
"n",
"4",
"n==5",
"n",
"5",
"n==7",
"n",
"7",
"n==9",
"n",
"9",
"{\n \tanswer = \"hon\";\n }",
"answer = \"hon\"",
"answer",
"\"hon\"",
"if (n==0 || n==1 || n==6 || n==8){\n \tanswer = \"pon\";\n } else if (n==3){\n \tanswer = \"bon\";\n }",
"n==0 || n==1 || n==6 || n==8",
"n==6",
"n==0 || n==1 || n==6 || n==8",
"n==0",
"n",
"0",
"n==1",
"n",
"1",
"n==6",
"n",
"6",
"n==8",
"n",
"8",
"{\n \tanswer = \"pon\";\n }",
"answer = \"pon\"",
"answer",
"\"pon\"",
"if (n==3){\n \tanswer = \"bon\";\n }",
"n==3",
"n",
"3",
"{\n \tanswer = \"bon\";\n }",
"answer = \"bon\"",
"answer",
"\"bon\"",
"return answer;",
"answer",
"//εΊε\n public void show(String answer) {\n System.out.println(answer);\n }",
"show",
"{\n System.out.println(answer);\n }",
"System.out.println(answer)",
"System.out.println",
"System.out",
"System",
"System.out",
"answer",
"String answer",
"answer",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }\n \n\t//γγ£γΌγ«γ\n Scanner sc;\n String N;\n \n //ε
₯ε\n Main(Scanner sc) {\n this.sc = sc;\n this.N = sc.next();\n }\n \n //θ§£ηε¦η\n private String solve() {\n String answer = null;\n int n = Integer.parseInt(N.substring(N.length()-1, N.length()));\n if (n==2 || n==4 || n==5 || n==7 || n==9 ) {\n \tanswer = \"hon\";\n } else if (n==0 || n==1 || n==6 || n==8){\n \tanswer = \"pon\";\n } else if (n==3){\n \tanswer = \"bon\";\n }\n \n return answer;\n }\n \n //εΊε\n public void show(String answer) {\n System.out.println(answer);\n }\n\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }\n \n\t//γγ£γΌγ«γ\n Scanner sc;\n String N;\n \n //ε
₯ε\n Main(Scanner sc) {\n this.sc = sc;\n this.N = sc.next();\n }\n \n //θ§£ηε¦η\n private String solve() {\n String answer = null;\n int n = Integer.parseInt(N.substring(N.length()-1, N.length()));\n if (n==2 || n==4 || n==5 || n==7 || n==9 ) {\n \tanswer = \"hon\";\n } else if (n==0 || n==1 || n==6 || n==8){\n \tanswer = \"pon\";\n } else if (n==3){\n \tanswer = \"bon\";\n }\n \n return answer;\n }\n \n //εΊε\n public void show(String answer) {\n System.out.println(answer);\n }\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
Main m = new Main(sc);
m.show(m.solve());
sc.close();
}
//γγ£γΌγ«γ
Scanner sc;
String N;
//ε
₯ε
Main(Scanner sc) {
this.sc = sc;
this.N = sc.next();
}
//θ§£ηε¦η
private String solve() {
String answer = null;
int n = Integer.parseInt(N.substring(N.length()-1, N.length()));
if (n==2 || n==4 || n==5 || n==7 || n==9 ) {
answer = "hon";
} else if (n==0 || n==1 || n==6 || n==8){
answer = "pon";
} else if (n==3){
answer = "bon";
}
return answer;
}
//εΊε
public void show(String answer) {
System.out.println(answer);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
4,
18,
13,
17,
14,
2,
2,
2,
2,
4,
18,
17,
13,
4,
18,
17,
13,
4,
18,
17,
13,
4,
18,
17,
13,
4,
18,
17,
13,
30,
4,
18,
13,
17,
14,
2,
2,
2,
4,
18,
17,
13,
4,
18,
17,
13,
4,
18,
17,
13,
4,
18,
17,
13,
30,
4,
18,
13,
17,
30,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
105,
11
],
[
105,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
31,
35
],
[
14,
36
],
[
36,
37
],
[
40,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
39,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
38,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
40,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
36,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
36,
66
],
[
66,
67
],
[
69,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
69,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
68,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
69,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
66,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
66,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
14,
96
],
[
96,
97
],
[
97,
98
],
[
14,
99
],
[
99,
100
],
[
100,
101
],
[
12,
102
],
[
102,
103
],
[
0,
104
],
[
104,
105
],
[
104,
106
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.PrintWriter;\n\npublic class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n \n String N = br.readLine();\n String target = N.substring(N.length() - 1);\n \n if(\"2\".equals(target) || \"4\".equals(target) || \"5\".equals(target) || \"7\".equals(target) || \"9\".equals(target)) {\n pw.println(\"hon\");\n } else if(\"0\".equals(target) || \"1\".equals(target) || \"6\".equals(target) || \"8\".equals(target)) {\n pw.println(\"pon\");\n } else {\n pw.println(\"bon\");\n }\n\n br.close();\n pw.close();\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n \n String N = br.readLine();\n String target = N.substring(N.length() - 1);\n \n if(\"2\".equals(target) || \"4\".equals(target) || \"5\".equals(target) || \"7\".equals(target) || \"9\".equals(target)) {\n pw.println(\"hon\");\n } else if(\"0\".equals(target) || \"1\".equals(target) || \"6\".equals(target) || \"8\".equals(target)) {\n pw.println(\"pon\");\n } else {\n pw.println(\"bon\");\n }\n\n br.close();\n pw.close();\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n \n String N = br.readLine();\n String target = N.substring(N.length() - 1);\n \n if(\"2\".equals(target) || \"4\".equals(target) || \"5\".equals(target) || \"7\".equals(target) || \"9\".equals(target)) {\n pw.println(\"hon\");\n } else if(\"0\".equals(target) || \"1\".equals(target) || \"6\".equals(target) || \"8\".equals(target)) {\n pw.println(\"pon\");\n } else {\n pw.println(\"bon\");\n }\n\n br.close();\n pw.close();\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n \n String N = br.readLine();\n String target = N.substring(N.length() - 1);\n \n if(\"2\".equals(target) || \"4\".equals(target) || \"5\".equals(target) || \"7\".equals(target) || \"9\".equals(target)) {\n pw.println(\"hon\");\n } else if(\"0\".equals(target) || \"1\".equals(target) || \"6\".equals(target) || \"8\".equals(target)) {\n pw.println(\"pon\");\n } else {\n pw.println(\"bon\");\n }\n\n br.close();\n pw.close();\n }",
"BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));",
"br",
"new BufferedReader(new java.io.InputStreamReader(System.in))",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"String N = br.readLine();",
"N",
"br.readLine()",
"br.readLine",
"br",
"String target = N.substring(N.length() - 1);",
"target",
"N.substring(N.length() - 1)",
"N.substring",
"N",
"N.length() - 1",
"N.length()",
"N.length",
"N",
"1",
"if(\"2\".equals(target) || \"4\".equals(target) || \"5\".equals(target) || \"7\".equals(target) || \"9\".equals(target)) {\n pw.println(\"hon\");\n } else if(\"0\".equals(target) || \"1\".equals(target) || \"6\".equals(target) || \"8\".equals(target)) {\n pw.println(\"pon\");\n } else {\n pw.println(\"bon\");\n }",
"\"2\".equals(target) || \"4\".equals(target) || \"5\".equals(target) || \"7\".equals(target) || \"9\".equals(target)",
"\"7\".equals(target)",
"\"5\".equals(target)",
"\"2\".equals(target) || \"4\".equals(target) || \"5\".equals(target) || \"7\".equals(target) || \"9\".equals(target)",
"\"2\".equals(target)",
"\"2\".equals",
"\"2\"",
"target",
"\"4\".equals(target)",
"\"4\".equals",
"\"4\"",
"target",
"\"5\".equals(target)",
"\"5\".equals",
"\"5\"",
"target",
"\"7\".equals(target)",
"\"7\".equals",
"\"7\"",
"target",
"\"9\".equals(target)",
"\"9\".equals",
"\"9\"",
"target",
"{\n pw.println(\"hon\");\n }",
"pw.println(\"hon\")",
"pw.println",
"pw",
"\"hon\"",
"if(\"0\".equals(target) || \"1\".equals(target) || \"6\".equals(target) || \"8\".equals(target)) {\n pw.println(\"pon\");\n } else {\n pw.println(\"bon\");\n }",
"\"0\".equals(target) || \"1\".equals(target) || \"6\".equals(target) || \"8\".equals(target)",
"\"6\".equals(target)",
"\"0\".equals(target) || \"1\".equals(target) || \"6\".equals(target) || \"8\".equals(target)",
"\"0\".equals(target)",
"\"0\".equals",
"\"0\"",
"target",
"\"1\".equals(target)",
"\"1\".equals",
"\"1\"",
"target",
"\"6\".equals(target)",
"\"6\".equals",
"\"6\"",
"target",
"\"8\".equals(target)",
"\"8\".equals",
"\"8\"",
"target",
"{\n pw.println(\"pon\");\n }",
"pw.println(\"pon\")",
"pw.println",
"pw",
"\"pon\"",
"{\n pw.println(\"bon\");\n }",
"pw.println(\"bon\")",
"pw.println",
"pw",
"\"bon\"",
"br.close()",
"br.close",
"br",
"pw.close()",
"pw.close",
"pw",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n \n String N = br.readLine();\n String target = N.substring(N.length() - 1);\n \n if(\"2\".equals(target) || \"4\".equals(target) || \"5\".equals(target) || \"7\".equals(target) || \"9\".equals(target)) {\n pw.println(\"hon\");\n } else if(\"0\".equals(target) || \"1\".equals(target) || \"6\".equals(target) || \"8\".equals(target)) {\n pw.println(\"pon\");\n } else {\n pw.println(\"bon\");\n }\n\n br.close();\n pw.close();\n }\n}",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n \n String N = br.readLine();\n String target = N.substring(N.length() - 1);\n \n if(\"2\".equals(target) || \"4\".equals(target) || \"5\".equals(target) || \"7\".equals(target) || \"9\".equals(target)) {\n pw.println(\"hon\");\n } else if(\"0\".equals(target) || \"1\".equals(target) || \"6\".equals(target) || \"8\".equals(target)) {\n pw.println(\"pon\");\n } else {\n pw.println(\"bon\");\n }\n\n br.close();\n pw.close();\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.PrintWriter;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));
PrintWriter pw = new PrintWriter(System.out);
String N = br.readLine();
String target = N.substring(N.length() - 1);
if("2".equals(target) || "4".equals(target) || "5".equals(target) || "7".equals(target) || "9".equals(target)) {
pw.println("hon");
} else if("0".equals(target) || "1".equals(target) || "6".equals(target) || "8".equals(target)) {
pw.println("pon");
} else {
pw.println("bon");
}
br.close();
pw.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
28,
13,
13,
30,
14,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
29,
28,
13,
13,
30,
14,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
29,
28,
13,
13,
30,
14,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
29,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
83,
8
],
[
83,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
33,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
38,
45
],
[
11,
46
],
[
46,
47
],
[
46,
48
],
[
46,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
50,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
55,
62
],
[
11,
63
],
[
63,
64
],
[
63,
65
],
[
63,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
67,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
72,
79
],
[
9,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] |
[
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n String line = bufferedReader.readLine();\n String[] honList = new String[]{\"2\", \"4\", \"5\", \"7\", \"9\"};\n String[] ponList = new String[]{\"0\", \"1\", \"6\", \"8\"};\n String[] bonList = new String[]{\"3\"};\n for (String h : honList)\n if (line.endsWith(h)) {\n System.out.println(\"hon\");\n return;\n }\n for (String p: ponList)\n if (line.endsWith(p)) {\n System.out.println(\"pon\");\n return;\n }\n for (String b : bonList)\n if (line.endsWith(b)) {\n System.out.println(\"bon\");\n return;\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n String line = bufferedReader.readLine();\n String[] honList = new String[]{\"2\", \"4\", \"5\", \"7\", \"9\"};\n String[] ponList = new String[]{\"0\", \"1\", \"6\", \"8\"};\n String[] bonList = new String[]{\"3\"};\n for (String h : honList)\n if (line.endsWith(h)) {\n System.out.println(\"hon\");\n return;\n }\n for (String p: ponList)\n if (line.endsWith(p)) {\n System.out.println(\"pon\");\n return;\n }\n for (String b : bonList)\n if (line.endsWith(b)) {\n System.out.println(\"bon\");\n return;\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n String line = bufferedReader.readLine();\n String[] honList = new String[]{\"2\", \"4\", \"5\", \"7\", \"9\"};\n String[] ponList = new String[]{\"0\", \"1\", \"6\", \"8\"};\n String[] bonList = new String[]{\"3\"};\n for (String h : honList)\n if (line.endsWith(h)) {\n System.out.println(\"hon\");\n return;\n }\n for (String p: ponList)\n if (line.endsWith(p)) {\n System.out.println(\"pon\");\n return;\n }\n for (String b : bonList)\n if (line.endsWith(b)) {\n System.out.println(\"bon\");\n return;\n }\n }",
"main",
"{\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n String line = bufferedReader.readLine();\n String[] honList = new String[]{\"2\", \"4\", \"5\", \"7\", \"9\"};\n String[] ponList = new String[]{\"0\", \"1\", \"6\", \"8\"};\n String[] bonList = new String[]{\"3\"};\n for (String h : honList)\n if (line.endsWith(h)) {\n System.out.println(\"hon\");\n return;\n }\n for (String p: ponList)\n if (line.endsWith(p)) {\n System.out.println(\"pon\");\n return;\n }\n for (String b : bonList)\n if (line.endsWith(b)) {\n System.out.println(\"bon\");\n return;\n }\n }",
"BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));",
"bufferedReader",
"new BufferedReader(new InputStreamReader(System.in))",
"String line = bufferedReader.readLine();",
"line",
"bufferedReader.readLine()",
"bufferedReader.readLine",
"bufferedReader",
"String[] honList = new String[]{\"2\", \"4\", \"5\", \"7\", \"9\"};",
"honList",
"new String[]{\"2\", \"4\", \"5\", \"7\", \"9\"}",
"String[] ponList = new String[]{\"0\", \"1\", \"6\", \"8\"};",
"ponList",
"new String[]{\"0\", \"1\", \"6\", \"8\"}",
"String[] bonList = new String[]{\"3\"};",
"bonList",
"new String[]{\"3\"}",
"for (String h : honList)\n if (line.endsWith(h)) {\n System.out.println(\"hon\");\n return;\n }",
"String h",
"honList",
"if (line.endsWith(h)) {\n System.out.println(\"hon\");\n return;\n }",
"if (line.endsWith(h)) {\n System.out.println(\"hon\");\n return;\n }",
"line.endsWith(h)",
"line.endsWith",
"line",
"h",
"{\n System.out.println(\"hon\");\n return;\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"return;",
"for (String p: ponList)\n if (line.endsWith(p)) {\n System.out.println(\"pon\");\n return;\n }",
"String p",
"ponList",
"if (line.endsWith(p)) {\n System.out.println(\"pon\");\n return;\n }",
"if (line.endsWith(p)) {\n System.out.println(\"pon\");\n return;\n }",
"line.endsWith(p)",
"line.endsWith",
"line",
"p",
"{\n System.out.println(\"pon\");\n return;\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"return;",
"for (String b : bonList)\n if (line.endsWith(b)) {\n System.out.println(\"bon\");\n return;\n }",
"String b",
"bonList",
"if (line.endsWith(b)) {\n System.out.println(\"bon\");\n return;\n }",
"if (line.endsWith(b)) {\n System.out.println(\"bon\");\n return;\n }",
"line.endsWith(b)",
"line.endsWith",
"line",
"b",
"{\n System.out.println(\"bon\");\n return;\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"return;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n String line = bufferedReader.readLine();\n String[] honList = new String[]{\"2\", \"4\", \"5\", \"7\", \"9\"};\n String[] ponList = new String[]{\"0\", \"1\", \"6\", \"8\"};\n String[] bonList = new String[]{\"3\"};\n for (String h : honList)\n if (line.endsWith(h)) {\n System.out.println(\"hon\");\n return;\n }\n for (String p: ponList)\n if (line.endsWith(p)) {\n System.out.println(\"pon\");\n return;\n }\n for (String b : bonList)\n if (line.endsWith(b)) {\n System.out.println(\"bon\");\n return;\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n String line = bufferedReader.readLine();\n String[] honList = new String[]{\"2\", \"4\", \"5\", \"7\", \"9\"};\n String[] ponList = new String[]{\"0\", \"1\", \"6\", \"8\"};\n String[] bonList = new String[]{\"3\"};\n for (String h : honList)\n if (line.endsWith(h)) {\n System.out.println(\"hon\");\n return;\n }\n for (String p: ponList)\n if (line.endsWith(p)) {\n System.out.println(\"pon\");\n return;\n }\n for (String b : bonList)\n if (line.endsWith(b)) {\n System.out.println(\"bon\");\n return;\n }\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
String line = bufferedReader.readLine();
String[] honList = new String[]{"2", "4", "5", "7", "9"};
String[] ponList = new String[]{"0", "1", "6", "8"};
String[] bonList = new String[]{"3"};
for (String h : honList)
if (line.endsWith(h)) {
System.out.println("hon");
return;
}
for (String p: ponList)
if (line.endsWith(p)) {
System.out.println("pon");
return;
}
for (String b : bonList)
if (line.endsWith(b)) {
System.out.println("bon");
return;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
0,
13,
17,
41,
13,
39,
17,
17,
17,
17,
17,
41,
13,
39,
17,
17,
17,
17,
41,
13,
39,
17,
28,
13,
13,
30,
30,
14,
2,
13,
13,
4,
18,
18,
13,
13,
17,
28,
13,
13,
30,
30,
14,
2,
13,
13,
4,
18,
18,
13,
13,
17,
28,
13,
13,
30,
30,
14,
2,
13,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
87,
5
],
[
87,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
22,
25
],
[
22,
26
],
[
22,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
30,
33
],
[
30,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
8,
39
],
[
39,
40
],
[
39,
41
],
[
39,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
8,
54
],
[
54,
55
],
[
54,
56
],
[
54,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
8,
69
],
[
69,
70
],
[
69,
71
],
[
69,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
6,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n N %= 10;\n int[] a = {2,4,5,7,9};\n int[] b = {0,1,6,8};\n int[] c = {3};\n for (int x:a) {\n if (N == x) System.out.println(\"hon\");\n }\n for (int x:b) {\n if (N == x) System.out.println(\"pon\");\n }\n for (int x:c) {\n if (N == x) System.out.println(\"bon\");\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n N %= 10;\n int[] a = {2,4,5,7,9};\n int[] b = {0,1,6,8};\n int[] c = {3};\n for (int x:a) {\n if (N == x) System.out.println(\"hon\");\n }\n for (int x:b) {\n if (N == x) System.out.println(\"pon\");\n }\n for (int x:c) {\n if (N == x) System.out.println(\"bon\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n N %= 10;\n int[] a = {2,4,5,7,9};\n int[] b = {0,1,6,8};\n int[] c = {3};\n for (int x:a) {\n if (N == x) System.out.println(\"hon\");\n }\n for (int x:b) {\n if (N == x) System.out.println(\"pon\");\n }\n for (int x:c) {\n if (N == x) System.out.println(\"bon\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n N %= 10;\n int[] a = {2,4,5,7,9};\n int[] b = {0,1,6,8};\n int[] c = {3};\n for (int x:a) {\n if (N == x) System.out.println(\"hon\");\n }\n for (int x:b) {\n if (N == x) System.out.println(\"pon\");\n }\n for (int x:c) {\n if (N == x) System.out.println(\"bon\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"N %= 10",
"N",
"10",
"int[] a = {2,4,5,7,9};",
"a",
"{2,4,5,7,9}",
"2",
"4",
"5",
"7",
"9",
"int[] b = {0,1,6,8};",
"b",
"{0,1,6,8}",
"0",
"1",
"6",
"8",
"int[] c = {3};",
"c",
"{3}",
"3",
"for (int x:a) {\n if (N == x) System.out.println(\"hon\");\n }",
"int x",
"a",
"{\n if (N == x) System.out.println(\"hon\");\n }",
"{\n if (N == x) System.out.println(\"hon\");\n }",
"if (N == x) System.out.println(\"hon\");",
"N == x",
"N",
"x",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"for (int x:b) {\n if (N == x) System.out.println(\"pon\");\n }",
"int x",
"b",
"{\n if (N == x) System.out.println(\"pon\");\n }",
"{\n if (N == x) System.out.println(\"pon\");\n }",
"if (N == x) System.out.println(\"pon\");",
"N == x",
"N",
"x",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"for (int x:c) {\n if (N == x) System.out.println(\"bon\");\n }",
"int x",
"c",
"{\n if (N == x) System.out.println(\"bon\");\n }",
"{\n if (N == x) System.out.println(\"bon\");\n }",
"if (N == x) System.out.println(\"bon\");",
"N == x",
"N",
"x",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n N %= 10;\n int[] a = {2,4,5,7,9};\n int[] b = {0,1,6,8};\n int[] c = {3};\n for (int x:a) {\n if (N == x) System.out.println(\"hon\");\n }\n for (int x:b) {\n if (N == x) System.out.println(\"pon\");\n }\n for (int x:c) {\n if (N == x) System.out.println(\"bon\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n N %= 10;\n int[] a = {2,4,5,7,9};\n int[] b = {0,1,6,8};\n int[] c = {3};\n for (int x:a) {\n if (N == x) System.out.println(\"hon\");\n }\n for (int x:b) {\n if (N == x) System.out.println(\"pon\");\n }\n for (int x:c) {\n if (N == x) System.out.println(\"bon\");\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
N %= 10;
int[] a = {2,4,5,7,9};
int[] b = {0,1,6,8};
int[] c = {3};
for (int x:a) {
if (N == x) System.out.println("hon");
}
for (int x:b) {
if (N == x) System.out.println("pon");
}
for (int x:c) {
if (N == x) System.out.println("bon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
2,
4,
18,
13,
17,
0,
13,
4,
18,
13,
13,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
102,
5
],
[
102,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
31,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
8,
42
],
[
42,
43
],
[
46,
44
],
[
56,
45
],
[
53,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
53,
53
],
[
53,
54
],
[
53,
55
],
[
56,
56
],
[
56,
57
],
[
56,
58
],
[
46,
59
],
[
59,
60
],
[
59,
61
],
[
42,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
42,
69
],
[
69,
70
],
[
72,
71
],
[
79,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
76,
78
],
[
79,
79
],
[
79,
80
],
[
79,
81
],
[
72,
82
],
[
82,
83
],
[
82,
84
],
[
69,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
69,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
6,
99
],
[
99,
100
],
[
0,
101
],
[
101,
102
],
[
101,
103
]
] |
[
"import java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO θͺεηζγγγγ‘γ½γγγ»γΉγΏγ\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger n = Integer.parseInt(sc.next());\n\t\tString nn =String.valueOf(n);\n\t\tString aaa = nn.substring(nn.length()-1);\n\t\t n = Integer.parseInt(aaa);\n\t\t\n\t\tif(n==2||n==4||n==5||n==7||n==9) \n\t\t{System.out.println(\"hon\");\n\t\t\t\n\t\t}else if (n==0||n==1||n==6||n==8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO θͺεηζγγγγ‘γ½γγγ»γΉγΏγ\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger n = Integer.parseInt(sc.next());\n\t\tString nn =String.valueOf(n);\n\t\tString aaa = nn.substring(nn.length()-1);\n\t\t n = Integer.parseInt(aaa);\n\t\t\n\t\tif(n==2||n==4||n==5||n==7||n==9) \n\t\t{System.out.println(\"hon\");\n\t\t\t\n\t\t}else if (n==0||n==1||n==6||n==8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO θͺεηζγγγγ‘γ½γγγ»γΉγΏγ\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger n = Integer.parseInt(sc.next());\n\t\tString nn =String.valueOf(n);\n\t\tString aaa = nn.substring(nn.length()-1);\n\t\t n = Integer.parseInt(aaa);\n\t\t\n\t\tif(n==2||n==4||n==5||n==7||n==9) \n\t\t{System.out.println(\"hon\");\n\t\t\t\n\t\t}else if (n==0||n==1||n==6||n==8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO θͺεηζγγγγ‘γ½γγγ»γΉγΏγ\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger n = Integer.parseInt(sc.next());\n\t\tString nn =String.valueOf(n);\n\t\tString aaa = nn.substring(nn.length()-1);\n\t\t n = Integer.parseInt(aaa);\n\t\t\n\t\tif(n==2||n==4||n==5||n==7||n==9) \n\t\t{System.out.println(\"hon\");\n\t\t\t\n\t\t}else if (n==0||n==1||n==6||n==8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Integer n = Integer.parseInt(sc.next());",
"n",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"String nn =String.valueOf(n);",
"nn",
"String.valueOf(n)",
"String.valueOf",
"String",
"n",
"String aaa = nn.substring(nn.length()-1);",
"aaa",
"nn.substring(nn.length()-1)",
"nn.substring",
"nn",
"nn.length()-1",
"nn.length()",
"nn.length",
"nn",
"1",
"n = Integer.parseInt(aaa)",
"n",
"Integer.parseInt(aaa)",
"Integer.parseInt",
"Integer",
"aaa",
"if(n==2||n==4||n==5||n==7||n==9) \n\t\t{System.out.println(\"hon\");\n\t\t\t\n\t\t}else if (n==0||n==1||n==6||n==8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"n==2||n==4||n==5||n==7||n==9",
"n==7",
"n==5",
"n==2||n==4||n==5||n==7||n==9",
"n==2",
"n",
"2",
"n==4",
"n",
"4",
"n==5",
"n",
"5",
"n==7",
"n",
"7",
"n==9",
"n",
"9",
"{System.out.println(\"hon\");\n\t\t\t\n\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if (n==0||n==1||n==6||n==8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"n==0||n==1||n==6||n==8",
"n==6",
"n==0||n==1||n==6||n==8",
"n==0",
"n",
"0",
"n==1",
"n",
"1",
"n==6",
"n",
"6",
"n==8",
"n",
"8",
"{\n\t\t\tSystem.out.println(\"pon\");\n\t\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO θͺεηζγγγγ‘γ½γγγ»γΉγΏγ\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger n = Integer.parseInt(sc.next());\n\t\tString nn =String.valueOf(n);\n\t\tString aaa = nn.substring(nn.length()-1);\n\t\t n = Integer.parseInt(aaa);\n\t\t\n\t\tif(n==2||n==4||n==5||n==7||n==9) \n\t\t{System.out.println(\"hon\");\n\t\t\t\n\t\t}else if (n==0||n==1||n==6||n==8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t}\n\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO θͺεηζγγγγ‘γ½γγγ»γΉγΏγ\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger n = Integer.parseInt(sc.next());\n\t\tString nn =String.valueOf(n);\n\t\tString aaa = nn.substring(nn.length()-1);\n\t\t n = Integer.parseInt(aaa);\n\t\t\n\t\tif(n==2||n==4||n==5||n==7||n==9) \n\t\t{System.out.println(\"hon\");\n\t\t\t\n\t\t}else if (n==0||n==1||n==6||n==8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
// TODO θͺεηζγγγγ‘γ½γγγ»γΉγΏγ
Scanner sc = new Scanner(System.in);
Integer n = Integer.parseInt(sc.next());
String nn =String.valueOf(n);
String aaa = nn.substring(nn.length()-1);
n = Integer.parseInt(aaa);
if(n==2||n==4||n==5||n==7||n==9)
{System.out.println("hon");
}else if (n==0||n==1||n==6||n==8) {
System.out.println("pon");
}else {
System.out.println("bon");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
35,
2,
4,
18,
13,
17,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
4,
18,
13,
17,
3,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
4,
18,
13,
17,
3,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
4,
13,
20,
23,
13,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
13,
0,
13,
17,
29,
36,
23,
13,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
13,
17,
4,
18,
13,
0,
13,
17,
29,
36,
23,
13,
12,
13,
30,
14,
40,
13,
30,
4,
13,
17,
29,
4,
13,
13,
23,
13,
12,
13,
30,
4,
13,
4,
18,
13,
0,
13,
17,
14,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
29,
36,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
13,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
18,
36,
13,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
],
[
0,
43
],
[
345,
44
],
[
345,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
47,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
47,
58
],
[
58,
59
],
[
58,
60
],
[
47,
61
],
[
61,
62
],
[
61,
63
],
[
47,
64
],
[
64,
65
],
[
64,
66
],
[
47,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
67,
71
],
[
67,
72
],
[
47,
73
],
[
73,
74
],
[
74,
75
],
[
45,
76
],
[
76,
77
],
[
345,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
84,
88
],
[
83,
89
],
[
89,
90
],
[
89,
91
],
[
83,
92
],
[
92,
93
],
[
92,
94
],
[
83,
95
],
[
95,
96
],
[
95,
97
],
[
83,
98
],
[
98,
99
],
[
98,
100
],
[
83,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
103,
110
],
[
83,
111
],
[
111,
112
],
[
111,
113
],
[
83,
114
],
[
114,
115
],
[
114,
116
],
[
83,
117
],
[
117,
118
],
[
117,
119
],
[
83,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
125,
128
],
[
122,
129
],
[
83,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
135,
138
],
[
132,
139
],
[
80,
140
],
[
140,
141
],
[
80,
142
],
[
142,
143
],
[
80,
144
],
[
144,
145
],
[
345,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
146,
150
],
[
150,
151
],
[
150,
152
],
[
146,
153
],
[
153,
154
],
[
153,
155
],
[
146,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
159,
163
],
[
156,
164
],
[
164,
165
],
[
146,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
166,
172
],
[
172,
173
],
[
146,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
177,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
184,
187
],
[
183,
188
],
[
188,
189
],
[
188,
190
],
[
176,
191
],
[
191,
192
],
[
174,
193
],
[
193,
194
],
[
146,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
202,
203
],
[
198,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
205,
208
],
[
205,
209
],
[
205,
210
],
[
210,
211
],
[
211,
212
],
[
204,
213
],
[
213,
214
],
[
213,
215
],
[
197,
216
],
[
216,
217
],
[
195,
218
],
[
218,
219
],
[
146,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
223,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
222,
230
],
[
230,
231
],
[
231,
232
],
[
231,
233
],
[
220,
234
],
[
234,
235
],
[
146,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
242,
243
],
[
238,
244
],
[
244,
245
],
[
244,
246
],
[
238,
247
],
[
247,
248
],
[
247,
249
],
[
249,
250
],
[
250,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
254,
255
],
[
250,
256
],
[
256,
257
],
[
257,
258
],
[
258,
259
],
[
238,
260
],
[
260,
261
],
[
146,
262
],
[
262,
263
],
[
262,
264
],
[
264,
265
],
[
265,
266
],
[
266,
267
],
[
266,
268
],
[
268,
269
],
[
269,
270
],
[
265,
271
],
[
271,
272
],
[
272,
273
],
[
273,
274
],
[
146,
275
],
[
345,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
278,
280
],
[
276,
281
],
[
281,
282
],
[
281,
283
],
[
276,
284
],
[
284,
285
],
[
284,
286
],
[
286,
287
],
[
287,
288
],
[
287,
289
],
[
284,
290
],
[
290,
291
],
[
276,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
297,
299
],
[
296,
300
],
[
300,
301
],
[
301,
302
],
[
302,
303
],
[
295,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
308,
309
],
[
309,
310
],
[
305,
311
],
[
311,
312
],
[
312,
313
],
[
312,
314
],
[
294,
315
],
[
315,
316
],
[
316,
317
],
[
317,
318
],
[
276,
319
],
[
319,
320
],
[
319,
321
],
[
321,
322
],
[
322,
323
],
[
323,
324
],
[
324,
325
],
[
323,
326
],
[
326,
327
],
[
276,
328
],
[
328,
329
],
[
328,
330
],
[
330,
331
],
[
331,
332
],
[
332,
333
],
[
332,
334
],
[
334,
335
],
[
335,
336
],
[
331,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
340,
341
],
[
340,
342
],
[
276,
343
],
[
0,
344
],
[
344,
345
],
[
344,
346
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.BufferedOutputStream;\nimport java.io.UncheckedIOException;\nimport java.nio.charset.Charset;\nimport java.util.StringTokenizer;\nimport java.io.Writer;\nimport java.io.OutputStreamWriter;\nimport java.io.BufferedReader;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author mikit\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n ATherefore solver = new ATherefore();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ATherefore {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n switch (in.ints() % 10) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n out.ans(\"hon\").ln();\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n out.ans(\"pon\").ln();\n break;\n case 3:\n out.ans(\"bon\").ln();\n break;\n }\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int ints() {\n return Integer.parseInt(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.BufferedOutputStream;",
"BufferedOutputStream",
"java.io",
"import java.io.UncheckedIOException;",
"UncheckedIOException",
"java.io",
"import java.nio.charset.Charset;",
"Charset",
"java.nio.charset",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.io.Writer;",
"Writer",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n ATherefore solver = new ATherefore();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ATherefore {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n switch (in.ints() % 10) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n out.ans(\"hon\").ln();\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n out.ans(\"pon\").ln();\n break;\n case 3:\n out.ans(\"bon\").ln();\n break;\n }\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int ints() {\n return Integer.parseInt(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n ATherefore solver = new ATherefore();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n ATherefore solver = new ATherefore();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"LightScanner in = new LightScanner(inputStream);",
"in",
"new LightScanner(inputStream)",
"LightWriter out = new LightWriter(outputStream);",
"out",
"new LightWriter(outputStream)",
"ATherefore solver = new ATherefore();",
"solver",
"new ATherefore()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class ATherefore {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n switch (in.ints() % 10) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n out.ans(\"hon\").ln();\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n out.ans(\"pon\").ln();\n break;\n case 3:\n out.ans(\"bon\").ln();\n break;\n }\n }\n\n }",
"ATherefore",
"public void solve(int testNumber, LightScanner in, LightWriter out) {\n switch (in.ints() % 10) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n out.ans(\"hon\").ln();\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n out.ans(\"pon\").ln();\n break;\n case 3:\n out.ans(\"bon\").ln();\n break;\n }\n }",
"solve",
"{\n switch (in.ints() % 10) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n out.ans(\"hon\").ln();\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n out.ans(\"pon\").ln();\n break;\n case 3:\n out.ans(\"bon\").ln();\n break;\n }\n }",
"switch (in.ints() % 10) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n out.ans(\"hon\").ln();\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n out.ans(\"pon\").ln();\n break;\n case 3:\n out.ans(\"bon\").ln();\n break;\n }",
"in.ints() % 10",
"in.ints()",
"in.ints",
"in",
"10",
"case 2:",
"2",
"case 2:",
"case 4:",
"4",
"case 4:",
"case 5:",
"5",
"case 5:",
"case 7:",
"7",
"case 7:",
"case 9:",
"9",
"case 9:",
"out.ans(\"hon\").ln()",
"out.ans(\"hon\").ln",
"out.ans(\"hon\")",
"out.ans",
"out",
"\"hon\"",
"break;",
"case 0:",
"0",
"case 0:",
"case 1:",
"1",
"case 1:",
"case 6:",
"6",
"case 6:",
"case 8:",
"8",
"case 8:",
"out.ans(\"pon\").ln()",
"out.ans(\"pon\").ln",
"out.ans(\"pon\")",
"out.ans",
"out",
"\"pon\"",
"break;",
"case 3:",
"3",
"case 3:",
"out.ans(\"bon\").ln()",
"out.ans(\"bon\").ln",
"out.ans(\"bon\")",
"out.ans",
"out",
"\"bon\"",
"break;",
"int testNumber",
"testNumber",
"LightScanner in",
"in",
"LightWriter out",
"out",
"static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }",
"LightWriter",
"private final Writer out;",
"out",
"private boolean autoflush = false;",
"autoflush",
"false",
"private boolean breaked = true;",
"breaked",
"true",
"public LightWriter(Writer out) {\n this.out = out;\n }",
"LightWriter",
"{\n this.out = out;\n }",
"this.out = out",
"this.out",
"this",
"this.out",
"out",
"Writer out",
"out",
"public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }",
"LightWriter",
"{\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }",
"this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()))",
"this",
"new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset())",
"OutputStream out",
"out",
"public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"print",
"{\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n out.write(c);\n breaked = false;\n }",
"out.write(c)",
"out.write",
"out",
"c",
"breaked = false",
"breaked",
"false",
"return this;",
"this",
"char c",
"c",
"public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"print",
"{\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n out.write(s, 0, s.length());\n breaked = false;\n }",
"out.write(s, 0, s.length())",
"out.write",
"out",
"s",
"0",
"s.length()",
"s.length",
"s",
"breaked = false",
"breaked",
"false",
"return this;",
"this",
"String s",
"s",
"public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }",
"ans",
"{\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }",
"if (!breaked) {\n print(' ');\n }",
"!breaked",
"breaked",
"{\n print(' ');\n }",
"print(' ')",
"print",
"' '",
"return print(s);",
"print(s)",
"print",
"s",
"String s",
"s",
"public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }",
"ln",
"{\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }",
"print(System.lineSeparator())",
"print",
"System.lineSeparator()",
"System.lineSeparator",
"System",
"breaked = true",
"breaked",
"true",
"if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"autoflush",
"{\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n out.flush();\n }",
"out.flush()",
"out.flush",
"out",
"return this;",
"this",
"public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"close",
"{\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n out.close();\n }",
"out.close()",
"out.close",
"out",
"AutoCloseable",
"static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int ints() {\n return Integer.parseInt(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }",
"LightScanner",
"private BufferedReader reader = null;",
"reader",
"null",
"private StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }",
"LightScanner",
"{\n reader = new BufferedReader(new InputStreamReader(in));\n }",
"reader = new BufferedReader(new InputStreamReader(in))",
"reader",
"new BufferedReader(new InputStreamReader(in))",
"InputStream in",
"in",
"public String string() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"string",
"{\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }",
"try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }",
"catch (IOException e) {\n throw new UncheckedIOException(e);\n }",
"IOException e",
"{\n throw new UncheckedIOException(e);\n }",
"throw new UncheckedIOException(e);",
"new UncheckedIOException(e)",
"{\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public int ints() {\n return Integer.parseInt(string());\n }",
"ints",
"{\n return Integer.parseInt(string());\n }",
"return Integer.parseInt(string());",
"Integer.parseInt(string())",
"Integer.parseInt",
"Integer",
"string()",
"string",
"public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"close",
"{\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n this.reader.close();\n }",
"this.reader.close()",
"this.reader.close",
"this.reader",
"this",
"this.reader",
"AutoCloseable",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n ATherefore solver = new ATherefore();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ATherefore {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n switch (in.ints() % 10) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n out.ans(\"hon\").ln();\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n out.ans(\"pon\").ln();\n break;\n case 3:\n out.ans(\"bon\").ln();\n break;\n }\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int ints() {\n return Integer.parseInt(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n ATherefore solver = new ATherefore();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ATherefore {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n switch (in.ints() % 10) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n out.ans(\"hon\").ln();\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n out.ans(\"pon\").ln();\n break;\n case 3:\n out.ans(\"bon\").ln();\n break;\n }\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int ints() {\n return Integer.parseInt(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.BufferedOutputStream;
import java.io.UncheckedIOException;
import java.nio.charset.Charset;
import java.util.StringTokenizer;
import java.io.Writer;
import java.io.OutputStreamWriter;
import java.io.BufferedReader;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author mikit
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
LightScanner in = new LightScanner(inputStream);
LightWriter out = new LightWriter(outputStream);
ATherefore solver = new ATherefore();
solver.solve(1, in, out);
out.close();
}
static class ATherefore {
public void solve(int testNumber, LightScanner in, LightWriter out) {
switch (in.ints() % 10) {
case 2:
case 4:
case 5:
case 7:
case 9:
out.ans("hon").ln();
break;
case 0:
case 1:
case 6:
case 8:
out.ans("pon").ln();
break;
case 3:
out.ans("bon").ln();
break;
}
}
}
static class LightWriter implements AutoCloseable {
private final Writer out;
private boolean autoflush = false;
private boolean breaked = true;
public LightWriter(Writer out) {
this.out = out;
}
public LightWriter(OutputStream out) {
this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));
}
public LightWriter print(char c) {
try {
out.write(c);
breaked = false;
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
return this;
}
public LightWriter print(String s) {
try {
out.write(s, 0, s.length());
breaked = false;
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
return this;
}
public LightWriter ans(String s) {
if (!breaked) {
print(' ');
}
return print(s);
}
public LightWriter ln() {
print(System.lineSeparator());
breaked = true;
if (autoflush) {
try {
out.flush();
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
}
return this;
}
public void close() {
try {
out.close();
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
}
}
static class LightScanner implements AutoCloseable {
private BufferedReader reader = null;
private StringTokenizer tokenizer = null;
public LightScanner(InputStream in) {
reader = new BufferedReader(new InputStreamReader(in));
}
public String string() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new UncheckedIOException(e);
}
}
return tokenizer.nextToken();
}
public int ints() {
return Integer.parseInt(string());
}
public void close() {
try {
this.reader.close();
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
0,
13,
4,
18,
13,
2,
4,
18,
13,
2,
4,
18,
13,
17,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
14,
2,
4,
18,
13,
17,
17,
30,
0,
13,
17,
40,
13,
11,
1,
41,
13,
13,
2,
13,
4,
18,
13,
1,
40,
13,
30,
14,
2,
4,
18,
13,
13,
17,
30,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
20,
0,
13,
17,
30,
4,
18,
13,
4,
18,
13,
13,
14,
13,
0,
13,
17,
0,
13,
2,
4,
18,
13,
4,
18,
13,
13,
29,
2,
13,
8,
13,
40,
17,
17,
12,
13,
30,
29,
4,
18,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
274,
17
],
[
274,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
20,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
41,
45
],
[
37,
46
],
[
20,
47
],
[
47,
48
],
[
51,
49
],
[
61,
50
],
[
58,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
58,
58
],
[
58,
59
],
[
58,
60
],
[
61,
61
],
[
61,
62
],
[
61,
63
],
[
51,
64
],
[
64,
65
],
[
64,
66
],
[
47,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
47,
73
],
[
73,
74
],
[
76,
75
],
[
83,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
80,
82
],
[
83,
83
],
[
83,
84
],
[
83,
85
],
[
76,
86
],
[
86,
87
],
[
86,
88
],
[
73,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
73,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
18,
101
],
[
101,
102
],
[
0,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
103,
107
],
[
107,
108
],
[
103,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
109,
115
],
[
115,
116
],
[
103,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
120,
129
],
[
129,
130
],
[
129,
131
],
[
119,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
103,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
143,
144
],
[
103,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
149,
152
],
[
152,
153
],
[
103,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
103,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
163,
168
],
[
168,
169
],
[
168,
170
],
[
163,
171
],
[
171,
172
],
[
171,
173
],
[
163,
174
],
[
174,
175
],
[
174,
176
],
[
163,
177
],
[
177,
178
],
[
177,
179
],
[
163,
180
],
[
180,
181
],
[
180,
182
],
[
163,
183
],
[
183,
184
],
[
183,
185
],
[
163,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
188,
191
],
[
187,
192
],
[
186,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
193,
197
],
[
197,
198
],
[
163,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
199,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
199,
209
],
[
209,
210
],
[
210,
211
],
[
199,
212
],
[
212,
213
],
[
213,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
215,
218
],
[
214,
219
],
[
213,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
224,
225
],
[
223,
226
],
[
226,
227
],
[
227,
228
],
[
220,
229
],
[
229,
230
],
[
229,
231
],
[
220,
232
],
[
232,
233
],
[
232,
234
],
[
213,
235
],
[
235,
236
],
[
236,
237
],
[
237,
238
],
[
236,
239
],
[
239,
240
],
[
240,
241
],
[
239,
242
],
[
235,
243
],
[
243,
244
],
[
243,
245
],
[
245,
246
],
[
245,
247
],
[
163,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
251,
254
],
[
254,
255
],
[
255,
256
],
[
250,
257
],
[
163,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
261,
263
],
[
263,
264
],
[
261,
265
],
[
103,
266
],
[
266,
267
],
[
266,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
0,
273
],
[
273,
274
],
[
273,
275
]
] |
[
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.*;\n\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner s = new Scanner(System.in);\n String word = s.nextLine();\n int a =0;\n a=Integer.parseInt(word.charAt(word.length()-1)+\"\");\n if(a==2||a==4||a==5||a==7||a==9) System.out.println(\"hon\");\n else if(a==0||a==1||a==6||a==8) System.out.println(\"pon\");\n else System.out.println(\"bon\");\n\n\n }\n\n}\n\n\n\n\nclass Scanner\n{\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}\n\n public String next() throws IOException\n {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {return Integer.parseInt(next());}\n\n public long nextLong() throws IOException {return Long.parseLong(next());}\n\n public String nextLine() throws IOException {return br.readLine();}\n\n public double nextDouble() throws IOException\n {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if(x.charAt(0) == '-')\n {\n neg = true;\n start++;\n }\n for(int i = start; i < x.length(); i++)\n if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg?-1:1);\n }\n\n public boolean ready() throws IOException {return br.ready();}\n\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner s = new Scanner(System.in);\n String word = s.nextLine();\n int a =0;\n a=Integer.parseInt(word.charAt(word.length()-1)+\"\");\n if(a==2||a==4||a==5||a==7||a==9) System.out.println(\"hon\");\n else if(a==0||a==1||a==6||a==8) System.out.println(\"pon\");\n else System.out.println(\"bon\");\n\n\n }\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n Scanner s = new Scanner(System.in);\n String word = s.nextLine();\n int a =0;\n a=Integer.parseInt(word.charAt(word.length()-1)+\"\");\n if(a==2||a==4||a==5||a==7||a==9) System.out.println(\"hon\");\n else if(a==0||a==1||a==6||a==8) System.out.println(\"pon\");\n else System.out.println(\"bon\");\n\n\n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n String word = s.nextLine();\n int a =0;\n a=Integer.parseInt(word.charAt(word.length()-1)+\"\");\n if(a==2||a==4||a==5||a==7||a==9) System.out.println(\"hon\");\n else if(a==0||a==1||a==6||a==8) System.out.println(\"pon\");\n else System.out.println(\"bon\");\n\n\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"String word = s.nextLine();",
"word",
"s.nextLine()",
"s.nextLine",
"s",
"int a =0;",
"a",
"0",
"a=Integer.parseInt(word.charAt(word.length()-1)+\"\")",
"a",
"Integer.parseInt(word.charAt(word.length()-1)+\"\")",
"Integer.parseInt",
"Integer",
"word.charAt(word.length()-1)+\"\"",
"word.charAt(word.length()-1)",
"word.charAt",
"word",
"word.length()-1",
"word.length()",
"word.length",
"word",
"1",
"\"\"",
"if(a==2||a==4||a==5||a==7||a==9) System.out.println(\"hon\");\n else if(a==0||a==1||a==6||a==8) System.out.println(\"pon\");\n else System.out.println(\"bon\");",
"a==2||a==4||a==5||a==7||a==9",
"a==7",
"a==5",
"a==2||a==4||a==5||a==7||a==9",
"a==2",
"a",
"2",
"a==4",
"a",
"4",
"a==5",
"a",
"5",
"a==7",
"a",
"7",
"a==9",
"a",
"9",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(a==0||a==1||a==6||a==8) System.out.println(\"pon\");\n else System.out.println(\"bon\");",
"a==0||a==1||a==6||a==8",
"a==6",
"a==0||a==1||a==6||a==8",
"a==0",
"a",
"0",
"a==1",
"a",
"1",
"a==6",
"a",
"6",
"a==8",
"a",
"8",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"class Scanner\n{\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}\n\n public String next() throws IOException\n {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {return Integer.parseInt(next());}\n\n public long nextLong() throws IOException {return Long.parseLong(next());}\n\n public String nextLine() throws IOException {return br.readLine();}\n\n public double nextDouble() throws IOException\n {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if(x.charAt(0) == '-')\n {\n neg = true;\n start++;\n }\n for(int i = start; i < x.length(); i++)\n if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg?-1:1);\n }\n\n public boolean ready() throws IOException {return br.ready();}\n\n\n}",
"Scanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}",
"Scanner",
"{\tbr = new BufferedReader(new InputStreamReader(s));}",
"br = new BufferedReader(new InputStreamReader(s))",
"br",
"new BufferedReader(new InputStreamReader(s))",
"InputStream s",
"s",
"public String next() throws IOException\n {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int nextInt() throws IOException {return Integer.parseInt(next());}",
"nextInt",
"{return Integer.parseInt(next());}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() throws IOException {return Long.parseLong(next());}",
"nextLong",
"{return Long.parseLong(next());}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public String nextLine() throws IOException {return br.readLine();}",
"nextLine",
"{return br.readLine();}",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public double nextDouble() throws IOException\n {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if(x.charAt(0) == '-')\n {\n neg = true;\n start++;\n }\n for(int i = start; i < x.length(); i++)\n if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg?-1:1);\n }",
"nextDouble",
"{\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if(x.charAt(0) == '-')\n {\n neg = true;\n start++;\n }\n for(int i = start; i < x.length(); i++)\n if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg?-1:1);\n }",
"String x = next();",
"x",
"next()",
"next",
"StringBuilder sb = new StringBuilder(\"0\");",
"sb",
"new StringBuilder(\"0\")",
"double res = 0",
"res",
"0",
"f = 1;",
"f",
"1",
"boolean dec = false",
"dec",
"false",
"neg = false;",
"neg",
"false",
"int start = 0;",
"start",
"0",
"if(x.charAt(0) == '-')\n {\n neg = true;\n start++;\n }",
"x.charAt(0) == '-'",
"x.charAt(0)",
"x.charAt",
"x",
"0",
"'-'",
"{\n neg = true;\n start++;\n }",
"neg = true",
"neg",
"true",
"start++",
"start",
"for(int i = start; i < x.length(); i++)\n if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }",
"int i = start;",
"int i = start;",
"i",
"start",
"i < x.length()",
"i",
"x.length()",
"x.length",
"x",
"i++",
"i++",
"i",
"if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }",
"if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }",
"x.charAt(i) == '.'",
"x.charAt(i)",
"x.charAt",
"x",
"i",
"'.'",
"{\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }",
"res = Long.parseLong(sb.toString())",
"res",
"Long.parseLong(sb.toString())",
"Long.parseLong",
"Long",
"sb.toString()",
"sb.toString",
"sb",
"sb = new StringBuilder(\"0\")",
"sb",
"new StringBuilder(\"0\")",
"dec = true",
"dec",
"true",
"{\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }",
"sb.append(x.charAt(i))",
"sb.append",
"sb",
"x.charAt(i)",
"x.charAt",
"x",
"i",
"if(dec)\n f *= 10;",
"dec",
"f *= 10",
"f",
"10",
"res += Long.parseLong(sb.toString()) / f",
"res",
"Long.parseLong(sb.toString()) / f",
"Long.parseLong(sb.toString())",
"Long.parseLong",
"Long",
"sb.toString()",
"sb.toString",
"sb",
"f",
"return res * (neg?-1:1);",
"res * (neg?-1:1)",
"res",
"(neg?-1:1)",
"neg",
"-1",
"1",
"1",
"public boolean ready() throws IOException {return br.ready();}",
"ready",
"{return br.ready();}",
"return br.ready();",
"br.ready()",
"br.ready",
"br",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner s = new Scanner(System.in);\n String word = s.nextLine();\n int a =0;\n a=Integer.parseInt(word.charAt(word.length()-1)+\"\");\n if(a==2||a==4||a==5||a==7||a==9) System.out.println(\"hon\");\n else if(a==0||a==1||a==6||a==8) System.out.println(\"pon\");\n else System.out.println(\"bon\");\n\n\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner s = new Scanner(System.in);\n String word = s.nextLine();\n int a =0;\n a=Integer.parseInt(word.charAt(word.length()-1)+\"\");\n if(a==2||a==4||a==5||a==7||a==9) System.out.println(\"hon\");\n else if(a==0||a==1||a==6||a==8) System.out.println(\"pon\");\n else System.out.println(\"bon\");\n\n\n }\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.*;
public class Main {
public static void main(String[] args) throws IOException {
Scanner s = new Scanner(System.in);
String word = s.nextLine();
int a =0;
a=Integer.parseInt(word.charAt(word.length()-1)+"");
if(a==2||a==4||a==5||a==7||a==9) System.out.println("hon");
else if(a==0||a==1||a==6||a==8) System.out.println("pon");
else System.out.println("bon");
}
}
class Scanner
{
StringTokenizer st;
BufferedReader br;
public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}
public String next() throws IOException
{
while (st == null || !st.hasMoreTokens())
st = new StringTokenizer(br.readLine());
return st.nextToken();
}
public int nextInt() throws IOException {return Integer.parseInt(next());}
public long nextLong() throws IOException {return Long.parseLong(next());}
public String nextLine() throws IOException {return br.readLine();}
public double nextDouble() throws IOException
{
String x = next();
StringBuilder sb = new StringBuilder("0");
double res = 0, f = 1;
boolean dec = false, neg = false;
int start = 0;
if(x.charAt(0) == '-')
{
neg = true;
start++;
}
for(int i = start; i < x.length(); i++)
if(x.charAt(i) == '.')
{
res = Long.parseLong(sb.toString());
sb = new StringBuilder("0");
dec = true;
}
else
{
sb.append(x.charAt(i));
if(dec)
f *= 10;
}
res += Long.parseLong(sb.toString()) / f;
return res * (neg?-1:1);
}
public boolean ready() throws IOException {return br.ready();}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
18,
13,
2,
4,
18,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
4,
13,
4,
18,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
4,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
4,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
4,
13,
17,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
4,
18,
13,
17,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
432,
8
],
[
432,
9
],
[
9,
10
],
[
432,
11
],
[
11,
12
],
[
432,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
24,
28
],
[
432,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
31,
38
],
[
38,
39
],
[
38,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
41,
46
],
[
46,
47
],
[
31,
48
],
[
48,
49
],
[
49,
50
],
[
29,
51
],
[
51,
52
],
[
432,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
56,
66
],
[
66,
67
],
[
67,
68
],
[
56,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
70,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
70,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
89,
91
],
[
70,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
53,
97
],
[
97,
98
],
[
432,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
109,
111
],
[
102,
112
],
[
112,
113
],
[
113,
114
],
[
102,
115
],
[
116,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
119,
123
],
[
123,
124
],
[
123,
125
],
[
116,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
128,
130
],
[
116,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
135,
136
],
[
135,
137
],
[
116,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
138,
142
],
[
99,
143
],
[
143,
144
],
[
432,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
145,
149
],
[
149,
150
],
[
145,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
151,
157
],
[
157,
158
],
[
145,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
159,
165
],
[
165,
166
],
[
145,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
171,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
170,
179
],
[
179,
180
],
[
179,
181
],
[
169,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
145,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
188,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
193,
198
],
[
198,
199
],
[
198,
200
],
[
193,
201
],
[
201,
202
],
[
202,
203
],
[
193,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
205,
209
],
[
209,
210
],
[
188,
211
],
[
211,
212
],
[
186,
213
],
[
213,
214
],
[
145,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
218,
219
],
[
218,
220
],
[
217,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
222,
227
],
[
227,
228
],
[
227,
229
],
[
222,
230
],
[
230,
231
],
[
231,
232
],
[
222,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
234,
238
],
[
238,
239
],
[
217,
240
],
[
240,
241
],
[
215,
242
],
[
242,
243
],
[
145,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
246,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
251,
256
],
[
256,
257
],
[
256,
258
],
[
251,
259
],
[
259,
260
],
[
260,
261
],
[
251,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
263,
267
],
[
267,
268
],
[
246,
269
],
[
269,
270
],
[
269,
271
],
[
246,
272
],
[
272,
273
],
[
273,
274
],
[
272,
275
],
[
246,
276
],
[
276,
277
],
[
244,
278
],
[
278,
279
],
[
145,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
282,
287
],
[
287,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
287,
292
],
[
292,
293
],
[
292,
294
],
[
287,
295
],
[
295,
296
],
[
296,
297
],
[
287,
298
],
[
298,
299
],
[
299,
300
],
[
300,
301
],
[
300,
302
],
[
299,
303
],
[
303,
304
],
[
282,
305
],
[
305,
306
],
[
305,
307
],
[
282,
308
],
[
308,
309
],
[
309,
310
],
[
308,
311
],
[
282,
312
],
[
312,
313
],
[
280,
314
],
[
314,
315
],
[
145,
316
],
[
316,
317
],
[
316,
318
],
[
318,
319
],
[
319,
320
],
[
319,
321
],
[
318,
323
],
[
323,
324
],
[
324,
325
],
[
325,
326
],
[
325,
327
],
[
323,
328
],
[
328,
329
],
[
328,
330
],
[
323,
331
],
[
331,
332
],
[
332,
333
],
[
323,
334
],
[
334,
335
],
[
335,
336
],
[
336,
337
],
[
336,
338
],
[
335,
339
],
[
339,
340
],
[
318,
341
],
[
341,
342
],
[
316,
343
],
[
343,
344
],
[
145,
345
],
[
345,
346
],
[
345,
347
],
[
347,
348
],
[
348,
349
],
[
348,
350
],
[
347,
352
],
[
352,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
352,
357
],
[
357,
358
],
[
357,
359
],
[
352,
360
],
[
360,
361
],
[
361,
362
],
[
352,
363
],
[
363,
364
],
[
364,
365
],
[
365,
366
],
[
365,
367
],
[
364,
368
],
[
368,
369
],
[
347,
370
],
[
370,
371
],
[
345,
372
],
[
372,
373
],
[
145,
374
],
[
374,
375
],
[
374,
376
],
[
376,
377
],
[
377,
378
],
[
378,
379
],
[
379,
380
],
[
145,
381
],
[
381,
382
],
[
381,
383
],
[
383,
384
],
[
384,
385
],
[
385,
386
],
[
386,
387
],
[
385,
388
],
[
388,
389
],
[
145,
390
],
[
390,
391
],
[
390,
392
],
[
392,
393
],
[
393,
394
],
[
394,
395
],
[
395,
396
],
[
394,
397
],
[
397,
398
],
[
145,
399
],
[
399,
400
],
[
399,
401
],
[
401,
402
],
[
402,
403
],
[
403,
404
],
[
404,
405
],
[
405,
406
],
[
403,
407
],
[
145,
408
],
[
408,
409
],
[
408,
410
],
[
410,
411
],
[
411,
412
],
[
412,
413
],
[
413,
414
],
[
412,
415
],
[
415,
416
],
[
145,
417
],
[
417,
418
],
[
417,
419
],
[
419,
420
],
[
420,
421
],
[
421,
422
],
[
422,
423
],
[
145,
424
],
[
424,
425
],
[
424,
426
],
[
426,
427
],
[
427,
428
],
[
428,
429
],
[
427,
430
],
[
0,
431
],
[
431,
432
],
[
431,
433
]
] |
[
"import java.io.*;\nimport java.util.*;\n\n\npublic class Main{\n\tstatic void main() throws Exception{\n\t\tString[]ans=new String[] {\"pon\",\"pon\",\"hon\",\"bon\",\"hon\",\"hon\",\"pon\",\"hon\",\"pon\",\"hon\"};\n\t\tpw.println(ans[sc.nextInt()%10]);\n\t}\n\tpublic static void main(String[] args) throws Exception{\n\t\tpw=new PrintWriter(System.out);\n\t\tsc = new MScanner(System.in);\n\t\tint tc=1;\n\t\twhile(tc-->0)main();\n\t\tpw.flush();\n\t}\n\tstatic PrintWriter pw;\n\tstatic MScanner sc;\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tstatic void main() throws Exception{\n\t\tString[]ans=new String[] {\"pon\",\"pon\",\"hon\",\"bon\",\"hon\",\"hon\",\"pon\",\"hon\",\"pon\",\"hon\"};\n\t\tpw.println(ans[sc.nextInt()%10]);\n\t}\n\tpublic static void main(String[] args) throws Exception{\n\t\tpw=new PrintWriter(System.out);\n\t\tsc = new MScanner(System.in);\n\t\tint tc=1;\n\t\twhile(tc-->0)main();\n\t\tpw.flush();\n\t}\n\tstatic PrintWriter pw;\n\tstatic MScanner sc;\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n}",
"Main",
"static PrintWriter pw;",
"pw",
"static MScanner sc;",
"sc",
"static void main() throws Exception{\n\t\tString[]ans=new String[] {\"pon\",\"pon\",\"hon\",\"bon\",\"hon\",\"hon\",\"pon\",\"hon\",\"pon\",\"hon\"};\n\t\tpw.println(ans[sc.nextInt()%10]);\n\t}",
"main",
"{\n\t\tString[]ans=new String[] {\"pon\",\"pon\",\"hon\",\"bon\",\"hon\",\"hon\",\"pon\",\"hon\",\"pon\",\"hon\"};\n\t\tpw.println(ans[sc.nextInt()%10]);\n\t}",
"String[]ans=new String[] {\"pon\",\"pon\",\"hon\",\"bon\",\"hon\",\"hon\",\"pon\",\"hon\",\"pon\",\"hon\"};",
"ans",
"new String[] {\"pon\",\"pon\",\"hon\",\"bon\",\"hon\",\"hon\",\"pon\",\"hon\",\"pon\",\"hon\"}",
"pw.println(ans[sc.nextInt()%10])",
"pw.println",
"pw",
"ans[sc.nextInt()%10]",
"ans",
"sc.nextInt()%10",
"sc.nextInt()",
"sc.nextInt",
"sc",
"10",
"public static void main(String[] args) throws Exception{\n\t\tpw=new PrintWriter(System.out);\n\t\tsc = new MScanner(System.in);\n\t\tint tc=1;\n\t\twhile(tc-->0)main();\n\t\tpw.flush();\n\t}",
"main",
"{\n\t\tpw=new PrintWriter(System.out);\n\t\tsc = new MScanner(System.in);\n\t\tint tc=1;\n\t\twhile(tc-->0)main();\n\t\tpw.flush();\n\t}",
"pw=new PrintWriter(System.out)",
"pw",
"new PrintWriter(System.out)",
"sc = new MScanner(System.in)",
"sc",
"new MScanner(System.in)",
"int tc=1;",
"tc",
"1",
"while(tc-->0)main();",
"tc-->0",
"tc--",
"tc",
"0",
"main()",
"main",
"pw.flush()",
"pw.flush",
"pw",
"String[] args",
"args",
"static void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}",
"shuffle",
"{\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}",
"for(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<in.length",
"i",
"in.length",
"in",
"in.length",
"i++",
"i++",
"i",
"{\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"{\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"int idx=(int)(Math.random()*in.length);",
"idx",
"(int)(Math.random()*in.length)",
"Math.random()",
"Math.random",
"Math",
"in.length",
"in",
"in.length",
"int tmp=in[i];",
"tmp",
"in[i]",
"in",
"i",
"in[i]=in[idx]",
"in[i]",
"in",
"i",
"in[idx]",
"in",
"idx",
"in[idx]=tmp",
"in[idx]",
"in",
"idx",
"tmp",
"int[]in",
"in",
"static void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}",
"shuffle",
"{\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}",
"for(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<in.length",
"i",
"in.length",
"in",
"in.length",
"i++",
"i++",
"i",
"{\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"{\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"int idx=(int)(Math.random()*in.length);",
"idx",
"(int)(Math.random()*in.length)",
"Math.random()",
"Math.random",
"Math",
"in.length",
"in",
"in.length",
"long tmp=in[i];",
"tmp",
"in[i]",
"in",
"i",
"in[i]=in[idx]",
"in[i]",
"in",
"i",
"in[idx]",
"in",
"idx",
"in[idx]=tmp",
"in[idx]",
"in",
"idx",
"tmp",
"long[]in",
"in",
"static class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}",
"MScanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}",
"MScanner",
"{\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}",
"br = new BufferedReader(new InputStreamReader(system))",
"br",
"new BufferedReader(new InputStreamReader(system))",
"InputStream system",
"system",
"public MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}",
"MScanner",
"{\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}",
"br = new BufferedReader(new FileReader(file))",
"br",
"new BufferedReader(new FileReader(file))",
"String file",
"file",
"public String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}",
"while (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}",
"intArr",
"{\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}",
"int[]in=new int[n];",
"in",
"new int[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextInt();",
"in[i]=nextInt()",
"in[i]",
"in",
"i",
"nextInt()",
"nextInt",
"return in;",
"in",
"int n",
"n",
"public long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}",
"longArr",
"{\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}",
"long[]in=new long[n];",
"in",
"new long[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextLong();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextLong();",
"in[i]=nextLong()",
"in[i]",
"in",
"i",
"nextLong()",
"nextLong",
"return in;",
"in",
"int n",
"n",
"public int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}",
"intSortedArr",
"{\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}",
"int[]in=new int[n];",
"in",
"new int[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextInt();",
"in[i]=nextInt()",
"in[i]",
"in",
"i",
"nextInt()",
"nextInt",
"shuffle(in)",
"shuffle",
"in",
"Arrays.sort(in)",
"Arrays.sort",
"Arrays",
"in",
"return in;",
"in",
"int n",
"n",
"public long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}",
"longSortedArr",
"{\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}",
"long[]in=new long[n];",
"in",
"new long[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextLong();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextLong();",
"in[i]=nextLong()",
"in[i]",
"in",
"i",
"nextLong()",
"nextLong",
"shuffle(in)",
"shuffle",
"in",
"Arrays.sort(in)",
"Arrays.sort",
"Arrays",
"in",
"return in;",
"in",
"int n",
"n",
"public Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}",
"IntegerArr",
"{\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}",
"Integer[]in=new Integer[n];",
"in",
"new Integer[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextInt();",
"in[i]=nextInt()",
"in[i]",
"in",
"i",
"nextInt()",
"nextInt",
"return in;",
"in",
"int n",
"n",
"public Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}",
"LongArr",
"{\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}",
"Long[]in=new Long[n];",
"in",
"new Long[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextLong();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextLong();",
"in[i]=nextLong()",
"in[i]",
"in",
"i",
"nextLong()",
"nextLong",
"return in;",
"in",
"int n",
"n",
"public String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}",
"nextLine",
"{\n\t\t\treturn br.readLine();\n\t\t}",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"nextDouble",
"{\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}",
"nextChar",
"{\n\t\t\treturn next().charAt(0);\n\t\t}",
"return next().charAt(0);",
"next().charAt(0)",
"next().charAt",
"next()",
"next",
"0",
"public long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}",
"ready",
"{\n\t\t\treturn br.ready();\n\t\t}",
"return br.ready();",
"br.ready()",
"br.ready",
"br",
"public void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}",
"waitForInput",
"{\n\t\t\tThread.sleep(3000);\n\t\t}",
"Thread.sleep(3000)",
"Thread.sleep",
"Thread",
"3000",
"public class Main{\n\tstatic void main() throws Exception{\n\t\tString[]ans=new String[] {\"pon\",\"pon\",\"hon\",\"bon\",\"hon\",\"hon\",\"pon\",\"hon\",\"pon\",\"hon\"};\n\t\tpw.println(ans[sc.nextInt()%10]);\n\t}\n\tpublic static void main(String[] args) throws Exception{\n\t\tpw=new PrintWriter(System.out);\n\t\tsc = new MScanner(System.in);\n\t\tint tc=1;\n\t\twhile(tc-->0)main();\n\t\tpw.flush();\n\t}\n\tstatic PrintWriter pw;\n\tstatic MScanner sc;\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n}",
"public class Main{\n\tstatic void main() throws Exception{\n\t\tString[]ans=new String[] {\"pon\",\"pon\",\"hon\",\"bon\",\"hon\",\"hon\",\"pon\",\"hon\",\"pon\",\"hon\"};\n\t\tpw.println(ans[sc.nextInt()%10]);\n\t}\n\tpublic static void main(String[] args) throws Exception{\n\t\tpw=new PrintWriter(System.out);\n\t\tsc = new MScanner(System.in);\n\t\tint tc=1;\n\t\twhile(tc-->0)main();\n\t\tpw.flush();\n\t}\n\tstatic PrintWriter pw;\n\tstatic MScanner sc;\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main{
static void main() throws Exception{
String[]ans=new String[] {"pon","pon","hon","bon","hon","hon","pon","hon","pon","hon"};
pw.println(ans[sc.nextInt()%10]);
}
public static void main(String[] args) throws Exception{
pw=new PrintWriter(System.out);
sc = new MScanner(System.in);
int tc=1;
while(tc-->0)main();
pw.flush();
}
static PrintWriter pw;
static MScanner sc;
static class MScanner {
StringTokenizer st;
BufferedReader br;
public MScanner(InputStream system) {
br = new BufferedReader(new InputStreamReader(system));
}
public MScanner(String file) throws Exception {
br = new BufferedReader(new FileReader(file));
}
public String next() throws IOException {
while (st == null || !st.hasMoreTokens())
st = new StringTokenizer(br.readLine());
return st.nextToken();
}
public int[] intArr(int n) throws IOException {
int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();
return in;
}
public long[] longArr(int n) throws IOException {
long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();
return in;
}
public int[] intSortedArr(int n) throws IOException {
int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();
shuffle(in);
Arrays.sort(in);
return in;
}
public long[] longSortedArr(int n) throws IOException {
long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();
shuffle(in);
Arrays.sort(in);
return in;
}
public Integer[] IntegerArr(int n) throws IOException {
Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();
return in;
}
public Long[] LongArr(int n) throws IOException {
Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();
return in;
}
public String nextLine() throws IOException {
return br.readLine();
}
public int nextInt() throws IOException {
return Integer.parseInt(next());
}
public double nextDouble() throws IOException {
return Double.parseDouble(next());
}
public char nextChar() throws IOException {
return next().charAt(0);
}
public long nextLong() throws IOException {
return Long.parseLong(next());
}
public boolean ready() throws IOException {
return br.ready();
}
public void waitForInput() throws InterruptedException {
Thread.sleep(3000);
}
}
static void shuffle(int[]in) {
for(int i=0;i<in.length;i++) {
int idx=(int)(Math.random()*in.length);
int tmp=in[i];
in[i]=in[idx];
in[idx]=tmp;
}
}
static void shuffle(long[]in) {
for(int i=0;i<in.length;i++) {
int idx=(int)(Math.random()*in.length);
long tmp=in[i];
in[i]=in[idx];
in[idx]=tmp;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
0,
13,
2,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
30,
28
],
[
40,
29
],
[
37,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
37,
37
],
[
37,
38
],
[
37,
39
],
[
40,
40
],
[
40,
41
],
[
40,
42
],
[
30,
43
],
[
43,
44
],
[
43,
45
],
[
26,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
8,
53
],
[
53,
54
],
[
56,
55
],
[
63,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
63,
63
],
[
63,
64
],
[
63,
65
],
[
56,
66
],
[
66,
67
],
[
66,
68
],
[
53,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
8,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
6,
87
],
[
87,
88
]
] |
[
"import java.util.Scanner;\n \nclass Main\n{\n public static void main(String[] args)\n {\n int n,u;\n\t\t Scanner sc = new Scanner(System.in);\n\t\t n = sc.nextInt();\n\t\t u = n%10;\n\t\t if(u == 2 ||u == 4 ||u == 5 ||u == 7 ||u == 9 )\n\t\t {\n\t\t System.out.println(\"hon\");\n\t\t }\n\t\t if(u == 0 ||u == 1 ||u == 6 ||u == 8 )\n\t\t {\n\t\t System.out.println(\"pon\");\n\t\t }\n\t\t if(u == 3)\n\t\t {\n\t\t System.out.println(\"bon\");\n\t\t }\n\t\t \n \n }\n}\n ",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main\n{\n public static void main(String[] args)\n {\n int n,u;\n\t\t Scanner sc = new Scanner(System.in);\n\t\t n = sc.nextInt();\n\t\t u = n%10;\n\t\t if(u == 2 ||u == 4 ||u == 5 ||u == 7 ||u == 9 )\n\t\t {\n\t\t System.out.println(\"hon\");\n\t\t }\n\t\t if(u == 0 ||u == 1 ||u == 6 ||u == 8 )\n\t\t {\n\t\t System.out.println(\"pon\");\n\t\t }\n\t\t if(u == 3)\n\t\t {\n\t\t System.out.println(\"bon\");\n\t\t }\n\t\t \n \n }\n}",
"Main",
"public static void main(String[] args)\n {\n int n,u;\n\t\t Scanner sc = new Scanner(System.in);\n\t\t n = sc.nextInt();\n\t\t u = n%10;\n\t\t if(u == 2 ||u == 4 ||u == 5 ||u == 7 ||u == 9 )\n\t\t {\n\t\t System.out.println(\"hon\");\n\t\t }\n\t\t if(u == 0 ||u == 1 ||u == 6 ||u == 8 )\n\t\t {\n\t\t System.out.println(\"pon\");\n\t\t }\n\t\t if(u == 3)\n\t\t {\n\t\t System.out.println(\"bon\");\n\t\t }\n\t\t \n \n }",
"main",
"{\n int n,u;\n\t\t Scanner sc = new Scanner(System.in);\n\t\t n = sc.nextInt();\n\t\t u = n%10;\n\t\t if(u == 2 ||u == 4 ||u == 5 ||u == 7 ||u == 9 )\n\t\t {\n\t\t System.out.println(\"hon\");\n\t\t }\n\t\t if(u == 0 ||u == 1 ||u == 6 ||u == 8 )\n\t\t {\n\t\t System.out.println(\"pon\");\n\t\t }\n\t\t if(u == 3)\n\t\t {\n\t\t System.out.println(\"bon\");\n\t\t }\n\t\t \n \n }",
"int n",
"n",
"u;",
"u",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"n = sc.nextInt()",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"u = n%10",
"u",
"n%10",
"n",
"10",
"if(u == 2 ||u == 4 ||u == 5 ||u == 7 ||u == 9 )\n\t\t {\n\t\t System.out.println(\"hon\");\n\t\t }",
"u == 2 ||u == 4 ||u == 5 ||u == 7 ||u == 9",
"u == 7",
"u == 5",
"u == 2 ||u == 4 ||u == 5 ||u == 7 ||u == 9",
"u == 2",
"u",
"2",
"u == 4",
"u",
"4",
"u == 5",
"u",
"5",
"u == 7",
"u",
"7",
"u == 9",
"u",
"9",
"{\n\t\t System.out.println(\"hon\");\n\t\t }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(u == 0 ||u == 1 ||u == 6 ||u == 8 )\n\t\t {\n\t\t System.out.println(\"pon\");\n\t\t }",
"u == 0 ||u == 1 ||u == 6 ||u == 8",
"u == 6",
"u == 0 ||u == 1 ||u == 6 ||u == 8",
"u == 0",
"u",
"0",
"u == 1",
"u",
"1",
"u == 6",
"u",
"6",
"u == 8",
"u",
"8",
"{\n\t\t System.out.println(\"pon\");\n\t\t }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if(u == 3)\n\t\t {\n\t\t System.out.println(\"bon\");\n\t\t }",
"u == 3",
"u",
"3",
"{\n\t\t System.out.println(\"bon\");\n\t\t }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args"
] |
import java.util.Scanner;
class Main
{
public static void main(String[] args)
{
int n,u;
Scanner sc = new Scanner(System.in);
n = sc.nextInt();
u = n%10;
if(u == 2 ||u == 4 ||u == 5 ||u == 7 ||u == 9 )
{
System.out.println("hon");
}
if(u == 0 ||u == 1 ||u == 6 ||u == 8 )
{
System.out.println("pon");
}
if(u == 3)
{
System.out.println("bon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
85,
5
],
[
85,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
28,
27
],
[
35,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
35,
35
],
[
35,
36
],
[
35,
37
],
[
28,
38
],
[
38,
39
],
[
38,
40
],
[
25,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
25,
48
],
[
48,
49
],
[
52,
50
],
[
62,
51
],
[
59,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
59,
59
],
[
59,
60
],
[
59,
61
],
[
62,
62
],
[
62,
63
],
[
62,
64
],
[
52,
65
],
[
65,
66
],
[
65,
67
],
[
48,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
48,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
6,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] |
[
"import java.util.Scanner;\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner scn = new Scanner(System.in);\n \tint N = scn.nextInt();\n \tint ans = 0;\n \tans = N % 10;\n \tif(ans == 0 || ans == 1 || ans == 6 || ans == 8){\n \tSystem.out.println(\"pon\");\n }else if(ans == 2 || ans == 4 || ans == 5 || ans == 7 || ans == 9){\n \tSystem.out.println(\"hon\");\n }else{\n \tSystem.out.println(\"bon\");\n }\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner scn = new Scanner(System.in);\n \tint N = scn.nextInt();\n \tint ans = 0;\n \tans = N % 10;\n \tif(ans == 0 || ans == 1 || ans == 6 || ans == 8){\n \tSystem.out.println(\"pon\");\n }else if(ans == 2 || ans == 4 || ans == 5 || ans == 7 || ans == 9){\n \tSystem.out.println(\"hon\");\n }else{\n \tSystem.out.println(\"bon\");\n }\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scn = new Scanner(System.in);\n \tint N = scn.nextInt();\n \tint ans = 0;\n \tans = N % 10;\n \tif(ans == 0 || ans == 1 || ans == 6 || ans == 8){\n \tSystem.out.println(\"pon\");\n }else if(ans == 2 || ans == 4 || ans == 5 || ans == 7 || ans == 9){\n \tSystem.out.println(\"hon\");\n }else{\n \tSystem.out.println(\"bon\");\n }\n\t}",
"main",
"{\n\t\tScanner scn = new Scanner(System.in);\n \tint N = scn.nextInt();\n \tint ans = 0;\n \tans = N % 10;\n \tif(ans == 0 || ans == 1 || ans == 6 || ans == 8){\n \tSystem.out.println(\"pon\");\n }else if(ans == 2 || ans == 4 || ans == 5 || ans == 7 || ans == 9){\n \tSystem.out.println(\"hon\");\n }else{\n \tSystem.out.println(\"bon\");\n }\n\t}",
"Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"int N = scn.nextInt();",
"N",
"scn.nextInt()",
"scn.nextInt",
"scn",
"int ans = 0;",
"ans",
"0",
"ans = N % 10",
"ans",
"N % 10",
"N",
"10",
"if(ans == 0 || ans == 1 || ans == 6 || ans == 8){\n \tSystem.out.println(\"pon\");\n }else if(ans == 2 || ans == 4 || ans == 5 || ans == 7 || ans == 9){\n \tSystem.out.println(\"hon\");\n }else{\n \tSystem.out.println(\"bon\");\n }",
"ans == 0 || ans == 1 || ans == 6 || ans == 8",
"ans == 6",
"ans == 0 || ans == 1 || ans == 6 || ans == 8",
"ans == 0",
"ans",
"0",
"ans == 1",
"ans",
"1",
"ans == 6",
"ans",
"6",
"ans == 8",
"ans",
"8",
"{\n \tSystem.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if(ans == 2 || ans == 4 || ans == 5 || ans == 7 || ans == 9){\n \tSystem.out.println(\"hon\");\n }else{\n \tSystem.out.println(\"bon\");\n }",
"ans == 2 || ans == 4 || ans == 5 || ans == 7 || ans == 9",
"ans == 7",
"ans == 5",
"ans == 2 || ans == 4 || ans == 5 || ans == 7 || ans == 9",
"ans == 2",
"ans",
"2",
"ans == 4",
"ans",
"4",
"ans == 5",
"ans",
"5",
"ans == 7",
"ans",
"7",
"ans == 9",
"ans",
"9",
"{\n \tSystem.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"{\n \tSystem.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner scn = new Scanner(System.in);\n \tint N = scn.nextInt();\n \tint ans = 0;\n \tans = N % 10;\n \tif(ans == 0 || ans == 1 || ans == 6 || ans == 8){\n \tSystem.out.println(\"pon\");\n }else if(ans == 2 || ans == 4 || ans == 5 || ans == 7 || ans == 9){\n \tSystem.out.println(\"hon\");\n }else{\n \tSystem.out.println(\"bon\");\n }\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner scn = new Scanner(System.in);\n \tint N = scn.nextInt();\n \tint ans = 0;\n \tans = N % 10;\n \tif(ans == 0 || ans == 1 || ans == 6 || ans == 8){\n \tSystem.out.println(\"pon\");\n }else if(ans == 2 || ans == 4 || ans == 5 || ans == 7 || ans == 9){\n \tSystem.out.println(\"hon\");\n }else{\n \tSystem.out.println(\"bon\");\n }\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner scn = new Scanner(System.in);
int N = scn.nextInt();
int ans = 0;
ans = N % 10;
if(ans == 0 || ans == 1 || ans == 6 || ans == 8){
System.out.println("pon");
}else if(ans == 2 || ans == 4 || ans == 5 || ans == 7 || ans == 9){
System.out.println("hon");
}else{
System.out.println("bon");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
4,
18,
13,
17,
35,
13,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
1,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
30,
12,
13,
30,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
98,
11
],
[
98,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
25,
26
],
[
14,
27
],
[
27,
28
],
[
28,
29
],
[
12,
30
],
[
30,
31
],
[
98,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
45,
49
],
[
34,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
54,
61
],
[
50,
62
],
[
62,
63
],
[
62,
64
],
[
50,
65
],
[
65,
66
],
[
65,
67
],
[
50,
68
],
[
68,
69
],
[
68,
70
],
[
50,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
73,
80
],
[
50,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
32,
89
],
[
89,
90
],
[
98,
91
],
[
91,
92
],
[
91,
93
],
[
98,
94
],
[
94,
95
],
[
94,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
]
] |
[
"import java.util.*;\nimport java.io.*;\nimport java.nio.charset.StandardCharsets;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t\tBufferedReader in = new BufferedReader(reader);\n\t\tMain ins = new Main(in);\n\t\tins.calc();\n\t\tins.showResult();\n\t}\n\n\tMain(BufferedReader in) throws IOException {\n\t\tString S = in.readLine();\n\t\tchar c = S.charAt(S.length() - 1);\n\t\tswitch (c) {\n\t\tcase '3':\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\t\tcase '0':\n\t\tcase '1':\n\t\tcase '6':\n\t\tcase '8':\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"hon\");\n\n\t\t}\n\n\t}\n\n\tvoid calc() {\n\t}\n\n\tvoid showResult() {\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.nio.charset.StandardCharsets;",
"StandardCharsets",
"java.nio.charset",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t\tBufferedReader in = new BufferedReader(reader);\n\t\tMain ins = new Main(in);\n\t\tins.calc();\n\t\tins.showResult();\n\t}\n\n\tMain(BufferedReader in) throws IOException {\n\t\tString S = in.readLine();\n\t\tchar c = S.charAt(S.length() - 1);\n\t\tswitch (c) {\n\t\tcase '3':\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\t\tcase '0':\n\t\tcase '1':\n\t\tcase '6':\n\t\tcase '8':\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"hon\");\n\n\t\t}\n\n\t}\n\n\tvoid calc() {\n\t}\n\n\tvoid showResult() {\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tInputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t\tBufferedReader in = new BufferedReader(reader);\n\t\tMain ins = new Main(in);\n\t\tins.calc();\n\t\tins.showResult();\n\t}",
"main",
"{\n\t\tInputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t\tBufferedReader in = new BufferedReader(reader);\n\t\tMain ins = new Main(in);\n\t\tins.calc();\n\t\tins.showResult();\n\t}",
"InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);",
"reader",
"new InputStreamReader(System.in, StandardCharsets.UTF_8)",
"BufferedReader in = new BufferedReader(reader);",
"in",
"new BufferedReader(reader)",
"Main ins = new Main(in);",
"ins",
"new Main(in)",
"ins.calc()",
"ins.calc",
"ins",
"ins.showResult()",
"ins.showResult",
"ins",
"String[] args",
"args",
"Main(BufferedReader in) throws IOException {\n\t\tString S = in.readLine();\n\t\tchar c = S.charAt(S.length() - 1);\n\t\tswitch (c) {\n\t\tcase '3':\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\t\tcase '0':\n\t\tcase '1':\n\t\tcase '6':\n\t\tcase '8':\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"hon\");\n\n\t\t}\n\n\t}",
"Main",
"{\n\t\tString S = in.readLine();\n\t\tchar c = S.charAt(S.length() - 1);\n\t\tswitch (c) {\n\t\tcase '3':\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\t\tcase '0':\n\t\tcase '1':\n\t\tcase '6':\n\t\tcase '8':\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"hon\");\n\n\t\t}\n\n\t}",
"String S = in.readLine();",
"S",
"in.readLine()",
"in.readLine",
"in",
"char c = S.charAt(S.length() - 1);",
"c",
"S.charAt(S.length() - 1)",
"S.charAt",
"S",
"S.length() - 1",
"S.length()",
"S.length",
"S",
"1",
"switch (c) {\n\t\tcase '3':\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\t\tcase '0':\n\t\tcase '1':\n\t\tcase '6':\n\t\tcase '8':\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"hon\");\n\n\t\t}",
"c",
"case '3':",
"'3'",
"case '3':",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"break;",
"case '0':",
"'0'",
"case '0':",
"case '1':",
"'1'",
"case '1':",
"case '6':",
"'6'",
"case '6':",
"case '8':",
"'8'",
"case '8':",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"default:",
"default:",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"BufferedReader in",
"in",
"void calc() {\n\t}",
"calc",
"{\n\t}",
"void showResult() {\n\t}",
"showResult",
"{\n\t}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t\tBufferedReader in = new BufferedReader(reader);\n\t\tMain ins = new Main(in);\n\t\tins.calc();\n\t\tins.showResult();\n\t}\n\n\tMain(BufferedReader in) throws IOException {\n\t\tString S = in.readLine();\n\t\tchar c = S.charAt(S.length() - 1);\n\t\tswitch (c) {\n\t\tcase '3':\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\t\tcase '0':\n\t\tcase '1':\n\t\tcase '6':\n\t\tcase '8':\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"hon\");\n\n\t\t}\n\n\t}\n\n\tvoid calc() {\n\t}\n\n\tvoid showResult() {\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t\tBufferedReader in = new BufferedReader(reader);\n\t\tMain ins = new Main(in);\n\t\tins.calc();\n\t\tins.showResult();\n\t}\n\n\tMain(BufferedReader in) throws IOException {\n\t\tString S = in.readLine();\n\t\tchar c = S.charAt(S.length() - 1);\n\t\tswitch (c) {\n\t\tcase '3':\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\t\tcase '0':\n\t\tcase '1':\n\t\tcase '6':\n\t\tcase '8':\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"hon\");\n\n\t\t}\n\n\t}\n\n\tvoid calc() {\n\t}\n\n\tvoid showResult() {\n\t}\n\n}",
"Main"
] |
import java.util.*;
import java.io.*;
import java.nio.charset.StandardCharsets;
public class Main {
public static void main(String[] args) throws IOException {
InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);
BufferedReader in = new BufferedReader(reader);
Main ins = new Main(in);
ins.calc();
ins.showResult();
}
Main(BufferedReader in) throws IOException {
String S = in.readLine();
char c = S.charAt(S.length() - 1);
switch (c) {
case '3':
System.out.println("bon");
break;
case '0':
case '1':
case '6':
case '8':
System.out.println("pon");
break;
default:
System.out.println("hon");
}
}
void calc() {
}
void showResult() {
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
35,
18,
13,
2,
18,
13,
13,
17,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
1,
4,
18,
18,
13,
13,
17,
3,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
82,
5
],
[
82,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
10,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
21,
29
],
[
29,
30
],
[
29,
31
],
[
21,
32
],
[
32,
33
],
[
32,
34
],
[
21,
35
],
[
35,
36
],
[
35,
37
],
[
21,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
40,
47
],
[
21,
48
],
[
48,
49
],
[
48,
50
],
[
21,
51
],
[
51,
52
],
[
51,
53
],
[
21,
54
],
[
54,
55
],
[
54,
56
],
[
21,
57
],
[
57,
58
],
[
57,
59
],
[
21,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
62,
69
],
[
21,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
71,
78
],
[
6,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tchar[] s = scanner.next().toCharArray();\n\t\t\tswitch (s[s.length - 1]) {\n\t\t\tcase '0':\n\t\t\tcase '1':\n\t\t\tcase '6':\n\t\t\tcase '8':\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\tcase '2':\n\t\t\tcase '4':\n\t\t\tcase '5':\n\t\t\tcase '7':\n\t\t\tcase '9':\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tchar[] s = scanner.next().toCharArray();\n\t\t\tswitch (s[s.length - 1]) {\n\t\t\tcase '0':\n\t\t\tcase '1':\n\t\t\tcase '6':\n\t\t\tcase '8':\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\tcase '2':\n\t\t\tcase '4':\n\t\t\tcase '5':\n\t\t\tcase '7':\n\t\t\tcase '9':\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tchar[] s = scanner.next().toCharArray();\n\t\t\tswitch (s[s.length - 1]) {\n\t\t\tcase '0':\n\t\t\tcase '1':\n\t\t\tcase '6':\n\t\t\tcase '8':\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\tcase '2':\n\t\t\tcase '4':\n\t\t\tcase '5':\n\t\t\tcase '7':\n\t\t\tcase '9':\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tchar[] s = scanner.next().toCharArray();\n\t\t\tswitch (s[s.length - 1]) {\n\t\t\tcase '0':\n\t\t\tcase '1':\n\t\t\tcase '6':\n\t\t\tcase '8':\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\tcase '2':\n\t\t\tcase '4':\n\t\t\tcase '5':\n\t\t\tcase '7':\n\t\t\tcase '9':\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"try (Scanner scanner = new Scanner(System.in)) {\n\t\t\tchar[] s = scanner.next().toCharArray();\n\t\t\tswitch (s[s.length - 1]) {\n\t\t\tcase '0':\n\t\t\tcase '1':\n\t\t\tcase '6':\n\t\t\tcase '8':\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\tcase '2':\n\t\t\tcase '4':\n\t\t\tcase '5':\n\t\t\tcase '7':\n\t\t\tcase '9':\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tchar[] s = scanner.next().toCharArray();\n\t\t\tswitch (s[s.length - 1]) {\n\t\t\tcase '0':\n\t\t\tcase '1':\n\t\t\tcase '6':\n\t\t\tcase '8':\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\tcase '2':\n\t\t\tcase '4':\n\t\t\tcase '5':\n\t\t\tcase '7':\n\t\t\tcase '9':\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"Scanner scanner = new Scanner(System.in)",
"Scanner scanner = new Scanner(System.in)",
"new Scanner(System.in)",
"char[] s = scanner.next().toCharArray();",
"s",
"scanner.next().toCharArray()",
"scanner.next().toCharArray",
"scanner.next()",
"scanner.next",
"scanner",
"switch (s[s.length - 1]) {\n\t\t\tcase '0':\n\t\t\tcase '1':\n\t\t\tcase '6':\n\t\t\tcase '8':\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\tcase '2':\n\t\t\tcase '4':\n\t\t\tcase '5':\n\t\t\tcase '7':\n\t\t\tcase '9':\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\t}",
"s[s.length - 1]",
"s",
"s.length - 1",
"s.length",
"s",
"s.length",
"1",
"case '0':",
"'0'",
"case '0':",
"case '1':",
"'1'",
"case '1':",
"case '6':",
"'6'",
"case '6':",
"case '8':",
"'8'",
"case '8':",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"case '2':",
"'2'",
"case '2':",
"case '4':",
"'4'",
"case '4':",
"case '5':",
"'5'",
"case '5':",
"case '7':",
"'7'",
"case '7':",
"case '9':",
"'9'",
"case '9':",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"break;",
"default:",
"default:",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"break;",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tchar[] s = scanner.next().toCharArray();\n\t\t\tswitch (s[s.length - 1]) {\n\t\t\tcase '0':\n\t\t\tcase '1':\n\t\t\tcase '6':\n\t\t\tcase '8':\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\tcase '2':\n\t\t\tcase '4':\n\t\t\tcase '5':\n\t\t\tcase '7':\n\t\t\tcase '9':\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tchar[] s = scanner.next().toCharArray();\n\t\t\tswitch (s[s.length - 1]) {\n\t\t\tcase '0':\n\t\t\tcase '1':\n\t\t\tcase '6':\n\t\t\tcase '8':\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\tcase '2':\n\t\t\tcase '4':\n\t\t\tcase '5':\n\t\t\tcase '7':\n\t\t\tcase '9':\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner scanner = new Scanner(System.in)) {
char[] s = scanner.next().toCharArray();
switch (s[s.length - 1]) {
case '0':
case '1':
case '6':
case '8':
System.out.println("pon");
break;
case '2':
case '4':
case '5':
case '7':
case '9':
System.out.println("hon");
break;
default:
System.out.println("bon");
break;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
80,
11
],
[
80,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
17,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
20,
31
],
[
31,
32
],
[
34,
33
],
[
41,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
41,
41
],
[
41,
42
],
[
41,
43
],
[
34,
44
],
[
44,
45
],
[
44,
46
],
[
31,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
31,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
12,
61
],
[
61,
62
],
[
80,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
65,
74
],
[
74,
75
],
[
74,
76
],
[
63,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] |
[
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\npublic class Main\n{\n\tstatic void result(long n)\n\t{\n\t\tlong rem = n%10;\n\t\tif(rem==3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\telse if(rem==0 || rem==1 || rem==6 || rem==8)\n\t\t{\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t}\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tresult(n);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n\tstatic void result(long n)\n\t{\n\t\tlong rem = n%10;\n\t\tif(rem==3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\telse if(rem==0 || rem==1 || rem==6 || rem==8)\n\t\t{\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t}\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tresult(n);\n\t}\n}",
"Main",
"static void result(long n)\n\t{\n\t\tlong rem = n%10;\n\t\tif(rem==3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\telse if(rem==0 || rem==1 || rem==6 || rem==8)\n\t\t{\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t}",
"result",
"{\n\t\tlong rem = n%10;\n\t\tif(rem==3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\telse if(rem==0 || rem==1 || rem==6 || rem==8)\n\t\t{\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t}",
"long rem = n%10;",
"rem",
"n%10",
"n",
"10",
"if(rem==3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\telse if(rem==0 || rem==1 || rem==6 || rem==8)\n\t\t{\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"rem==3",
"rem",
"3",
"{\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(rem==0 || rem==1 || rem==6 || rem==8)\n\t\t{\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"rem==0 || rem==1 || rem==6 || rem==8",
"rem==6",
"rem==0 || rem==1 || rem==6 || rem==8",
"rem==0",
"rem",
"0",
"rem==1",
"rem",
"1",
"rem==6",
"rem",
"6",
"rem==8",
"rem",
"8",
"{\n\t\t\tSystem.out.println(\"pon\");\n\t\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"long n",
"n",
"public static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tresult(n);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tresult(n);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long n = scan.nextLong();",
"n",
"scan.nextLong()",
"scan.nextLong",
"scan",
"result(n)",
"result",
"n",
"String[] args",
"args",
"public class Main\n{\n\tstatic void result(long n)\n\t{\n\t\tlong rem = n%10;\n\t\tif(rem==3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\telse if(rem==0 || rem==1 || rem==6 || rem==8)\n\t\t{\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t}\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tresult(n);\n\t}\n}",
"public class Main\n{\n\tstatic void result(long n)\n\t{\n\t\tlong rem = n%10;\n\t\tif(rem==3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\telse if(rem==0 || rem==1 || rem==6 || rem==8)\n\t\t{\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t}\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tresult(n);\n\t}\n}",
"Main"
] |
import java.util.*;
import java.lang.*;
import java.io.*;
public class Main
{
static void result(long n)
{
long rem = n%10;
if(rem==3) {
System.out.println("bon");
}
else if(rem==0 || rem==1 || rem==6 || rem==8)
{
System.out.println("pon");
}
else
{
System.out.println("hon");
}
}
public static void main(String[] args)
{
Scanner scan = new Scanner(System.in);
long n = scan.nextLong();
result(n);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
18,
13,
2,
18,
13,
13,
17,
41,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
150,
5
],
[
150,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
8,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
8,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
8,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
8,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
8,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
8,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
130,
135
],
[
8,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
136,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
141,
146
],
[
6,
147
],
[
147,
148
],
[
0,
149
],
[
149,
150
],
[
149,
151
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString N = scan.next(); \n\t\tchar[] X = N.toCharArray();\n\t\t//System.out.println(X);\n\t\tchar NLast1= X[X.length-1] ;\n\t\tint NLast = Character.getNumericValue(NLast1);\n\t\t//System.out.println(NLast);\n\t\t//System.out.println(NLast==2);\n\t\tif(NLast==2) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\t\n\t\tif(NLast==4) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==5) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==7) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==0) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==1) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==6) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString N = scan.next(); \n\t\tchar[] X = N.toCharArray();\n\t\t//System.out.println(X);\n\t\tchar NLast1= X[X.length-1] ;\n\t\tint NLast = Character.getNumericValue(NLast1);\n\t\t//System.out.println(NLast);\n\t\t//System.out.println(NLast==2);\n\t\tif(NLast==2) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\t\n\t\tif(NLast==4) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==5) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==7) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==0) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==1) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==6) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString N = scan.next(); \n\t\tchar[] X = N.toCharArray();\n\t\t//System.out.println(X);\n\t\tchar NLast1= X[X.length-1] ;\n\t\tint NLast = Character.getNumericValue(NLast1);\n\t\t//System.out.println(NLast);\n\t\t//System.out.println(NLast==2);\n\t\tif(NLast==2) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\t\n\t\tif(NLast==4) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==5) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==7) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==0) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==1) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==6) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString N = scan.next(); \n\t\tchar[] X = N.toCharArray();\n\t\t//System.out.println(X);\n\t\tchar NLast1= X[X.length-1] ;\n\t\tint NLast = Character.getNumericValue(NLast1);\n\t\t//System.out.println(NLast);\n\t\t//System.out.println(NLast==2);\n\t\tif(NLast==2) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\t\n\t\tif(NLast==4) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==5) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==7) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==0) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==1) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==6) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String N = scan.next();",
"N",
"scan.next()",
"scan.next",
"scan",
"char[] X = N.toCharArray();",
"X",
"N.toCharArray()",
"N.toCharArray",
"N",
"char NLast1= X[X.length-1] ;",
"NLast1",
"X[X.length-1]",
"X",
"X.length-1",
"X.length",
"X",
"X.length",
"1",
"int NLast = Character.getNumericValue(NLast1);",
"NLast",
"Character.getNumericValue(NLast1)",
"Character.getNumericValue",
"Character",
"NLast1",
"if(NLast==2) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"NLast==2",
"NLast",
"2",
"{\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(NLast==4) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"NLast==4",
"NLast",
"4",
"{\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(NLast==5) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"NLast==5",
"NLast",
"5",
"{\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(NLast==7) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"NLast==7",
"NLast",
"7",
"{\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(NLast==9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"NLast==9",
"NLast",
"9",
"{\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(NLast==0) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}",
"NLast==0",
"NLast",
"0",
"{\n\t\t\tSystem.out.println(\"pon\");\n\t\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if(NLast==1) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}",
"NLast==1",
"NLast",
"1",
"{\n\t\t\tSystem.out.println(\"pon\");\n\t\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if(NLast==6) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}",
"NLast==6",
"NLast",
"6",
"{\n\t\t\tSystem.out.println(\"pon\");\n\t\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if(NLast==8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}",
"NLast==8",
"NLast",
"8",
"{\n\t\t\tSystem.out.println(\"pon\");\n\t\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if(NLast==3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"NLast==3",
"NLast",
"3",
"{\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString N = scan.next(); \n\t\tchar[] X = N.toCharArray();\n\t\t//System.out.println(X);\n\t\tchar NLast1= X[X.length-1] ;\n\t\tint NLast = Character.getNumericValue(NLast1);\n\t\t//System.out.println(NLast);\n\t\t//System.out.println(NLast==2);\n\t\tif(NLast==2) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\t\n\t\tif(NLast==4) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==5) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==7) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==0) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==1) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==6) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString N = scan.next(); \n\t\tchar[] X = N.toCharArray();\n\t\t//System.out.println(X);\n\t\tchar NLast1= X[X.length-1] ;\n\t\tint NLast = Character.getNumericValue(NLast1);\n\t\t//System.out.println(NLast);\n\t\t//System.out.println(NLast==2);\n\t\tif(NLast==2) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\t\n\t\tif(NLast==4) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==5) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==7) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif(NLast==0) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==1) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==6) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(NLast==3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String N = scan.next();
char[] X = N.toCharArray();
//System.out.println(X);
char NLast1= X[X.length-1] ;
int NLast = Character.getNumericValue(NLast1);
//System.out.println(NLast);
//System.out.println(NLast==2);
if(NLast==2) {
System.out.println("hon");
}
if(NLast==4) {
System.out.println("hon");
}
if(NLast==5) {
System.out.println("hon");
}
if(NLast==7) {
System.out.println("hon");
}
if(NLast==9) {
System.out.println("hon");
}
if(NLast==0) {
System.out.println("pon");
}
if(NLast==1) {
System.out.println("pon");
}
if(NLast==6) {
System.out.println("pon");
}
if(NLast==8) {
System.out.println("pon");
}
if(NLast==3) {
System.out.println("bon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
2,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
85,
5
],
[
85,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
29,
27
],
[
39,
28
],
[
36,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
36,
36
],
[
36,
37
],
[
36,
38
],
[
39,
39
],
[
39,
40
],
[
39,
41
],
[
29,
42
],
[
42,
43
],
[
42,
44
],
[
25,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
25,
52
],
[
52,
53
],
[
55,
54
],
[
62,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
62,
62
],
[
62,
63
],
[
62,
64
],
[
55,
65
],
[
65,
66
],
[
65,
67
],
[
52,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
52,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
6,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n sc.close();\n\n int nn = n % 10;\n\n if(nn == 2 || nn == 4 || nn == 5 || nn == 7 || nn == 9) {\n System.out.println(\"hon\");\n } else if(nn == 0 || nn == 1 || nn == 6 || nn == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"bon\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n sc.close();\n\n int nn = n % 10;\n\n if(nn == 2 || nn == 4 || nn == 5 || nn == 7 || nn == 9) {\n System.out.println(\"hon\");\n } else if(nn == 0 || nn == 1 || nn == 6 || nn == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"bon\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n sc.close();\n\n int nn = n % 10;\n\n if(nn == 2 || nn == 4 || nn == 5 || nn == 7 || nn == 9) {\n System.out.println(\"hon\");\n } else if(nn == 0 || nn == 1 || nn == 6 || nn == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"bon\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n sc.close();\n\n int nn = n % 10;\n\n if(nn == 2 || nn == 4 || nn == 5 || nn == 7 || nn == 9) {\n System.out.println(\"hon\");\n } else if(nn == 0 || nn == 1 || nn == 6 || nn == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"bon\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.close()",
"sc.close",
"sc",
"int nn = n % 10;",
"nn",
"n % 10",
"n",
"10",
"if(nn == 2 || nn == 4 || nn == 5 || nn == 7 || nn == 9) {\n System.out.println(\"hon\");\n } else if(nn == 0 || nn == 1 || nn == 6 || nn == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"bon\");\n }",
"nn == 2 || nn == 4 || nn == 5 || nn == 7 || nn == 9",
"nn == 7",
"nn == 5",
"nn == 2 || nn == 4 || nn == 5 || nn == 7 || nn == 9",
"nn == 2",
"nn",
"2",
"nn == 4",
"nn",
"4",
"nn == 5",
"nn",
"5",
"nn == 7",
"nn",
"7",
"nn == 9",
"nn",
"9",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(nn == 0 || nn == 1 || nn == 6 || nn == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"bon\");\n }",
"nn == 0 || nn == 1 || nn == 6 || nn == 8",
"nn == 6",
"nn == 0 || nn == 1 || nn == 6 || nn == 8",
"nn == 0",
"nn",
"0",
"nn == 1",
"nn",
"1",
"nn == 6",
"nn",
"6",
"nn == 8",
"nn",
"8",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n sc.close();\n\n int nn = n % 10;\n\n if(nn == 2 || nn == 4 || nn == 5 || nn == 7 || nn == 9) {\n System.out.println(\"hon\");\n } else if(nn == 0 || nn == 1 || nn == 6 || nn == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"bon\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n sc.close();\n\n int nn = n % 10;\n\n if(nn == 2 || nn == 4 || nn == 5 || nn == 7 || nn == 9) {\n System.out.println(\"hon\");\n } else if(nn == 0 || nn == 1 || nn == 6 || nn == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"bon\");\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
sc.close();
int nn = n % 10;
if(nn == 2 || nn == 4 || nn == 5 || nn == 7 || nn == 9) {
System.out.println("hon");
} else if(nn == 0 || nn == 1 || nn == 6 || nn == 8) {
System.out.println("pon");
} else {
System.out.println("bon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
67,
5
],
[
67,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
26,
33
],
[
8,
34
],
[
34,
35
],
[
37,
36
],
[
44,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
44,
44
],
[
44,
45
],
[
44,
46
],
[
37,
47
],
[
47,
48
],
[
47,
49
],
[
34,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
50,
57
],
[
8,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] |
[
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int b = n%10;\n if (b==3){\n System.out.println(\"bon\");\n return;\n }\n if ((b==0)||(b==1)||(b==6)||(b==8)){\n System.out.println(\"pon\");\n return;\n }\n System.out.println(\"hon\");\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int b = n%10;\n if (b==3){\n System.out.println(\"bon\");\n return;\n }\n if ((b==0)||(b==1)||(b==6)||(b==8)){\n System.out.println(\"pon\");\n return;\n }\n System.out.println(\"hon\");\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int b = n%10;\n if (b==3){\n System.out.println(\"bon\");\n return;\n }\n if ((b==0)||(b==1)||(b==6)||(b==8)){\n System.out.println(\"pon\");\n return;\n }\n System.out.println(\"hon\");\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int b = n%10;\n if (b==3){\n System.out.println(\"bon\");\n return;\n }\n if ((b==0)||(b==1)||(b==6)||(b==8)){\n System.out.println(\"pon\");\n return;\n }\n System.out.println(\"hon\");\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int b = n%10;",
"b",
"n%10",
"n",
"10",
"if (b==3){\n System.out.println(\"bon\");\n return;\n }",
"b==3",
"b",
"3",
"{\n System.out.println(\"bon\");\n return;\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"return;",
"if ((b==0)||(b==1)||(b==6)||(b==8)){\n System.out.println(\"pon\");\n return;\n }",
"(b==0)||(b==1)||(b==6)||(b==8)",
"(b==6)",
"(b==0)||(b==1)||(b==6)||(b==8)",
"(b==0)",
"b",
"0",
"(b==1)",
"b",
"1",
"(b==6)",
"b",
"6",
"(b==8)",
"b",
"8",
"{\n System.out.println(\"pon\");\n return;\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"return;",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int b = n%10;\n if (b==3){\n System.out.println(\"bon\");\n return;\n }\n if ((b==0)||(b==1)||(b==6)||(b==8)){\n System.out.println(\"pon\");\n return;\n }\n System.out.println(\"hon\");\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int b = n%10;\n if (b==3){\n System.out.println(\"bon\");\n return;\n }\n if ((b==0)||(b==1)||(b==6)||(b==8)){\n System.out.println(\"pon\");\n return;\n }\n System.out.println(\"hon\");\n }\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int b = n%10;
if (b==3){
System.out.println("bon");
return;
}
if ((b==0)||(b==1)||(b==6)||(b==8)){
System.out.println("pon");
return;
}
System.out.println("hon");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
69,
5
],
[
69,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
20,
32
],
[
32,
33
],
[
35,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
35,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
34,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
35,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
32,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
32,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String str = sc.nextLine();\n sc.close();\n if(str.endsWith(\"3\")) {\n System.out.println(\"bon\");\n }else if(str.endsWith(\"0\")||str.endsWith(\"1\")||str.endsWith(\"6\")||str.endsWith(\"8\")) {\n System.out.println(\"pon\");\n }else {\n System.out.println(\"hon\");\n }\n\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String str = sc.nextLine();\n sc.close();\n if(str.endsWith(\"3\")) {\n System.out.println(\"bon\");\n }else if(str.endsWith(\"0\")||str.endsWith(\"1\")||str.endsWith(\"6\")||str.endsWith(\"8\")) {\n System.out.println(\"pon\");\n }else {\n System.out.println(\"hon\");\n }\n\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String str = sc.nextLine();\n sc.close();\n if(str.endsWith(\"3\")) {\n System.out.println(\"bon\");\n }else if(str.endsWith(\"0\")||str.endsWith(\"1\")||str.endsWith(\"6\")||str.endsWith(\"8\")) {\n System.out.println(\"pon\");\n }else {\n System.out.println(\"hon\");\n }\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String str = sc.nextLine();\n sc.close();\n if(str.endsWith(\"3\")) {\n System.out.println(\"bon\");\n }else if(str.endsWith(\"0\")||str.endsWith(\"1\")||str.endsWith(\"6\")||str.endsWith(\"8\")) {\n System.out.println(\"pon\");\n }else {\n System.out.println(\"hon\");\n }\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str = sc.nextLine();",
"str",
"sc.nextLine()",
"sc.nextLine",
"sc",
"sc.close()",
"sc.close",
"sc",
"if(str.endsWith(\"3\")) {\n System.out.println(\"bon\");\n }else if(str.endsWith(\"0\")||str.endsWith(\"1\")||str.endsWith(\"6\")||str.endsWith(\"8\")) {\n System.out.println(\"pon\");\n }else {\n System.out.println(\"hon\");\n }",
"str.endsWith(\"3\")",
"str.endsWith",
"str",
"\"3\"",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(str.endsWith(\"0\")||str.endsWith(\"1\")||str.endsWith(\"6\")||str.endsWith(\"8\")) {\n System.out.println(\"pon\");\n }else {\n System.out.println(\"hon\");\n }",
"str.endsWith(\"0\")||str.endsWith(\"1\")||str.endsWith(\"6\")||str.endsWith(\"8\")",
"str.endsWith(\"6\")",
"str.endsWith(\"0\")||str.endsWith(\"1\")||str.endsWith(\"6\")||str.endsWith(\"8\")",
"str.endsWith(\"0\")",
"str.endsWith",
"str",
"\"0\"",
"str.endsWith(\"1\")",
"str.endsWith",
"str",
"\"1\"",
"str.endsWith(\"6\")",
"str.endsWith",
"str",
"\"6\"",
"str.endsWith(\"8\")",
"str.endsWith",
"str",
"\"8\"",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String str = sc.nextLine();\n sc.close();\n if(str.endsWith(\"3\")) {\n System.out.println(\"bon\");\n }else if(str.endsWith(\"0\")||str.endsWith(\"1\")||str.endsWith(\"6\")||str.endsWith(\"8\")) {\n System.out.println(\"pon\");\n }else {\n System.out.println(\"hon\");\n }\n\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String str = sc.nextLine();\n sc.close();\n if(str.endsWith(\"3\")) {\n System.out.println(\"bon\");\n }else if(str.endsWith(\"0\")||str.endsWith(\"1\")||str.endsWith(\"6\")||str.endsWith(\"8\")) {\n System.out.println(\"pon\");\n }else {\n System.out.println(\"hon\");\n }\n\n }\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String str = sc.nextLine();
sc.close();
if(str.endsWith("3")) {
System.out.println("bon");
}else if(str.endsWith("0")||str.endsWith("1")||str.endsWith("6")||str.endsWith("8")) {
System.out.println("pon");
}else {
System.out.println("hon");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
0,
13,
17,
41,
13,
39,
17,
17,
17,
17,
17,
41,
13,
39,
17,
17,
17,
17,
41,
13,
39,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
126,
8
],
[
126,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
25,
28
],
[
25,
29
],
[
25,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
33,
36
],
[
33,
37
],
[
11,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
42,
52
],
[
52,
53
],
[
53,
54
],
[
42,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
57,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
11,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
69,
79
],
[
79,
80
],
[
80,
81
],
[
69,
82
],
[
83,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
87,
89
],
[
84,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
11,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
96,
106
],
[
106,
107
],
[
107,
108
],
[
96,
109
],
[
110,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
114,
116
],
[
111,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
9,
123
],
[
123,
124
],
[
0,
125
],
[
125,
126
],
[
125,
127
]
] |
[
"import java.util.*;\nimport java.lang.Math;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n n %= 10;\n \n int hons[] = {2,4,5,7,9};\n int pons[] = {0,1,6,8};\n int bons[] = {3};\n \n for(int i = 0; i< hons.length;i++){\n \tif(n == hons[i]) System.out.println(\"hon\");\n }\n \n for(int i = 0; i< pons.length;i++){\n \tif(n == pons[i]) System.out.println(\"pon\");\n }\n \n for(int i = 0; i< bons.length;i++){\n \tif(n == bons[i]) System.out.println(\"bon\");\n }\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.Math;",
"Math",
"java.lang",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n n %= 10;\n \n int hons[] = {2,4,5,7,9};\n int pons[] = {0,1,6,8};\n int bons[] = {3};\n \n for(int i = 0; i< hons.length;i++){\n \tif(n == hons[i]) System.out.println(\"hon\");\n }\n \n for(int i = 0; i< pons.length;i++){\n \tif(n == pons[i]) System.out.println(\"pon\");\n }\n \n for(int i = 0; i< bons.length;i++){\n \tif(n == bons[i]) System.out.println(\"bon\");\n }\n \n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n n %= 10;\n \n int hons[] = {2,4,5,7,9};\n int pons[] = {0,1,6,8};\n int bons[] = {3};\n \n for(int i = 0; i< hons.length;i++){\n \tif(n == hons[i]) System.out.println(\"hon\");\n }\n \n for(int i = 0; i< pons.length;i++){\n \tif(n == pons[i]) System.out.println(\"pon\");\n }\n \n for(int i = 0; i< bons.length;i++){\n \tif(n == bons[i]) System.out.println(\"bon\");\n }\n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n n %= 10;\n \n int hons[] = {2,4,5,7,9};\n int pons[] = {0,1,6,8};\n int bons[] = {3};\n \n for(int i = 0; i< hons.length;i++){\n \tif(n == hons[i]) System.out.println(\"hon\");\n }\n \n for(int i = 0; i< pons.length;i++){\n \tif(n == pons[i]) System.out.println(\"pon\");\n }\n \n for(int i = 0; i< bons.length;i++){\n \tif(n == bons[i]) System.out.println(\"bon\");\n }\n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"n %= 10",
"n",
"10",
"int hons[] = {2,4,5,7,9};",
"hons",
"{2,4,5,7,9}",
"2",
"4",
"5",
"7",
"9",
"int pons[] = {0,1,6,8};",
"pons",
"{0,1,6,8}",
"0",
"1",
"6",
"8",
"int bons[] = {3};",
"bons",
"{3}",
"3",
"for(int i = 0; i< hons.length;i++){\n \tif(n == hons[i]) System.out.println(\"hon\");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i< hons.length",
"i",
"hons.length",
"hons",
"hons.length",
"i++",
"i++",
"i",
"{\n \tif(n == hons[i]) System.out.println(\"hon\");\n }",
"{\n \tif(n == hons[i]) System.out.println(\"hon\");\n }",
"if(n == hons[i]) System.out.println(\"hon\");",
"n == hons[i]",
"n",
"hons[i]",
"hons",
"i",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"for(int i = 0; i< pons.length;i++){\n \tif(n == pons[i]) System.out.println(\"pon\");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i< pons.length",
"i",
"pons.length",
"pons",
"pons.length",
"i++",
"i++",
"i",
"{\n \tif(n == pons[i]) System.out.println(\"pon\");\n }",
"{\n \tif(n == pons[i]) System.out.println(\"pon\");\n }",
"if(n == pons[i]) System.out.println(\"pon\");",
"n == pons[i]",
"n",
"pons[i]",
"pons",
"i",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"for(int i = 0; i< bons.length;i++){\n \tif(n == bons[i]) System.out.println(\"bon\");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i< bons.length",
"i",
"bons.length",
"bons",
"bons.length",
"i++",
"i++",
"i",
"{\n \tif(n == bons[i]) System.out.println(\"bon\");\n }",
"{\n \tif(n == bons[i]) System.out.println(\"bon\");\n }",
"if(n == bons[i]) System.out.println(\"bon\");",
"n == bons[i]",
"n",
"bons[i]",
"bons",
"i",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n n %= 10;\n \n int hons[] = {2,4,5,7,9};\n int pons[] = {0,1,6,8};\n int bons[] = {3};\n \n for(int i = 0; i< hons.length;i++){\n \tif(n == hons[i]) System.out.println(\"hon\");\n }\n \n for(int i = 0; i< pons.length;i++){\n \tif(n == pons[i]) System.out.println(\"pon\");\n }\n \n for(int i = 0; i< bons.length;i++){\n \tif(n == bons[i]) System.out.println(\"bon\");\n }\n \n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n n %= 10;\n \n int hons[] = {2,4,5,7,9};\n int pons[] = {0,1,6,8};\n int bons[] = {3};\n \n for(int i = 0; i< hons.length;i++){\n \tif(n == hons[i]) System.out.println(\"hon\");\n }\n \n for(int i = 0; i< pons.length;i++){\n \tif(n == pons[i]) System.out.println(\"pon\");\n }\n \n for(int i = 0; i< bons.length;i++){\n \tif(n == bons[i]) System.out.println(\"bon\");\n }\n \n }\n}",
"Main"
] |
import java.util.*;
import java.lang.Math;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
n %= 10;
int hons[] = {2,4,5,7,9};
int pons[] = {0,1,6,8};
int bons[] = {3};
for(int i = 0; i< hons.length;i++){
if(n == hons[i]) System.out.println("hon");
}
for(int i = 0; i< pons.length;i++){
if(n == pons[i]) System.out.println("pon");
}
for(int i = 0; i< bons.length;i++){
if(n == bons[i]) System.out.println("bon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
242,
5
],
[
242,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
18,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
23,
30
],
[
30,
31
],
[
34,
32
],
[
44,
33
],
[
41,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
41,
41
],
[
41,
42
],
[
41,
43
],
[
44,
44
],
[
44,
45
],
[
44,
46
],
[
34,
47
],
[
47,
48
],
[
47,
49
],
[
30,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
30,
57
],
[
57,
58
],
[
60,
59
],
[
67,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
67,
67
],
[
67,
68
],
[
67,
69
],
[
60,
70
],
[
70,
71
],
[
70,
72
],
[
57,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
57,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
17,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
92,
96
],
[
91,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
97,
104
],
[
104,
105
],
[
108,
106
],
[
118,
107
],
[
115,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
112,
113
],
[
112,
114
],
[
115,
115
],
[
115,
116
],
[
115,
117
],
[
118,
118
],
[
118,
119
],
[
118,
120
],
[
108,
121
],
[
121,
122
],
[
121,
123
],
[
104,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
125,
130
],
[
104,
131
],
[
131,
132
],
[
134,
133
],
[
141,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
134,
138
],
[
138,
139
],
[
138,
140
],
[
141,
141
],
[
141,
142
],
[
141,
143
],
[
134,
144
],
[
144,
145
],
[
144,
146
],
[
131,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
148,
153
],
[
131,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
154,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
159,
164
],
[
91,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
166,
170
],
[
165,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
174,
177
],
[
171,
178
],
[
178,
179
],
[
182,
180
],
[
192,
181
],
[
189,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
182,
186
],
[
186,
187
],
[
186,
188
],
[
189,
189
],
[
189,
190
],
[
189,
191
],
[
192,
192
],
[
192,
193
],
[
192,
194
],
[
182,
195
],
[
195,
196
],
[
195,
197
],
[
178,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
199,
204
],
[
178,
205
],
[
205,
206
],
[
208,
207
],
[
215,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
208,
212
],
[
212,
213
],
[
212,
214
],
[
215,
215
],
[
215,
216
],
[
215,
217
],
[
208,
218
],
[
218,
219
],
[
218,
220
],
[
205,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
222,
227
],
[
205,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
228,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
233,
238
],
[
6,
239
],
[
239,
240
],
[
0,
241
],
[
241,
242
],
[
241,
243
]
] |
[
"import java.util.*;\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String N=scan.nextLine();\n if(N.length()==1){\n char ch0=N.charAt(0);\n if(ch0=='2'||ch0=='4'||ch0=='5'||ch0=='7'||ch0=='9'){\n System.out.println(\"hon\");\n }\n else if(ch0=='0'||ch0=='1'||ch0=='6'||ch0=='8'){\n System.out.println(\"pon\");\n }\n else if(ch0=='3'){\n System.out.println(\"bon\");\n }\n }\n else if(N.length()==2){\n char ch1=N.charAt(1);\n if(ch1=='2'||ch1=='4'||ch1=='5'||ch1=='7'||ch1=='9'){\n System.out.println(\"hon\");\n }\n else if(ch1=='0'||ch1=='1'||ch1=='6'||ch1=='8'){\n System.out.println(\"pon\");\n }\n else if(ch1=='3'){\n System.out.println(\"bon\");\n }\n }\n else if(N.length()==3){\n char ch2=N.charAt(2);\n if(ch2=='2'||ch2=='4'||ch2=='5'||ch2=='7'||ch2=='9'){\n System.out.println(\"hon\");\n }\n else if(ch2=='0'||ch2=='1'||ch2=='6'||ch2=='8'){\n System.out.println(\"pon\");\n }\n else if(ch2=='3'){\n System.out.println(\"bon\");\n }\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String N=scan.nextLine();\n if(N.length()==1){\n char ch0=N.charAt(0);\n if(ch0=='2'||ch0=='4'||ch0=='5'||ch0=='7'||ch0=='9'){\n System.out.println(\"hon\");\n }\n else if(ch0=='0'||ch0=='1'||ch0=='6'||ch0=='8'){\n System.out.println(\"pon\");\n }\n else if(ch0=='3'){\n System.out.println(\"bon\");\n }\n }\n else if(N.length()==2){\n char ch1=N.charAt(1);\n if(ch1=='2'||ch1=='4'||ch1=='5'||ch1=='7'||ch1=='9'){\n System.out.println(\"hon\");\n }\n else if(ch1=='0'||ch1=='1'||ch1=='6'||ch1=='8'){\n System.out.println(\"pon\");\n }\n else if(ch1=='3'){\n System.out.println(\"bon\");\n }\n }\n else if(N.length()==3){\n char ch2=N.charAt(2);\n if(ch2=='2'||ch2=='4'||ch2=='5'||ch2=='7'||ch2=='9'){\n System.out.println(\"hon\");\n }\n else if(ch2=='0'||ch2=='1'||ch2=='6'||ch2=='8'){\n System.out.println(\"pon\");\n }\n else if(ch2=='3'){\n System.out.println(\"bon\");\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String N=scan.nextLine();\n if(N.length()==1){\n char ch0=N.charAt(0);\n if(ch0=='2'||ch0=='4'||ch0=='5'||ch0=='7'||ch0=='9'){\n System.out.println(\"hon\");\n }\n else if(ch0=='0'||ch0=='1'||ch0=='6'||ch0=='8'){\n System.out.println(\"pon\");\n }\n else if(ch0=='3'){\n System.out.println(\"bon\");\n }\n }\n else if(N.length()==2){\n char ch1=N.charAt(1);\n if(ch1=='2'||ch1=='4'||ch1=='5'||ch1=='7'||ch1=='9'){\n System.out.println(\"hon\");\n }\n else if(ch1=='0'||ch1=='1'||ch1=='6'||ch1=='8'){\n System.out.println(\"pon\");\n }\n else if(ch1=='3'){\n System.out.println(\"bon\");\n }\n }\n else if(N.length()==3){\n char ch2=N.charAt(2);\n if(ch2=='2'||ch2=='4'||ch2=='5'||ch2=='7'||ch2=='9'){\n System.out.println(\"hon\");\n }\n else if(ch2=='0'||ch2=='1'||ch2=='6'||ch2=='8'){\n System.out.println(\"pon\");\n }\n else if(ch2=='3'){\n System.out.println(\"bon\");\n }\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n String N=scan.nextLine();\n if(N.length()==1){\n char ch0=N.charAt(0);\n if(ch0=='2'||ch0=='4'||ch0=='5'||ch0=='7'||ch0=='9'){\n System.out.println(\"hon\");\n }\n else if(ch0=='0'||ch0=='1'||ch0=='6'||ch0=='8'){\n System.out.println(\"pon\");\n }\n else if(ch0=='3'){\n System.out.println(\"bon\");\n }\n }\n else if(N.length()==2){\n char ch1=N.charAt(1);\n if(ch1=='2'||ch1=='4'||ch1=='5'||ch1=='7'||ch1=='9'){\n System.out.println(\"hon\");\n }\n else if(ch1=='0'||ch1=='1'||ch1=='6'||ch1=='8'){\n System.out.println(\"pon\");\n }\n else if(ch1=='3'){\n System.out.println(\"bon\");\n }\n }\n else if(N.length()==3){\n char ch2=N.charAt(2);\n if(ch2=='2'||ch2=='4'||ch2=='5'||ch2=='7'||ch2=='9'){\n System.out.println(\"hon\");\n }\n else if(ch2=='0'||ch2=='1'||ch2=='6'||ch2=='8'){\n System.out.println(\"pon\");\n }\n else if(ch2=='3'){\n System.out.println(\"bon\");\n }\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String N=scan.nextLine();",
"N",
"scan.nextLine()",
"scan.nextLine",
"scan",
"if(N.length()==1){\n char ch0=N.charAt(0);\n if(ch0=='2'||ch0=='4'||ch0=='5'||ch0=='7'||ch0=='9'){\n System.out.println(\"hon\");\n }\n else if(ch0=='0'||ch0=='1'||ch0=='6'||ch0=='8'){\n System.out.println(\"pon\");\n }\n else if(ch0=='3'){\n System.out.println(\"bon\");\n }\n }\n else if(N.length()==2){\n char ch1=N.charAt(1);\n if(ch1=='2'||ch1=='4'||ch1=='5'||ch1=='7'||ch1=='9'){\n System.out.println(\"hon\");\n }\n else if(ch1=='0'||ch1=='1'||ch1=='6'||ch1=='8'){\n System.out.println(\"pon\");\n }\n else if(ch1=='3'){\n System.out.println(\"bon\");\n }\n }\n else if(N.length()==3){\n char ch2=N.charAt(2);\n if(ch2=='2'||ch2=='4'||ch2=='5'||ch2=='7'||ch2=='9'){\n System.out.println(\"hon\");\n }\n else if(ch2=='0'||ch2=='1'||ch2=='6'||ch2=='8'){\n System.out.println(\"pon\");\n }\n else if(ch2=='3'){\n System.out.println(\"bon\");\n }\n }",
"N.length()==1",
"N.length()",
"N.length",
"N",
"1",
"{\n char ch0=N.charAt(0);\n if(ch0=='2'||ch0=='4'||ch0=='5'||ch0=='7'||ch0=='9'){\n System.out.println(\"hon\");\n }\n else if(ch0=='0'||ch0=='1'||ch0=='6'||ch0=='8'){\n System.out.println(\"pon\");\n }\n else if(ch0=='3'){\n System.out.println(\"bon\");\n }\n }",
"char ch0=N.charAt(0);",
"ch0",
"N.charAt(0)",
"N.charAt",
"N",
"0",
"if(ch0=='2'||ch0=='4'||ch0=='5'||ch0=='7'||ch0=='9'){\n System.out.println(\"hon\");\n }\n else if(ch0=='0'||ch0=='1'||ch0=='6'||ch0=='8'){\n System.out.println(\"pon\");\n }\n else if(ch0=='3'){\n System.out.println(\"bon\");\n }",
"ch0=='2'||ch0=='4'||ch0=='5'||ch0=='7'||ch0=='9'",
"ch0=='7'",
"ch0=='5'",
"ch0=='2'||ch0=='4'||ch0=='5'||ch0=='7'||ch0=='9'",
"ch0=='2'",
"ch0",
"'2'",
"ch0=='4'",
"ch0",
"'4'",
"ch0=='5'",
"ch0",
"'5'",
"ch0=='7'",
"ch0",
"'7'",
"ch0=='9'",
"ch0",
"'9'",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(ch0=='0'||ch0=='1'||ch0=='6'||ch0=='8'){\n System.out.println(\"pon\");\n }\n else if(ch0=='3'){\n System.out.println(\"bon\");\n }",
"ch0=='0'||ch0=='1'||ch0=='6'||ch0=='8'",
"ch0=='6'",
"ch0=='0'||ch0=='1'||ch0=='6'||ch0=='8'",
"ch0=='0'",
"ch0",
"'0'",
"ch0=='1'",
"ch0",
"'1'",
"ch0=='6'",
"ch0",
"'6'",
"ch0=='8'",
"ch0",
"'8'",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if(ch0=='3'){\n System.out.println(\"bon\");\n }",
"ch0=='3'",
"ch0",
"'3'",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(N.length()==2){\n char ch1=N.charAt(1);\n if(ch1=='2'||ch1=='4'||ch1=='5'||ch1=='7'||ch1=='9'){\n System.out.println(\"hon\");\n }\n else if(ch1=='0'||ch1=='1'||ch1=='6'||ch1=='8'){\n System.out.println(\"pon\");\n }\n else if(ch1=='3'){\n System.out.println(\"bon\");\n }\n }\n else if(N.length()==3){\n char ch2=N.charAt(2);\n if(ch2=='2'||ch2=='4'||ch2=='5'||ch2=='7'||ch2=='9'){\n System.out.println(\"hon\");\n }\n else if(ch2=='0'||ch2=='1'||ch2=='6'||ch2=='8'){\n System.out.println(\"pon\");\n }\n else if(ch2=='3'){\n System.out.println(\"bon\");\n }\n }",
"N.length()==2",
"N.length()",
"N.length",
"N",
"2",
"{\n char ch1=N.charAt(1);\n if(ch1=='2'||ch1=='4'||ch1=='5'||ch1=='7'||ch1=='9'){\n System.out.println(\"hon\");\n }\n else if(ch1=='0'||ch1=='1'||ch1=='6'||ch1=='8'){\n System.out.println(\"pon\");\n }\n else if(ch1=='3'){\n System.out.println(\"bon\");\n }\n }",
"char ch1=N.charAt(1);",
"ch1",
"N.charAt(1)",
"N.charAt",
"N",
"1",
"if(ch1=='2'||ch1=='4'||ch1=='5'||ch1=='7'||ch1=='9'){\n System.out.println(\"hon\");\n }\n else if(ch1=='0'||ch1=='1'||ch1=='6'||ch1=='8'){\n System.out.println(\"pon\");\n }\n else if(ch1=='3'){\n System.out.println(\"bon\");\n }",
"ch1=='2'||ch1=='4'||ch1=='5'||ch1=='7'||ch1=='9'",
"ch1=='7'",
"ch1=='5'",
"ch1=='2'||ch1=='4'||ch1=='5'||ch1=='7'||ch1=='9'",
"ch1=='2'",
"ch1",
"'2'",
"ch1=='4'",
"ch1",
"'4'",
"ch1=='5'",
"ch1",
"'5'",
"ch1=='7'",
"ch1",
"'7'",
"ch1=='9'",
"ch1",
"'9'",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(ch1=='0'||ch1=='1'||ch1=='6'||ch1=='8'){\n System.out.println(\"pon\");\n }\n else if(ch1=='3'){\n System.out.println(\"bon\");\n }",
"ch1=='0'||ch1=='1'||ch1=='6'||ch1=='8'",
"ch1=='6'",
"ch1=='0'||ch1=='1'||ch1=='6'||ch1=='8'",
"ch1=='0'",
"ch1",
"'0'",
"ch1=='1'",
"ch1",
"'1'",
"ch1=='6'",
"ch1",
"'6'",
"ch1=='8'",
"ch1",
"'8'",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if(ch1=='3'){\n System.out.println(\"bon\");\n }",
"ch1=='3'",
"ch1",
"'3'",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(N.length()==3){\n char ch2=N.charAt(2);\n if(ch2=='2'||ch2=='4'||ch2=='5'||ch2=='7'||ch2=='9'){\n System.out.println(\"hon\");\n }\n else if(ch2=='0'||ch2=='1'||ch2=='6'||ch2=='8'){\n System.out.println(\"pon\");\n }\n else if(ch2=='3'){\n System.out.println(\"bon\");\n }\n }",
"N.length()==3",
"N.length()",
"N.length",
"N",
"3",
"{\n char ch2=N.charAt(2);\n if(ch2=='2'||ch2=='4'||ch2=='5'||ch2=='7'||ch2=='9'){\n System.out.println(\"hon\");\n }\n else if(ch2=='0'||ch2=='1'||ch2=='6'||ch2=='8'){\n System.out.println(\"pon\");\n }\n else if(ch2=='3'){\n System.out.println(\"bon\");\n }\n }",
"char ch2=N.charAt(2);",
"ch2",
"N.charAt(2)",
"N.charAt",
"N",
"2",
"if(ch2=='2'||ch2=='4'||ch2=='5'||ch2=='7'||ch2=='9'){\n System.out.println(\"hon\");\n }\n else if(ch2=='0'||ch2=='1'||ch2=='6'||ch2=='8'){\n System.out.println(\"pon\");\n }\n else if(ch2=='3'){\n System.out.println(\"bon\");\n }",
"ch2=='2'||ch2=='4'||ch2=='5'||ch2=='7'||ch2=='9'",
"ch2=='7'",
"ch2=='5'",
"ch2=='2'||ch2=='4'||ch2=='5'||ch2=='7'||ch2=='9'",
"ch2=='2'",
"ch2",
"'2'",
"ch2=='4'",
"ch2",
"'4'",
"ch2=='5'",
"ch2",
"'5'",
"ch2=='7'",
"ch2",
"'7'",
"ch2=='9'",
"ch2",
"'9'",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(ch2=='0'||ch2=='1'||ch2=='6'||ch2=='8'){\n System.out.println(\"pon\");\n }\n else if(ch2=='3'){\n System.out.println(\"bon\");\n }",
"ch2=='0'||ch2=='1'||ch2=='6'||ch2=='8'",
"ch2=='6'",
"ch2=='0'||ch2=='1'||ch2=='6'||ch2=='8'",
"ch2=='0'",
"ch2",
"'0'",
"ch2=='1'",
"ch2",
"'1'",
"ch2=='6'",
"ch2",
"'6'",
"ch2=='8'",
"ch2",
"'8'",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if(ch2=='3'){\n System.out.println(\"bon\");\n }",
"ch2=='3'",
"ch2",
"'3'",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String N=scan.nextLine();\n if(N.length()==1){\n char ch0=N.charAt(0);\n if(ch0=='2'||ch0=='4'||ch0=='5'||ch0=='7'||ch0=='9'){\n System.out.println(\"hon\");\n }\n else if(ch0=='0'||ch0=='1'||ch0=='6'||ch0=='8'){\n System.out.println(\"pon\");\n }\n else if(ch0=='3'){\n System.out.println(\"bon\");\n }\n }\n else if(N.length()==2){\n char ch1=N.charAt(1);\n if(ch1=='2'||ch1=='4'||ch1=='5'||ch1=='7'||ch1=='9'){\n System.out.println(\"hon\");\n }\n else if(ch1=='0'||ch1=='1'||ch1=='6'||ch1=='8'){\n System.out.println(\"pon\");\n }\n else if(ch1=='3'){\n System.out.println(\"bon\");\n }\n }\n else if(N.length()==3){\n char ch2=N.charAt(2);\n if(ch2=='2'||ch2=='4'||ch2=='5'||ch2=='7'||ch2=='9'){\n System.out.println(\"hon\");\n }\n else if(ch2=='0'||ch2=='1'||ch2=='6'||ch2=='8'){\n System.out.println(\"pon\");\n }\n else if(ch2=='3'){\n System.out.println(\"bon\");\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String N=scan.nextLine();\n if(N.length()==1){\n char ch0=N.charAt(0);\n if(ch0=='2'||ch0=='4'||ch0=='5'||ch0=='7'||ch0=='9'){\n System.out.println(\"hon\");\n }\n else if(ch0=='0'||ch0=='1'||ch0=='6'||ch0=='8'){\n System.out.println(\"pon\");\n }\n else if(ch0=='3'){\n System.out.println(\"bon\");\n }\n }\n else if(N.length()==2){\n char ch1=N.charAt(1);\n if(ch1=='2'||ch1=='4'||ch1=='5'||ch1=='7'||ch1=='9'){\n System.out.println(\"hon\");\n }\n else if(ch1=='0'||ch1=='1'||ch1=='6'||ch1=='8'){\n System.out.println(\"pon\");\n }\n else if(ch1=='3'){\n System.out.println(\"bon\");\n }\n }\n else if(N.length()==3){\n char ch2=N.charAt(2);\n if(ch2=='2'||ch2=='4'||ch2=='5'||ch2=='7'||ch2=='9'){\n System.out.println(\"hon\");\n }\n else if(ch2=='0'||ch2=='1'||ch2=='6'||ch2=='8'){\n System.out.println(\"pon\");\n }\n else if(ch2=='3'){\n System.out.println(\"bon\");\n }\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String N=scan.nextLine();
if(N.length()==1){
char ch0=N.charAt(0);
if(ch0=='2'||ch0=='4'||ch0=='5'||ch0=='7'||ch0=='9'){
System.out.println("hon");
}
else if(ch0=='0'||ch0=='1'||ch0=='6'||ch0=='8'){
System.out.println("pon");
}
else if(ch0=='3'){
System.out.println("bon");
}
}
else if(N.length()==2){
char ch1=N.charAt(1);
if(ch1=='2'||ch1=='4'||ch1=='5'||ch1=='7'||ch1=='9'){
System.out.println("hon");
}
else if(ch1=='0'||ch1=='1'||ch1=='6'||ch1=='8'){
System.out.println("pon");
}
else if(ch1=='3'){
System.out.println("bon");
}
}
else if(N.length()==3){
char ch2=N.charAt(2);
if(ch2=='2'||ch2=='4'||ch2=='5'||ch2=='7'||ch2=='9'){
System.out.println("hon");
}
else if(ch2=='0'||ch2=='1'||ch2=='6'||ch2=='8'){
System.out.println("pon");
}
else if(ch2=='3'){
System.out.println("bon");
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
0,
13,
17,
41,
13,
4,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
29,
17,
30,
29,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
68,
5
],
[
68,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
6,
31
],
[
31,
32
],
[
68,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
36,
43
],
[
43,
44
],
[
46,
45
],
[
53,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
53,
53
],
[
53,
54
],
[
53,
55
],
[
46,
56
],
[
56,
57
],
[
56,
58
],
[
43,
59
],
[
59,
60
],
[
60,
61
],
[
43,
62
],
[
62,
63
],
[
63,
64
],
[
33,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] |
[
"\n\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tn %= 10;\n\t\tString result = digit(n);\n\t\tSystem.out.println(result);\n\n\t}\n\tprivate static String digit(int n) {\n\t\tif(n == 3) {\n\t\t\treturn \"bon\";\n\t\t} else if (n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\treturn \"pon\";\n\t\t} else {\n\t\t\treturn \"hon\";\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tn %= 10;\n\t\tString result = digit(n);\n\t\tSystem.out.println(result);\n\n\t}\n\tprivate static String digit(int n) {\n\t\tif(n == 3) {\n\t\t\treturn \"bon\";\n\t\t} else if (n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\treturn \"pon\";\n\t\t} else {\n\t\t\treturn \"hon\";\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tn %= 10;\n\t\tString result = digit(n);\n\t\tSystem.out.println(result);\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tn %= 10;\n\t\tString result = digit(n);\n\t\tSystem.out.println(result);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"n %= 10",
"n",
"10",
"String result = digit(n);",
"result",
"digit(n)",
"digit",
"n",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"private static String digit(int n) {\n\t\tif(n == 3) {\n\t\t\treturn \"bon\";\n\t\t} else if (n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\treturn \"pon\";\n\t\t} else {\n\t\t\treturn \"hon\";\n\t\t}\n\t}",
"digit",
"{\n\t\tif(n == 3) {\n\t\t\treturn \"bon\";\n\t\t} else if (n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\treturn \"pon\";\n\t\t} else {\n\t\t\treturn \"hon\";\n\t\t}\n\t}",
"if(n == 3) {\n\t\t\treturn \"bon\";\n\t\t} else if (n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\treturn \"pon\";\n\t\t} else {\n\t\t\treturn \"hon\";\n\t\t}",
"n == 3",
"n",
"3",
"{\n\t\t\treturn \"bon\";\n\t\t}",
"return \"bon\";",
"\"bon\"",
"if (n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\treturn \"pon\";\n\t\t} else {\n\t\t\treturn \"hon\";\n\t\t}",
"n == 0 || n == 1 || n == 6 || n == 8",
"n == 6",
"n == 0 || n == 1 || n == 6 || n == 8",
"n == 0",
"n",
"0",
"n == 1",
"n",
"1",
"n == 6",
"n",
"6",
"n == 8",
"n",
"8",
"{\n\t\t\treturn \"pon\";\n\t\t}",
"return \"pon\";",
"\"pon\"",
"{\n\t\t\treturn \"hon\";\n\t\t}",
"return \"hon\";",
"\"hon\"",
"int n",
"n",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tn %= 10;\n\t\tString result = digit(n);\n\t\tSystem.out.println(result);\n\n\t}\n\tprivate static String digit(int n) {\n\t\tif(n == 3) {\n\t\t\treturn \"bon\";\n\t\t} else if (n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\treturn \"pon\";\n\t\t} else {\n\t\t\treturn \"hon\";\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tn %= 10;\n\t\tString result = digit(n);\n\t\tSystem.out.println(result);\n\n\t}\n\tprivate static String digit(int n) {\n\t\tif(n == 3) {\n\t\t\treturn \"bon\";\n\t\t} else if (n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\treturn \"pon\";\n\t\t} else {\n\t\t\treturn \"hon\";\n\t\t}\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
n %= 10;
String result = digit(n);
System.out.println(result);
}
private static String digit(int n) {
if(n == 3) {
return "bon";
} else if (n == 0 || n == 1 || n == 6 || n == 8) {
return "pon";
} else {
return "hon";
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
13,
41,
13,
41,
13,
17,
11,
1,
30,
30,
14,
2,
13,
17,
30,
3,
30,
40,
13,
0,
13,
2,
13,
17,
11,
1,
41,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
13,
4,
18,
13,
17,
2,
13,
17,
0,
13,
2,
13,
2,
13,
4,
18,
13,
17,
2,
13,
17,
35,
13,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
185,
5
],
[
185,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
55,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
8,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
84,
91
],
[
80,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
94,
101
],
[
80,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
104,
111
],
[
80,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
114,
121
],
[
80,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
125,
130
],
[
124,
131
],
[
80,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
135,
140
],
[
134,
141
],
[
80,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
145,
150
],
[
144,
151
],
[
80,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
155,
160
],
[
154,
161
],
[
80,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
165,
170
],
[
164,
171
],
[
80,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
175,
180
],
[
174,
181
],
[
6,
182
],
[
182,
183
],
[
0,
184
],
[
184,
185
],
[
184,
186
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] arg) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint NLast = N;\n\t\tint N3;\n\t\tint NumberofDigits = 0;\n\n\t\tfor(;;) {\n\t\t\tif(N==0) {\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tNumberofDigits++;\n\t\t\t\tN = N/10;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=NumberofDigits;i>1;i--) {\n\t\t\tN3 = (int) (NLast/(Math.pow(10, i-1)));\n\t\t\tNLast = (int) (NLast - N3*(Math.pow(10, i-1)));\n\t\t}\n\n\t\tswitch(NLast) {\n\t\tcase 0: System.out.println(\"pon\"); break;\n\t\tcase 1: System.out.println(\"pon\"); break;\n\t\tcase 2: System.out.println(\"hon\"); break;\n\t\tcase 3: System.out.println(\"bon\"); break;\n\t\tcase 4: System.out.println(\"hon\"); break;\n\t\tcase 5: System.out.println(\"hon\"); break;\n\t\tcase 6: System.out.println(\"pon\"); break;\n\t\tcase 7: System.out.println(\"hon\"); break;\n\t\tcase 8: System.out.println(\"pon\"); break;\n\t\tcase 9: System.out.println(\"hon\"); break;\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] arg) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint NLast = N;\n\t\tint N3;\n\t\tint NumberofDigits = 0;\n\n\t\tfor(;;) {\n\t\t\tif(N==0) {\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tNumberofDigits++;\n\t\t\t\tN = N/10;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=NumberofDigits;i>1;i--) {\n\t\t\tN3 = (int) (NLast/(Math.pow(10, i-1)));\n\t\t\tNLast = (int) (NLast - N3*(Math.pow(10, i-1)));\n\t\t}\n\n\t\tswitch(NLast) {\n\t\tcase 0: System.out.println(\"pon\"); break;\n\t\tcase 1: System.out.println(\"pon\"); break;\n\t\tcase 2: System.out.println(\"hon\"); break;\n\t\tcase 3: System.out.println(\"bon\"); break;\n\t\tcase 4: System.out.println(\"hon\"); break;\n\t\tcase 5: System.out.println(\"hon\"); break;\n\t\tcase 6: System.out.println(\"pon\"); break;\n\t\tcase 7: System.out.println(\"hon\"); break;\n\t\tcase 8: System.out.println(\"pon\"); break;\n\t\tcase 9: System.out.println(\"hon\"); break;\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] arg) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint NLast = N;\n\t\tint N3;\n\t\tint NumberofDigits = 0;\n\n\t\tfor(;;) {\n\t\t\tif(N==0) {\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tNumberofDigits++;\n\t\t\t\tN = N/10;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=NumberofDigits;i>1;i--) {\n\t\t\tN3 = (int) (NLast/(Math.pow(10, i-1)));\n\t\t\tNLast = (int) (NLast - N3*(Math.pow(10, i-1)));\n\t\t}\n\n\t\tswitch(NLast) {\n\t\tcase 0: System.out.println(\"pon\"); break;\n\t\tcase 1: System.out.println(\"pon\"); break;\n\t\tcase 2: System.out.println(\"hon\"); break;\n\t\tcase 3: System.out.println(\"bon\"); break;\n\t\tcase 4: System.out.println(\"hon\"); break;\n\t\tcase 5: System.out.println(\"hon\"); break;\n\t\tcase 6: System.out.println(\"pon\"); break;\n\t\tcase 7: System.out.println(\"hon\"); break;\n\t\tcase 8: System.out.println(\"pon\"); break;\n\t\tcase 9: System.out.println(\"hon\"); break;\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint NLast = N;\n\t\tint N3;\n\t\tint NumberofDigits = 0;\n\n\t\tfor(;;) {\n\t\t\tif(N==0) {\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tNumberofDigits++;\n\t\t\t\tN = N/10;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=NumberofDigits;i>1;i--) {\n\t\t\tN3 = (int) (NLast/(Math.pow(10, i-1)));\n\t\t\tNLast = (int) (NLast - N3*(Math.pow(10, i-1)));\n\t\t}\n\n\t\tswitch(NLast) {\n\t\tcase 0: System.out.println(\"pon\"); break;\n\t\tcase 1: System.out.println(\"pon\"); break;\n\t\tcase 2: System.out.println(\"hon\"); break;\n\t\tcase 3: System.out.println(\"bon\"); break;\n\t\tcase 4: System.out.println(\"hon\"); break;\n\t\tcase 5: System.out.println(\"hon\"); break;\n\t\tcase 6: System.out.println(\"pon\"); break;\n\t\tcase 7: System.out.println(\"hon\"); break;\n\t\tcase 8: System.out.println(\"pon\"); break;\n\t\tcase 9: System.out.println(\"hon\"); break;\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int NLast = N;",
"NLast",
"N",
"int N3;",
"N3",
"int NumberofDigits = 0;",
"NumberofDigits",
"0",
"for(;;) {\n\t\t\tif(N==0) {\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tNumberofDigits++;\n\t\t\t\tN = N/10;\n\t\t\t}\n\t\t}",
";",
"{\n\t\t\tif(N==0) {\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tNumberofDigits++;\n\t\t\t\tN = N/10;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(N==0) {\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tNumberofDigits++;\n\t\t\t\tN = N/10;\n\t\t\t}\n\t\t}",
"if(N==0) {\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tNumberofDigits++;\n\t\t\t\tN = N/10;\n\t\t\t}",
"N==0",
"N",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tNumberofDigits++;\n\t\t\t\tN = N/10;\n\t\t\t}",
"NumberofDigits++",
"NumberofDigits",
"N = N/10",
"N",
"N/10",
"N",
"10",
"for(int i=NumberofDigits;i>1;i--) {\n\t\t\tN3 = (int) (NLast/(Math.pow(10, i-1)));\n\t\t\tNLast = (int) (NLast - N3*(Math.pow(10, i-1)));\n\t\t}",
"int i=NumberofDigits;",
"int i=NumberofDigits;",
"i",
"NumberofDigits",
"i>1",
"i",
"1",
"i--",
"i--",
"i",
"{\n\t\t\tN3 = (int) (NLast/(Math.pow(10, i-1)));\n\t\t\tNLast = (int) (NLast - N3*(Math.pow(10, i-1)));\n\t\t}",
"{\n\t\t\tN3 = (int) (NLast/(Math.pow(10, i-1)));\n\t\t\tNLast = (int) (NLast - N3*(Math.pow(10, i-1)));\n\t\t}",
"N3 = (int) (NLast/(Math.pow(10, i-1)))",
"N3",
"(int) (NLast/(Math.pow(10, i-1)))",
"NLast",
"(Math.pow(10, i-1))",
"Math.pow",
"Math",
"10",
"i-1",
"i",
"1",
"NLast = (int) (NLast - N3*(Math.pow(10, i-1)))",
"NLast",
"(int) (NLast - N3*(Math.pow(10, i-1)))",
"NLast",
"N3*(Math.pow(10, i-1))",
"N3",
"(Math.pow(10, i-1))",
"Math.pow",
"Math",
"10",
"i-1",
"i",
"1",
"switch(NLast) {\n\t\tcase 0: System.out.println(\"pon\"); break;\n\t\tcase 1: System.out.println(\"pon\"); break;\n\t\tcase 2: System.out.println(\"hon\"); break;\n\t\tcase 3: System.out.println(\"bon\"); break;\n\t\tcase 4: System.out.println(\"hon\"); break;\n\t\tcase 5: System.out.println(\"hon\"); break;\n\t\tcase 6: System.out.println(\"pon\"); break;\n\t\tcase 7: System.out.println(\"hon\"); break;\n\t\tcase 8: System.out.println(\"pon\"); break;\n\t\tcase 9: System.out.println(\"hon\"); break;\n\t\t}",
"NLast",
"case 0:",
"0",
"case 0:",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"case 1:",
"1",
"case 1:",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"case 2:",
"2",
"case 2:",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"break;",
"case 3:",
"3",
"case 3:",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"break;",
"case 4:",
"4",
"case 4:",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"break;",
"case 5:",
"5",
"case 5:",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"break;",
"case 6:",
"6",
"case 6:",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"case 7:",
"7",
"case 7:",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"break;",
"case 8:",
"8",
"case 8:",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"case 9:",
"9",
"case 9:",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"break;",
"String[] arg",
"arg",
"public class Main {\n\tpublic static void main(String[] arg) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint NLast = N;\n\t\tint N3;\n\t\tint NumberofDigits = 0;\n\n\t\tfor(;;) {\n\t\t\tif(N==0) {\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tNumberofDigits++;\n\t\t\t\tN = N/10;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=NumberofDigits;i>1;i--) {\n\t\t\tN3 = (int) (NLast/(Math.pow(10, i-1)));\n\t\t\tNLast = (int) (NLast - N3*(Math.pow(10, i-1)));\n\t\t}\n\n\t\tswitch(NLast) {\n\t\tcase 0: System.out.println(\"pon\"); break;\n\t\tcase 1: System.out.println(\"pon\"); break;\n\t\tcase 2: System.out.println(\"hon\"); break;\n\t\tcase 3: System.out.println(\"bon\"); break;\n\t\tcase 4: System.out.println(\"hon\"); break;\n\t\tcase 5: System.out.println(\"hon\"); break;\n\t\tcase 6: System.out.println(\"pon\"); break;\n\t\tcase 7: System.out.println(\"hon\"); break;\n\t\tcase 8: System.out.println(\"pon\"); break;\n\t\tcase 9: System.out.println(\"hon\"); break;\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] arg) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint NLast = N;\n\t\tint N3;\n\t\tint NumberofDigits = 0;\n\n\t\tfor(;;) {\n\t\t\tif(N==0) {\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tNumberofDigits++;\n\t\t\t\tN = N/10;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=NumberofDigits;i>1;i--) {\n\t\t\tN3 = (int) (NLast/(Math.pow(10, i-1)));\n\t\t\tNLast = (int) (NLast - N3*(Math.pow(10, i-1)));\n\t\t}\n\n\t\tswitch(NLast) {\n\t\tcase 0: System.out.println(\"pon\"); break;\n\t\tcase 1: System.out.println(\"pon\"); break;\n\t\tcase 2: System.out.println(\"hon\"); break;\n\t\tcase 3: System.out.println(\"bon\"); break;\n\t\tcase 4: System.out.println(\"hon\"); break;\n\t\tcase 5: System.out.println(\"hon\"); break;\n\t\tcase 6: System.out.println(\"pon\"); break;\n\t\tcase 7: System.out.println(\"hon\"); break;\n\t\tcase 8: System.out.println(\"pon\"); break;\n\t\tcase 9: System.out.println(\"hon\"); break;\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] arg) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int NLast = N;
int N3;
int NumberofDigits = 0;
for(;;) {
if(N==0) {
break;
}else {
NumberofDigits++;
N = N/10;
}
}
for(int i=NumberofDigits;i>1;i--) {
N3 = (int) (NLast/(Math.pow(10, i-1)));
NLast = (int) (NLast - N3*(Math.pow(10, i-1)));
}
switch(NLast) {
case 0: System.out.println("pon"); break;
case 1: System.out.println("pon"); break;
case 2: System.out.println("hon"); break;
case 3: System.out.println("bon"); break;
case 4: System.out.println("hon"); break;
case 5: System.out.println("hon"); break;
case 6: System.out.println("pon"); break;
case 7: System.out.println("hon"); break;
case 8: System.out.println("pon"); break;
case 9: System.out.println("hon"); break;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
13,
17,
41,
13,
14,
2,
13,
17,
30,
0,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
65,
5
],
[
65,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
35,
34
],
[
42,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
42,
42
],
[
42,
43
],
[
42,
44
],
[
35,
45
],
[
45,
46
],
[
45,
47
],
[
32,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
32,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
8,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
6,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint N = s.nextInt();\n\t\tint ones = N%10;\n\t\tString ans;\n\t\tif(ones == 3) {ans =\"bon\";}\n\t\telse if(ones==0 || ones==1 || ones==6 || ones==8) {ans=\"pon\";}\n\t\telse {ans = \"hon\";}\n\t\t\n\t\tSystem.out.println(ans);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint N = s.nextInt();\n\t\tint ones = N%10;\n\t\tString ans;\n\t\tif(ones == 3) {ans =\"bon\";}\n\t\telse if(ones==0 || ones==1 || ones==6 || ones==8) {ans=\"pon\";}\n\t\telse {ans = \"hon\";}\n\t\t\n\t\tSystem.out.println(ans);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint N = s.nextInt();\n\t\tint ones = N%10;\n\t\tString ans;\n\t\tif(ones == 3) {ans =\"bon\";}\n\t\telse if(ones==0 || ones==1 || ones==6 || ones==8) {ans=\"pon\";}\n\t\telse {ans = \"hon\";}\n\t\t\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tint N = s.nextInt();\n\t\tint ones = N%10;\n\t\tString ans;\n\t\tif(ones == 3) {ans =\"bon\";}\n\t\telse if(ones==0 || ones==1 || ones==6 || ones==8) {ans=\"pon\";}\n\t\telse {ans = \"hon\";}\n\t\t\n\t\tSystem.out.println(ans);\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int N = s.nextInt();",
"N",
"s.nextInt()",
"s.nextInt",
"s",
"int ones = N%10;",
"ones",
"N%10",
"N",
"10",
"String ans;",
"ans",
"if(ones == 3) {ans =\"bon\";}\n\t\telse if(ones==0 || ones==1 || ones==6 || ones==8) {ans=\"pon\";}\n\t\telse {ans = \"hon\";}",
"ones == 3",
"ones",
"3",
"{ans =\"bon\";}",
"ans =\"bon\"",
"ans",
"\"bon\"",
"if(ones==0 || ones==1 || ones==6 || ones==8) {ans=\"pon\";}\n\t\telse {ans = \"hon\";}",
"ones==0 || ones==1 || ones==6 || ones==8",
"ones==6",
"ones==0 || ones==1 || ones==6 || ones==8",
"ones==0",
"ones",
"0",
"ones==1",
"ones",
"1",
"ones==6",
"ones",
"6",
"ones==8",
"ones",
"8",
"{ans=\"pon\";}",
"ans=\"pon\"",
"ans",
"\"pon\"",
"{ans = \"hon\";}",
"ans = \"hon\"",
"ans",
"\"hon\"",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint N = s.nextInt();\n\t\tint ones = N%10;\n\t\tString ans;\n\t\tif(ones == 3) {ans =\"bon\";}\n\t\telse if(ones==0 || ones==1 || ones==6 || ones==8) {ans=\"pon\";}\n\t\telse {ans = \"hon\";}\n\t\t\n\t\tSystem.out.println(ans);\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint N = s.nextInt();\n\t\tint ones = N%10;\n\t\tString ans;\n\t\tif(ones == 3) {ans =\"bon\";}\n\t\telse if(ones==0 || ones==1 || ones==6 || ones==8) {ans=\"pon\";}\n\t\telse {ans = \"hon\";}\n\t\t\n\t\tSystem.out.println(ans);\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int N = s.nextInt();
int ones = N%10;
String ans;
if(ones == 3) {ans ="bon";}
else if(ones==0 || ones==1 || ones==6 || ones==8) {ans="pon";}
else {ans = "hon";}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
35,
2,
13,
17,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
1,
4,
18,
18,
13,
13,
17,
3,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
65,
5
],
[
65,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
26,
33
],
[
20,
34
],
[
34,
35
],
[
34,
36
],
[
20,
37
],
[
37,
38
],
[
37,
39
],
[
20,
40
],
[
40,
41
],
[
40,
42
],
[
20,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
45,
52
],
[
20,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
54,
61
],
[
6,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tsc.close();\n\t\tswitch (N % 10) {\n\t\t\tcase 3:\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\tcase 0:\n\t\t\tcase 1:\n\t\t\tcase 6:\n\t\t\tcase 8:\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tsc.close();\n\t\tswitch (N % 10) {\n\t\t\tcase 3:\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\tcase 0:\n\t\t\tcase 1:\n\t\t\tcase 6:\n\t\t\tcase 8:\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t}\n\t}\n}",
"Main",
"public static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tsc.close();\n\t\tswitch (N % 10) {\n\t\t\tcase 3:\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\tcase 0:\n\t\t\tcase 1:\n\t\t\tcase 6:\n\t\t\tcase 8:\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tsc.close();\n\t\tswitch (N % 10) {\n\t\t\tcase 3:\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\tcase 0:\n\t\t\tcase 1:\n\t\t\tcase 6:\n\t\t\tcase 8:\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.close()",
"sc.close",
"sc",
"switch (N % 10) {\n\t\t\tcase 3:\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\tcase 0:\n\t\t\tcase 1:\n\t\t\tcase 6:\n\t\t\tcase 8:\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t}",
"N % 10",
"N",
"10",
"case 3:",
"3",
"case 3:",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"break;",
"case 0:",
"0",
"case 0:",
"case 1:",
"1",
"case 1:",
"case 6:",
"6",
"case 6:",
"case 8:",
"8",
"case 8:",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"default:",
"default:",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"break;",
"final String[] args",
"args",
"public class Main {\n\n\tpublic static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tsc.close();\n\t\tswitch (N % 10) {\n\t\t\tcase 3:\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\tcase 0:\n\t\t\tcase 1:\n\t\t\tcase 6:\n\t\t\tcase 8:\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tsc.close();\n\t\tswitch (N % 10) {\n\t\t\tcase 3:\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\tcase 0:\n\t\t\tcase 1:\n\t\t\tcase 6:\n\t\t\tcase 8:\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(final String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
sc.close();
switch (N % 10) {
case 3:
System.out.println("bon");
break;
case 0:
case 1:
case 6:
case 8:
System.out.println("pon");
break;
default:
System.out.println("hon");
break;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
13,
17,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
27,
38
],
[
38,
39
],
[
41,
40
],
[
48,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
48,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
51,
53
],
[
38,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
38,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scr =new Scanner(System.in);\n\t\t\n\t\tint N = scr.nextInt();\n\t\tint A = N%100;\n\t\tint B = A%10;\n\t\t\n\t\tif(B == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}else if(B == 0||B == 1||B == 6||B == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\t\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scr =new Scanner(System.in);\n\t\t\n\t\tint N = scr.nextInt();\n\t\tint A = N%100;\n\t\tint B = A%10;\n\t\t\n\t\tif(B == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}else if(B == 0||B == 1||B == 6||B == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scr =new Scanner(System.in);\n\t\t\n\t\tint N = scr.nextInt();\n\t\tint A = N%100;\n\t\tint B = A%10;\n\t\t\n\t\tif(B == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}else if(B == 0||B == 1||B == 6||B == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner scr =new Scanner(System.in);\n\t\t\n\t\tint N = scr.nextInt();\n\t\tint A = N%100;\n\t\tint B = A%10;\n\t\t\n\t\tif(B == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}else if(B == 0||B == 1||B == 6||B == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\t\n\t}",
"Scanner scr =new Scanner(System.in);",
"scr",
"new Scanner(System.in)",
"int N = scr.nextInt();",
"N",
"scr.nextInt()",
"scr.nextInt",
"scr",
"int A = N%100;",
"A",
"N%100",
"N",
"100",
"int B = A%10;",
"B",
"A%10",
"A",
"10",
"if(B == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}else if(B == 0||B == 1||B == 6||B == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"B == 3",
"B",
"3",
"{\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(B == 0||B == 1||B == 6||B == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"B == 0||B == 1||B == 6||B == 8",
"B == 6",
"B == 0||B == 1||B == 6||B == 8",
"B == 0",
"B",
"0",
"B == 1",
"B",
"1",
"B == 6",
"B",
"6",
"B == 8",
"B",
"8",
"{\n\t\t\tSystem.out.println(\"pon\");\n\t\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scr =new Scanner(System.in);\n\t\t\n\t\tint N = scr.nextInt();\n\t\tint A = N%100;\n\t\tint B = A%10;\n\t\t\n\t\tif(B == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}else if(B == 0||B == 1||B == 6||B == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scr =new Scanner(System.in);\n\t\t\n\t\tint N = scr.nextInt();\n\t\tint A = N%100;\n\t\tint B = A%10;\n\t\t\n\t\tif(B == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}else if(B == 0||B == 1||B == 6||B == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\t\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scr =new Scanner(System.in);
int N = scr.nextInt();
int A = N%100;
int B = A%10;
if(B == 3) {
System.out.println("bon");
}else if(B == 0||B == 1||B == 6||B == 8) {
System.out.println("pon");
}else {
System.out.println("hon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
26,
24
],
[
36,
25
],
[
33,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
33,
33
],
[
33,
34
],
[
33,
35
],
[
36,
36
],
[
36,
37
],
[
36,
38
],
[
26,
39
],
[
39,
40
],
[
39,
41
],
[
22,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
22,
48
],
[
48,
49
],
[
51,
50
],
[
58,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
58,
58
],
[
58,
59
],
[
58,
60
],
[
51,
61
],
[
61,
62
],
[
61,
63
],
[
48,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
48,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] |
[
"import java.util.*;\npublic class Main\n{\npublic static void main(String args[])\n{\nScanner sc=new Scanner(System.in);\nint t=sc.nextInt();\nint a=t%10;\nif(a==2 || a==4 || a==5 || a==7 || a==9)\nSystem.out.println(\"hon\");\nelse if(a==0 || a==1 || a==6 || a==8)\nSystem.out.println(\"pon\");\nelse if(a==3)\nSystem.out.println(\"bon\");\n\n}\n}\n ",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\npublic static void main(String args[])\n{\nScanner sc=new Scanner(System.in);\nint t=sc.nextInt();\nint a=t%10;\nif(a==2 || a==4 || a==5 || a==7 || a==9)\nSystem.out.println(\"hon\");\nelse if(a==0 || a==1 || a==6 || a==8)\nSystem.out.println(\"pon\");\nelse if(a==3)\nSystem.out.println(\"bon\");\n\n}\n}",
"Main",
"public static void main(String args[])\n{\nScanner sc=new Scanner(System.in);\nint t=sc.nextInt();\nint a=t%10;\nif(a==2 || a==4 || a==5 || a==7 || a==9)\nSystem.out.println(\"hon\");\nelse if(a==0 || a==1 || a==6 || a==8)\nSystem.out.println(\"pon\");\nelse if(a==3)\nSystem.out.println(\"bon\");\n\n}",
"main",
"{\nScanner sc=new Scanner(System.in);\nint t=sc.nextInt();\nint a=t%10;\nif(a==2 || a==4 || a==5 || a==7 || a==9)\nSystem.out.println(\"hon\");\nelse if(a==0 || a==1 || a==6 || a==8)\nSystem.out.println(\"pon\");\nelse if(a==3)\nSystem.out.println(\"bon\");\n\n}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int t=sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int a=t%10;",
"a",
"t%10",
"t",
"10",
"if(a==2 || a==4 || a==5 || a==7 || a==9)\nSystem.out.println(\"hon\");\nelse if(a==0 || a==1 || a==6 || a==8)\nSystem.out.println(\"pon\");\nelse if(a==3)\nSystem.out.println(\"bon\");",
"a==2 || a==4 || a==5 || a==7 || a==9",
"a==7",
"a==5",
"a==2 || a==4 || a==5 || a==7 || a==9",
"a==2",
"a",
"2",
"a==4",
"a",
"4",
"a==5",
"a",
"5",
"a==7",
"a",
"7",
"a==9",
"a",
"9",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(a==0 || a==1 || a==6 || a==8)\nSystem.out.println(\"pon\");\nelse if(a==3)\nSystem.out.println(\"bon\");",
"a==0 || a==1 || a==6 || a==8",
"a==6",
"a==0 || a==1 || a==6 || a==8",
"a==0",
"a",
"0",
"a==1",
"a",
"1",
"a==6",
"a",
"6",
"a==8",
"a",
"8",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if(a==3)\nSystem.out.println(\"bon\");",
"a==3",
"a",
"3",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String args[]",
"args",
"public class Main\n{\npublic static void main(String args[])\n{\nScanner sc=new Scanner(System.in);\nint t=sc.nextInt();\nint a=t%10;\nif(a==2 || a==4 || a==5 || a==7 || a==9)\nSystem.out.println(\"hon\");\nelse if(a==0 || a==1 || a==6 || a==8)\nSystem.out.println(\"pon\");\nelse if(a==3)\nSystem.out.println(\"bon\");\n\n}\n}",
"public class Main\n{\npublic static void main(String args[])\n{\nScanner sc=new Scanner(System.in);\nint t=sc.nextInt();\nint a=t%10;\nif(a==2 || a==4 || a==5 || a==7 || a==9)\nSystem.out.println(\"hon\");\nelse if(a==0 || a==1 || a==6 || a==8)\nSystem.out.println(\"pon\");\nelse if(a==3)\nSystem.out.println(\"bon\");\n\n}\n}",
"Main"
] |
import java.util.*;
public class Main
{
public static void main(String args[])
{
Scanner sc=new Scanner(System.in);
int t=sc.nextInt();
int a=t%10;
if(a==2 || a==4 || a==5 || a==7 || a==9)
System.out.println("hon");
else if(a==0 || a==1 || a==6 || a==8)
System.out.println("pon");
else if(a==3)
System.out.println("bon");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
26,
24
],
[
36,
25
],
[
33,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
33,
33
],
[
33,
34
],
[
33,
35
],
[
36,
36
],
[
36,
37
],
[
36,
38
],
[
26,
39
],
[
39,
40
],
[
39,
41
],
[
22,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
22,
48
],
[
48,
49
],
[
51,
50
],
[
58,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
58,
58
],
[
58,
59
],
[
58,
60
],
[
51,
61
],
[
61,
62
],
[
61,
63
],
[
48,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
48,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
6,
76
],
[
76,
77
]
] |
[
"import java.util.Scanner;\nclass Main{\n\tpublic static void main(String[] args){\n Scanner sr = new Scanner(System.in);\n \tint N = sr.nextInt();\n int f = N % 10;\n if(f==2 || f==4|| f==5 || f==7 || f==9)\n \tSystem.out.println(\"hon\");\n else if(f==0 || f==1 || f==6 || f==8)\n \tSystem.out.println(\"pon\");\n else \n \tSystem.out.println(\"bon\"); \n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic static void main(String[] args){\n Scanner sr = new Scanner(System.in);\n \tint N = sr.nextInt();\n int f = N % 10;\n if(f==2 || f==4|| f==5 || f==7 || f==9)\n \tSystem.out.println(\"hon\");\n else if(f==0 || f==1 || f==6 || f==8)\n \tSystem.out.println(\"pon\");\n else \n \tSystem.out.println(\"bon\"); \n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sr = new Scanner(System.in);\n \tint N = sr.nextInt();\n int f = N % 10;\n if(f==2 || f==4|| f==5 || f==7 || f==9)\n \tSystem.out.println(\"hon\");\n else if(f==0 || f==1 || f==6 || f==8)\n \tSystem.out.println(\"pon\");\n else \n \tSystem.out.println(\"bon\"); \n }",
"main",
"{\n Scanner sr = new Scanner(System.in);\n \tint N = sr.nextInt();\n int f = N % 10;\n if(f==2 || f==4|| f==5 || f==7 || f==9)\n \tSystem.out.println(\"hon\");\n else if(f==0 || f==1 || f==6 || f==8)\n \tSystem.out.println(\"pon\");\n else \n \tSystem.out.println(\"bon\"); \n }",
"Scanner sr = new Scanner(System.in);",
"sr",
"new Scanner(System.in)",
"int N = sr.nextInt();",
"N",
"sr.nextInt()",
"sr.nextInt",
"sr",
"int f = N % 10;",
"f",
"N % 10",
"N",
"10",
"if(f==2 || f==4|| f==5 || f==7 || f==9)\n \tSystem.out.println(\"hon\");\n else if(f==0 || f==1 || f==6 || f==8)\n \tSystem.out.println(\"pon\");\n else \n \tSystem.out.println(\"bon\");",
"f==2 || f==4|| f==5 || f==7 || f==9",
"f==7",
"f==5",
"f==2 || f==4|| f==5 || f==7 || f==9",
"f==2",
"f",
"2",
"f==4",
"f",
"4",
"f==5",
"f",
"5",
"f==7",
"f",
"7",
"f==9",
"f",
"9",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(f==0 || f==1 || f==6 || f==8)\n \tSystem.out.println(\"pon\");\n else \n \tSystem.out.println(\"bon\");",
"f==0 || f==1 || f==6 || f==8",
"f==6",
"f==0 || f==1 || f==6 || f==8",
"f==0",
"f",
"0",
"f==1",
"f",
"1",
"f==6",
"f",
"6",
"f==8",
"f",
"8",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args"
] |
import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner sr = new Scanner(System.in);
int N = sr.nextInt();
int f = N % 10;
if(f==2 || f==4|| f==5 || f==7 || f==9)
System.out.println("hon");
else if(f==0 || f==1 || f==6 || f==8)
System.out.println("pon");
else
System.out.println("bon");
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
2,
4,
18,
13,
2,
4,
18,
13,
17,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
13,
17,
30,
4,
18,
13,
17,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
41,
13,
17,
12,
13,
30,
4,
13,
20,
23,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
17,
13,
17,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
37,
20,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
29,
17,
0,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
29,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
247,
32
],
[
247,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
35,
46
],
[
46,
47
],
[
46,
48
],
[
35,
49
],
[
49,
50
],
[
49,
51
],
[
35,
52
],
[
52,
53
],
[
52,
54
],
[
35,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
55,
59
],
[
55,
60
],
[
35,
61
],
[
61,
62
],
[
62,
63
],
[
33,
64
],
[
64,
65
],
[
247,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
70,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
82,
86
],
[
78,
87
],
[
70,
88
],
[
88,
89
],
[
91,
90
],
[
98,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
95,
97
],
[
98,
98
],
[
98,
99
],
[
98,
100
],
[
91,
101
],
[
101,
102
],
[
101,
103
],
[
88,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
88,
109
],
[
109,
110
],
[
113,
111
],
[
123,
112
],
[
120,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
117,
118
],
[
117,
119
],
[
120,
120
],
[
120,
121
],
[
120,
122
],
[
123,
123
],
[
123,
124
],
[
123,
125
],
[
113,
126
],
[
126,
127
],
[
126,
128
],
[
109,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
130,
133
],
[
109,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
135,
138
],
[
68,
139
],
[
139,
140
],
[
68,
141
],
[
141,
142
],
[
68,
143
],
[
143,
144
],
[
247,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
145,
149
],
[
149,
150
],
[
145,
151
],
[
151,
152
],
[
151,
153
],
[
145,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
154,
160
],
[
160,
161
],
[
145,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
162,
168
],
[
168,
169
],
[
145,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
173,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
178,
183
],
[
184,
184
],
[
184,
185
],
[
184,
186
],
[
184,
187
],
[
172,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
189,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
188,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
201,
205
],
[
205,
206
],
[
198,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
207,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
213,
217
],
[
217,
218
],
[
207,
219
],
[
219,
220
],
[
219,
221
],
[
172,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
225,
226
],
[
172,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
227,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
232,
237
],
[
239,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
238,
242
],
[
239,
243
],
[
172,
244
],
[
244,
245
],
[
0,
246
],
[
246,
247
],
[
246,
248
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.io.PrintStream;\nimport java.util.StringTokenizer;\nimport java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author Eric\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ATherefore solver = new ATherefore();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ATherefore {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n String a = in.next();\n int c = a.charAt(a.length() - 1) - '0';\n if (c == 0 || c == 1 || c == 6 || c == 8) {\n out.println(\"pon\");\n } else if (c == 2 || c == 4 || c == 5 || c == 7 || c == 9) {\n out.println(\"hon\");\n } else {\n out.println(\"bon\");\n }\n\n\n }\n\n }\n\n static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.io.PrintStream;",
"PrintStream",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ATherefore solver = new ATherefore();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ATherefore {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n String a = in.next();\n int c = a.charAt(a.length() - 1) - '0';\n if (c == 0 || c == 1 || c == 6 || c == 8) {\n out.println(\"pon\");\n } else if (c == 2 || c == 4 || c == 5 || c == 7 || c == 9) {\n out.println(\"hon\");\n } else {\n out.println(\"bon\");\n }\n\n\n }\n\n }\n\n static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ATherefore solver = new ATherefore();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ATherefore solver = new ATherefore();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"FastReader in = new FastReader(inputStream);",
"in",
"new FastReader(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"ATherefore solver = new ATherefore();",
"solver",
"new ATherefore()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class ATherefore {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n String a = in.next();\n int c = a.charAt(a.length() - 1) - '0';\n if (c == 0 || c == 1 || c == 6 || c == 8) {\n out.println(\"pon\");\n } else if (c == 2 || c == 4 || c == 5 || c == 7 || c == 9) {\n out.println(\"hon\");\n } else {\n out.println(\"bon\");\n }\n\n\n }\n\n }",
"ATherefore",
"public void solve(int testNumber, FastReader in, PrintWriter out) {\n String a = in.next();\n int c = a.charAt(a.length() - 1) - '0';\n if (c == 0 || c == 1 || c == 6 || c == 8) {\n out.println(\"pon\");\n } else if (c == 2 || c == 4 || c == 5 || c == 7 || c == 9) {\n out.println(\"hon\");\n } else {\n out.println(\"bon\");\n }\n\n\n }",
"solve",
"{\n String a = in.next();\n int c = a.charAt(a.length() - 1) - '0';\n if (c == 0 || c == 1 || c == 6 || c == 8) {\n out.println(\"pon\");\n } else if (c == 2 || c == 4 || c == 5 || c == 7 || c == 9) {\n out.println(\"hon\");\n } else {\n out.println(\"bon\");\n }\n\n\n }",
"String a = in.next();",
"a",
"in.next()",
"in.next",
"in",
"int c = a.charAt(a.length() - 1) - '0';",
"c",
"a.charAt(a.length() - 1) - '0'",
"a.charAt(a.length() - 1)",
"a.charAt",
"a",
"a.length() - 1",
"a.length()",
"a.length",
"a",
"1",
"'0'",
"if (c == 0 || c == 1 || c == 6 || c == 8) {\n out.println(\"pon\");\n } else if (c == 2 || c == 4 || c == 5 || c == 7 || c == 9) {\n out.println(\"hon\");\n } else {\n out.println(\"bon\");\n }",
"c == 0 || c == 1 || c == 6 || c == 8",
"c == 6",
"c == 0 || c == 1 || c == 6 || c == 8",
"c == 0",
"c",
"0",
"c == 1",
"c",
"1",
"c == 6",
"c",
"6",
"c == 8",
"c",
"8",
"{\n out.println(\"pon\");\n }",
"out.println(\"pon\")",
"out.println",
"out",
"\"pon\"",
"if (c == 2 || c == 4 || c == 5 || c == 7 || c == 9) {\n out.println(\"hon\");\n } else {\n out.println(\"bon\");\n }",
"c == 2 || c == 4 || c == 5 || c == 7 || c == 9",
"c == 7",
"c == 5",
"c == 2 || c == 4 || c == 5 || c == 7 || c == 9",
"c == 2",
"c",
"2",
"c == 4",
"c",
"4",
"c == 5",
"c",
"5",
"c == 7",
"c",
"7",
"c == 9",
"c",
"9",
"{\n out.println(\"hon\");\n }",
"out.println(\"hon\")",
"out.println",
"out",
"\"hon\"",
"{\n out.println(\"bon\");\n }",
"out.println(\"bon\")",
"out.println",
"out",
"\"bon\"",
"int testNumber",
"testNumber",
"FastReader in",
"in",
"PrintWriter out",
"out",
"static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n }",
"FastReader",
"public BufferedReader br;",
"br",
"public StringTokenizer st;",
"st",
"String context = null;",
"context",
"null",
"public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }",
"FastReader",
"{\n this(new InputStreamReader(in));\n }",
"this(new InputStreamReader(in))",
"this",
"new InputStreamReader(in)",
"InputStream in",
"in",
"public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }",
"FastReader",
"{\n br = new BufferedReader(input);\n }",
"br = new BufferedReader(input)",
"br",
"new BufferedReader(input)",
"InputStreamReader input",
"input",
"public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }",
"next",
"{\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }",
"if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }",
"context != null",
"context",
"null",
"{\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }",
"System.err.print(\"[\" + context + \"] Wait for input ...\")",
"System.err.print",
"System.err",
"System",
"System.err",
"\"[\" + context + \"] Wait for input ...\"",
"\"[\" + context + \"] Wait for input ...\"",
"\"[\"",
"context",
"\"] Wait for input ...\"",
"while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }",
"try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }",
"catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }",
"IOException e",
"{\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"throw new RuntimeException(\"Could not read\");",
"new RuntimeException(\"Could not read\")",
"{\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n }",
"String s = br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"if (s == null)\n return null;",
"s == null",
"s",
"null",
"return null;",
"null",
"st = new StringTokenizer(s)",
"st",
"new StringTokenizer(s)",
"String res = st.nextToken();",
"res",
"st.nextToken()",
"st.nextToken",
"st",
"if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }",
"context != null",
"context",
"null",
"{\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }",
"System.err.println(\"[\" + context + \"] ... received : \" + res)",
"System.err.println",
"System.err",
"System",
"System.err",
"\"[\" + context + \"] ... received : \" + res",
"\"] ... received : \"",
"\"[\" + context + \"] ... received : \" + res",
"\"[\"",
"context",
"\"] ... received : \"",
"res",
"return res;",
"res",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ATherefore solver = new ATherefore();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ATherefore {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n String a = in.next();\n int c = a.charAt(a.length() - 1) - '0';\n if (c == 0 || c == 1 || c == 6 || c == 8) {\n out.println(\"pon\");\n } else if (c == 2 || c == 4 || c == 5 || c == 7 || c == 9) {\n out.println(\"hon\");\n } else {\n out.println(\"bon\");\n }\n\n\n }\n\n }\n\n static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ATherefore solver = new ATherefore();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ATherefore {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n String a = in.next();\n int c = a.charAt(a.length() - 1) - '0';\n if (c == 0 || c == 1 || c == 6 || c == 8) {\n out.println(\"pon\");\n } else if (c == 2 || c == 4 || c == 5 || c == 7 || c == 9) {\n out.println(\"hon\");\n } else {\n out.println(\"bon\");\n }\n\n\n }\n\n }\n\n static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.io.PrintStream;
import java.util.StringTokenizer;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author Eric
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
FastReader in = new FastReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
ATherefore solver = new ATherefore();
solver.solve(1, in, out);
out.close();
}
static class ATherefore {
public void solve(int testNumber, FastReader in, PrintWriter out) {
String a = in.next();
int c = a.charAt(a.length() - 1) - '0';
if (c == 0 || c == 1 || c == 6 || c == 8) {
out.println("pon");
} else if (c == 2 || c == 4 || c == 5 || c == 7 || c == 9) {
out.println("hon");
} else {
out.println("bon");
}
}
}
static class FastReader {
public BufferedReader br;
public StringTokenizer st;
String context = null;
public FastReader(InputStream in) {
this(new InputStreamReader(in));
}
public FastReader(InputStreamReader input) {
br = new BufferedReader(input);
}
public String next() {
if (context != null) {
System.err.print("[" + context + "] Wait for input ...");
}
while (st == null || !st.hasMoreElements()) {
try {
String s = br.readLine();
if (s == null)
return null;
st = new StringTokenizer(s);
} catch (IOException e) {
e.printStackTrace();
throw new RuntimeException("Could not read");
}
}
String res = st.nextToken();
if (context != null) {
System.err.println("[" + context + "] ... received : " + res);
}
return res;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
0,
13,
17,
41,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
0,
13,
17,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
67,
11
],
[
67,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
14,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
29,
36
],
[
36,
37
],
[
39,
38
],
[
46,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
46,
46
],
[
46,
47
],
[
46,
48
],
[
39,
49
],
[
49,
50
],
[
49,
51
],
[
36,
52
],
[
52,
53
],
[
52,
54
],
[
36,
55
],
[
55,
56
],
[
55,
57
],
[
14,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
12,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] |
[
"import java.io.*;\nimport java.math.*;\nimport java.util.*;\npublic class Main { //Perform BFS from 2...N then use those values to print\n\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint x = input.nextInt();\n\t\tx%=10;\n\t\tString ans = \"\";\n\t\tif (x==3) ans = \"bon\";\n\t\telse if (x==0||x==1||x==6||x==8) ans = \"pon\";\n\t\telse ans = \"hon\";\n\t\tSystem.out.println(ans);\n\t}\t\n}",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main { //Perform BFS from 2...N then use those values to print\n\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint x = input.nextInt();\n\t\tx%=10;\n\t\tString ans = \"\";\n\t\tif (x==3) ans = \"bon\";\n\t\telse if (x==0||x==1||x==6||x==8) ans = \"pon\";\n\t\telse ans = \"hon\";\n\t\tSystem.out.println(ans);\n\t}\t\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint x = input.nextInt();\n\t\tx%=10;\n\t\tString ans = \"\";\n\t\tif (x==3) ans = \"bon\";\n\t\telse if (x==0||x==1||x==6||x==8) ans = \"pon\";\n\t\telse ans = \"hon\";\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tScanner input = new Scanner(System.in);\n\t\tint x = input.nextInt();\n\t\tx%=10;\n\t\tString ans = \"\";\n\t\tif (x==3) ans = \"bon\";\n\t\telse if (x==0||x==1||x==6||x==8) ans = \"pon\";\n\t\telse ans = \"hon\";\n\t\tSystem.out.println(ans);\n\t}",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"int x = input.nextInt();",
"x",
"input.nextInt()",
"input.nextInt",
"input",
"x%=10",
"x",
"10",
"String ans = \"\";",
"ans",
"\"\"",
"if (x==3) ans = \"bon\";\n\t\telse if (x==0||x==1||x==6||x==8) ans = \"pon\";\n\t\telse ans = \"hon\";",
"x==3",
"x",
"3",
"ans = \"bon\"",
"ans",
"\"bon\"",
"if (x==0||x==1||x==6||x==8) ans = \"pon\";\n\t\telse ans = \"hon\";",
"x==0||x==1||x==6||x==8",
"x==6",
"x==0||x==1||x==6||x==8",
"x==0",
"x",
"0",
"x==1",
"x",
"1",
"x==6",
"x",
"6",
"x==8",
"x",
"8",
"ans = \"pon\"",
"ans",
"\"pon\"",
"ans = \"hon\"",
"ans",
"\"hon\"",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main { //Perform BFS from 2...N then use those values to print\n\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint x = input.nextInt();\n\t\tx%=10;\n\t\tString ans = \"\";\n\t\tif (x==3) ans = \"bon\";\n\t\telse if (x==0||x==1||x==6||x==8) ans = \"pon\";\n\t\telse ans = \"hon\";\n\t\tSystem.out.println(ans);\n\t}\t\n}",
"public class Main { //Perform BFS from 2...N then use those values to print\n\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint x = input.nextInt();\n\t\tx%=10;\n\t\tString ans = \"\";\n\t\tif (x==3) ans = \"bon\";\n\t\telse if (x==0||x==1||x==6||x==8) ans = \"pon\";\n\t\telse ans = \"hon\";\n\t\tSystem.out.println(ans);\n\t}\t\n}",
"Main"
] |
import java.io.*;
import java.math.*;
import java.util.*;
public class Main { //Perform BFS from 2...N then use those values to print
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int x = input.nextInt();
x%=10;
String ans = "";
if (x==3) ans = "bon";
else if (x==0||x==1||x==6||x==8) ans = "pon";
else ans = "hon";
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
4,
18,
13,
17,
41,
13,
2,
13,
17,
35,
13,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
88,
5
],
[
88,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
40,
42
],
[
32,
43
],
[
43,
44
],
[
43,
45
],
[
32,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
48,
55
],
[
32,
56
],
[
56,
57
],
[
56,
58
],
[
32,
59
],
[
59,
60
],
[
59,
61
],
[
32,
62
],
[
62,
63
],
[
62,
64
],
[
32,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
67,
74
],
[
32,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
77,
84
],
[
6,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner scanner = new Scanner(System.in);\n String n = scanner.nextLine();\n char m = n.charAt(n.length()-1);\n int res = m - '0';\n switch (res) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n System.out.println(\"hon\");\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n System.out.println(\"pon\");\n break;\n case 3:\n System.out.println(\"bon\");\n break;\n }\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner scanner = new Scanner(System.in);\n String n = scanner.nextLine();\n char m = n.charAt(n.length()-1);\n int res = m - '0';\n switch (res) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n System.out.println(\"hon\");\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n System.out.println(\"pon\");\n break;\n case 3:\n System.out.println(\"bon\");\n break;\n }\n \n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner scanner = new Scanner(System.in);\n String n = scanner.nextLine();\n char m = n.charAt(n.length()-1);\n int res = m - '0';\n switch (res) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n System.out.println(\"hon\");\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n System.out.println(\"pon\");\n break;\n case 3:\n System.out.println(\"bon\");\n break;\n }\n \n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n String n = scanner.nextLine();\n char m = n.charAt(n.length()-1);\n int res = m - '0';\n switch (res) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n System.out.println(\"hon\");\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n System.out.println(\"pon\");\n break;\n case 3:\n System.out.println(\"bon\");\n break;\n }\n \n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String n = scanner.nextLine();",
"n",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"char m = n.charAt(n.length()-1);",
"m",
"n.charAt(n.length()-1)",
"n.charAt",
"n",
"n.length()-1",
"n.length()",
"n.length",
"n",
"1",
"int res = m - '0';",
"res",
"m - '0'",
"m",
"'0'",
"switch (res) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n System.out.println(\"hon\");\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n System.out.println(\"pon\");\n break;\n case 3:\n System.out.println(\"bon\");\n break;\n }",
"res",
"case 2:",
"2",
"case 2:",
"case 4:",
"4",
"case 4:",
"case 5:",
"5",
"case 5:",
"case 7:",
"7",
"case 7:",
"case 9:",
"9",
"case 9:",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"break;",
"case 0:",
"0",
"case 0:",
"case 1:",
"1",
"case 1:",
"case 6:",
"6",
"case 6:",
"case 8:",
"8",
"case 8:",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"case 3:",
"3",
"case 3:",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"break;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner scanner = new Scanner(System.in);\n String n = scanner.nextLine();\n char m = n.charAt(n.length()-1);\n int res = m - '0';\n switch (res) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n System.out.println(\"hon\");\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n System.out.println(\"pon\");\n break;\n case 3:\n System.out.println(\"bon\");\n break;\n }\n \n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner scanner = new Scanner(System.in);\n String n = scanner.nextLine();\n char m = n.charAt(n.length()-1);\n int res = m - '0';\n switch (res) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n System.out.println(\"hon\");\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n System.out.println(\"pon\");\n break;\n case 3:\n System.out.println(\"bon\");\n break;\n }\n \n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner scanner = new Scanner(System.in);
String n = scanner.nextLine();
char m = n.charAt(n.length()-1);
int res = m - '0';
switch (res) {
case 2:
case 4:
case 5:
case 7:
case 9:
System.out.println("hon");
break;
case 0:
case 1:
case 6:
case 8:
System.out.println("pon");
break;
case 3:
System.out.println("bon");
break;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
41,
13,
2,
18,
13,
2,
18,
13,
13,
17,
17,
14,
2,
13,
17,
30,
4,
18,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
14,
2,
4,
18,
13,
17,
17,
30,
0,
13,
17,
40,
13,
11,
1,
41,
13,
13,
2,
13,
4,
18,
13,
1,
40,
13,
30,
14,
2,
4,
18,
13,
13,
17,
30,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
20,
0,
13,
17,
30,
4,
18,
13,
4,
18,
13,
13,
14,
13,
0,
13,
17,
0,
13,
2,
4,
18,
13,
4,
18,
13,
13,
29,
2,
13,
8,
13,
40,
17,
17,
12,
13,
30,
29,
4,
18,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
254,
8
],
[
254,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
27,
35
],
[
11,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
36,
45
],
[
45,
46
],
[
48,
47
],
[
55,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
55,
55
],
[
55,
56
],
[
55,
57
],
[
48,
58
],
[
58,
59
],
[
58,
60
],
[
45,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
45,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
11,
70
],
[
70,
71
],
[
71,
72
],
[
9,
73
],
[
73,
74
],
[
254,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
75,
79
],
[
79,
80
],
[
75,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
81,
87
],
[
87,
88
],
[
75,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
89,
95
],
[
95,
96
],
[
75,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
100,
109
],
[
109,
110
],
[
109,
111
],
[
99,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
75,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
123,
124
],
[
75,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
132,
133
],
[
75,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
75,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
143,
148
],
[
148,
149
],
[
148,
150
],
[
143,
151
],
[
151,
152
],
[
151,
153
],
[
143,
154
],
[
154,
155
],
[
154,
156
],
[
143,
157
],
[
157,
158
],
[
157,
159
],
[
143,
160
],
[
160,
161
],
[
160,
162
],
[
143,
163
],
[
163,
164
],
[
163,
165
],
[
143,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
168,
171
],
[
167,
172
],
[
166,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
173,
177
],
[
177,
178
],
[
143,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
179,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
179,
189
],
[
189,
190
],
[
190,
191
],
[
179,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
195,
198
],
[
194,
199
],
[
193,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
204,
205
],
[
203,
206
],
[
206,
207
],
[
207,
208
],
[
200,
209
],
[
209,
210
],
[
209,
211
],
[
200,
212
],
[
212,
213
],
[
212,
214
],
[
193,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
216,
219
],
[
219,
220
],
[
220,
221
],
[
219,
222
],
[
215,
223
],
[
223,
224
],
[
223,
225
],
[
225,
226
],
[
225,
227
],
[
143,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
231,
232
],
[
232,
233
],
[
231,
234
],
[
234,
235
],
[
235,
236
],
[
230,
237
],
[
143,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
241,
243
],
[
243,
244
],
[
241,
245
],
[
75,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
249,
250
],
[
250,
251
],
[
251,
252
],
[
0,
253
],
[
253,
254
],
[
253,
255
]
] |
[
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n char[]s = sc.nextLine().toCharArray();\n int x = s[s.length-1]-'0';\n if (x==3){\n pw.println(\"bon\");\n }\n else if (x==0||x==1||x==6||x==8){\n pw.println(\"pon\");\n }\n else pw.println(\"hon\");\n pw.flush();\n }\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public String nextLine() throws IOException {\n return br.readLine();\n }\n\n public double nextDouble() throws IOException {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }\n\n public boolean ready() throws IOException {\n return br.ready();\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n char[]s = sc.nextLine().toCharArray();\n int x = s[s.length-1]-'0';\n if (x==3){\n pw.println(\"bon\");\n }\n else if (x==0||x==1||x==6||x==8){\n pw.println(\"pon\");\n }\n else pw.println(\"hon\");\n pw.flush();\n }\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public String nextLine() throws IOException {\n return br.readLine();\n }\n\n public double nextDouble() throws IOException {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }\n\n public boolean ready() throws IOException {\n return br.ready();\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n char[]s = sc.nextLine().toCharArray();\n int x = s[s.length-1]-'0';\n if (x==3){\n pw.println(\"bon\");\n }\n else if (x==0||x==1||x==6||x==8){\n pw.println(\"pon\");\n }\n else pw.println(\"hon\");\n pw.flush();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n char[]s = sc.nextLine().toCharArray();\n int x = s[s.length-1]-'0';\n if (x==3){\n pw.println(\"bon\");\n }\n else if (x==0||x==1||x==6||x==8){\n pw.println(\"pon\");\n }\n else pw.println(\"hon\");\n pw.flush();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"char[]s = sc.nextLine().toCharArray();",
"s",
"sc.nextLine().toCharArray()",
"sc.nextLine().toCharArray",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int x = s[s.length-1]-'0';",
"x",
"s[s.length-1]-'0'",
"s[s.length-1]",
"s",
"s.length-1",
"s.length",
"s",
"s.length",
"1",
"'0'",
"if (x==3){\n pw.println(\"bon\");\n }\n else if (x==0||x==1||x==6||x==8){\n pw.println(\"pon\");\n }\n else pw.println(\"hon\");",
"x==3",
"x",
"3",
"{\n pw.println(\"bon\");\n }",
"pw.println(\"bon\")",
"pw.println",
"pw",
"\"bon\"",
"if (x==0||x==1||x==6||x==8){\n pw.println(\"pon\");\n }\n else pw.println(\"hon\");",
"x==0||x==1||x==6||x==8",
"x==6",
"x==0||x==1||x==6||x==8",
"x==0",
"x",
"0",
"x==1",
"x",
"1",
"x==6",
"x",
"6",
"x==8",
"x",
"8",
"{\n pw.println(\"pon\");\n }",
"pw.println(\"pon\")",
"pw.println",
"pw",
"\"pon\"",
"pw.println(\"hon\")",
"pw.println",
"pw",
"\"hon\"",
"pw.flush()",
"pw.flush",
"pw",
"String[] args",
"args",
"static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public String nextLine() throws IOException {\n return br.readLine();\n }\n\n public double nextDouble() throws IOException {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }\n\n public boolean ready() throws IOException {\n return br.ready();\n }\n }",
"Scanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }",
"Scanner",
"{\n br = new BufferedReader(r);\n }",
"br = new BufferedReader(r)",
"br",
"new BufferedReader(r)",
"FileReader r",
"r",
"public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }",
"Scanner",
"{\n br = new BufferedReader(new InputStreamReader(s));\n }",
"br = new BufferedReader(new InputStreamReader(s))",
"br",
"new BufferedReader(new InputStreamReader(s))",
"InputStream s",
"s",
"public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() throws IOException {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public String nextLine() throws IOException {\n return br.readLine();\n }",
"nextLine",
"{\n return br.readLine();\n }",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public double nextDouble() throws IOException {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }",
"nextDouble",
"{\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }",
"String x = next();",
"x",
"next()",
"next",
"StringBuilder sb = new StringBuilder(\"0\");",
"sb",
"new StringBuilder(\"0\")",
"double res = 0",
"res",
"0",
"f = 1;",
"f",
"1",
"boolean dec = false",
"dec",
"false",
"neg = false;",
"neg",
"false",
"int start = 0;",
"start",
"0",
"if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }",
"x.charAt(0) == '-'",
"x.charAt(0)",
"x.charAt",
"x",
"0",
"'-'",
"{\n neg = true;\n start++;\n }",
"neg = true",
"neg",
"true",
"start++",
"start",
"for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }",
"int i = start;",
"int i = start;",
"i",
"start",
"i < x.length()",
"i",
"x.length()",
"x.length",
"x",
"i++",
"i++",
"i",
"if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }",
"if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }",
"x.charAt(i) == '.'",
"x.charAt(i)",
"x.charAt",
"x",
"i",
"'.'",
"{\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }",
"res = Long.parseLong(sb.toString())",
"res",
"Long.parseLong(sb.toString())",
"Long.parseLong",
"Long",
"sb.toString()",
"sb.toString",
"sb",
"sb = new StringBuilder(\"0\")",
"sb",
"new StringBuilder(\"0\")",
"dec = true",
"dec",
"true",
"{\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }",
"sb.append(x.charAt(i))",
"sb.append",
"sb",
"x.charAt(i)",
"x.charAt",
"x",
"i",
"if (dec)\n f *= 10;",
"dec",
"f *= 10",
"f",
"10",
"res += Long.parseLong(sb.toString()) / f",
"res",
"Long.parseLong(sb.toString()) / f",
"Long.parseLong(sb.toString())",
"Long.parseLong",
"Long",
"sb.toString()",
"sb.toString",
"sb",
"f",
"return res * (neg ? -1 : 1);",
"res * (neg ? -1 : 1)",
"res",
"(neg ? -1 : 1)",
"neg",
"-1",
"1",
"1",
"public boolean ready() throws IOException {\n return br.ready();\n }",
"ready",
"{\n return br.ready();\n }",
"return br.ready();",
"br.ready()",
"br.ready",
"br",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n char[]s = sc.nextLine().toCharArray();\n int x = s[s.length-1]-'0';\n if (x==3){\n pw.println(\"bon\");\n }\n else if (x==0||x==1||x==6||x==8){\n pw.println(\"pon\");\n }\n else pw.println(\"hon\");\n pw.flush();\n }\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public String nextLine() throws IOException {\n return br.readLine();\n }\n\n public double nextDouble() throws IOException {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }\n\n public boolean ready() throws IOException {\n return br.ready();\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n char[]s = sc.nextLine().toCharArray();\n int x = s[s.length-1]-'0';\n if (x==3){\n pw.println(\"bon\");\n }\n else if (x==0||x==1||x==6||x==8){\n pw.println(\"pon\");\n }\n else pw.println(\"hon\");\n pw.flush();\n }\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public String nextLine() throws IOException {\n return br.readLine();\n }\n\n public double nextDouble() throws IOException {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }\n\n public boolean ready() throws IOException {\n return br.ready();\n }\n }\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
PrintWriter pw = new PrintWriter(System.out);
char[]s = sc.nextLine().toCharArray();
int x = s[s.length-1]-'0';
if (x==3){
pw.println("bon");
}
else if (x==0||x==1||x==6||x==8){
pw.println("pon");
}
else pw.println("hon");
pw.flush();
}
static class Scanner {
StringTokenizer st;
BufferedReader br;
public Scanner(FileReader r) {
br = new BufferedReader(r);
}
public Scanner(InputStream s) {
br = new BufferedReader(new InputStreamReader(s));
}
public String next() throws IOException {
while (st == null || !st.hasMoreTokens())
st = new StringTokenizer(br.readLine());
return st.nextToken();
}
public int nextInt() throws IOException {
return Integer.parseInt(next());
}
public long nextLong() throws IOException {
return Long.parseLong(next());
}
public String nextLine() throws IOException {
return br.readLine();
}
public double nextDouble() throws IOException {
String x = next();
StringBuilder sb = new StringBuilder("0");
double res = 0, f = 1;
boolean dec = false, neg = false;
int start = 0;
if (x.charAt(0) == '-') {
neg = true;
start++;
}
for (int i = start; i < x.length(); i++)
if (x.charAt(i) == '.') {
res = Long.parseLong(sb.toString());
sb = new StringBuilder("0");
dec = true;
} else {
sb.append(x.charAt(i));
if (dec)
f *= 10;
}
res += Long.parseLong(sb.toString()) / f;
return res * (neg ? -1 : 1);
}
public boolean ready() throws IOException {
return br.ready();
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
2,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
97,
5
],
[
97,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
41,
39
],
[
51,
40
],
[
48,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
48,
48
],
[
48,
49
],
[
48,
50
],
[
51,
51
],
[
51,
52
],
[
51,
53
],
[
41,
54
],
[
54,
55
],
[
54,
56
],
[
37,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
37,
64
],
[
64,
65
],
[
67,
66
],
[
74,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
74,
74
],
[
74,
75
],
[
74,
76
],
[
67,
77
],
[
77,
78
],
[
77,
79
],
[
64,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
64,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
6,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
] |
[
"import java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner n = new Scanner(System.in);\n\t\t\n\t\tint N = n.nextInt();\n\t\t\n\t\tif(N >= 100) {\n\t\t\tN = N % 100;\n\t\t}\n\t\t\n\t\tif(N >= 10) {\n\t\t\tN = N % 10;\n\t\t}\n\t\t\n\t\tif(N == 2 || N == 4 || N == 5 || N == 7 || N == 9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t\t\n\t\t}else if(N == 0 || N == 1 || N == 6 || N == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t\t\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner n = new Scanner(System.in);\n\t\t\n\t\tint N = n.nextInt();\n\t\t\n\t\tif(N >= 100) {\n\t\t\tN = N % 100;\n\t\t}\n\t\t\n\t\tif(N >= 10) {\n\t\t\tN = N % 10;\n\t\t}\n\t\t\n\t\tif(N == 2 || N == 4 || N == 5 || N == 7 || N == 9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t\t\n\t\t}else if(N == 0 || N == 1 || N == 6 || N == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t\t\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]) {\n\t\tScanner n = new Scanner(System.in);\n\t\t\n\t\tint N = n.nextInt();\n\t\t\n\t\tif(N >= 100) {\n\t\t\tN = N % 100;\n\t\t}\n\t\t\n\t\tif(N >= 10) {\n\t\t\tN = N % 10;\n\t\t}\n\t\t\n\t\tif(N == 2 || N == 4 || N == 5 || N == 7 || N == 9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t\t\n\t\t}else if(N == 0 || N == 1 || N == 6 || N == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t\t\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t}",
"main",
"{\n\t\tScanner n = new Scanner(System.in);\n\t\t\n\t\tint N = n.nextInt();\n\t\t\n\t\tif(N >= 100) {\n\t\t\tN = N % 100;\n\t\t}\n\t\t\n\t\tif(N >= 10) {\n\t\t\tN = N % 10;\n\t\t}\n\t\t\n\t\tif(N == 2 || N == 4 || N == 5 || N == 7 || N == 9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t\t\n\t\t}else if(N == 0 || N == 1 || N == 6 || N == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t\t\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t}",
"Scanner n = new Scanner(System.in);",
"n",
"new Scanner(System.in)",
"int N = n.nextInt();",
"N",
"n.nextInt()",
"n.nextInt",
"n",
"if(N >= 100) {\n\t\t\tN = N % 100;\n\t\t}",
"N >= 100",
"N",
"100",
"{\n\t\t\tN = N % 100;\n\t\t}",
"N = N % 100",
"N",
"N % 100",
"N",
"100",
"if(N >= 10) {\n\t\t\tN = N % 10;\n\t\t}",
"N >= 10",
"N",
"10",
"{\n\t\t\tN = N % 10;\n\t\t}",
"N = N % 10",
"N",
"N % 10",
"N",
"10",
"if(N == 2 || N == 4 || N == 5 || N == 7 || N == 9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t\t\n\t\t}else if(N == 0 || N == 1 || N == 6 || N == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t\t\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"N == 2 || N == 4 || N == 5 || N == 7 || N == 9",
"N == 7",
"N == 5",
"N == 2 || N == 4 || N == 5 || N == 7 || N == 9",
"N == 2",
"N",
"2",
"N == 4",
"N",
"4",
"N == 5",
"N",
"5",
"N == 7",
"N",
"7",
"N == 9",
"N",
"9",
"{\n\t\t\tSystem.out.println(\"hon\");\n\t\t\t\n\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(N == 0 || N == 1 || N == 6 || N == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t\t\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"N == 0 || N == 1 || N == 6 || N == 8",
"N == 6",
"N == 0 || N == 1 || N == 6 || N == 8",
"N == 0",
"N",
"0",
"N == 1",
"N",
"1",
"N == 6",
"N",
"6",
"N == 8",
"N",
"8",
"{\n\t\t\tSystem.out.println(\"pon\");\n\t\t\t\n\t\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner n = new Scanner(System.in);\n\t\t\n\t\tint N = n.nextInt();\n\t\t\n\t\tif(N >= 100) {\n\t\t\tN = N % 100;\n\t\t}\n\t\t\n\t\tif(N >= 10) {\n\t\t\tN = N % 10;\n\t\t}\n\t\t\n\t\tif(N == 2 || N == 4 || N == 5 || N == 7 || N == 9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t\t\n\t\t}else if(N == 0 || N == 1 || N == 6 || N == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t\t\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner n = new Scanner(System.in);\n\t\t\n\t\tint N = n.nextInt();\n\t\t\n\t\tif(N >= 100) {\n\t\t\tN = N % 100;\n\t\t}\n\t\t\n\t\tif(N >= 10) {\n\t\t\tN = N % 10;\n\t\t}\n\t\t\n\t\tif(N == 2 || N == 4 || N == 5 || N == 7 || N == 9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t\t\n\t\t}else if(N == 0 || N == 1 || N == 6 || N == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t\t\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner n = new Scanner(System.in);
int N = n.nextInt();
if(N >= 100) {
N = N % 100;
}
if(N >= 10) {
N = N % 10;
}
if(N == 2 || N == 4 || N == 5 || N == 7 || N == 9) {
System.out.println("hon");
}else if(N == 0 || N == 1 || N == 6 || N == 8) {
System.out.println("pon");
}else {
System.out.println("bon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
35,
2,
13,
17,
34,
17,
1,
29,
17,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
29,
17,
34,
1,
29,
17,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
20,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
58,
5
],
[
58,
6
],
[
6,
7
],
[
6,
8
],
[
58,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
17,
32
],
[
32,
33
],
[
32,
34
],
[
17,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
17,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
58,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
44,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] |
[
"\nimport java.util.Scanner;\n\npublic class Main {\n Scanner in = new Scanner(System.in);\n\n String run() {\n int N = in.nextInt();\n switch (N % 10) {\n case 3:\n return \"bon\";\n case 0:\n case 1:\n case 6:\n case 8:\n return \"pon\";\n default:\n return \"hon\";\n }\n }\n\n public static void main(String[] args) {\n System.out.println(new Main().run());\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n Scanner in = new Scanner(System.in);\n\n String run() {\n int N = in.nextInt();\n switch (N % 10) {\n case 3:\n return \"bon\";\n case 0:\n case 1:\n case 6:\n case 8:\n return \"pon\";\n default:\n return \"hon\";\n }\n }\n\n public static void main(String[] args) {\n System.out.println(new Main().run());\n }\n}",
"Main",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"String run() {\n int N = in.nextInt();\n switch (N % 10) {\n case 3:\n return \"bon\";\n case 0:\n case 1:\n case 6:\n case 8:\n return \"pon\";\n default:\n return \"hon\";\n }\n }",
"run",
"{\n int N = in.nextInt();\n switch (N % 10) {\n case 3:\n return \"bon\";\n case 0:\n case 1:\n case 6:\n case 8:\n return \"pon\";\n default:\n return \"hon\";\n }\n }",
"int N = in.nextInt();",
"N",
"in.nextInt()",
"in.nextInt",
"in",
"switch (N % 10) {\n case 3:\n return \"bon\";\n case 0:\n case 1:\n case 6:\n case 8:\n return \"pon\";\n default:\n return \"hon\";\n }",
"N % 10",
"N",
"10",
"case 3:",
"3",
"case 3:",
"return \"bon\";",
"\"bon\"",
"case 0:",
"0",
"case 0:",
"case 1:",
"1",
"case 1:",
"case 6:",
"6",
"case 6:",
"case 8:",
"8",
"case 8:",
"return \"pon\";",
"\"pon\"",
"default:",
"default:",
"return \"hon\";",
"\"hon\"",
"public static void main(String[] args) {\n System.out.println(new Main().run());\n }",
"main",
"{\n System.out.println(new Main().run());\n }",
"System.out.println(new Main().run())",
"System.out.println",
"System.out",
"System",
"System.out",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"public class Main {\n Scanner in = new Scanner(System.in);\n\n String run() {\n int N = in.nextInt();\n switch (N % 10) {\n case 3:\n return \"bon\";\n case 0:\n case 1:\n case 6:\n case 8:\n return \"pon\";\n default:\n return \"hon\";\n }\n }\n\n public static void main(String[] args) {\n System.out.println(new Main().run());\n }\n}",
"public class Main {\n Scanner in = new Scanner(System.in);\n\n String run() {\n int N = in.nextInt();\n switch (N % 10) {\n case 3:\n return \"bon\";\n case 0:\n case 1:\n case 6:\n case 8:\n return \"pon\";\n default:\n return \"hon\";\n }\n }\n\n public static void main(String[] args) {\n System.out.println(new Main().run());\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
Scanner in = new Scanner(System.in);
String run() {
int N = in.nextInt();
switch (N % 10) {
case 3:
return "bon";
case 0:
case 1:
case 6:
case 8:
return "pon";
default:
return "hon";
}
}
public static void main(String[] args) {
System.out.println(new Main().run());
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
4,
18,
13,
17,
41,
13,
4,
18,
13,
13,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
100,
11
],
[
100,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
25,
29
],
[
14,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
14,
36
],
[
36,
37
],
[
40,
38
],
[
50,
39
],
[
47,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
47,
47
],
[
47,
48
],
[
47,
49
],
[
50,
50
],
[
50,
51
],
[
50,
52
],
[
40,
53
],
[
53,
54
],
[
53,
55
],
[
36,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
36,
63
],
[
63,
64
],
[
66,
65
],
[
73,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
73,
73
],
[
73,
74
],
[
73,
75
],
[
66,
76
],
[
76,
77
],
[
76,
78
],
[
63,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
63,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
12,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
] |
[
"\nimport java.util.*;\nimport java.io.*;\n\nimport static java.lang.Character.isUpperCase;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n Scanner in = new Scanner(System.in);\n\n String str = in.next();\n\n\n\n int a = str.length()- 1;\n\n\n\n char ch = str.charAt(a);\n\n\n if(ch=='2'|| ch=='4'|| ch=='5' || ch=='7' || ch=='9')\n {\n System.out.println(\"hon\");\n }\n\n else if(ch=='0' || ch=='1' || ch=='6' || ch=='8')\n {\n System.out.println(\"pon\");\n }\n\n else if(ch=='3')\n {\n System.out.println(\"bon\");\n }\n\n\n\n }\n\n\n\n\n\n\n\n }\n\n\n\n",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import static java.lang.Character.isUpperCase;",
"import static java.lang.Character.isUpperCase;",
"import static java.lang.Character.isUpperCase;",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner in = new Scanner(System.in);\n\n String str = in.next();\n\n\n\n int a = str.length()- 1;\n\n\n\n char ch = str.charAt(a);\n\n\n if(ch=='2'|| ch=='4'|| ch=='5' || ch=='7' || ch=='9')\n {\n System.out.println(\"hon\");\n }\n\n else if(ch=='0' || ch=='1' || ch=='6' || ch=='8')\n {\n System.out.println(\"pon\");\n }\n\n else if(ch=='3')\n {\n System.out.println(\"bon\");\n }\n\n\n\n }\n\n\n\n\n\n\n\n }",
"Main",
"public static void main(String[] args) {\n\n Scanner in = new Scanner(System.in);\n\n String str = in.next();\n\n\n\n int a = str.length()- 1;\n\n\n\n char ch = str.charAt(a);\n\n\n if(ch=='2'|| ch=='4'|| ch=='5' || ch=='7' || ch=='9')\n {\n System.out.println(\"hon\");\n }\n\n else if(ch=='0' || ch=='1' || ch=='6' || ch=='8')\n {\n System.out.println(\"pon\");\n }\n\n else if(ch=='3')\n {\n System.out.println(\"bon\");\n }\n\n\n\n }",
"main",
"{\n\n Scanner in = new Scanner(System.in);\n\n String str = in.next();\n\n\n\n int a = str.length()- 1;\n\n\n\n char ch = str.charAt(a);\n\n\n if(ch=='2'|| ch=='4'|| ch=='5' || ch=='7' || ch=='9')\n {\n System.out.println(\"hon\");\n }\n\n else if(ch=='0' || ch=='1' || ch=='6' || ch=='8')\n {\n System.out.println(\"pon\");\n }\n\n else if(ch=='3')\n {\n System.out.println(\"bon\");\n }\n\n\n\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"String str = in.next();",
"str",
"in.next()",
"in.next",
"in",
"int a = str.length()- 1;",
"a",
"str.length()- 1",
"str.length()",
"str.length",
"str",
"1",
"char ch = str.charAt(a);",
"ch",
"str.charAt(a)",
"str.charAt",
"str",
"a",
"if(ch=='2'|| ch=='4'|| ch=='5' || ch=='7' || ch=='9')\n {\n System.out.println(\"hon\");\n }\n\n else if(ch=='0' || ch=='1' || ch=='6' || ch=='8')\n {\n System.out.println(\"pon\");\n }\n\n else if(ch=='3')\n {\n System.out.println(\"bon\");\n }",
"ch=='2'|| ch=='4'|| ch=='5' || ch=='7' || ch=='9'",
"ch=='7'",
"ch=='5'",
"ch=='2'|| ch=='4'|| ch=='5' || ch=='7' || ch=='9'",
"ch=='2'",
"ch",
"'2'",
"ch=='4'",
"ch",
"'4'",
"ch=='5'",
"ch",
"'5'",
"ch=='7'",
"ch",
"'7'",
"ch=='9'",
"ch",
"'9'",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(ch=='0' || ch=='1' || ch=='6' || ch=='8')\n {\n System.out.println(\"pon\");\n }\n\n else if(ch=='3')\n {\n System.out.println(\"bon\");\n }",
"ch=='0' || ch=='1' || ch=='6' || ch=='8'",
"ch=='6'",
"ch=='0' || ch=='1' || ch=='6' || ch=='8'",
"ch=='0'",
"ch",
"'0'",
"ch=='1'",
"ch",
"'1'",
"ch=='6'",
"ch",
"'6'",
"ch=='8'",
"ch",
"'8'",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if(ch=='3')\n {\n System.out.println(\"bon\");\n }",
"ch=='3'",
"ch",
"'3'",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner in = new Scanner(System.in);\n\n String str = in.next();\n\n\n\n int a = str.length()- 1;\n\n\n\n char ch = str.charAt(a);\n\n\n if(ch=='2'|| ch=='4'|| ch=='5' || ch=='7' || ch=='9')\n {\n System.out.println(\"hon\");\n }\n\n else if(ch=='0' || ch=='1' || ch=='6' || ch=='8')\n {\n System.out.println(\"pon\");\n }\n\n else if(ch=='3')\n {\n System.out.println(\"bon\");\n }\n\n\n\n }\n\n\n\n\n\n\n\n }",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner in = new Scanner(System.in);\n\n String str = in.next();\n\n\n\n int a = str.length()- 1;\n\n\n\n char ch = str.charAt(a);\n\n\n if(ch=='2'|| ch=='4'|| ch=='5' || ch=='7' || ch=='9')\n {\n System.out.println(\"hon\");\n }\n\n else if(ch=='0' || ch=='1' || ch=='6' || ch=='8')\n {\n System.out.println(\"pon\");\n }\n\n else if(ch=='3')\n {\n System.out.println(\"bon\");\n }\n\n\n\n }\n\n\n\n\n\n\n\n }",
"Main"
] |
import java.util.*;
import java.io.*;
import static java.lang.Character.isUpperCase;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String str = in.next();
int a = str.length()- 1;
char ch = str.charAt(a);
if(ch=='2'|| ch=='4'|| ch=='5' || ch=='7' || ch=='9')
{
System.out.println("hon");
}
else if(ch=='0' || ch=='1' || ch=='6' || ch=='8')
{
System.out.println("pon");
}
else if(ch=='3')
{
System.out.println("bon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
35,
4,
18,
13,
2,
4,
18,
13,
17,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
86,
5
],
[
86,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
27,
31
],
[
23,
32
],
[
32,
33
],
[
32,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
23,
38
],
[
38,
39
],
[
38,
40
],
[
23,
41
],
[
41,
42
],
[
41,
43
],
[
23,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
46,
53
],
[
23,
54
],
[
54,
55
],
[
54,
56
],
[
23,
57
],
[
57,
58
],
[
57,
59
],
[
23,
60
],
[
60,
61
],
[
60,
62
],
[
23,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
65,
72
],
[
23,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
75,
82
],
[
6,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] |
[
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String s = String.valueOf(n);\n switch(s.substring(s.length() - 1)){\n case \"2\":\n case \"4\":\n case \"5\":\n case \"7\":\n case \"9\":\n System.out.println(\"hon\");\n break;\n case \"0\":\n case \"1\":\n case \"6\":\n case \"8\":\n System.out.println(\"pon\");\n break;\n case \"3\":\n System.out.println(\"bon\");\n break;\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String s = String.valueOf(n);\n switch(s.substring(s.length() - 1)){\n case \"2\":\n case \"4\":\n case \"5\":\n case \"7\":\n case \"9\":\n System.out.println(\"hon\");\n break;\n case \"0\":\n case \"1\":\n case \"6\":\n case \"8\":\n System.out.println(\"pon\");\n break;\n case \"3\":\n System.out.println(\"bon\");\n break;\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String s = String.valueOf(n);\n switch(s.substring(s.length() - 1)){\n case \"2\":\n case \"4\":\n case \"5\":\n case \"7\":\n case \"9\":\n System.out.println(\"hon\");\n break;\n case \"0\":\n case \"1\":\n case \"6\":\n case \"8\":\n System.out.println(\"pon\");\n break;\n case \"3\":\n System.out.println(\"bon\");\n break;\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String s = String.valueOf(n);\n switch(s.substring(s.length() - 1)){\n case \"2\":\n case \"4\":\n case \"5\":\n case \"7\":\n case \"9\":\n System.out.println(\"hon\");\n break;\n case \"0\":\n case \"1\":\n case \"6\":\n case \"8\":\n System.out.println(\"pon\");\n break;\n case \"3\":\n System.out.println(\"bon\");\n break;\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String s = String.valueOf(n);",
"s",
"String.valueOf(n)",
"String.valueOf",
"String",
"n",
"switch(s.substring(s.length() - 1)){\n case \"2\":\n case \"4\":\n case \"5\":\n case \"7\":\n case \"9\":\n System.out.println(\"hon\");\n break;\n case \"0\":\n case \"1\":\n case \"6\":\n case \"8\":\n System.out.println(\"pon\");\n break;\n case \"3\":\n System.out.println(\"bon\");\n break;\n }",
"s.substring(s.length() - 1)",
"s.substring",
"s",
"s.length() - 1",
"s.length()",
"s.length",
"s",
"1",
"case \"2\":",
"\"2\"",
"case \"2\":",
"case \"4\":",
"\"4\"",
"case \"4\":",
"case \"5\":",
"\"5\"",
"case \"5\":",
"case \"7\":",
"\"7\"",
"case \"7\":",
"case \"9\":",
"\"9\"",
"case \"9\":",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"break;",
"case \"0\":",
"\"0\"",
"case \"0\":",
"case \"1\":",
"\"1\"",
"case \"1\":",
"case \"6\":",
"\"6\"",
"case \"6\":",
"case \"8\":",
"\"8\"",
"case \"8\":",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"case \"3\":",
"\"3\"",
"case \"3\":",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"break;",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String s = String.valueOf(n);\n switch(s.substring(s.length() - 1)){\n case \"2\":\n case \"4\":\n case \"5\":\n case \"7\":\n case \"9\":\n System.out.println(\"hon\");\n break;\n case \"0\":\n case \"1\":\n case \"6\":\n case \"8\":\n System.out.println(\"pon\");\n break;\n case \"3\":\n System.out.println(\"bon\");\n break;\n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String s = String.valueOf(n);\n switch(s.substring(s.length() - 1)){\n case \"2\":\n case \"4\":\n case \"5\":\n case \"7\":\n case \"9\":\n System.out.println(\"hon\");\n break;\n case \"0\":\n case \"1\":\n case \"6\":\n case \"8\":\n System.out.println(\"pon\");\n break;\n case \"3\":\n System.out.println(\"bon\");\n break;\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
String s = String.valueOf(n);
switch(s.substring(s.length() - 1)){
case "2":
case "4":
case "5":
case "7":
case "9":
System.out.println("hon");
break;
case "0":
case "1":
case "6":
case "8":
System.out.println("pon");
break;
case "3":
System.out.println("bon");
break;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
0,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
60,
5
],
[
60,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
26,
25
],
[
33,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
33,
33
],
[
33,
34
],
[
33,
35
],
[
26,
36
],
[
36,
37
],
[
36,
38
],
[
23,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
23,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
6,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint N = scan.nextInt();\n\t\tString josushi = \"hon\";\n\t\t\n\t\tN %= 10;\n\t\t\n\t\tif(N == 0 || N == 1 || N == 6 || N == 8) {\n\t\t\tjosushi = \"pon\";\n\t\t}else if(N == 3) {\n\t\t\tjosushi = \"bon\";\n\t\t}\n\t\t\n\t\tSystem.out.println(josushi);\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint N = scan.nextInt();\n\t\tString josushi = \"hon\";\n\t\t\n\t\tN %= 10;\n\t\t\n\t\tif(N == 0 || N == 1 || N == 6 || N == 8) {\n\t\t\tjosushi = \"pon\";\n\t\t}else if(N == 3) {\n\t\t\tjosushi = \"bon\";\n\t\t}\n\t\t\n\t\tSystem.out.println(josushi);\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint N = scan.nextInt();\n\t\tString josushi = \"hon\";\n\t\t\n\t\tN %= 10;\n\t\t\n\t\tif(N == 0 || N == 1 || N == 6 || N == 8) {\n\t\t\tjosushi = \"pon\";\n\t\t}else if(N == 3) {\n\t\t\tjosushi = \"bon\";\n\t\t}\n\t\t\n\t\tSystem.out.println(josushi);\n\t\t\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint N = scan.nextInt();\n\t\tString josushi = \"hon\";\n\t\t\n\t\tN %= 10;\n\t\t\n\t\tif(N == 0 || N == 1 || N == 6 || N == 8) {\n\t\t\tjosushi = \"pon\";\n\t\t}else if(N == 3) {\n\t\t\tjosushi = \"bon\";\n\t\t}\n\t\t\n\t\tSystem.out.println(josushi);\n\t\t\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int N = scan.nextInt();",
"N",
"scan.nextInt()",
"scan.nextInt",
"scan",
"String josushi = \"hon\";",
"josushi",
"\"hon\"",
"N %= 10",
"N",
"10",
"if(N == 0 || N == 1 || N == 6 || N == 8) {\n\t\t\tjosushi = \"pon\";\n\t\t}else if(N == 3) {\n\t\t\tjosushi = \"bon\";\n\t\t}",
"N == 0 || N == 1 || N == 6 || N == 8",
"N == 6",
"N == 0 || N == 1 || N == 6 || N == 8",
"N == 0",
"N",
"0",
"N == 1",
"N",
"1",
"N == 6",
"N",
"6",
"N == 8",
"N",
"8",
"{\n\t\t\tjosushi = \"pon\";\n\t\t}",
"josushi = \"pon\"",
"josushi",
"\"pon\"",
"if(N == 3) {\n\t\t\tjosushi = \"bon\";\n\t\t}",
"N == 3",
"N",
"3",
"{\n\t\t\tjosushi = \"bon\";\n\t\t}",
"josushi = \"bon\"",
"josushi",
"\"bon\"",
"System.out.println(josushi)",
"System.out.println",
"System.out",
"System",
"System.out",
"josushi",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint N = scan.nextInt();\n\t\tString josushi = \"hon\";\n\t\t\n\t\tN %= 10;\n\t\t\n\t\tif(N == 0 || N == 1 || N == 6 || N == 8) {\n\t\t\tjosushi = \"pon\";\n\t\t}else if(N == 3) {\n\t\t\tjosushi = \"bon\";\n\t\t}\n\t\t\n\t\tSystem.out.println(josushi);\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint N = scan.nextInt();\n\t\tString josushi = \"hon\";\n\t\t\n\t\tN %= 10;\n\t\t\n\t\tif(N == 0 || N == 1 || N == 6 || N == 8) {\n\t\t\tjosushi = \"pon\";\n\t\t}else if(N == 3) {\n\t\t\tjosushi = \"bon\";\n\t\t}\n\t\t\n\t\tSystem.out.println(josushi);\n\t\t\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int N = scan.nextInt();
String josushi = "hon";
N %= 10;
if(N == 0 || N == 1 || N == 6 || N == 8) {
josushi = "pon";
}else if(N == 3) {
josushi = "bon";
}
System.out.println(josushi);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
2,
2,
2,
2,
4,
18,
13,
2,
4,
18,
13,
17,
17,
2,
4,
18,
13,
2,
4,
18,
13,
17,
17,
2,
4,
18,
13,
2,
4,
18,
13,
17,
17,
2,
4,
18,
13,
2,
4,
18,
13,
17,
17,
2,
4,
18,
13,
2,
4,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
4,
18,
13,
2,
4,
18,
13,
17,
17,
2,
4,
18,
13,
2,
4,
18,
13,
17,
17,
2,
4,
18,
13,
2,
4,
18,
13,
17,
17,
2,
4,
18,
13,
2,
4,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
4,
18,
13,
2,
4,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
154,
5
],
[
154,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
21,
19
],
[
52,
20
],
[
42,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
26,
30
],
[
22,
31
],
[
21,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
36,
40
],
[
32,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
46,
50
],
[
42,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
56,
60
],
[
52,
61
],
[
21,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
66,
70
],
[
62,
71
],
[
17,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
17,
79
],
[
79,
80
],
[
82,
81
],
[
103,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
87,
91
],
[
83,
92
],
[
82,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
97,
101
],
[
93,
102
],
[
103,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
107,
111
],
[
103,
112
],
[
82,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
114,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
117,
121
],
[
113,
122
],
[
79,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
124,
129
],
[
79,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
132,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
135,
139
],
[
131,
140
],
[
130,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
142,
147
],
[
8,
148
],
[
148,
149
],
[
149,
150
],
[
6,
151
],
[
151,
152
],
[
0,
153
],
[
153,
154
],
[
153,
155
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.next();\n\n\t\tif (n.charAt(n.length() - 1) == '2' ||\n\t\t\t\tn.charAt(n.length() - 1) == '4' ||\n\t\t\t\tn.charAt(n.length() - 1) == '5' ||\n\t\t\t\tn.charAt(n.length() - 1) == '7' ||\n\t\t\t\tn.charAt(n.length() - 1) == '9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t} else if (n.charAt(n.length() - 1) == '0' ||\n\t\t\t\tn.charAt(n.length() - 1) == '1' ||\n\t\t\t\tn.charAt(n.length() - 1) == '6' ||\n\t\t\t\tn.charAt(n.length() - 1) == '8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else if (n.charAt(n.length() - 1) == '3'){\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\tsc.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.next();\n\n\t\tif (n.charAt(n.length() - 1) == '2' ||\n\t\t\t\tn.charAt(n.length() - 1) == '4' ||\n\t\t\t\tn.charAt(n.length() - 1) == '5' ||\n\t\t\t\tn.charAt(n.length() - 1) == '7' ||\n\t\t\t\tn.charAt(n.length() - 1) == '9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t} else if (n.charAt(n.length() - 1) == '0' ||\n\t\t\t\tn.charAt(n.length() - 1) == '1' ||\n\t\t\t\tn.charAt(n.length() - 1) == '6' ||\n\t\t\t\tn.charAt(n.length() - 1) == '8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else if (n.charAt(n.length() - 1) == '3'){\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.next();\n\n\t\tif (n.charAt(n.length() - 1) == '2' ||\n\t\t\t\tn.charAt(n.length() - 1) == '4' ||\n\t\t\t\tn.charAt(n.length() - 1) == '5' ||\n\t\t\t\tn.charAt(n.length() - 1) == '7' ||\n\t\t\t\tn.charAt(n.length() - 1) == '9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t} else if (n.charAt(n.length() - 1) == '0' ||\n\t\t\t\tn.charAt(n.length() - 1) == '1' ||\n\t\t\t\tn.charAt(n.length() - 1) == '6' ||\n\t\t\t\tn.charAt(n.length() - 1) == '8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else if (n.charAt(n.length() - 1) == '3'){\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.next();\n\n\t\tif (n.charAt(n.length() - 1) == '2' ||\n\t\t\t\tn.charAt(n.length() - 1) == '4' ||\n\t\t\t\tn.charAt(n.length() - 1) == '5' ||\n\t\t\t\tn.charAt(n.length() - 1) == '7' ||\n\t\t\t\tn.charAt(n.length() - 1) == '9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t} else if (n.charAt(n.length() - 1) == '0' ||\n\t\t\t\tn.charAt(n.length() - 1) == '1' ||\n\t\t\t\tn.charAt(n.length() - 1) == '6' ||\n\t\t\t\tn.charAt(n.length() - 1) == '8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else if (n.charAt(n.length() - 1) == '3'){\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String n = sc.next();",
"n",
"sc.next()",
"sc.next",
"sc",
"if (n.charAt(n.length() - 1) == '2' ||\n\t\t\t\tn.charAt(n.length() - 1) == '4' ||\n\t\t\t\tn.charAt(n.length() - 1) == '5' ||\n\t\t\t\tn.charAt(n.length() - 1) == '7' ||\n\t\t\t\tn.charAt(n.length() - 1) == '9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t} else if (n.charAt(n.length() - 1) == '0' ||\n\t\t\t\tn.charAt(n.length() - 1) == '1' ||\n\t\t\t\tn.charAt(n.length() - 1) == '6' ||\n\t\t\t\tn.charAt(n.length() - 1) == '8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else if (n.charAt(n.length() - 1) == '3'){\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"n.charAt(n.length() - 1) == '2' ||\n\t\t\t\tn.charAt(n.length() - 1) == '4' ||\n\t\t\t\tn.charAt(n.length() - 1) == '5' ||\n\t\t\t\tn.charAt(n.length() - 1) == '7' ||\n\t\t\t\tn.charAt(n.length() - 1) == '9'",
"n.charAt(n.length() - 1) == '7'",
"n.charAt(n.length() - 1) == '5'",
"n.charAt(n.length() - 1) == '2' ||\n\t\t\t\tn.charAt(n.length() - 1) == '4' ||\n\t\t\t\tn.charAt(n.length() - 1) == '5' ||\n\t\t\t\tn.charAt(n.length() - 1) == '7' ||\n\t\t\t\tn.charAt(n.length() - 1) == '9'",
"n.charAt(n.length() - 1) == '2'",
"n.charAt(n.length() - 1)",
"n.charAt",
"n",
"n.length() - 1",
"n.length()",
"n.length",
"n",
"1",
"'2'",
"n.charAt(n.length() - 1) == '4'",
"n.charAt(n.length() - 1)",
"n.charAt",
"n",
"n.length() - 1",
"n.length()",
"n.length",
"n",
"1",
"'4'",
"n.charAt(n.length() - 1) == '5'",
"n.charAt(n.length() - 1)",
"n.charAt",
"n",
"n.length() - 1",
"n.length()",
"n.length",
"n",
"1",
"'5'",
"n.charAt(n.length() - 1) == '7'",
"n.charAt(n.length() - 1)",
"n.charAt",
"n",
"n.length() - 1",
"n.length()",
"n.length",
"n",
"1",
"'7'",
"n.charAt(n.length() - 1) == '9'",
"n.charAt(n.length() - 1)",
"n.charAt",
"n",
"n.length() - 1",
"n.length()",
"n.length",
"n",
"1",
"'9'",
"{\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if (n.charAt(n.length() - 1) == '0' ||\n\t\t\t\tn.charAt(n.length() - 1) == '1' ||\n\t\t\t\tn.charAt(n.length() - 1) == '6' ||\n\t\t\t\tn.charAt(n.length() - 1) == '8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else if (n.charAt(n.length() - 1) == '3'){\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"n.charAt(n.length() - 1) == '0' ||\n\t\t\t\tn.charAt(n.length() - 1) == '1' ||\n\t\t\t\tn.charAt(n.length() - 1) == '6' ||\n\t\t\t\tn.charAt(n.length() - 1) == '8'",
"n.charAt(n.length() - 1) == '6'",
"n.charAt(n.length() - 1) == '0' ||\n\t\t\t\tn.charAt(n.length() - 1) == '1' ||\n\t\t\t\tn.charAt(n.length() - 1) == '6' ||\n\t\t\t\tn.charAt(n.length() - 1) == '8'",
"n.charAt(n.length() - 1) == '0'",
"n.charAt(n.length() - 1)",
"n.charAt",
"n",
"n.length() - 1",
"n.length()",
"n.length",
"n",
"1",
"'0'",
"n.charAt(n.length() - 1) == '1'",
"n.charAt(n.length() - 1)",
"n.charAt",
"n",
"n.length() - 1",
"n.length()",
"n.length",
"n",
"1",
"'1'",
"n.charAt(n.length() - 1) == '6'",
"n.charAt(n.length() - 1)",
"n.charAt",
"n",
"n.length() - 1",
"n.length()",
"n.length",
"n",
"1",
"'6'",
"n.charAt(n.length() - 1) == '8'",
"n.charAt(n.length() - 1)",
"n.charAt",
"n",
"n.length() - 1",
"n.length()",
"n.length",
"n",
"1",
"'8'",
"{\n\t\t\tSystem.out.println(\"pon\");\n\t\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if (n.charAt(n.length() - 1) == '3'){\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"n.charAt(n.length() - 1) == '3'",
"n.charAt(n.length() - 1)",
"n.charAt",
"n",
"n.length() - 1",
"n.length()",
"n.length",
"n",
"1",
"'3'",
"{\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.next();\n\n\t\tif (n.charAt(n.length() - 1) == '2' ||\n\t\t\t\tn.charAt(n.length() - 1) == '4' ||\n\t\t\t\tn.charAt(n.length() - 1) == '5' ||\n\t\t\t\tn.charAt(n.length() - 1) == '7' ||\n\t\t\t\tn.charAt(n.length() - 1) == '9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t} else if (n.charAt(n.length() - 1) == '0' ||\n\t\t\t\tn.charAt(n.length() - 1) == '1' ||\n\t\t\t\tn.charAt(n.length() - 1) == '6' ||\n\t\t\t\tn.charAt(n.length() - 1) == '8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else if (n.charAt(n.length() - 1) == '3'){\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\tsc.close();\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.next();\n\n\t\tif (n.charAt(n.length() - 1) == '2' ||\n\t\t\t\tn.charAt(n.length() - 1) == '4' ||\n\t\t\t\tn.charAt(n.length() - 1) == '5' ||\n\t\t\t\tn.charAt(n.length() - 1) == '7' ||\n\t\t\t\tn.charAt(n.length() - 1) == '9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t} else if (n.charAt(n.length() - 1) == '0' ||\n\t\t\t\tn.charAt(n.length() - 1) == '1' ||\n\t\t\t\tn.charAt(n.length() - 1) == '6' ||\n\t\t\t\tn.charAt(n.length() - 1) == '8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else if (n.charAt(n.length() - 1) == '3'){\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\tsc.close();\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String n = sc.next();
if (n.charAt(n.length() - 1) == '2' ||
n.charAt(n.length() - 1) == '4' ||
n.charAt(n.length() - 1) == '5' ||
n.charAt(n.length() - 1) == '7' ||
n.charAt(n.length() - 1) == '9') {
System.out.println("hon");
} else if (n.charAt(n.length() - 1) == '0' ||
n.charAt(n.length() - 1) == '1' ||
n.charAt(n.length() - 1) == '6' ||
n.charAt(n.length() - 1) == '8') {
System.out.println("pon");
} else if (n.charAt(n.length() - 1) == '3'){
System.out.println("bon");
}
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
4,
18,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
27,
38
],
[
38,
39
],
[
41,
40
],
[
48,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
48,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
51,
53
],
[
38,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
38,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
6,
68
],
[
68,
69
]
] |
[
"import java.util.*;\n\nclass Main{\n\n\n public static void main(String args[]){\n \n Scanner in = new Scanner(System.in);\n String s = in.next();\n char c= s.charAt(s.length()-1);\n if(c=='3'){\n System.out.println(\"bon\");\n } else if(c=='1' || c=='0'|| c=='6' || c=='8'){\n System.out.println(\"pon\");\n\n } else{\n System.out.println(\"hon\");\n\n }\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\n\n public static void main(String args[]){\n \n Scanner in = new Scanner(System.in);\n String s = in.next();\n char c= s.charAt(s.length()-1);\n if(c=='3'){\n System.out.println(\"bon\");\n } else if(c=='1' || c=='0'|| c=='6' || c=='8'){\n System.out.println(\"pon\");\n\n } else{\n System.out.println(\"hon\");\n\n }\n }\n\n}",
"Main",
"public static void main(String args[]){\n \n Scanner in = new Scanner(System.in);\n String s = in.next();\n char c= s.charAt(s.length()-1);\n if(c=='3'){\n System.out.println(\"bon\");\n } else if(c=='1' || c=='0'|| c=='6' || c=='8'){\n System.out.println(\"pon\");\n\n } else{\n System.out.println(\"hon\");\n\n }\n }",
"main",
"{\n \n Scanner in = new Scanner(System.in);\n String s = in.next();\n char c= s.charAt(s.length()-1);\n if(c=='3'){\n System.out.println(\"bon\");\n } else if(c=='1' || c=='0'|| c=='6' || c=='8'){\n System.out.println(\"pon\");\n\n } else{\n System.out.println(\"hon\");\n\n }\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"String s = in.next();",
"s",
"in.next()",
"in.next",
"in",
"char c= s.charAt(s.length()-1);",
"c",
"s.charAt(s.length()-1)",
"s.charAt",
"s",
"s.length()-1",
"s.length()",
"s.length",
"s",
"1",
"if(c=='3'){\n System.out.println(\"bon\");\n } else if(c=='1' || c=='0'|| c=='6' || c=='8'){\n System.out.println(\"pon\");\n\n } else{\n System.out.println(\"hon\");\n\n }",
"c=='3'",
"c",
"'3'",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(c=='1' || c=='0'|| c=='6' || c=='8'){\n System.out.println(\"pon\");\n\n } else{\n System.out.println(\"hon\");\n\n }",
"c=='1' || c=='0'|| c=='6' || c=='8'",
"c=='6'",
"c=='1' || c=='0'|| c=='6' || c=='8'",
"c=='1'",
"c",
"'1'",
"c=='0'",
"c",
"'0'",
"c=='6'",
"c",
"'6'",
"c=='8'",
"c",
"'8'",
"{\n System.out.println(\"pon\");\n\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n System.out.println(\"hon\");\n\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"String args[]",
"args"
] |
import java.util.*;
class Main{
public static void main(String args[]){
Scanner in = new Scanner(System.in);
String s = in.next();
char c= s.charAt(s.length()-1);
if(c=='3'){
System.out.println("bon");
} else if(c=='1' || c=='0'|| c=='6' || c=='8'){
System.out.println("pon");
} else{
System.out.println("hon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
35,
2,
13,
17,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
78,
5
],
[
78,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
20,
30
],
[
30,
31
],
[
30,
32
],
[
20,
33
],
[
33,
34
],
[
33,
35
],
[
20,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
38,
45
],
[
20,
46
],
[
46,
47
],
[
46,
48
],
[
20,
49
],
[
49,
50
],
[
49,
51
],
[
20,
52
],
[
52,
53
],
[
52,
54
],
[
20,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
57,
64
],
[
20,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
67,
74
],
[
6,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
] |
[
"import java.util.Scanner;\n\n\n\npublic class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = Integer.parseInt(sc.next());\n\n\t\tswitch(i % 10) {\n\t\tcase 2:\n\t\tcase 4:\n\t\tcase 5:\n\t\tcase 7:\n\t\tcase 9:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\n\t\tcase 0:\n\t\tcase 1:\n\t\tcase 6:\n\t\tcase 8:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\n\t\tcase 3:\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = Integer.parseInt(sc.next());\n\n\t\tswitch(i % 10) {\n\t\tcase 2:\n\t\tcase 4:\n\t\tcase 5:\n\t\tcase 7:\n\t\tcase 9:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\n\t\tcase 0:\n\t\tcase 1:\n\t\tcase 6:\n\t\tcase 8:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\n\t\tcase 3:\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = Integer.parseInt(sc.next());\n\n\t\tswitch(i % 10) {\n\t\tcase 2:\n\t\tcase 4:\n\t\tcase 5:\n\t\tcase 7:\n\t\tcase 9:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\n\t\tcase 0:\n\t\tcase 1:\n\t\tcase 6:\n\t\tcase 8:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\n\t\tcase 3:\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = Integer.parseInt(sc.next());\n\n\t\tswitch(i % 10) {\n\t\tcase 2:\n\t\tcase 4:\n\t\tcase 5:\n\t\tcase 7:\n\t\tcase 9:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\n\t\tcase 0:\n\t\tcase 1:\n\t\tcase 6:\n\t\tcase 8:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\n\t\tcase 3:\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i = Integer.parseInt(sc.next());",
"i",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"switch(i % 10) {\n\t\tcase 2:\n\t\tcase 4:\n\t\tcase 5:\n\t\tcase 7:\n\t\tcase 9:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\n\t\tcase 0:\n\t\tcase 1:\n\t\tcase 6:\n\t\tcase 8:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\n\t\tcase 3:\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\n\t\t}",
"i % 10",
"i",
"10",
"case 2:",
"2",
"case 2:",
"case 4:",
"4",
"case 4:",
"case 5:",
"5",
"case 5:",
"case 7:",
"7",
"case 7:",
"case 9:",
"9",
"case 9:",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"break;",
"case 0:",
"0",
"case 0:",
"case 1:",
"1",
"case 1:",
"case 6:",
"6",
"case 6:",
"case 8:",
"8",
"case 8:",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"case 3:",
"3",
"case 3:",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"break;",
"String[] args",
"args",
"public class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = Integer.parseInt(sc.next());\n\n\t\tswitch(i % 10) {\n\t\tcase 2:\n\t\tcase 4:\n\t\tcase 5:\n\t\tcase 7:\n\t\tcase 9:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\n\t\tcase 0:\n\t\tcase 1:\n\t\tcase 6:\n\t\tcase 8:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\n\t\tcase 3:\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\n\t\t}\n\t}\n}",
"public class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = Integer.parseInt(sc.next());\n\n\t\tswitch(i % 10) {\n\t\tcase 2:\n\t\tcase 4:\n\t\tcase 5:\n\t\tcase 7:\n\t\tcase 9:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\n\t\tcase 0:\n\t\tcase 1:\n\t\tcase 6:\n\t\tcase 8:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\n\t\tcase 3:\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int i = Integer.parseInt(sc.next());
switch(i % 10) {
case 2:
case 4:
case 5:
case 7:
case 9:
System.out.println("hon");
break;
case 0:
case 1:
case 6:
case 8:
System.out.println("pon");
break;
case 3:
System.out.println("bon");
break;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
4,
13,
20,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
30,
28,
13,
13,
30,
30,
14,
2,
13,
13,
30,
29,
17,
29,
17,
23,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
75,
5
],
[
75,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
17,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
30,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
30,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
6,
51
],
[
51,
52
],
[
75,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
56,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
55,
68
],
[
68,
69
],
[
53,
70
],
[
70,
71
],
[
53,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n int A = scanner.nextInt();\n if (A % 10 == 3) {\n System.out.println(\"bon\");\n } else if (check(new int[]{0, 1, 6, 8}, A % 10)) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n }\n\n private static boolean check(int[] ints, int i) {\n for (int anInt : ints) {\n if (anInt == i) {\n return true;\n }\n }\n return false;\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n int A = scanner.nextInt();\n if (A % 10 == 3) {\n System.out.println(\"bon\");\n } else if (check(new int[]{0, 1, 6, 8}, A % 10)) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n }\n\n private static boolean check(int[] ints, int i) {\n for (int anInt : ints) {\n if (anInt == i) {\n return true;\n }\n }\n return false;\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n int A = scanner.nextInt();\n if (A % 10 == 3) {\n System.out.println(\"bon\");\n } else if (check(new int[]{0, 1, 6, 8}, A % 10)) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n }",
"main",
"{\n\n Scanner scanner = new Scanner(System.in);\n int A = scanner.nextInt();\n if (A % 10 == 3) {\n System.out.println(\"bon\");\n } else if (check(new int[]{0, 1, 6, 8}, A % 10)) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int A = scanner.nextInt();",
"A",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (A % 10 == 3) {\n System.out.println(\"bon\");\n } else if (check(new int[]{0, 1, 6, 8}, A % 10)) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }",
"A % 10 == 3",
"A % 10",
"A",
"10",
"3",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if (check(new int[]{0, 1, 6, 8}, A % 10)) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }",
"check(new int[]{0, 1, 6, 8}, A % 10)",
"check",
"new int[]{0, 1, 6, 8}",
"A % 10",
"A",
"10",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"String[] args",
"args",
"private static boolean check(int[] ints, int i) {\n for (int anInt : ints) {\n if (anInt == i) {\n return true;\n }\n }\n return false;\n }",
"check",
"{\n for (int anInt : ints) {\n if (anInt == i) {\n return true;\n }\n }\n return false;\n }",
"for (int anInt : ints) {\n if (anInt == i) {\n return true;\n }\n }",
"int anInt",
"ints",
"{\n if (anInt == i) {\n return true;\n }\n }",
"{\n if (anInt == i) {\n return true;\n }\n }",
"if (anInt == i) {\n return true;\n }",
"anInt == i",
"anInt",
"i",
"{\n return true;\n }",
"return true;",
"true",
"return false;",
"false",
"int[] ints",
"ints",
"int i",
"i",
"public class Main {\n public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n int A = scanner.nextInt();\n if (A % 10 == 3) {\n System.out.println(\"bon\");\n } else if (check(new int[]{0, 1, 6, 8}, A % 10)) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n }\n\n private static boolean check(int[] ints, int i) {\n for (int anInt : ints) {\n if (anInt == i) {\n return true;\n }\n }\n return false;\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n int A = scanner.nextInt();\n if (A % 10 == 3) {\n System.out.println(\"bon\");\n } else if (check(new int[]{0, 1, 6, 8}, A % 10)) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n }\n\n private static boolean check(int[] ints, int i) {\n for (int anInt : ints) {\n if (anInt == i) {\n return true;\n }\n }\n return false;\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int A = scanner.nextInt();
if (A % 10 == 3) {
System.out.println("bon");
} else if (check(new int[]{0, 1, 6, 8}, A % 10)) {
System.out.println("pon");
} else {
System.out.println("hon");
}
}
private static boolean check(int[] ints, int i) {
for (int anInt : ints) {
if (anInt == i) {
return true;
}
}
return false;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
13,
17,
35,
13,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
87,
14
],
[
87,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
39,
41
],
[
31,
42
],
[
42,
43
],
[
42,
44
],
[
31,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
47,
54
],
[
31,
55
],
[
55,
56
],
[
55,
57
],
[
31,
58
],
[
58,
59
],
[
58,
60
],
[
31,
61
],
[
61,
62
],
[
61,
63
],
[
31,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
66,
73
],
[
31,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
76,
83
],
[
15,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] |
[
"import java.util.Scanner;\nimport java.util.LinkedList;\nimport java.util.PriorityQueue;\nimport java.util.Queue;\n\npublic class Main {\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint x = sc.nextInt();\n\t\t\n\t\tint y = x % 10;\n\t\t\n\t\tswitch(y){\n\t\t\tcase 2:\n\t\t\tcase 4:\n\t\t\tcase 5:\n\t\t\tcase 7:\n\t\t\tcase 9: System.out.println(\"hon\"); break;\n\t\t\tcase 0:\n\t\t\tcase 1:\n\t\t\tcase 6:\n\t\t\tcase 8: System.out.println(\"pon\"); break;\n\t\t\tcase 3: System.out.println(\"bon\"); break;\n\t\t}\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.LinkedList;",
"LinkedList",
"java.util",
"import java.util.PriorityQueue;",
"PriorityQueue",
"java.util",
"import java.util.Queue;",
"Queue",
"java.util",
"public class Main {\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint x = sc.nextInt();\n\t\t\n\t\tint y = x % 10;\n\t\t\n\t\tswitch(y){\n\t\t\tcase 2:\n\t\t\tcase 4:\n\t\t\tcase 5:\n\t\t\tcase 7:\n\t\t\tcase 9: System.out.println(\"hon\"); break;\n\t\t\tcase 0:\n\t\t\tcase 1:\n\t\t\tcase 6:\n\t\t\tcase 8: System.out.println(\"pon\"); break;\n\t\t\tcase 3: System.out.println(\"bon\"); break;\n\t\t}\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint x = sc.nextInt();\n\t\t\n\t\tint y = x % 10;\n\t\t\n\t\tswitch(y){\n\t\t\tcase 2:\n\t\t\tcase 4:\n\t\t\tcase 5:\n\t\t\tcase 7:\n\t\t\tcase 9: System.out.println(\"hon\"); break;\n\t\t\tcase 0:\n\t\t\tcase 1:\n\t\t\tcase 6:\n\t\t\tcase 8: System.out.println(\"pon\"); break;\n\t\t\tcase 3: System.out.println(\"bon\"); break;\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint x = sc.nextInt();\n\t\t\n\t\tint y = x % 10;\n\t\t\n\t\tswitch(y){\n\t\t\tcase 2:\n\t\t\tcase 4:\n\t\t\tcase 5:\n\t\t\tcase 7:\n\t\t\tcase 9: System.out.println(\"hon\"); break;\n\t\t\tcase 0:\n\t\t\tcase 1:\n\t\t\tcase 6:\n\t\t\tcase 8: System.out.println(\"pon\"); break;\n\t\t\tcase 3: System.out.println(\"bon\"); break;\n\t\t}\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y = x % 10;",
"y",
"x % 10",
"x",
"10",
"switch(y){\n\t\t\tcase 2:\n\t\t\tcase 4:\n\t\t\tcase 5:\n\t\t\tcase 7:\n\t\t\tcase 9: System.out.println(\"hon\"); break;\n\t\t\tcase 0:\n\t\t\tcase 1:\n\t\t\tcase 6:\n\t\t\tcase 8: System.out.println(\"pon\"); break;\n\t\t\tcase 3: System.out.println(\"bon\"); break;\n\t\t}",
"y",
"case 2:",
"2",
"case 2:",
"case 4:",
"4",
"case 4:",
"case 5:",
"5",
"case 5:",
"case 7:",
"7",
"case 7:",
"case 9:",
"9",
"case 9:",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"break;",
"case 0:",
"0",
"case 0:",
"case 1:",
"1",
"case 1:",
"case 6:",
"6",
"case 6:",
"case 8:",
"8",
"case 8:",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"case 3:",
"3",
"case 3:",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"break;",
"String[] args",
"args",
"public class Main {\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint x = sc.nextInt();\n\t\t\n\t\tint y = x % 10;\n\t\t\n\t\tswitch(y){\n\t\t\tcase 2:\n\t\t\tcase 4:\n\t\t\tcase 5:\n\t\t\tcase 7:\n\t\t\tcase 9: System.out.println(\"hon\"); break;\n\t\t\tcase 0:\n\t\t\tcase 1:\n\t\t\tcase 6:\n\t\t\tcase 8: System.out.println(\"pon\"); break;\n\t\t\tcase 3: System.out.println(\"bon\"); break;\n\t\t}\n\t\t\n\t}\n\n}",
"public class Main {\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint x = sc.nextInt();\n\t\t\n\t\tint y = x % 10;\n\t\t\n\t\tswitch(y){\n\t\t\tcase 2:\n\t\t\tcase 4:\n\t\t\tcase 5:\n\t\t\tcase 7:\n\t\t\tcase 9: System.out.println(\"hon\"); break;\n\t\t\tcase 0:\n\t\t\tcase 1:\n\t\t\tcase 6:\n\t\t\tcase 8: System.out.println(\"pon\"); break;\n\t\t\tcase 3: System.out.println(\"bon\"); break;\n\t\t}\n\t\t\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
import java.util.LinkedList;
import java.util.PriorityQueue;
import java.util.Queue;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = x % 10;
switch(y){
case 2:
case 4:
case 5:
case 7:
case 9: System.out.println("hon"); break;
case 0:
case 1:
case 6:
case 8: System.out.println("pon"); break;
case 3: System.out.println("bon"); break;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
29,
17,
29,
17,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
13,
17,
4,
18,
18,
13,
13,
4,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
70,
11
],
[
70,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
15,
21
],
[
21,
22
],
[
24,
23
],
[
31,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
28,
30
],
[
31,
31
],
[
31,
32
],
[
31,
33
],
[
24,
34
],
[
34,
35
],
[
34,
36
],
[
21,
37
],
[
37,
38
],
[
21,
39
],
[
39,
40
],
[
12,
41
],
[
41,
42
],
[
70,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
45,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
45,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
43,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] |
[
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\npublic class Main\n{\n\tstatic String check(int num)\n\t{\n\t\tif(num==3) return \"bon\";\n\t\telse if(num==0 || num==1 || num==6 || num==8) return \"pon\";\n\t\telse return \"hon\";\n\t}\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint num = n%10;\n\t\tSystem.out.println(check(num));\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n\tstatic String check(int num)\n\t{\n\t\tif(num==3) return \"bon\";\n\t\telse if(num==0 || num==1 || num==6 || num==8) return \"pon\";\n\t\telse return \"hon\";\n\t}\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint num = n%10;\n\t\tSystem.out.println(check(num));\n\t}\n}",
"Main",
"static String check(int num)\n\t{\n\t\tif(num==3) return \"bon\";\n\t\telse if(num==0 || num==1 || num==6 || num==8) return \"pon\";\n\t\telse return \"hon\";\n\t}",
"check",
"{\n\t\tif(num==3) return \"bon\";\n\t\telse if(num==0 || num==1 || num==6 || num==8) return \"pon\";\n\t\telse return \"hon\";\n\t}",
"if(num==3) return \"bon\";\n\t\telse if(num==0 || num==1 || num==6 || num==8) return \"pon\";\n\t\telse return \"hon\";",
"num==3",
"num",
"3",
"return \"bon\";",
"\"bon\"",
"if(num==0 || num==1 || num==6 || num==8) return \"pon\";\n\t\telse return \"hon\";",
"num==0 || num==1 || num==6 || num==8",
"num==6",
"num==0 || num==1 || num==6 || num==8",
"num==0",
"num",
"0",
"num==1",
"num",
"1",
"num==6",
"num",
"6",
"num==8",
"num",
"8",
"return \"pon\";",
"\"pon\"",
"return \"hon\";",
"\"hon\"",
"int num",
"num",
"public static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint num = n%10;\n\t\tSystem.out.println(check(num));\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint num = n%10;\n\t\tSystem.out.println(check(num));\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int num = n%10;",
"num",
"n%10",
"n",
"10",
"System.out.println(check(num))",
"System.out.println",
"System.out",
"System",
"System.out",
"check(num)",
"check",
"num",
"String[] args",
"args",
"public class Main\n{\n\tstatic String check(int num)\n\t{\n\t\tif(num==3) return \"bon\";\n\t\telse if(num==0 || num==1 || num==6 || num==8) return \"pon\";\n\t\telse return \"hon\";\n\t}\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint num = n%10;\n\t\tSystem.out.println(check(num));\n\t}\n}",
"public class Main\n{\n\tstatic String check(int num)\n\t{\n\t\tif(num==3) return \"bon\";\n\t\telse if(num==0 || num==1 || num==6 || num==8) return \"pon\";\n\t\telse return \"hon\";\n\t}\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint num = n%10;\n\t\tSystem.out.println(check(num));\n\t}\n}",
"Main"
] |
import java.util.*;
import java.lang.*;
import java.io.*;
public class Main
{
static String check(int num)
{
if(num==3) return "bon";
else if(num==0 || num==1 || num==6 || num==8) return "pon";
else return "hon";
}
public static void main(String[] args)
{
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int num = n%10;
System.out.println(check(num));
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
4,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
13,
17,
0,
13,
17,
41,
13,
18,
13,
17,
41,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
119,
5
],
[
119,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
26,
39
],
[
39,
40
],
[
40,
41
],
[
26,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
51,
53
],
[
8,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
8,
59
],
[
59,
60
],
[
59,
61
],
[
8,
62
],
[
62,
63
],
[
66,
64
],
[
76,
65
],
[
73,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
73,
73
],
[
73,
74
],
[
73,
75
],
[
76,
76
],
[
76,
77
],
[
76,
78
],
[
66,
79
],
[
79,
80
],
[
79,
81
],
[
62,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
62,
86
],
[
86,
87
],
[
89,
88
],
[
96,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
93,
95
],
[
96,
96
],
[
96,
97
],
[
96,
98
],
[
89,
99
],
[
99,
100
],
[
99,
101
],
[
86,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
86,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
8,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
6,
116
],
[
116,
117
],
[
0,
118
],
[
118,
119
],
[
118,
120
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int[] list = new int[String.valueOf( N ).length()]; \n for (int i= 0;i < String.valueOf( N ).length();i++) {\n list[i] = N % 10;\n N /= 10;\n }\n int a = list[0];\n String b = null;\n if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9) {\n b = \"hon\";\n } else if (a == 0 || a == 1 || a == 6 || a == 8){\n b = \"pon\";\n } else {\n b = \"bon\";\n }\n System.out.println(b);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int[] list = new int[String.valueOf( N ).length()]; \n for (int i= 0;i < String.valueOf( N ).length();i++) {\n list[i] = N % 10;\n N /= 10;\n }\n int a = list[0];\n String b = null;\n if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9) {\n b = \"hon\";\n } else if (a == 0 || a == 1 || a == 6 || a == 8){\n b = \"pon\";\n } else {\n b = \"bon\";\n }\n System.out.println(b);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int[] list = new int[String.valueOf( N ).length()]; \n for (int i= 0;i < String.valueOf( N ).length();i++) {\n list[i] = N % 10;\n N /= 10;\n }\n int a = list[0];\n String b = null;\n if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9) {\n b = \"hon\";\n } else if (a == 0 || a == 1 || a == 6 || a == 8){\n b = \"pon\";\n } else {\n b = \"bon\";\n }\n System.out.println(b);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int[] list = new int[String.valueOf( N ).length()]; \n for (int i= 0;i < String.valueOf( N ).length();i++) {\n list[i] = N % 10;\n N /= 10;\n }\n int a = list[0];\n String b = null;\n if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9) {\n b = \"hon\";\n } else if (a == 0 || a == 1 || a == 6 || a == 8){\n b = \"pon\";\n } else {\n b = \"bon\";\n }\n System.out.println(b);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int[] list = new int[String.valueOf( N ).length()];",
"list",
"new int[String.valueOf( N ).length()]",
"String.valueOf( N ).length()",
"String.valueOf( N ).length",
"String.valueOf( N )",
"String.valueOf",
"String",
"N",
"for (int i= 0;i < String.valueOf( N ).length();i++) {\n list[i] = N % 10;\n N /= 10;\n }",
"int i= 0;",
"int i= 0;",
"i",
"0",
"i < String.valueOf( N ).length()",
"i",
"String.valueOf( N ).length()",
"String.valueOf( N ).length",
"String.valueOf( N )",
"String.valueOf",
"String",
"N",
"i++",
"i++",
"i",
"{\n list[i] = N % 10;\n N /= 10;\n }",
"{\n list[i] = N % 10;\n N /= 10;\n }",
"list[i] = N % 10",
"list[i]",
"list",
"i",
"N % 10",
"N",
"10",
"N /= 10",
"N",
"10",
"int a = list[0];",
"a",
"list[0]",
"list",
"0",
"String b = null;",
"b",
"null",
"if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9) {\n b = \"hon\";\n } else if (a == 0 || a == 1 || a == 6 || a == 8){\n b = \"pon\";\n } else {\n b = \"bon\";\n }",
"a == 2 || a == 4 || a == 5 || a == 7 || a == 9",
"a == 7",
"a == 5",
"a == 2 || a == 4 || a == 5 || a == 7 || a == 9",
"a == 2",
"a",
"2",
"a == 4",
"a",
"4",
"a == 5",
"a",
"5",
"a == 7",
"a",
"7",
"a == 9",
"a",
"9",
"{\n b = \"hon\";\n }",
"b = \"hon\"",
"b",
"\"hon\"",
"if (a == 0 || a == 1 || a == 6 || a == 8){\n b = \"pon\";\n } else {\n b = \"bon\";\n }",
"a == 0 || a == 1 || a == 6 || a == 8",
"a == 6",
"a == 0 || a == 1 || a == 6 || a == 8",
"a == 0",
"a",
"0",
"a == 1",
"a",
"1",
"a == 6",
"a",
"6",
"a == 8",
"a",
"8",
"{\n b = \"pon\";\n }",
"b = \"pon\"",
"b",
"\"pon\"",
"{\n b = \"bon\";\n }",
"b = \"bon\"",
"b",
"\"bon\"",
"System.out.println(b)",
"System.out.println",
"System.out",
"System",
"System.out",
"b",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int[] list = new int[String.valueOf( N ).length()]; \n for (int i= 0;i < String.valueOf( N ).length();i++) {\n list[i] = N % 10;\n N /= 10;\n }\n int a = list[0];\n String b = null;\n if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9) {\n b = \"hon\";\n } else if (a == 0 || a == 1 || a == 6 || a == 8){\n b = \"pon\";\n } else {\n b = \"bon\";\n }\n System.out.println(b);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int[] list = new int[String.valueOf( N ).length()]; \n for (int i= 0;i < String.valueOf( N ).length();i++) {\n list[i] = N % 10;\n N /= 10;\n }\n int a = list[0];\n String b = null;\n if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9) {\n b = \"hon\";\n } else if (a == 0 || a == 1 || a == 6 || a == 8){\n b = \"pon\";\n } else {\n b = \"bon\";\n }\n System.out.println(b);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int[] list = new int[String.valueOf( N ).length()];
for (int i= 0;i < String.valueOf( N ).length();i++) {
list[i] = N % 10;
N /= 10;
}
int a = list[0];
String b = null;
if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9) {
b = "hon";
} else if (a == 0 || a == 1 || a == 6 || a == 8){
b = "pon";
} else {
b = "bon";
}
System.out.println(b);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
14,
2,
13,
17,
30,
14,
2,
13,
17,
30,
0,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
30,
0,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
0,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
30,
0,
13,
17,
30,
0,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
133,
5
],
[
133,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
36,
35
],
[
43,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
43,
43
],
[
43,
44
],
[
43,
45
],
[
36,
46
],
[
46,
47
],
[
46,
48
],
[
33,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
33,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
20,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
58,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
58,
68
],
[
68,
69
],
[
71,
70
],
[
82,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
71,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
71,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
68,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
68,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
8,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
8,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
8,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
124,
129
],
[
6,
130
],
[
130,
131
],
[
0,
132
],
[
132,
133
],
[
132,
134
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int judge = 0;\n \n if(N<10){\n if(N == 3){\n judge = 3;\n }else if(N == 0 ||N == 1 ||N == 6 ||N == 8){\n judge = 2;\n }else{\n judge = 1;\n }\n }else{\n if(N%10 == 3){\n judge = 3;\n }else if(N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8){\n judge = 2;\n }else{\n judge = 1;\n }\n }\n \n if(judge == 1) System.out.println(\"hon\");\n if(judge == 2) System.out.println(\"pon\");\n if(judge == 3) System.out.println(\"bon\");\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int judge = 0;\n \n if(N<10){\n if(N == 3){\n judge = 3;\n }else if(N == 0 ||N == 1 ||N == 6 ||N == 8){\n judge = 2;\n }else{\n judge = 1;\n }\n }else{\n if(N%10 == 3){\n judge = 3;\n }else if(N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8){\n judge = 2;\n }else{\n judge = 1;\n }\n }\n \n if(judge == 1) System.out.println(\"hon\");\n if(judge == 2) System.out.println(\"pon\");\n if(judge == 3) System.out.println(\"bon\");\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int judge = 0;\n \n if(N<10){\n if(N == 3){\n judge = 3;\n }else if(N == 0 ||N == 1 ||N == 6 ||N == 8){\n judge = 2;\n }else{\n judge = 1;\n }\n }else{\n if(N%10 == 3){\n judge = 3;\n }else if(N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8){\n judge = 2;\n }else{\n judge = 1;\n }\n }\n \n if(judge == 1) System.out.println(\"hon\");\n if(judge == 2) System.out.println(\"pon\");\n if(judge == 3) System.out.println(\"bon\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int judge = 0;\n \n if(N<10){\n if(N == 3){\n judge = 3;\n }else if(N == 0 ||N == 1 ||N == 6 ||N == 8){\n judge = 2;\n }else{\n judge = 1;\n }\n }else{\n if(N%10 == 3){\n judge = 3;\n }else if(N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8){\n judge = 2;\n }else{\n judge = 1;\n }\n }\n \n if(judge == 1) System.out.println(\"hon\");\n if(judge == 2) System.out.println(\"pon\");\n if(judge == 3) System.out.println(\"bon\");\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int judge = 0;",
"judge",
"0",
"if(N<10){\n if(N == 3){\n judge = 3;\n }else if(N == 0 ||N == 1 ||N == 6 ||N == 8){\n judge = 2;\n }else{\n judge = 1;\n }\n }else{\n if(N%10 == 3){\n judge = 3;\n }else if(N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8){\n judge = 2;\n }else{\n judge = 1;\n }\n }",
"N<10",
"N",
"10",
"{\n if(N == 3){\n judge = 3;\n }else if(N == 0 ||N == 1 ||N == 6 ||N == 8){\n judge = 2;\n }else{\n judge = 1;\n }\n }",
"if(N == 3){\n judge = 3;\n }else if(N == 0 ||N == 1 ||N == 6 ||N == 8){\n judge = 2;\n }else{\n judge = 1;\n }",
"N == 3",
"N",
"3",
"{\n judge = 3;\n }",
"judge = 3",
"judge",
"3",
"if(N == 0 ||N == 1 ||N == 6 ||N == 8){\n judge = 2;\n }else{\n judge = 1;\n }",
"N == 0 ||N == 1 ||N == 6 ||N == 8",
"N == 6",
"N == 0 ||N == 1 ||N == 6 ||N == 8",
"N == 0",
"N",
"0",
"N == 1",
"N",
"1",
"N == 6",
"N",
"6",
"N == 8",
"N",
"8",
"{\n judge = 2;\n }",
"judge = 2",
"judge",
"2",
"{\n judge = 1;\n }",
"judge = 1",
"judge",
"1",
"{\n if(N%10 == 3){\n judge = 3;\n }else if(N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8){\n judge = 2;\n }else{\n judge = 1;\n }\n }",
"if(N%10 == 3){\n judge = 3;\n }else if(N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8){\n judge = 2;\n }else{\n judge = 1;\n }",
"N%10 == 3",
"N%10",
"N",
"10",
"3",
"{\n judge = 3;\n }",
"judge = 3",
"judge",
"3",
"if(N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8){\n judge = 2;\n }else{\n judge = 1;\n }",
"N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8",
"N%10 == 6",
"N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8",
"N%10 == 0",
"N%10",
"N",
"10",
"0",
"N%10 == 1",
"N%10",
"N",
"10",
"1",
"N%10 == 6",
"N%10",
"N",
"10",
"6",
"N%10 == 8",
"N%10",
"N",
"10",
"8",
"{\n judge = 2;\n }",
"judge = 2",
"judge",
"2",
"{\n judge = 1;\n }",
"judge = 1",
"judge",
"1",
"if(judge == 1) System.out.println(\"hon\");",
"judge == 1",
"judge",
"1",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(judge == 2) System.out.println(\"pon\");",
"judge == 2",
"judge",
"2",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if(judge == 3) System.out.println(\"bon\");",
"judge == 3",
"judge",
"3",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int judge = 0;\n \n if(N<10){\n if(N == 3){\n judge = 3;\n }else if(N == 0 ||N == 1 ||N == 6 ||N == 8){\n judge = 2;\n }else{\n judge = 1;\n }\n }else{\n if(N%10 == 3){\n judge = 3;\n }else if(N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8){\n judge = 2;\n }else{\n judge = 1;\n }\n }\n \n if(judge == 1) System.out.println(\"hon\");\n if(judge == 2) System.out.println(\"pon\");\n if(judge == 3) System.out.println(\"bon\");\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int judge = 0;\n \n if(N<10){\n if(N == 3){\n judge = 3;\n }else if(N == 0 ||N == 1 ||N == 6 ||N == 8){\n judge = 2;\n }else{\n judge = 1;\n }\n }else{\n if(N%10 == 3){\n judge = 3;\n }else if(N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8){\n judge = 2;\n }else{\n judge = 1;\n }\n }\n \n if(judge == 1) System.out.println(\"hon\");\n if(judge == 2) System.out.println(\"pon\");\n if(judge == 3) System.out.println(\"bon\");\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int judge = 0;
if(N<10){
if(N == 3){
judge = 3;
}else if(N == 0 ||N == 1 ||N == 6 ||N == 8){
judge = 2;
}else{
judge = 1;
}
}else{
if(N%10 == 3){
judge = 3;
}else if(N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8){
judge = 2;
}else{
judge = 1;
}
}
if(judge == 1) System.out.println("hon");
if(judge == 2) System.out.println("pon");
if(judge == 3) System.out.println("bon");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
41,
13,
2,
13,
17,
35,
13,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
1,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
81,
5
],
[
81,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
21,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
35,
37
],
[
27,
38
],
[
38,
39
],
[
38,
40
],
[
27,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
43,
50
],
[
27,
51
],
[
51,
52
],
[
51,
53
],
[
27,
54
],
[
54,
55
],
[
54,
56
],
[
27,
57
],
[
57,
58
],
[
57,
59
],
[
27,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
62,
69
],
[
27,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
6,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO θͺεηζγγγγ‘γ½γγγ»γΉγΏγ\n\n\t\tScanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n\n if(n<1000) {\n int iti=n%10;\n \n switch(iti) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n \t \n \t System.out.println(\"hon\");\n \t \n \t break;\n \t \n case 0:\n case 1:\n case 6:\n case 8:\n \t \n \t System.out.println(\"pon\");\n \t break;\n \t \n default:\n \t System.out.println(\"bon\");\n }\n }\n\t}\n}\n\t",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO θͺεηζγγγγ‘γ½γγγ»γΉγΏγ\n\n\t\tScanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n\n if(n<1000) {\n int iti=n%10;\n \n switch(iti) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n \t \n \t System.out.println(\"hon\");\n \t \n \t break;\n \t \n case 0:\n case 1:\n case 6:\n case 8:\n \t \n \t System.out.println(\"pon\");\n \t break;\n \t \n default:\n \t System.out.println(\"bon\");\n }\n }\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO θͺεηζγγγγ‘γ½γγγ»γΉγΏγ\n\n\t\tScanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n\n if(n<1000) {\n int iti=n%10;\n \n switch(iti) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n \t \n \t System.out.println(\"hon\");\n \t \n \t break;\n \t \n case 0:\n case 1:\n case 6:\n case 8:\n \t \n \t System.out.println(\"pon\");\n \t break;\n \t \n default:\n \t System.out.println(\"bon\");\n }\n }\n\t}",
"main",
"{\n\t\t// TODO θͺεηζγγγγ‘γ½γγγ»γΉγΏγ\n\n\t\tScanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n\n if(n<1000) {\n int iti=n%10;\n \n switch(iti) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n \t \n \t System.out.println(\"hon\");\n \t \n \t break;\n \t \n case 0:\n case 1:\n case 6:\n case 8:\n \t \n \t System.out.println(\"pon\");\n \t break;\n \t \n default:\n \t System.out.println(\"bon\");\n }\n }\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n=sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(n<1000) {\n int iti=n%10;\n \n switch(iti) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n \t \n \t System.out.println(\"hon\");\n \t \n \t break;\n \t \n case 0:\n case 1:\n case 6:\n case 8:\n \t \n \t System.out.println(\"pon\");\n \t break;\n \t \n default:\n \t System.out.println(\"bon\");\n }\n }",
"n<1000",
"n",
"1000",
"{\n int iti=n%10;\n \n switch(iti) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n \t \n \t System.out.println(\"hon\");\n \t \n \t break;\n \t \n case 0:\n case 1:\n case 6:\n case 8:\n \t \n \t System.out.println(\"pon\");\n \t break;\n \t \n default:\n \t System.out.println(\"bon\");\n }\n }",
"int iti=n%10;",
"iti",
"n%10",
"n",
"10",
"switch(iti) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n \t \n \t System.out.println(\"hon\");\n \t \n \t break;\n \t \n case 0:\n case 1:\n case 6:\n case 8:\n \t \n \t System.out.println(\"pon\");\n \t break;\n \t \n default:\n \t System.out.println(\"bon\");\n }",
"iti",
"case 2:",
"2",
"case 2:",
"case 4:",
"4",
"case 4:",
"case 5:",
"5",
"case 5:",
"case 7:",
"7",
"case 7:",
"case 9:",
"9",
"case 9:",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"break;",
"case 0:",
"0",
"case 0:",
"case 1:",
"1",
"case 1:",
"case 6:",
"6",
"case 6:",
"case 8:",
"8",
"case 8:",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"default:",
"default:",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO θͺεηζγγγγ‘γ½γγγ»γΉγΏγ\n\n\t\tScanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n\n if(n<1000) {\n int iti=n%10;\n \n switch(iti) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n \t \n \t System.out.println(\"hon\");\n \t \n \t break;\n \t \n case 0:\n case 1:\n case 6:\n case 8:\n \t \n \t System.out.println(\"pon\");\n \t break;\n \t \n default:\n \t System.out.println(\"bon\");\n }\n }\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO θͺεηζγγγγ‘γ½γγγ»γΉγΏγ\n\n\t\tScanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n\n if(n<1000) {\n int iti=n%10;\n \n switch(iti) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n \t \n \t System.out.println(\"hon\");\n \t \n \t break;\n \t \n case 0:\n case 1:\n case 6:\n case 8:\n \t \n \t System.out.println(\"pon\");\n \t break;\n \t \n default:\n \t System.out.println(\"bon\");\n }\n }\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO θͺεηζγγγγ‘γ½γγγ»γΉγΏγ
Scanner sc=new Scanner(System.in);
int n=sc.nextInt();
if(n<1000) {
int iti=n%10;
switch(iti) {
case 2:
case 4:
case 5:
case 7:
case 9:
System.out.println("hon");
break;
case 0:
case 1:
case 6:
case 8:
System.out.println("pon");
break;
default:
System.out.println("bon");
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
13,
17,
41,
13,
39,
17,
17,
17,
17,
17,
41,
13,
39,
17,
17,
17,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
104,
5
],
[
104,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
24,
27
],
[
24,
28
],
[
24,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
32,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
37,
47
],
[
47,
48
],
[
48,
49
],
[
37,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
52,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
8,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
64,
74
],
[
74,
75
],
[
75,
76
],
[
64,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
79,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
8,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
6,
101
],
[
101,
102
],
[
0,
103
],
[
103,
104
],
[
103,
105
]
] |
[
"import java.util.Scanner;\t\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner stdIn= new Scanner(System.in);\n int n=stdIn.nextInt();\n int a=n%10;\n int [] hon={2,4,5,7,9};\n int [] pon={0,1,6,8};\n for(int t=0;t<hon.length;t++){\n if(a==hon[t])System.out.println(\"hon\");\n }\n for(int t=0;t<pon.length;t++){\n if(a==pon[t])System.out.println(\"pon\");\n }\n if(a==3)System.out.println(\"bon\");\n }\n}\n \n\n \n \n \n ",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner stdIn= new Scanner(System.in);\n int n=stdIn.nextInt();\n int a=n%10;\n int [] hon={2,4,5,7,9};\n int [] pon={0,1,6,8};\n for(int t=0;t<hon.length;t++){\n if(a==hon[t])System.out.println(\"hon\");\n }\n for(int t=0;t<pon.length;t++){\n if(a==pon[t])System.out.println(\"pon\");\n }\n if(a==3)System.out.println(\"bon\");\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner stdIn= new Scanner(System.in);\n int n=stdIn.nextInt();\n int a=n%10;\n int [] hon={2,4,5,7,9};\n int [] pon={0,1,6,8};\n for(int t=0;t<hon.length;t++){\n if(a==hon[t])System.out.println(\"hon\");\n }\n for(int t=0;t<pon.length;t++){\n if(a==pon[t])System.out.println(\"pon\");\n }\n if(a==3)System.out.println(\"bon\");\n }",
"main",
"{\n Scanner stdIn= new Scanner(System.in);\n int n=stdIn.nextInt();\n int a=n%10;\n int [] hon={2,4,5,7,9};\n int [] pon={0,1,6,8};\n for(int t=0;t<hon.length;t++){\n if(a==hon[t])System.out.println(\"hon\");\n }\n for(int t=0;t<pon.length;t++){\n if(a==pon[t])System.out.println(\"pon\");\n }\n if(a==3)System.out.println(\"bon\");\n }",
"Scanner stdIn= new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"int n=stdIn.nextInt();",
"n",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int a=n%10;",
"a",
"n%10",
"n",
"10",
"int [] hon={2,4,5,7,9};",
"hon",
"{2,4,5,7,9}",
"2",
"4",
"5",
"7",
"9",
"int [] pon={0,1,6,8};",
"pon",
"{0,1,6,8}",
"0",
"1",
"6",
"8",
"for(int t=0;t<hon.length;t++){\n if(a==hon[t])System.out.println(\"hon\");\n }",
"int t=0;",
"int t=0;",
"t",
"0",
"t<hon.length",
"t",
"hon.length",
"hon",
"hon.length",
"t++",
"t++",
"t",
"{\n if(a==hon[t])System.out.println(\"hon\");\n }",
"{\n if(a==hon[t])System.out.println(\"hon\");\n }",
"if(a==hon[t])System.out.println(\"hon\");",
"a==hon[t]",
"a",
"hon[t]",
"hon",
"t",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"for(int t=0;t<pon.length;t++){\n if(a==pon[t])System.out.println(\"pon\");\n }",
"int t=0;",
"int t=0;",
"t",
"0",
"t<pon.length",
"t",
"pon.length",
"pon",
"pon.length",
"t++",
"t++",
"t",
"{\n if(a==pon[t])System.out.println(\"pon\");\n }",
"{\n if(a==pon[t])System.out.println(\"pon\");\n }",
"if(a==pon[t])System.out.println(\"pon\");",
"a==pon[t]",
"a",
"pon[t]",
"pon",
"t",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if(a==3)System.out.println(\"bon\");",
"a==3",
"a",
"3",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner stdIn= new Scanner(System.in);\n int n=stdIn.nextInt();\n int a=n%10;\n int [] hon={2,4,5,7,9};\n int [] pon={0,1,6,8};\n for(int t=0;t<hon.length;t++){\n if(a==hon[t])System.out.println(\"hon\");\n }\n for(int t=0;t<pon.length;t++){\n if(a==pon[t])System.out.println(\"pon\");\n }\n if(a==3)System.out.println(\"bon\");\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner stdIn= new Scanner(System.in);\n int n=stdIn.nextInt();\n int a=n%10;\n int [] hon={2,4,5,7,9};\n int [] pon={0,1,6,8};\n for(int t=0;t<hon.length;t++){\n if(a==hon[t])System.out.println(\"hon\");\n }\n for(int t=0;t<pon.length;t++){\n if(a==pon[t])System.out.println(\"pon\");\n }\n if(a==3)System.out.println(\"bon\");\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner stdIn= new Scanner(System.in);
int n=stdIn.nextInt();
int a=n%10;
int [] hon={2,4,5,7,9};
int [] pon={0,1,6,8};
for(int t=0;t<hon.length;t++){
if(a==hon[t])System.out.println("hon");
}
for(int t=0;t<pon.length;t++){
if(a==pon[t])System.out.println("pon");
}
if(a==3)System.out.println("bon");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
4,
18,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
90,
5
],
[
90,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
8,
27
],
[
27,
28
],
[
31,
29
],
[
41,
30
],
[
38,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
38,
38
],
[
38,
39
],
[
38,
40
],
[
41,
41
],
[
41,
42
],
[
41,
43
],
[
31,
44
],
[
44,
45
],
[
44,
46
],
[
27,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
27,
54
],
[
54,
55
],
[
57,
56
],
[
64,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
64,
64
],
[
64,
65
],
[
64,
66
],
[
57,
67
],
[
67,
68
],
[
67,
69
],
[
54,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
54,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
8,
84
],
[
84,
85
],
[
85,
86
],
[
6,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tString n = kb.next();\n\t\tchar x = n.charAt(n.length()-1);\n\t\tif (x=='2' || x=='4' || x=='5' || x=='7' || x=='9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t} else if (x=='0' || x=='1' || x=='6' || x=='8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\t\n\t\tkb.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tString n = kb.next();\n\t\tchar x = n.charAt(n.length()-1);\n\t\tif (x=='2' || x=='4' || x=='5' || x=='7' || x=='9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t} else if (x=='0' || x=='1' || x=='6' || x=='8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\t\n\t\tkb.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tString n = kb.next();\n\t\tchar x = n.charAt(n.length()-1);\n\t\tif (x=='2' || x=='4' || x=='5' || x=='7' || x=='9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t} else if (x=='0' || x=='1' || x=='6' || x=='8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\t\n\t\tkb.close();\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tString n = kb.next();\n\t\tchar x = n.charAt(n.length()-1);\n\t\tif (x=='2' || x=='4' || x=='5' || x=='7' || x=='9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t} else if (x=='0' || x=='1' || x=='6' || x=='8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\t\n\t\tkb.close();\n\t}",
"Scanner kb = new Scanner(System.in);",
"kb",
"new Scanner(System.in)",
"String n = kb.next();",
"n",
"kb.next()",
"kb.next",
"kb",
"char x = n.charAt(n.length()-1);",
"x",
"n.charAt(n.length()-1)",
"n.charAt",
"n",
"n.length()-1",
"n.length()",
"n.length",
"n",
"1",
"if (x=='2' || x=='4' || x=='5' || x=='7' || x=='9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t} else if (x=='0' || x=='1' || x=='6' || x=='8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"x=='2' || x=='4' || x=='5' || x=='7' || x=='9'",
"x=='7'",
"x=='5'",
"x=='2' || x=='4' || x=='5' || x=='7' || x=='9'",
"x=='2'",
"x",
"'2'",
"x=='4'",
"x",
"'4'",
"x=='5'",
"x",
"'5'",
"x=='7'",
"x",
"'7'",
"x=='9'",
"x",
"'9'",
"{\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if (x=='0' || x=='1' || x=='6' || x=='8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"x=='0' || x=='1' || x=='6' || x=='8'",
"x=='6'",
"x=='0' || x=='1' || x=='6' || x=='8'",
"x=='0'",
"x",
"'0'",
"x=='1'",
"x",
"'1'",
"x=='6'",
"x",
"'6'",
"x=='8'",
"x",
"'8'",
"{\n\t\t\tSystem.out.println(\"pon\");\n\t\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"kb.close()",
"kb.close",
"kb",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tString n = kb.next();\n\t\tchar x = n.charAt(n.length()-1);\n\t\tif (x=='2' || x=='4' || x=='5' || x=='7' || x=='9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t} else if (x=='0' || x=='1' || x=='6' || x=='8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\t\n\t\tkb.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tString n = kb.next();\n\t\tchar x = n.charAt(n.length()-1);\n\t\tif (x=='2' || x=='4' || x=='5' || x=='7' || x=='9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t} else if (x=='0' || x=='1' || x=='6' || x=='8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\t\n\t\tkb.close();\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner kb = new Scanner(System.in);
String n = kb.next();
char x = n.charAt(n.length()-1);
if (x=='2' || x=='4' || x=='5' || x=='7' || x=='9') {
System.out.println("hon");
} else if (x=='0' || x=='1' || x=='6' || x=='8') {
System.out.println("pon");
} else {
System.out.println("bon");
}
kb.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
17,
30,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
239,
5
],
[
239,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
28,
26
],
[
38,
27
],
[
35,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
35,
35
],
[
35,
36
],
[
35,
37
],
[
38,
38
],
[
38,
39
],
[
38,
40
],
[
28,
41
],
[
41,
42
],
[
41,
43
],
[
24,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
23,
51
],
[
51,
52
],
[
54,
53
],
[
61,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
61,
61
],
[
61,
62
],
[
61,
63
],
[
54,
64
],
[
64,
65
],
[
64,
66
],
[
51,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
23,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
17,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
86,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
85,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
97,
103
],
[
103,
104
],
[
107,
105
],
[
117,
106
],
[
114,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
111,
113
],
[
114,
114
],
[
114,
115
],
[
114,
116
],
[
117,
117
],
[
117,
118
],
[
117,
119
],
[
107,
120
],
[
120,
121
],
[
120,
122
],
[
103,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
124,
129
],
[
97,
130
],
[
130,
131
],
[
133,
132
],
[
140,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
137
],
[
137,
138
],
[
137,
139
],
[
140,
140
],
[
140,
141
],
[
140,
142
],
[
133,
143
],
[
143,
144
],
[
143,
145
],
[
130,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
147,
152
],
[
97,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
153,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
158,
163
],
[
85,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
167,
169
],
[
164,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
172,
174
],
[
164,
175
],
[
175,
176
],
[
179,
177
],
[
189,
178
],
[
186,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
179,
183
],
[
183,
184
],
[
183,
185
],
[
186,
186
],
[
186,
187
],
[
186,
188
],
[
189,
189
],
[
189,
190
],
[
189,
191
],
[
179,
192
],
[
192,
193
],
[
192,
194
],
[
175,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
198,
200
],
[
196,
201
],
[
164,
202
],
[
202,
203
],
[
205,
204
],
[
212,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
205,
209
],
[
209,
210
],
[
209,
211
],
[
212,
212
],
[
212,
213
],
[
212,
214
],
[
205,
215
],
[
215,
216
],
[
215,
217
],
[
202,
218
],
[
218,
219
],
[
219,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
219,
224
],
[
164,
225
],
[
225,
226
],
[
226,
227
],
[
226,
228
],
[
225,
229
],
[
229,
230
],
[
230,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
230,
235
],
[
6,
236
],
[
236,
237
],
[
0,
238
],
[
238,
239
],
[
238,
240
]
] |
[
"import java.util.*;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\n\t\tScanner b = new Scanner(System.in);\n\t\t\n\t\tint n = b.nextInt();\n\t\t\n\t\tif(n/10 < 1) {\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}\n\t\telse if(n/10 >= 1 && n/10 < 10) {\n\t\t\tn = n%10;\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tn = n%100;\n\t\t\tn = n%10;\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}\n\t\t\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\n\t\tScanner b = new Scanner(System.in);\n\t\t\n\t\tint n = b.nextInt();\n\t\t\n\t\tif(n/10 < 1) {\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}\n\t\telse if(n/10 >= 1 && n/10 < 10) {\n\t\t\tn = n%10;\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tn = n%100;\n\t\t\tn = n%10;\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\n\t\tScanner b = new Scanner(System.in);\n\t\t\n\t\tint n = b.nextInt();\n\t\t\n\t\tif(n/10 < 1) {\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}\n\t\telse if(n/10 >= 1 && n/10 < 10) {\n\t\t\tn = n%10;\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tn = n%100;\n\t\t\tn = n%10;\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\n\t\tScanner b = new Scanner(System.in);\n\t\t\n\t\tint n = b.nextInt();\n\t\t\n\t\tif(n/10 < 1) {\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}\n\t\telse if(n/10 >= 1 && n/10 < 10) {\n\t\t\tn = n%10;\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tn = n%100;\n\t\t\tn = n%10;\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}\n\t\t\n\t}",
"Scanner b = new Scanner(System.in);",
"b",
"new Scanner(System.in)",
"int n = b.nextInt();",
"n",
"b.nextInt()",
"b.nextInt",
"b",
"if(n/10 < 1) {\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}\n\t\telse if(n/10 >= 1 && n/10 < 10) {\n\t\t\tn = n%10;\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tn = n%100;\n\t\t\tn = n%10;\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}",
"n/10 < 1",
"n/10",
"n",
"10",
"1",
"{\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}",
"if(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}",
"n == 2 || n == 4 || n == 5 || n == 7 || n == 9",
"n == 7",
"n == 5",
"n == 2 || n == 4 || n == 5 || n == 7 || n == 9",
"n == 2",
"n",
"2",
"n == 4",
"n",
"4",
"n == 5",
"n",
"5",
"n == 7",
"n",
"7",
"n == 9",
"n",
"9",
"{\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}",
"n == 0 || n == 1 || n == 6 || n == 8",
"n == 6",
"n == 0 || n == 1 || n == 6 || n == 8",
"n == 0",
"n",
"0",
"n == 1",
"n",
"1",
"n == 6",
"n",
"6",
"n == 8",
"n",
"8",
"{\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}",
"n == 3",
"n",
"3",
"{\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(n/10 >= 1 && n/10 < 10) {\n\t\t\tn = n%10;\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tn = n%100;\n\t\t\tn = n%10;\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}",
"n/10 >= 1 && n/10 < 10",
"n/10 >= 1",
"n/10",
"n",
"10",
"1",
"n/10 < 10",
"n/10",
"n",
"10",
"10",
"{\n\t\t\tn = n%10;\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}",
"n = n%10",
"n",
"n%10",
"n",
"10",
"if(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}",
"n == 2 || n == 4 || n == 5 || n == 7 || n == 9",
"n == 7",
"n == 5",
"n == 2 || n == 4 || n == 5 || n == 7 || n == 9",
"n == 2",
"n",
"2",
"n == 4",
"n",
"4",
"n == 5",
"n",
"5",
"n == 7",
"n",
"7",
"n == 9",
"n",
"9",
"{\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}",
"n == 0 || n == 1 || n == 6 || n == 8",
"n == 6",
"n == 0 || n == 1 || n == 6 || n == 8",
"n == 0",
"n",
"0",
"n == 1",
"n",
"1",
"n == 6",
"n",
"6",
"n == 8",
"n",
"8",
"{\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}",
"n == 3",
"n",
"3",
"{\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"{\n\t\t\tn = n%100;\n\t\t\tn = n%10;\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}",
"n = n%100",
"n",
"n%100",
"n",
"100",
"n = n%10",
"n",
"n%10",
"n",
"10",
"if(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}",
"n == 2 || n == 4 || n == 5 || n == 7 || n == 9",
"n == 7",
"n == 5",
"n == 2 || n == 4 || n == 5 || n == 7 || n == 9",
"n == 2",
"n",
"2",
"n == 4",
"n",
"4",
"n == 5",
"n",
"5",
"n == 7",
"n",
"7",
"n == 9",
"n",
"9",
"{\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}",
"n == 0 || n == 1 || n == 6 || n == 8",
"n == 6",
"n == 0 || n == 1 || n == 6 || n == 8",
"n == 0",
"n",
"0",
"n == 1",
"n",
"1",
"n == 6",
"n",
"6",
"n == 8",
"n",
"8",
"{\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}",
"n == 3",
"n",
"3",
"{\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\n\t\tScanner b = new Scanner(System.in);\n\t\t\n\t\tint n = b.nextInt();\n\t\t\n\t\tif(n/10 < 1) {\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}\n\t\telse if(n/10 >= 1 && n/10 < 10) {\n\t\t\tn = n%10;\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tn = n%100;\n\t\t\tn = n%10;\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\n\t\tScanner b = new Scanner(System.in);\n\t\t\n\t\tint n = b.nextInt();\n\t\t\n\t\tif(n/10 < 1) {\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}\n\t\telse if(n/10 >= 1 && n/10 < 10) {\n\t\t\tn = n%10;\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tn = n%100;\n\t\t\tn = n%10;\n\t\t\tif(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tif(n == 0 || n == 1 || n == 6 || n == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tif(n == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t}\n\t\t\n\t}\n\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner b = new Scanner(System.in);
int n = b.nextInt();
if(n/10 < 1) {
if(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {
System.out.println("hon");
}
if(n == 0 || n == 1 || n == 6 || n == 8) {
System.out.println("pon");
}
if(n == 3) {
System.out.println("bon");
}
}
else if(n/10 >= 1 && n/10 < 10) {
n = n%10;
if(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {
System.out.println("hon");
}
if(n == 0 || n == 1 || n == 6 || n == 8) {
System.out.println("pon");
}
if(n == 3) {
System.out.println("bon");
}
}
else {
n = n%100;
n = n%10;
if(n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {
System.out.println("hon");
}
if(n == 0 || n == 1 || n == 6 || n == 8) {
System.out.println("pon");
}
if(n == 3) {
System.out.println("bon");
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
87,
5
],
[
87,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
8,
27
],
[
27,
28
],
[
31,
29
],
[
41,
30
],
[
38,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
38,
38
],
[
38,
39
],
[
38,
40
],
[
41,
41
],
[
41,
42
],
[
41,
43
],
[
31,
44
],
[
44,
45
],
[
44,
46
],
[
27,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
27,
54
],
[
54,
55
],
[
57,
56
],
[
64,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
64,
64
],
[
64,
65
],
[
64,
66
],
[
57,
67
],
[
67,
68
],
[
67,
69
],
[
54,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
54,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
6,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] |
[
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n\n N = (N / 1);\n N = N % 10;\n \n if((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N == 9)){\n System.out.println(\"hon\");\n }else if((N == 0) || (N == 1) || (N == 6) || (N == 8)){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n\n N = (N / 1);\n N = N % 10;\n \n if((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N == 9)){\n System.out.println(\"hon\");\n }else if((N == 0) || (N == 1) || (N == 6) || (N == 8)){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n\n }\n}",
"Main",
"public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n\n N = (N / 1);\n N = N % 10;\n \n if((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N == 9)){\n System.out.println(\"hon\");\n }else if((N == 0) || (N == 1) || (N == 6) || (N == 8)){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n\n N = (N / 1);\n N = N % 10;\n \n if((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N == 9)){\n System.out.println(\"hon\");\n }else if((N == 0) || (N == 1) || (N == 6) || (N == 8)){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"N = (N / 1)",
"N",
"(N / 1)",
"N",
"1",
"N = N % 10",
"N",
"N % 10",
"N",
"10",
"if((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N == 9)){\n System.out.println(\"hon\");\n }else if((N == 0) || (N == 1) || (N == 6) || (N == 8)){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }",
"(N == 2) || (N == 4) || (N == 5) || (N == 7) || (N == 9)",
"(N == 7)",
"(N == 5)",
"(N == 2) || (N == 4) || (N == 5) || (N == 7) || (N == 9)",
"(N == 2)",
"N",
"2",
"(N == 4)",
"N",
"4",
"(N == 5)",
"N",
"5",
"(N == 7)",
"N",
"7",
"(N == 9)",
"N",
"9",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if((N == 0) || (N == 1) || (N == 6) || (N == 8)){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }",
"(N == 0) || (N == 1) || (N == 6) || (N == 8)",
"(N == 6)",
"(N == 0) || (N == 1) || (N == 6) || (N == 8)",
"(N == 0)",
"N",
"0",
"(N == 1)",
"N",
"1",
"(N == 6)",
"N",
"6",
"(N == 8)",
"N",
"8",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n\n N = (N / 1);\n N = N % 10;\n \n if((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N == 9)){\n System.out.println(\"hon\");\n }else if((N == 0) || (N == 1) || (N == 6) || (N == 8)){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n\n }\n}",
"public class Main{\n public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n\n N = (N / 1);\n N = N % 10;\n \n if((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N == 9)){\n System.out.println(\"hon\");\n }else if((N == 0) || (N == 1) || (N == 6) || (N == 8)){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
N = (N / 1);
N = N % 10;
if((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N == 9)){
System.out.println("hon");
}else if((N == 0) || (N == 1) || (N == 6) || (N == 8)){
System.out.println("pon");
}else{
System.out.println("bon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
13,
3,
14,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
3,
30,
14,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
3,
30,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
166,
5
],
[
166,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
51,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
63,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
46,
75
],
[
8,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
86,
88
],
[
81,
89
],
[
89,
90
],
[
90,
91
],
[
81,
92
],
[
93,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
96,
98
],
[
93,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
76,
105
],
[
8,
106
],
[
106,
107
],
[
110,
108
],
[
120,
109
],
[
117,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
114,
115
],
[
114,
116
],
[
117,
117
],
[
117,
118
],
[
117,
119
],
[
120,
120
],
[
120,
121
],
[
120,
122
],
[
110,
123
],
[
123,
124
],
[
123,
125
],
[
106,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
127,
132
],
[
106,
133
],
[
133,
134
],
[
136,
135
],
[
143,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
136,
140
],
[
140,
141
],
[
140,
142
],
[
143,
143
],
[
143,
144
],
[
143,
145
],
[
136,
146
],
[
146,
147
],
[
146,
148
],
[
133,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
150,
155
],
[
133,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
157,
162
],
[
6,
163
],
[
163,
164
],
[
0,
165
],
[
165,
166
],
[
165,
167
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner (System.in);\n\t\tint a = 0;\n\t\tfor(int i = 1;i>0;i++){\n\t\t\tint n = scan.nextInt();\n\t\t\tif(n>=0&n<=999) {\n\t\t\t\ta = n;\n\t\t\t\tbreak;\n\t\t\t}}\n\t\t\tif(a>=100) {\n\t\t\t\tfor(int j =0;j<11;j++) {\n\t\t\t\t\ta=a-100;\n\t\t\t\t\tif(a<100) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {}\n\t\t\t\t\n\t\t\t\tif(a>=10) {\n\t\t\t\t\tfor(int j =0;j<11;j++) {\n\t\t\t\t\t\ta=a-10;\n\t\t\t\t\t\tif(a<10) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t}\n\t\t\t\n\t\t\t\tif(a==2||a==4||a==5||a==7||a==9) {\n\t\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\t}\n\t\t\t\telse if(a==0||a==1||a==6||a==8) {\n\t\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\t\n\t}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner (System.in);\n\t\tint a = 0;\n\t\tfor(int i = 1;i>0;i++){\n\t\t\tint n = scan.nextInt();\n\t\t\tif(n>=0&n<=999) {\n\t\t\t\ta = n;\n\t\t\t\tbreak;\n\t\t\t}}\n\t\t\tif(a>=100) {\n\t\t\t\tfor(int j =0;j<11;j++) {\n\t\t\t\t\ta=a-100;\n\t\t\t\t\tif(a<100) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {}\n\t\t\t\t\n\t\t\t\tif(a>=10) {\n\t\t\t\t\tfor(int j =0;j<11;j++) {\n\t\t\t\t\t\ta=a-10;\n\t\t\t\t\t\tif(a<10) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t}\n\t\t\t\n\t\t\t\tif(a==2||a==4||a==5||a==7||a==9) {\n\t\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\t}\n\t\t\t\telse if(a==0||a==1||a==6||a==8) {\n\t\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\t\n\t}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner (System.in);\n\t\tint a = 0;\n\t\tfor(int i = 1;i>0;i++){\n\t\t\tint n = scan.nextInt();\n\t\t\tif(n>=0&n<=999) {\n\t\t\t\ta = n;\n\t\t\t\tbreak;\n\t\t\t}}\n\t\t\tif(a>=100) {\n\t\t\t\tfor(int j =0;j<11;j++) {\n\t\t\t\t\ta=a-100;\n\t\t\t\t\tif(a<100) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {}\n\t\t\t\t\n\t\t\t\tif(a>=10) {\n\t\t\t\t\tfor(int j =0;j<11;j++) {\n\t\t\t\t\t\ta=a-10;\n\t\t\t\t\t\tif(a<10) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t}\n\t\t\t\n\t\t\t\tif(a==2||a==4||a==5||a==7||a==9) {\n\t\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\t}\n\t\t\t\telse if(a==0||a==1||a==6||a==8) {\n\t\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\t}\n\t\t}",
"main",
"{\n\t\tScanner scan = new Scanner (System.in);\n\t\tint a = 0;\n\t\tfor(int i = 1;i>0;i++){\n\t\t\tint n = scan.nextInt();\n\t\t\tif(n>=0&n<=999) {\n\t\t\t\ta = n;\n\t\t\t\tbreak;\n\t\t\t}}\n\t\t\tif(a>=100) {\n\t\t\t\tfor(int j =0;j<11;j++) {\n\t\t\t\t\ta=a-100;\n\t\t\t\t\tif(a<100) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {}\n\t\t\t\t\n\t\t\t\tif(a>=10) {\n\t\t\t\t\tfor(int j =0;j<11;j++) {\n\t\t\t\t\t\ta=a-10;\n\t\t\t\t\t\tif(a<10) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t}\n\t\t\t\n\t\t\t\tif(a==2||a==4||a==5||a==7||a==9) {\n\t\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\t}\n\t\t\t\telse if(a==0||a==1||a==6||a==8) {\n\t\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\t}\n\t\t}",
"Scanner scan = new Scanner (System.in);",
"scan",
"new Scanner (System.in)",
"int a = 0;",
"a",
"0",
"for(int i = 1;i>0;i++){\n\t\t\tint n = scan.nextInt();\n\t\t\tif(n>=0&n<=999) {\n\t\t\t\ta = n;\n\t\t\t\tbreak;\n\t\t\t}}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i>0",
"i",
"0",
"i++",
"i++",
"i",
"{\n\t\t\tint n = scan.nextInt();\n\t\t\tif(n>=0&n<=999) {\n\t\t\t\ta = n;\n\t\t\t\tbreak;\n\t\t\t}}",
"{\n\t\t\tint n = scan.nextInt();\n\t\t\tif(n>=0&n<=999) {\n\t\t\t\ta = n;\n\t\t\t\tbreak;\n\t\t\t}}",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(n>=0&n<=999) {\n\t\t\t\ta = n;\n\t\t\t\tbreak;\n\t\t\t}",
"n>=0&n<=999",
"n>=0",
"n",
"0",
"n<=999",
"n",
"999",
"{\n\t\t\t\ta = n;\n\t\t\t\tbreak;\n\t\t\t}",
"a = n",
"a",
"n",
"break;",
"if(a>=100) {\n\t\t\t\tfor(int j =0;j<11;j++) {\n\t\t\t\t\ta=a-100;\n\t\t\t\t\tif(a<100) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {}",
"a>=100",
"a",
"100",
"{\n\t\t\t\tfor(int j =0;j<11;j++) {\n\t\t\t\t\ta=a-100;\n\t\t\t\t\tif(a<100) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}",
"for(int j =0;j<11;j++) {\n\t\t\t\t\ta=a-100;\n\t\t\t\t\tif(a<100) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}",
"int j =0;",
"int j =0;",
"j",
"0",
"j<11",
"j",
"11",
"j++",
"j++",
"j",
"{\n\t\t\t\t\ta=a-100;\n\t\t\t\t\tif(a<100) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}",
"{\n\t\t\t\t\ta=a-100;\n\t\t\t\t\tif(a<100) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}",
"a=a-100",
"a",
"a-100",
"a",
"100",
"if(a<100) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}",
"a<100",
"a",
"100",
"{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}",
"break;",
"{}",
"if(a>=10) {\n\t\t\t\t\tfor(int j =0;j<11;j++) {\n\t\t\t\t\t\ta=a-10;\n\t\t\t\t\t\tif(a<10) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t}",
"a>=10",
"a",
"10",
"{\n\t\t\t\t\tfor(int j =0;j<11;j++) {\n\t\t\t\t\t\ta=a-10;\n\t\t\t\t\t\tif(a<10) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}",
"for(int j =0;j<11;j++) {\n\t\t\t\t\t\ta=a-10;\n\t\t\t\t\t\tif(a<10) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}",
"int j =0;",
"int j =0;",
"j",
"0",
"j<11",
"j",
"11",
"j++",
"j++",
"j",
"{\n\t\t\t\t\t\ta=a-10;\n\t\t\t\t\t\tif(a<10) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\ta=a-10;\n\t\t\t\t\t\tif(a<10) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}",
"a=a-10",
"a",
"a-10",
"a",
"10",
"if(a<10) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}",
"a<10",
"a",
"10",
"{\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}",
"break;",
"{\n\t\t\t\t\t}",
"if(a==2||a==4||a==5||a==7||a==9) {\n\t\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\t}\n\t\t\t\telse if(a==0||a==1||a==6||a==8) {\n\t\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\t}",
"a==2||a==4||a==5||a==7||a==9",
"a==7",
"a==5",
"a==2||a==4||a==5||a==7||a==9",
"a==2",
"a",
"2",
"a==4",
"a",
"4",
"a==5",
"a",
"5",
"a==7",
"a",
"7",
"a==9",
"a",
"9",
"{\n\t\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(a==0||a==1||a==6||a==8) {\n\t\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\t}",
"a==0||a==1||a==6||a==8",
"a==6",
"a==0||a==1||a==6||a==8",
"a==0",
"a",
"0",
"a==1",
"a",
"1",
"a==6",
"a",
"6",
"a==8",
"a",
"8",
"{\n\t\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n\t\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\t}",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner (System.in);\n\t\tint a = 0;\n\t\tfor(int i = 1;i>0;i++){\n\t\t\tint n = scan.nextInt();\n\t\t\tif(n>=0&n<=999) {\n\t\t\t\ta = n;\n\t\t\t\tbreak;\n\t\t\t}}\n\t\t\tif(a>=100) {\n\t\t\t\tfor(int j =0;j<11;j++) {\n\t\t\t\t\ta=a-100;\n\t\t\t\t\tif(a<100) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {}\n\t\t\t\t\n\t\t\t\tif(a>=10) {\n\t\t\t\t\tfor(int j =0;j<11;j++) {\n\t\t\t\t\t\ta=a-10;\n\t\t\t\t\t\tif(a<10) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t}\n\t\t\t\n\t\t\t\tif(a==2||a==4||a==5||a==7||a==9) {\n\t\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\t}\n\t\t\t\telse if(a==0||a==1||a==6||a==8) {\n\t\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\t\n\t}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner (System.in);\n\t\tint a = 0;\n\t\tfor(int i = 1;i>0;i++){\n\t\t\tint n = scan.nextInt();\n\t\t\tif(n>=0&n<=999) {\n\t\t\t\ta = n;\n\t\t\t\tbreak;\n\t\t\t}}\n\t\t\tif(a>=100) {\n\t\t\t\tfor(int j =0;j<11;j++) {\n\t\t\t\t\ta=a-100;\n\t\t\t\t\tif(a<100) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {}\n\t\t\t\t\n\t\t\t\tif(a>=10) {\n\t\t\t\t\tfor(int j =0;j<11;j++) {\n\t\t\t\t\t\ta=a-10;\n\t\t\t\t\t\tif(a<10) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t}\n\t\t\t\n\t\t\t\tif(a==2||a==4||a==5||a==7||a==9) {\n\t\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\t}\n\t\t\t\telse if(a==0||a==1||a==6||a==8) {\n\t\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\t\n\t}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner (System.in);
int a = 0;
for(int i = 1;i>0;i++){
int n = scan.nextInt();
if(n>=0&n<=999) {
a = n;
break;
}}
if(a>=100) {
for(int j =0;j<11;j++) {
a=a-100;
if(a<100) {
break;
}
}
}
else {}
if(a>=10) {
for(int j =0;j<11;j++) {
a=a-10;
if(a<10) {
break;
}
}
}
else {
}
if(a==2||a==4||a==5||a==7||a==9) {
System.out.println("hon");
}
else if(a==0||a==1||a==6||a==8) {
System.out.println("pon");
}
else {
System.out.println("bon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
17,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
31,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
30,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
30,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] |
[
"import java.util.*;\npublic class Main{\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n int N =sc.nextInt();\n if(N%10==3){System.out.println(\"bon\");}\n else if(((N%10==1)||(N%10==0))||((N%10==6)||(N%10==8))){System.out.println(\"pon\");}\n else{System.out.println(\"hon\");}\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n int N =sc.nextInt();\n if(N%10==3){System.out.println(\"bon\");}\n else if(((N%10==1)||(N%10==0))||((N%10==6)||(N%10==8))){System.out.println(\"pon\");}\n else{System.out.println(\"hon\");}\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n int N =sc.nextInt();\n if(N%10==3){System.out.println(\"bon\");}\n else if(((N%10==1)||(N%10==0))||((N%10==6)||(N%10==8))){System.out.println(\"pon\");}\n else{System.out.println(\"hon\");}\n }",
"main",
"{\n Scanner sc =new Scanner(System.in);\n int N =sc.nextInt();\n if(N%10==3){System.out.println(\"bon\");}\n else if(((N%10==1)||(N%10==0))||((N%10==6)||(N%10==8))){System.out.println(\"pon\");}\n else{System.out.println(\"hon\");}\n }",
"Scanner sc =new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N =sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(N%10==3){System.out.println(\"bon\");}\n else if(((N%10==1)||(N%10==0))||((N%10==6)||(N%10==8))){System.out.println(\"pon\");}\n else{System.out.println(\"hon\");}",
"N%10==3",
"N%10",
"N",
"10",
"3",
"{System.out.println(\"bon\");}",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(((N%10==1)||(N%10==0))||((N%10==6)||(N%10==8))){System.out.println(\"pon\");}\n else{System.out.println(\"hon\");}",
"((N%10==1)||(N%10==0))||((N%10==6)||(N%10==8))",
"((N%10==1)||(N%10==0))",
"(N%10==1)",
"N%10",
"N",
"10",
"1",
"(N%10==0)",
"N%10",
"N",
"10",
"0",
"((N%10==6)||(N%10==8))",
"(N%10==6)",
"N%10",
"N",
"10",
"6",
"(N%10==8)",
"N%10",
"N",
"10",
"8",
"{System.out.println(\"pon\");}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{System.out.println(\"hon\");}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n int N =sc.nextInt();\n if(N%10==3){System.out.println(\"bon\");}\n else if(((N%10==1)||(N%10==0))||((N%10==6)||(N%10==8))){System.out.println(\"pon\");}\n else{System.out.println(\"hon\");}\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n int N =sc.nextInt();\n if(N%10==3){System.out.println(\"bon\");}\n else if(((N%10==1)||(N%10==0))||((N%10==6)||(N%10==8))){System.out.println(\"pon\");}\n else{System.out.println(\"hon\");}\n }\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc =new Scanner(System.in);
int N =sc.nextInt();
if(N%10==3){System.out.println("bon");}
else if(((N%10==1)||(N%10==0))||((N%10==6)||(N%10==8))){System.out.println("pon");}
else{System.out.println("hon");}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
13,
17,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
66,
5
],
[
66,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
36,
35
],
[
43,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
43,
43
],
[
43,
44
],
[
43,
45
],
[
36,
46
],
[
46,
47
],
[
46,
48
],
[
33,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
33,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
6,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n int num = N % 10;\n String a = null;\n \n if(num == 3){\n a = \"bon\";\n } else if(num == 0||num==1||num==6||num==8){\n a = \"pon\";\n } else {\n a =\"hon\";\n }\n \n System.out.println(a);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n int num = N % 10;\n String a = null;\n \n if(num == 3){\n a = \"bon\";\n } else if(num == 0||num==1||num==6||num==8){\n a = \"pon\";\n } else {\n a =\"hon\";\n }\n \n System.out.println(a);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n int num = N % 10;\n String a = null;\n \n if(num == 3){\n a = \"bon\";\n } else if(num == 0||num==1||num==6||num==8){\n a = \"pon\";\n } else {\n a =\"hon\";\n }\n \n System.out.println(a);\n }",
"main",
"{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n int num = N % 10;\n String a = null;\n \n if(num == 3){\n a = \"bon\";\n } else if(num == 0||num==1||num==6||num==8){\n a = \"pon\";\n } else {\n a =\"hon\";\n }\n \n System.out.println(a);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int num = N % 10;",
"num",
"N % 10",
"N",
"10",
"String a = null;",
"a",
"null",
"if(num == 3){\n a = \"bon\";\n } else if(num == 0||num==1||num==6||num==8){\n a = \"pon\";\n } else {\n a =\"hon\";\n }",
"num == 3",
"num",
"3",
"{\n a = \"bon\";\n }",
"a = \"bon\"",
"a",
"\"bon\"",
"if(num == 0||num==1||num==6||num==8){\n a = \"pon\";\n } else {\n a =\"hon\";\n }",
"num == 0||num==1||num==6||num==8",
"num==6",
"num == 0||num==1||num==6||num==8",
"num == 0",
"num",
"0",
"num==1",
"num",
"1",
"num==6",
"num",
"6",
"num==8",
"num",
"8",
"{\n a = \"pon\";\n }",
"a = \"pon\"",
"a",
"\"pon\"",
"{\n a =\"hon\";\n }",
"a =\"hon\"",
"a",
"\"hon\"",
"System.out.println(a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n int num = N % 10;\n String a = null;\n \n if(num == 3){\n a = \"bon\";\n } else if(num == 0||num==1||num==6||num==8){\n a = \"pon\";\n } else {\n a =\"hon\";\n }\n \n System.out.println(a);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n int num = N % 10;\n String a = null;\n \n if(num == 3){\n a = \"bon\";\n } else if(num == 0||num==1||num==6||num==8){\n a = \"pon\";\n } else {\n a =\"hon\";\n }\n \n System.out.println(a);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int num = N % 10;
String a = null;
if(num == 3){
a = "bon";
} else if(num == 0||num==1||num==6||num==8){
a = "pon";
} else {
a ="hon";
}
System.out.println(a);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
13,
17,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
36,
35
],
[
43,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
43,
43
],
[
43,
44
],
[
43,
45
],
[
36,
46
],
[
46,
47
],
[
46,
48
],
[
33,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
6,
59
],
[
59,
60
]
] |
[
"import java.util.*;\nclass Main{\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int x = s.nextInt();\n int y = x % 10;\n String z = \"hon\";\n if(y==3){\n z = \"bon\";\n }else if(y==0|y==1|y==6|y==8){\n z = \"pon\";\n }\n System.out.println(z); \n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int x = s.nextInt();\n int y = x % 10;\n String z = \"hon\";\n if(y==3){\n z = \"bon\";\n }else if(y==0|y==1|y==6|y==8){\n z = \"pon\";\n }\n System.out.println(z); \n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int x = s.nextInt();\n int y = x % 10;\n String z = \"hon\";\n if(y==3){\n z = \"bon\";\n }else if(y==0|y==1|y==6|y==8){\n z = \"pon\";\n }\n System.out.println(z); \n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n int x = s.nextInt();\n int y = x % 10;\n String z = \"hon\";\n if(y==3){\n z = \"bon\";\n }else if(y==0|y==1|y==6|y==8){\n z = \"pon\";\n }\n System.out.println(z); \n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int x = s.nextInt();",
"x",
"s.nextInt()",
"s.nextInt",
"s",
"int y = x % 10;",
"y",
"x % 10",
"x",
"10",
"String z = \"hon\";",
"z",
"\"hon\"",
"if(y==3){\n z = \"bon\";\n }else if(y==0|y==1|y==6|y==8){\n z = \"pon\";\n }",
"y==3",
"y",
"3",
"{\n z = \"bon\";\n }",
"z = \"bon\"",
"z",
"\"bon\"",
"if(y==0|y==1|y==6|y==8){\n z = \"pon\";\n }",
"y==0|y==1|y==6|y==8",
"y==6",
"y==0|y==1|y==6|y==8",
"y==0",
"y",
"0",
"y==1",
"y",
"1",
"y==6",
"y",
"6",
"y==8",
"y",
"8",
"{\n z = \"pon\";\n }",
"z = \"pon\"",
"z",
"\"pon\"",
"System.out.println(z)",
"System.out.println",
"System.out",
"System",
"System.out",
"z",
"String[] args",
"args"
] |
import java.util.*;
class Main{
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int x = s.nextInt();
int y = x % 10;
String z = "hon";
if(y==3){
z = "bon";
}else if(y==0|y==1|y==6|y==8){
z = "pon";
}
System.out.println(z);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
2,
4,
18,
13,
17,
35,
13,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
14,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
27,
29
],
[
19,
30
],
[
30,
31
],
[
30,
32
],
[
19,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
35,
42
],
[
19,
43
],
[
43,
44
],
[
43,
45
],
[
19,
46
],
[
46,
47
],
[
46,
48
],
[
19,
49
],
[
49,
50
],
[
49,
51
],
[
19,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
54,
61
],
[
19,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
64,
71
],
[
6,
72
],
[
72,
73
]
] |
[
"import java.util.Scanner;class Main{public static void main(String[] args){Scanner scan = new Scanner(System.in);int b = scan.nextInt()%10;switch(b){case 2:case 4:case 5:case 7:case 9:System.out.println(\"hon\");break;case 0:case 1:case 6:case 8:System.out.println(\"pon\");break;case 3:System.out.println(\"bon\");break;}}}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{public static void main(String[] args){Scanner scan = new Scanner(System.in);int b = scan.nextInt()%10;switch(b){case 2:case 4:case 5:case 7:case 9:System.out.println(\"hon\");break;case 0:case 1:case 6:case 8:System.out.println(\"pon\");break;case 3:System.out.println(\"bon\");break;}}}",
"Main",
"public static void main(String[] args){Scanner scan = new Scanner(System.in);int b = scan.nextInt()%10;switch(b){case 2:case 4:case 5:case 7:case 9:System.out.println(\"hon\");break;case 0:case 1:case 6:case 8:System.out.println(\"pon\");break;case 3:System.out.println(\"bon\");break;}}",
"main",
"{Scanner scan = new Scanner(System.in);int b = scan.nextInt()%10;switch(b){case 2:case 4:case 5:case 7:case 9:System.out.println(\"hon\");break;case 0:case 1:case 6:case 8:System.out.println(\"pon\");break;case 3:System.out.println(\"bon\");break;}}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int b = scan.nextInt()%10;",
"b",
"scan.nextInt()%10",
"scan.nextInt()",
"scan.nextInt",
"scan",
"10",
"switch(b){case 2:case 4:case 5:case 7:case 9:System.out.println(\"hon\");break;case 0:case 1:case 6:case 8:System.out.println(\"pon\");break;case 3:System.out.println(\"bon\");break;}",
"b",
"case 2:",
"2",
"case 2:",
"case 4:",
"4",
"case 4:",
"case 5:",
"5",
"case 5:",
"case 7:",
"7",
"case 7:",
"case 9:",
"9",
"case 9:",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"break;",
"case 0:",
"0",
"case 0:",
"case 1:",
"1",
"case 1:",
"case 6:",
"6",
"case 6:",
"case 8:",
"8",
"case 8:",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"case 3:",
"3",
"case 3:",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"break;",
"String[] args",
"args"
] |
import java.util.Scanner;class Main{public static void main(String[] args){Scanner scan = new Scanner(System.in);int b = scan.nextInt()%10;switch(b){case 2:case 4:case 5:case 7:case 9:System.out.println("hon");break;case 0:case 1:case 6:case 8:System.out.println("pon");break;case 3:System.out.println("bon");break;}}}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
14,
2,
2,
2,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
30,
29,
17,
14,
2,
2,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
30,
29,
17,
30,
29,
17,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
102,
5
],
[
102,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
13,
11
],
[
29,
12
],
[
24,
13
],
[
13,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
13,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
29,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
13,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
9,
39
],
[
39,
40
],
[
40,
41
],
[
9,
42
],
[
42,
43
],
[
45,
44
],
[
56,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
45,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
42,
66
],
[
66,
67
],
[
67,
68
],
[
42,
69
],
[
69,
70
],
[
70,
71
],
[
6,
72
],
[
72,
73
],
[
102,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
86,
87
],
[
76,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
76,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
74,
99
],
[
99,
100
],
[
0,
101
],
[
101,
102
],
[
101,
103
]
] |
[
"\nimport java.util.Scanner;\n\npublic class Main {\n\n private static String solve(int n) {\n if (n % 10 == 2 || n % 10 == 4 || n % 10 == 5 || n % 10 == 7 || n % 10 == 9) {\n return \"hon\";\n } else if (n % 10 == 6 || n % 10 == 8 || n % 10 == 1 || n % 10 == 0) {\n return \"pon\";\n } else {\n return \"bon\";\n }\n }\n\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n String res = solve(n);\n System.out.println(res);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n private static String solve(int n) {\n if (n % 10 == 2 || n % 10 == 4 || n % 10 == 5 || n % 10 == 7 || n % 10 == 9) {\n return \"hon\";\n } else if (n % 10 == 6 || n % 10 == 8 || n % 10 == 1 || n % 10 == 0) {\n return \"pon\";\n } else {\n return \"bon\";\n }\n }\n\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n String res = solve(n);\n System.out.println(res);\n }\n}",
"Main",
"private static String solve(int n) {\n if (n % 10 == 2 || n % 10 == 4 || n % 10 == 5 || n % 10 == 7 || n % 10 == 9) {\n return \"hon\";\n } else if (n % 10 == 6 || n % 10 == 8 || n % 10 == 1 || n % 10 == 0) {\n return \"pon\";\n } else {\n return \"bon\";\n }\n }",
"solve",
"{\n if (n % 10 == 2 || n % 10 == 4 || n % 10 == 5 || n % 10 == 7 || n % 10 == 9) {\n return \"hon\";\n } else if (n % 10 == 6 || n % 10 == 8 || n % 10 == 1 || n % 10 == 0) {\n return \"pon\";\n } else {\n return \"bon\";\n }\n }",
"if (n % 10 == 2 || n % 10 == 4 || n % 10 == 5 || n % 10 == 7 || n % 10 == 9) {\n return \"hon\";\n } else if (n % 10 == 6 || n % 10 == 8 || n % 10 == 1 || n % 10 == 0) {\n return \"pon\";\n } else {\n return \"bon\";\n }",
"n % 10 == 2 || n % 10 == 4 || n % 10 == 5 || n % 10 == 7 || n % 10 == 9",
"n % 10 == 7",
"n % 10 == 5",
"n % 10 == 2 || n % 10 == 4 || n % 10 == 5 || n % 10 == 7 || n % 10 == 9",
"n % 10 == 2",
"n % 10",
"n",
"10",
"2",
"n % 10 == 4",
"n % 10",
"n",
"10",
"4",
"n % 10 == 5",
"n % 10",
"n",
"10",
"5",
"n % 10 == 7",
"n % 10",
"n",
"10",
"7",
"n % 10 == 9",
"n % 10",
"n",
"10",
"9",
"{\n return \"hon\";\n }",
"return \"hon\";",
"\"hon\"",
"if (n % 10 == 6 || n % 10 == 8 || n % 10 == 1 || n % 10 == 0) {\n return \"pon\";\n } else {\n return \"bon\";\n }",
"n % 10 == 6 || n % 10 == 8 || n % 10 == 1 || n % 10 == 0",
"n % 10 == 1",
"n % 10 == 6 || n % 10 == 8 || n % 10 == 1 || n % 10 == 0",
"n % 10 == 6",
"n % 10",
"n",
"10",
"6",
"n % 10 == 8",
"n % 10",
"n",
"10",
"8",
"n % 10 == 1",
"n % 10",
"n",
"10",
"1",
"n % 10 == 0",
"n % 10",
"n",
"10",
"0",
"{\n return \"pon\";\n }",
"return \"pon\";",
"\"pon\"",
"{\n return \"bon\";\n }",
"return \"bon\";",
"\"bon\"",
"int n",
"n",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n String res = solve(n);\n System.out.println(res);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n String res = solve(n);\n System.out.println(res);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = Integer.parseInt(sc.next());",
"n",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"String res = solve(n);",
"res",
"solve(n)",
"solve",
"n",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String[] args",
"args",
"public class Main {\n\n private static String solve(int n) {\n if (n % 10 == 2 || n % 10 == 4 || n % 10 == 5 || n % 10 == 7 || n % 10 == 9) {\n return \"hon\";\n } else if (n % 10 == 6 || n % 10 == 8 || n % 10 == 1 || n % 10 == 0) {\n return \"pon\";\n } else {\n return \"bon\";\n }\n }\n\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n String res = solve(n);\n System.out.println(res);\n }\n}",
"public class Main {\n\n private static String solve(int n) {\n if (n % 10 == 2 || n % 10 == 4 || n % 10 == 5 || n % 10 == 7 || n % 10 == 9) {\n return \"hon\";\n } else if (n % 10 == 6 || n % 10 == 8 || n % 10 == 1 || n % 10 == 0) {\n return \"pon\";\n } else {\n return \"bon\";\n }\n }\n\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n String res = solve(n);\n System.out.println(res);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
private static String solve(int n) {
if (n % 10 == 2 || n % 10 == 4 || n % 10 == 5 || n % 10 == 7 || n % 10 == 9) {
return "hon";
} else if (n % 10 == 6 || n % 10 == 8 || n % 10 == 1 || n % 10 == 0) {
return "pon";
} else {
return "bon";
}
}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = Integer.parseInt(sc.next());
String res = solve(n);
System.out.println(res);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
13,
17,
41,
13,
4,
18,
13,
4,
18,
13,
2,
4,
18,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
79,
5
],
[
79,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
30,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
35,
46
],
[
46,
47
],
[
49,
48
],
[
56,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
56,
56
],
[
56,
57
],
[
56,
58
],
[
49,
59
],
[
59,
60
],
[
59,
61
],
[
46,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
46,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
6,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] |
[
"import java.util.*;\npublic class Main {\n public static void main(String[] args) {\n Scanner c = new Scanner(System.in);\n int target = c.nextInt();\n String t = target+\"\";\n int first = Integer.parseInt(t.substring(t.length()-1));\n if(first == 3){\n System.out.println(\"bon\");\n }else if(first == 0 || first == 1 || first == 6 || first == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner c = new Scanner(System.in);\n int target = c.nextInt();\n String t = target+\"\";\n int first = Integer.parseInt(t.substring(t.length()-1));\n if(first == 3){\n System.out.println(\"bon\");\n }else if(first == 0 || first == 1 || first == 6 || first == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner c = new Scanner(System.in);\n int target = c.nextInt();\n String t = target+\"\";\n int first = Integer.parseInt(t.substring(t.length()-1));\n if(first == 3){\n System.out.println(\"bon\");\n }else if(first == 0 || first == 1 || first == 6 || first == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }",
"main",
"{\n Scanner c = new Scanner(System.in);\n int target = c.nextInt();\n String t = target+\"\";\n int first = Integer.parseInt(t.substring(t.length()-1));\n if(first == 3){\n System.out.println(\"bon\");\n }else if(first == 0 || first == 1 || first == 6 || first == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }",
"Scanner c = new Scanner(System.in);",
"c",
"new Scanner(System.in)",
"int target = c.nextInt();",
"target",
"c.nextInt()",
"c.nextInt",
"c",
"String t = target+\"\";",
"t",
"target+\"\"",
"target",
"\"\"",
"int first = Integer.parseInt(t.substring(t.length()-1));",
"first",
"Integer.parseInt(t.substring(t.length()-1))",
"Integer.parseInt",
"Integer",
"t.substring(t.length()-1)",
"t.substring",
"t",
"t.length()-1",
"t.length()",
"t.length",
"t",
"1",
"if(first == 3){\n System.out.println(\"bon\");\n }else if(first == 0 || first == 1 || first == 6 || first == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }",
"first == 3",
"first",
"3",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(first == 0 || first == 1 || first == 6 || first == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }",
"first == 0 || first == 1 || first == 6 || first == 8",
"first == 6",
"first == 0 || first == 1 || first == 6 || first == 8",
"first == 0",
"first",
"0",
"first == 1",
"first",
"1",
"first == 6",
"first",
"6",
"first == 8",
"first",
"8",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner c = new Scanner(System.in);\n int target = c.nextInt();\n String t = target+\"\";\n int first = Integer.parseInt(t.substring(t.length()-1));\n if(first == 3){\n System.out.println(\"bon\");\n }else if(first == 0 || first == 1 || first == 6 || first == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner c = new Scanner(System.in);\n int target = c.nextInt();\n String t = target+\"\";\n int first = Integer.parseInt(t.substring(t.length()-1));\n if(first == 3){\n System.out.println(\"bon\");\n }else if(first == 0 || first == 1 || first == 6 || first == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner c = new Scanner(System.in);
int target = c.nextInt();
String t = target+"";
int first = Integer.parseInt(t.substring(t.length()-1));
if(first == 3){
System.out.println("bon");
}else if(first == 0 || first == 1 || first == 6 || first == 8){
System.out.println("pon");
}else{
System.out.println("hon");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
20,
28,
13,
20,
30,
4,
18,
13,
13,
17,
28,
13,
20,
30,
4,
18,
13,
13,
17,
4,
18,
13,
17,
17,
4,
18,
13,
4,
18,
13,
2,
4,
18,
13,
17,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
4,
13,
17,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
4,
18,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
214,
23
],
[
214,
24
],
[
24,
25
],
[
214,
26
],
[
26,
27
],
[
214,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
30,
37
],
[
37,
38
],
[
37,
39
],
[
30,
40
],
[
40,
41
],
[
40,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
44,
48
],
[
30,
49
],
[
49,
50
],
[
49,
51
],
[
49,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
53,
57
],
[
30,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
58,
62
],
[
30,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
69,
73
],
[
30,
74
],
[
74,
75
],
[
75,
76
],
[
28,
77
],
[
77,
78
],
[
214,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
79,
83
],
[
83,
84
],
[
79,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
79,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
94,
103
],
[
103,
104
],
[
103,
105
],
[
93,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
79,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
114,
117
],
[
117,
118
],
[
79,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
123,
126
],
[
126,
127
],
[
79,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
132,
135
],
[
135,
136
],
[
79,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
141,
145
],
[
79,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
148,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
153,
158
],
[
158,
159
],
[
158,
160
],
[
153,
161
],
[
161,
162
],
[
162,
163
],
[
153,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
165,
169
],
[
169,
170
],
[
148,
171
],
[
171,
172
],
[
146,
173
],
[
173,
174
],
[
79,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
177,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
182,
187
],
[
187,
188
],
[
187,
189
],
[
182,
190
],
[
190,
191
],
[
191,
192
],
[
182,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
194,
198
],
[
198,
199
],
[
177,
200
],
[
200,
201
],
[
175,
202
],
[
202,
203
],
[
79,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
0,
213
],
[
213,
214
],
[
213,
215
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.OutputStreamWriter;\nimport java.io.PrintWriter;\nimport java.util.HashMap;\nimport java.util.StringTokenizer;\n\npublic class Main {\n static PrintWriter out;\n static CF_Reader in;\n\n public static void main(String[] args) throws IOException {\n out = new PrintWriter(new OutputStreamWriter(System.out));\n in = new CF_Reader();\n\n HashMap<Integer, String> cache = new HashMap<>();\n for (int n: new int[]{2,4,5,7,9}) cache.put(n, \"hon\");\n for (int n: new int[]{0,1,6,8}) cache.put(n, \"pon\");\n cache.put(3, \"bon\");\n out.println(cache.get(in.intNext() % 10));\n\n out.close();\n }\n\n static class CF_Reader {\n BufferedReader br;\n StringTokenizer st;\n\n public CF_Reader() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n\n long longNext() throws IOException {\n return Long.parseLong(next());\n }\n\n int intNext() throws IOException {\n return Integer.parseInt(next());\n }\n\n double doubleNext() throws IOException {\n return Double.parseDouble(next());\n }\n\n char charNext() throws IOException {\n return next().charAt(0);\n }\n\n public int[] nextIntArray(final int n) throws IOException {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = intNext();\n return a;\n }\n\n public long[] nextLongArray(final int n) throws IOException {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = longNext();\n return a;\n }\n\n String line() throws IOException {\n return br.readLine().trim();\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n static PrintWriter out;\n static CF_Reader in;\n\n public static void main(String[] args) throws IOException {\n out = new PrintWriter(new OutputStreamWriter(System.out));\n in = new CF_Reader();\n\n HashMap<Integer, String> cache = new HashMap<>();\n for (int n: new int[]{2,4,5,7,9}) cache.put(n, \"hon\");\n for (int n: new int[]{0,1,6,8}) cache.put(n, \"pon\");\n cache.put(3, \"bon\");\n out.println(cache.get(in.intNext() % 10));\n\n out.close();\n }\n\n static class CF_Reader {\n BufferedReader br;\n StringTokenizer st;\n\n public CF_Reader() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n\n long longNext() throws IOException {\n return Long.parseLong(next());\n }\n\n int intNext() throws IOException {\n return Integer.parseInt(next());\n }\n\n double doubleNext() throws IOException {\n return Double.parseDouble(next());\n }\n\n char charNext() throws IOException {\n return next().charAt(0);\n }\n\n public int[] nextIntArray(final int n) throws IOException {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = intNext();\n return a;\n }\n\n public long[] nextLongArray(final int n) throws IOException {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = longNext();\n return a;\n }\n\n String line() throws IOException {\n return br.readLine().trim();\n }\n }\n}",
"Main",
"static PrintWriter out;",
"out",
"static CF_Reader in;",
"in",
"public static void main(String[] args) throws IOException {\n out = new PrintWriter(new OutputStreamWriter(System.out));\n in = new CF_Reader();\n\n HashMap<Integer, String> cache = new HashMap<>();\n for (int n: new int[]{2,4,5,7,9}) cache.put(n, \"hon\");\n for (int n: new int[]{0,1,6,8}) cache.put(n, \"pon\");\n cache.put(3, \"bon\");\n out.println(cache.get(in.intNext() % 10));\n\n out.close();\n }",
"main",
"{\n out = new PrintWriter(new OutputStreamWriter(System.out));\n in = new CF_Reader();\n\n HashMap<Integer, String> cache = new HashMap<>();\n for (int n: new int[]{2,4,5,7,9}) cache.put(n, \"hon\");\n for (int n: new int[]{0,1,6,8}) cache.put(n, \"pon\");\n cache.put(3, \"bon\");\n out.println(cache.get(in.intNext() % 10));\n\n out.close();\n }",
"out = new PrintWriter(new OutputStreamWriter(System.out))",
"out",
"new PrintWriter(new OutputStreamWriter(System.out))",
"in = new CF_Reader()",
"in",
"new CF_Reader()",
"HashMap<Integer, String> cache = new HashMap<>();",
"cache",
"new HashMap<>()",
"for (int n: new int[]{2,4,5,7,9}) cache.put(n, \"hon\");",
"int n",
"new int[]{2,4,5,7,9}",
"cache.put(n, \"hon\");",
"cache.put(n, \"hon\")",
"cache.put",
"cache",
"n",
"\"hon\"",
"for (int n: new int[]{0,1,6,8}) cache.put(n, \"pon\");",
"int n",
"new int[]{0,1,6,8}",
"cache.put(n, \"pon\");",
"cache.put(n, \"pon\")",
"cache.put",
"cache",
"n",
"\"pon\"",
"cache.put(3, \"bon\")",
"cache.put",
"cache",
"3",
"\"bon\"",
"out.println(cache.get(in.intNext() % 10))",
"out.println",
"out",
"cache.get(in.intNext() % 10)",
"cache.get",
"cache",
"in.intNext() % 10",
"in.intNext()",
"in.intNext",
"in",
"10",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class CF_Reader {\n BufferedReader br;\n StringTokenizer st;\n\n public CF_Reader() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n\n long longNext() throws IOException {\n return Long.parseLong(next());\n }\n\n int intNext() throws IOException {\n return Integer.parseInt(next());\n }\n\n double doubleNext() throws IOException {\n return Double.parseDouble(next());\n }\n\n char charNext() throws IOException {\n return next().charAt(0);\n }\n\n public int[] nextIntArray(final int n) throws IOException {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = intNext();\n return a;\n }\n\n public long[] nextLongArray(final int n) throws IOException {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = longNext();\n return a;\n }\n\n String line() throws IOException {\n return br.readLine().trim();\n }\n }",
"CF_Reader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public CF_Reader() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"CF_Reader",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine().trim())",
"st",
"new StringTokenizer(br.readLine().trim())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"long longNext() throws IOException {\n return Long.parseLong(next());\n }",
"longNext",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"int intNext() throws IOException {\n return Integer.parseInt(next());\n }",
"intNext",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"double doubleNext() throws IOException {\n return Double.parseDouble(next());\n }",
"doubleNext",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"char charNext() throws IOException {\n return next().charAt(0);\n }",
"charNext",
"{\n return next().charAt(0);\n }",
"return next().charAt(0);",
"next().charAt(0)",
"next().charAt",
"next()",
"next",
"0",
"public int[] nextIntArray(final int n) throws IOException {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = intNext();\n return a;\n }",
"nextIntArray",
"{\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = intNext();\n return a;\n }",
"final int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n a[i] = intNext();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = intNext();",
"a[i] = intNext()",
"a[i]",
"a",
"i",
"intNext()",
"intNext",
"return a;",
"a",
"final int n",
"n",
"public long[] nextLongArray(final int n) throws IOException {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = longNext();\n return a;\n }",
"nextLongArray",
"{\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = longNext();\n return a;\n }",
"final long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n a[i] = longNext();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = longNext();",
"a[i] = longNext()",
"a[i]",
"a",
"i",
"longNext()",
"longNext",
"return a;",
"a",
"final int n",
"n",
"String line() throws IOException {\n return br.readLine().trim();\n }",
"line",
"{\n return br.readLine().trim();\n }",
"return br.readLine().trim();",
"br.readLine().trim()",
"br.readLine().trim",
"br.readLine()",
"br.readLine",
"br",
"public class Main {\n static PrintWriter out;\n static CF_Reader in;\n\n public static void main(String[] args) throws IOException {\n out = new PrintWriter(new OutputStreamWriter(System.out));\n in = new CF_Reader();\n\n HashMap<Integer, String> cache = new HashMap<>();\n for (int n: new int[]{2,4,5,7,9}) cache.put(n, \"hon\");\n for (int n: new int[]{0,1,6,8}) cache.put(n, \"pon\");\n cache.put(3, \"bon\");\n out.println(cache.get(in.intNext() % 10));\n\n out.close();\n }\n\n static class CF_Reader {\n BufferedReader br;\n StringTokenizer st;\n\n public CF_Reader() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n\n long longNext() throws IOException {\n return Long.parseLong(next());\n }\n\n int intNext() throws IOException {\n return Integer.parseInt(next());\n }\n\n double doubleNext() throws IOException {\n return Double.parseDouble(next());\n }\n\n char charNext() throws IOException {\n return next().charAt(0);\n }\n\n public int[] nextIntArray(final int n) throws IOException {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = intNext();\n return a;\n }\n\n public long[] nextLongArray(final int n) throws IOException {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = longNext();\n return a;\n }\n\n String line() throws IOException {\n return br.readLine().trim();\n }\n }\n}",
"public class Main {\n static PrintWriter out;\n static CF_Reader in;\n\n public static void main(String[] args) throws IOException {\n out = new PrintWriter(new OutputStreamWriter(System.out));\n in = new CF_Reader();\n\n HashMap<Integer, String> cache = new HashMap<>();\n for (int n: new int[]{2,4,5,7,9}) cache.put(n, \"hon\");\n for (int n: new int[]{0,1,6,8}) cache.put(n, \"pon\");\n cache.put(3, \"bon\");\n out.println(cache.get(in.intNext() % 10));\n\n out.close();\n }\n\n static class CF_Reader {\n BufferedReader br;\n StringTokenizer st;\n\n public CF_Reader() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n\n long longNext() throws IOException {\n return Long.parseLong(next());\n }\n\n int intNext() throws IOException {\n return Integer.parseInt(next());\n }\n\n double doubleNext() throws IOException {\n return Double.parseDouble(next());\n }\n\n char charNext() throws IOException {\n return next().charAt(0);\n }\n\n public int[] nextIntArray(final int n) throws IOException {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = intNext();\n return a;\n }\n\n public long[] nextLongArray(final int n) throws IOException {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = longNext();\n return a;\n }\n\n String line() throws IOException {\n return br.readLine().trim();\n }\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.util.HashMap;
import java.util.StringTokenizer;
public class Main {
static PrintWriter out;
static CF_Reader in;
public static void main(String[] args) throws IOException {
out = new PrintWriter(new OutputStreamWriter(System.out));
in = new CF_Reader();
HashMap<Integer, String> cache = new HashMap<>();
for (int n: new int[]{2,4,5,7,9}) cache.put(n, "hon");
for (int n: new int[]{0,1,6,8}) cache.put(n, "pon");
cache.put(3, "bon");
out.println(cache.get(in.intNext() % 10));
out.close();
}
static class CF_Reader {
BufferedReader br;
StringTokenizer st;
public CF_Reader() throws IOException {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() throws IOException {
while (st == null || !st.hasMoreTokens())
st = new StringTokenizer(br.readLine().trim());
return st.nextToken();
}
long longNext() throws IOException {
return Long.parseLong(next());
}
int intNext() throws IOException {
return Integer.parseInt(next());
}
double doubleNext() throws IOException {
return Double.parseDouble(next());
}
char charNext() throws IOException {
return next().charAt(0);
}
public int[] nextIntArray(final int n) throws IOException {
final int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = intNext();
return a;
}
public long[] nextLongArray(final int n) throws IOException {
final long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = longNext();
return a;
}
String line() throws IOException {
return br.readLine().trim();
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
18,
13,
2,
4,
18,
13,
17,
41,
13,
4,
18,
13,
13,
41,
13,
17,
28,
13,
4,
18,
13,
30,
30,
14,
2,
18,
13,
13,
13,
30,
0,
13,
17,
14,
40,
4,
18,
13,
30,
4,
18,
18,
13,
13,
13,
29,
14,
2,
17,
13,
30,
0,
13,
17,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
13,
23,
13,
12,
12,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
116,
5
],
[
116,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
27,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
8,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
41,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
48,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
8,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
58,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
63,
70
],
[
8,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
71,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
6,
89
],
[
89,
90
],
[
116,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
91,
95
],
[
95,
96
],
[
91,
97
],
[
97,
98
],
[
91,
99
],
[
99,
100
],
[
91,
101
],
[
101,
102
],
[
91,
103
],
[
103,
104
],
[
91,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
105,
111
],
[
111,
112
],
[
91,
113
],
[
91,
114
],
[
0,
115
],
[
115,
116
],
[
115,
117
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n private enum hon {\n HON_2(2),\n\n HON_4(4),\n\n HON_5(5),\n\n HON_7(7),\n\n HON_9(9);\n\n private int m_iHon;\n\n hon(int i) {\n m_iHon = i;\n }\n }\n\n public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n\n String sInput = sc.nextLine();\n String[] sInputArray = sInput.split(\"\");\n String sCompVal = sInputArray[sInput.length() - 1];\n int iComp = Integer.parseInt(sCompVal);\n\n String sResult = \"\";\n for (hon h : hon.values()) {\n if (h.m_iHon == iComp) {\n sResult = \"hon\";\n }\n }\n\n if (!sResult.isEmpty()) {\n System.out.print(sResult);\n return;\n }\n\n if (3 == iComp) {\n sResult = \"bon\";\n } else {\n sResult = \"pon\";\n }\n\n System.out.print(sResult);\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n private enum hon {\n HON_2(2),\n\n HON_4(4),\n\n HON_5(5),\n\n HON_7(7),\n\n HON_9(9);\n\n private int m_iHon;\n\n hon(int i) {\n m_iHon = i;\n }\n }\n\n public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n\n String sInput = sc.nextLine();\n String[] sInputArray = sInput.split(\"\");\n String sCompVal = sInputArray[sInput.length() - 1];\n int iComp = Integer.parseInt(sCompVal);\n\n String sResult = \"\";\n for (hon h : hon.values()) {\n if (h.m_iHon == iComp) {\n sResult = \"hon\";\n }\n }\n\n if (!sResult.isEmpty()) {\n System.out.print(sResult);\n return;\n }\n\n if (3 == iComp) {\n sResult = \"bon\";\n } else {\n sResult = \"pon\";\n }\n\n System.out.print(sResult);\n\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n\n String sInput = sc.nextLine();\n String[] sInputArray = sInput.split(\"\");\n String sCompVal = sInputArray[sInput.length() - 1];\n int iComp = Integer.parseInt(sCompVal);\n\n String sResult = \"\";\n for (hon h : hon.values()) {\n if (h.m_iHon == iComp) {\n sResult = \"hon\";\n }\n }\n\n if (!sResult.isEmpty()) {\n System.out.print(sResult);\n return;\n }\n\n if (3 == iComp) {\n sResult = \"bon\";\n } else {\n sResult = \"pon\";\n }\n\n System.out.print(sResult);\n\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n\n String sInput = sc.nextLine();\n String[] sInputArray = sInput.split(\"\");\n String sCompVal = sInputArray[sInput.length() - 1];\n int iComp = Integer.parseInt(sCompVal);\n\n String sResult = \"\";\n for (hon h : hon.values()) {\n if (h.m_iHon == iComp) {\n sResult = \"hon\";\n }\n }\n\n if (!sResult.isEmpty()) {\n System.out.print(sResult);\n return;\n }\n\n if (3 == iComp) {\n sResult = \"bon\";\n } else {\n sResult = \"pon\";\n }\n\n System.out.print(sResult);\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String sInput = sc.nextLine();",
"sInput",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] sInputArray = sInput.split(\"\");",
"sInputArray",
"sInput.split(\"\")",
"sInput.split",
"sInput",
"\"\"",
"String sCompVal = sInputArray[sInput.length() - 1];",
"sCompVal",
"sInputArray[sInput.length() - 1]",
"sInputArray",
"sInput.length() - 1",
"sInput.length()",
"sInput.length",
"sInput",
"1",
"int iComp = Integer.parseInt(sCompVal);",
"iComp",
"Integer.parseInt(sCompVal)",
"Integer.parseInt",
"Integer",
"sCompVal",
"String sResult = \"\";",
"sResult",
"\"\"",
"for (hon h : hon.values()) {\n if (h.m_iHon == iComp) {\n sResult = \"hon\";\n }\n }",
"hon h",
"hon.values()",
"hon.values",
"hon",
"{\n if (h.m_iHon == iComp) {\n sResult = \"hon\";\n }\n }",
"{\n if (h.m_iHon == iComp) {\n sResult = \"hon\";\n }\n }",
"if (h.m_iHon == iComp) {\n sResult = \"hon\";\n }",
"h.m_iHon == iComp",
"h.m_iHon",
"h",
"h.m_iHon",
"iComp",
"{\n sResult = \"hon\";\n }",
"sResult = \"hon\"",
"sResult",
"\"hon\"",
"if (!sResult.isEmpty()) {\n System.out.print(sResult);\n return;\n }",
"!sResult.isEmpty()",
"sResult.isEmpty()",
"sResult.isEmpty",
"sResult",
"{\n System.out.print(sResult);\n return;\n }",
"System.out.print(sResult)",
"System.out.print",
"System.out",
"System",
"System.out",
"sResult",
"return;",
"if (3 == iComp) {\n sResult = \"bon\";\n } else {\n sResult = \"pon\";\n }",
"3 == iComp",
"3",
"iComp",
"{\n sResult = \"bon\";\n }",
"sResult = \"bon\"",
"sResult",
"\"bon\"",
"{\n sResult = \"pon\";\n }",
"sResult = \"pon\"",
"sResult",
"\"pon\"",
"System.out.print(sResult)",
"System.out.print",
"System.out",
"System",
"System.out",
"sResult",
"String[] args",
"args",
"private enum hon {\n HON_2(2),\n\n HON_4(4),\n\n HON_5(5),\n\n HON_7(7),\n\n HON_9(9);\n\n private int m_iHon;\n\n hon(int i) {\n m_iHon = i;\n }\n }",
"hon",
"HON_2(2)",
"HON_2",
"HON_4(4)",
"HON_4",
"HON_5(5)",
"HON_5",
"HON_7(7)",
"HON_7",
"HON_9(9)",
"HON_9",
"private int m_iHon;",
"m_iHon",
"hon(int i) {\n m_iHon = i;\n }",
"hon",
"{\n m_iHon = i;\n }",
"m_iHon = i",
"m_iHon",
"i",
"int i",
"i",
"import java.util.Scanner;\n\npubli",
"import java.util.Scanner;\n\npublic class Main {\n\n private enum hon {\n HON_2(2),\n\n ",
"public class Main {\n\n private enum hon {\n HON_2(2),\n\n HON_4(4),\n\n HON_5(5),\n\n HON_7(7),\n\n HON_9(9);\n\n private int m_iHon;\n\n hon(int i) {\n m_iHon = i;\n }\n }\n\n public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n\n String sInput = sc.nextLine();\n String[] sInputArray = sInput.split(\"\");\n String sCompVal = sInputArray[sInput.length() - 1];\n int iComp = Integer.parseInt(sCompVal);\n\n String sResult = \"\";\n for (hon h : hon.values()) {\n if (h.m_iHon == iComp) {\n sResult = \"hon\";\n }\n }\n\n if (!sResult.isEmpty()) {\n System.out.print(sResult);\n return;\n }\n\n if (3 == iComp) {\n sResult = \"bon\";\n } else {\n sResult = \"pon\";\n }\n\n System.out.print(sResult);\n\n }\n}",
"public class Main {\n\n private enum hon {\n HON_2(2),\n\n HON_4(4),\n\n HON_5(5),\n\n HON_7(7),\n\n HON_9(9);\n\n private int m_iHon;\n\n hon(int i) {\n m_iHon = i;\n }\n }\n\n public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n\n String sInput = sc.nextLine();\n String[] sInputArray = sInput.split(\"\");\n String sCompVal = sInputArray[sInput.length() - 1];\n int iComp = Integer.parseInt(sCompVal);\n\n String sResult = \"\";\n for (hon h : hon.values()) {\n if (h.m_iHon == iComp) {\n sResult = \"hon\";\n }\n }\n\n if (!sResult.isEmpty()) {\n System.out.print(sResult);\n return;\n }\n\n if (3 == iComp) {\n sResult = \"bon\";\n } else {\n sResult = \"pon\";\n }\n\n System.out.print(sResult);\n\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
private enum hon {
HON_2(2),
HON_4(4),
HON_5(5),
HON_7(7),
HON_9(9);
private int m_iHon;
hon(int i) {
m_iHon = i;
}
}
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
String sInput = sc.nextLine();
String[] sInputArray = sInput.split("");
String sCompVal = sInputArray[sInput.length() - 1];
int iComp = Integer.parseInt(sCompVal);
String sResult = "";
for (hon h : hon.values()) {
if (h.m_iHon == iComp) {
sResult = "hon";
}
}
if (!sResult.isEmpty()) {
System.out.print(sResult);
return;
}
if (3 == iComp) {
sResult = "bon";
} else {
sResult = "pon";
}
System.out.print(sResult);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
4,
18,
13,
17,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
67,
5
],
[
67,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
41,
40
],
[
48,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
48,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
51,
53
],
[
38,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
8,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] |
[
"import java.util.Scanner;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString n = scan.next();\n\t\tchar a = n.charAt(n.length()-1);\n\n\t\tString ans = \"hon\";\n\t\tif(a == '3') {\n\t\t\tans = \"bon\";\n\t\t}else if(a == '0' || a == '1' || a == '6' || a == '8') {\n\t\t\tans = \"pon\";\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString n = scan.next();\n\t\tchar a = n.charAt(n.length()-1);\n\n\t\tString ans = \"hon\";\n\t\tif(a == '3') {\n\t\t\tans = \"bon\";\n\t\t}else if(a == '0' || a == '1' || a == '6' || a == '8') {\n\t\t\tans = \"pon\";\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString n = scan.next();\n\t\tchar a = n.charAt(n.length()-1);\n\n\t\tString ans = \"hon\";\n\t\tif(a == '3') {\n\t\t\tans = \"bon\";\n\t\t}else if(a == '0' || a == '1' || a == '6' || a == '8') {\n\t\t\tans = \"pon\";\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString n = scan.next();\n\t\tchar a = n.charAt(n.length()-1);\n\n\t\tString ans = \"hon\";\n\t\tif(a == '3') {\n\t\t\tans = \"bon\";\n\t\t}else if(a == '0' || a == '1' || a == '6' || a == '8') {\n\t\t\tans = \"pon\";\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String n = scan.next();",
"n",
"scan.next()",
"scan.next",
"scan",
"char a = n.charAt(n.length()-1);",
"a",
"n.charAt(n.length()-1)",
"n.charAt",
"n",
"n.length()-1",
"n.length()",
"n.length",
"n",
"1",
"String ans = \"hon\";",
"ans",
"\"hon\"",
"if(a == '3') {\n\t\t\tans = \"bon\";\n\t\t}else if(a == '0' || a == '1' || a == '6' || a == '8') {\n\t\t\tans = \"pon\";\n\t\t}",
"a == '3'",
"a",
"'3'",
"{\n\t\t\tans = \"bon\";\n\t\t}",
"ans = \"bon\"",
"ans",
"\"bon\"",
"if(a == '0' || a == '1' || a == '6' || a == '8') {\n\t\t\tans = \"pon\";\n\t\t}",
"a == '0' || a == '1' || a == '6' || a == '8'",
"a == '6'",
"a == '0' || a == '1' || a == '6' || a == '8'",
"a == '0'",
"a",
"'0'",
"a == '1'",
"a",
"'1'",
"a == '6'",
"a",
"'6'",
"a == '8'",
"a",
"'8'",
"{\n\t\t\tans = \"pon\";\n\t\t}",
"ans = \"pon\"",
"ans",
"\"pon\"",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString n = scan.next();\n\t\tchar a = n.charAt(n.length()-1);\n\n\t\tString ans = \"hon\";\n\t\tif(a == '3') {\n\t\t\tans = \"bon\";\n\t\t}else if(a == '0' || a == '1' || a == '6' || a == '8') {\n\t\t\tans = \"pon\";\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString n = scan.next();\n\t\tchar a = n.charAt(n.length()-1);\n\n\t\tString ans = \"hon\";\n\t\tif(a == '3') {\n\t\t\tans = \"bon\";\n\t\t}else if(a == '0' || a == '1' || a == '6' || a == '8') {\n\t\t\tans = \"pon\";\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String n = scan.next();
char a = n.charAt(n.length()-1);
String ans = "hon";
if(a == '3') {
ans = "bon";
}else if(a == '0' || a == '1' || a == '6' || a == '8') {
ans = "pon";
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
2,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
30,
4,
18,
18,
13,
13,
17,
29,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
75,
8
],
[
75,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
31,
30
],
[
38,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
38,
38
],
[
38,
39
],
[
38,
40
],
[
31,
41
],
[
41,
42
],
[
41,
43
],
[
28,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
44,
51
],
[
28,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
56,
63
],
[
52,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
64,
71
],
[
9,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] |
[
"import java.util.*;\nimport java.io.*;\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\tint N = Integer.parseInt(reader.readLine());\n\tint t = N%10;\n\tif(t==0 || t==1 || t==6||t==8){\n\t\tSystem.out.println(\"pon\");\n\t\treturn;\n\t}\n\telse if(t==3){\n\t\tSystem.out.println(\"bon\");\n\t\treturn;\n\t}\n\telse{\n\tSystem.out.println(\"hon\");\n\treturn;\n\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\tint N = Integer.parseInt(reader.readLine());\n\tint t = N%10;\n\tif(t==0 || t==1 || t==6||t==8){\n\t\tSystem.out.println(\"pon\");\n\t\treturn;\n\t}\n\telse if(t==3){\n\t\tSystem.out.println(\"bon\");\n\t\treturn;\n\t}\n\telse{\n\tSystem.out.println(\"hon\");\n\treturn;\n\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\tint N = Integer.parseInt(reader.readLine());\n\tint t = N%10;\n\tif(t==0 || t==1 || t==6||t==8){\n\t\tSystem.out.println(\"pon\");\n\t\treturn;\n\t}\n\telse if(t==3){\n\t\tSystem.out.println(\"bon\");\n\t\treturn;\n\t}\n\telse{\n\tSystem.out.println(\"hon\");\n\treturn;\n\t}\n\t}",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\tint N = Integer.parseInt(reader.readLine());\n\tint t = N%10;\n\tif(t==0 || t==1 || t==6||t==8){\n\t\tSystem.out.println(\"pon\");\n\t\treturn;\n\t}\n\telse if(t==3){\n\t\tSystem.out.println(\"bon\");\n\t\treturn;\n\t}\n\telse{\n\tSystem.out.println(\"hon\");\n\treturn;\n\t}\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"int N = Integer.parseInt(reader.readLine());",
"N",
"Integer.parseInt(reader.readLine())",
"Integer.parseInt",
"Integer",
"reader.readLine()",
"reader.readLine",
"reader",
"int t = N%10;",
"t",
"N%10",
"N",
"10",
"if(t==0 || t==1 || t==6||t==8){\n\t\tSystem.out.println(\"pon\");\n\t\treturn;\n\t}\n\telse if(t==3){\n\t\tSystem.out.println(\"bon\");\n\t\treturn;\n\t}\n\telse{\n\tSystem.out.println(\"hon\");\n\treturn;\n\t}",
"t==0 || t==1 || t==6||t==8",
"t==6",
"t==0 || t==1 || t==6||t==8",
"t==0",
"t",
"0",
"t==1",
"t",
"1",
"t==6",
"t",
"6",
"t==8",
"t",
"8",
"{\n\t\tSystem.out.println(\"pon\");\n\t\treturn;\n\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"return;",
"if(t==3){\n\t\tSystem.out.println(\"bon\");\n\t\treturn;\n\t}\n\telse{\n\tSystem.out.println(\"hon\");\n\treturn;\n\t}",
"t==3",
"t",
"3",
"{\n\t\tSystem.out.println(\"bon\");\n\t\treturn;\n\t}",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"return;",
"{\n\tSystem.out.println(\"hon\");\n\treturn;\n\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"return;",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\tint N = Integer.parseInt(reader.readLine());\n\tint t = N%10;\n\tif(t==0 || t==1 || t==6||t==8){\n\t\tSystem.out.println(\"pon\");\n\t\treturn;\n\t}\n\telse if(t==3){\n\t\tSystem.out.println(\"bon\");\n\t\treturn;\n\t}\n\telse{\n\tSystem.out.println(\"hon\");\n\treturn;\n\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\tint N = Integer.parseInt(reader.readLine());\n\tint t = N%10;\n\tif(t==0 || t==1 || t==6||t==8){\n\t\tSystem.out.println(\"pon\");\n\t\treturn;\n\t}\n\telse if(t==3){\n\t\tSystem.out.println(\"bon\");\n\t\treturn;\n\t}\n\telse{\n\tSystem.out.println(\"hon\");\n\treturn;\n\t}\n\t}\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int N = Integer.parseInt(reader.readLine());
int t = N%10;
if(t==0 || t==1 || t==6||t==8){
System.out.println("pon");
return;
}
else if(t==3){
System.out.println("bon");
return;
}
else{
System.out.println("hon");
return;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
2,
2,
2,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
88,
5
],
[
88,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
10,
19
],
[
19,
20
],
[
23,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
22,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
21,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
23,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
19,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
19,
51
],
[
51,
52
],
[
54,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
53,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
54,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
51,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
51,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
6,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\t\t\tString n = sc.next();\n\t\t\t\n\t\t\tif ( n.endsWith(\"2\") ||\tn.endsWith(\"4\") || n.endsWith(\"5\") ||\n\t\t\t\t\tn.endsWith(\"7\") || n.endsWith(\"9\") ) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\telse if (n.endsWith(\"0\") ||\tn.endsWith(\"1\") || n.endsWith(\"6\") || n.endsWith(\"8\")) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\t\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\t\t\tString n = sc.next();\n\t\t\t\n\t\t\tif ( n.endsWith(\"2\") ||\tn.endsWith(\"4\") || n.endsWith(\"5\") ||\n\t\t\t\t\tn.endsWith(\"7\") || n.endsWith(\"9\") ) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\telse if (n.endsWith(\"0\") ||\tn.endsWith(\"1\") || n.endsWith(\"6\") || n.endsWith(\"8\")) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\t\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\t\t\tString n = sc.next();\n\t\t\t\n\t\t\tif ( n.endsWith(\"2\") ||\tn.endsWith(\"4\") || n.endsWith(\"5\") ||\n\t\t\t\t\tn.endsWith(\"7\") || n.endsWith(\"9\") ) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\telse if (n.endsWith(\"0\") ||\tn.endsWith(\"1\") || n.endsWith(\"6\") || n.endsWith(\"8\")) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\t\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t}",
"main",
"{\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\t\t\tString n = sc.next();\n\t\t\t\n\t\t\tif ( n.endsWith(\"2\") ||\tn.endsWith(\"4\") || n.endsWith(\"5\") ||\n\t\t\t\t\tn.endsWith(\"7\") || n.endsWith(\"9\") ) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\telse if (n.endsWith(\"0\") ||\tn.endsWith(\"1\") || n.endsWith(\"6\") || n.endsWith(\"8\")) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\t\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t}",
"try(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\t\t\tString n = sc.next();\n\t\t\t\n\t\t\tif ( n.endsWith(\"2\") ||\tn.endsWith(\"4\") || n.endsWith(\"5\") ||\n\t\t\t\t\tn.endsWith(\"7\") || n.endsWith(\"9\") ) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\telse if (n.endsWith(\"0\") ||\tn.endsWith(\"1\") || n.endsWith(\"6\") || n.endsWith(\"8\")) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\t\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t\t\t\n\t\t}",
"{\n\t\t\t\n\t\t\tString n = sc.next();\n\t\t\t\n\t\t\tif ( n.endsWith(\"2\") ||\tn.endsWith(\"4\") || n.endsWith(\"5\") ||\n\t\t\t\t\tn.endsWith(\"7\") || n.endsWith(\"9\") ) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\telse if (n.endsWith(\"0\") ||\tn.endsWith(\"1\") || n.endsWith(\"6\") || n.endsWith(\"8\")) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\t\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t\t\t\n\t\t}",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"String n = sc.next();",
"n",
"sc.next()",
"sc.next",
"sc",
"if ( n.endsWith(\"2\") ||\tn.endsWith(\"4\") || n.endsWith(\"5\") ||\n\t\t\t\t\tn.endsWith(\"7\") || n.endsWith(\"9\") ) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\telse if (n.endsWith(\"0\") ||\tn.endsWith(\"1\") || n.endsWith(\"6\") || n.endsWith(\"8\")) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\t\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}",
"n.endsWith(\"2\") ||\tn.endsWith(\"4\") || n.endsWith(\"5\") ||\n\t\t\t\t\tn.endsWith(\"7\") || n.endsWith(\"9\")",
"n.endsWith(\"7\")",
"n.endsWith(\"5\")",
"n.endsWith(\"2\") ||\tn.endsWith(\"4\") || n.endsWith(\"5\") ||\n\t\t\t\t\tn.endsWith(\"7\") || n.endsWith(\"9\")",
"n.endsWith(\"2\")",
"n.endsWith",
"n",
"\"2\"",
"n.endsWith(\"4\")",
"n.endsWith",
"n",
"\"4\"",
"n.endsWith(\"5\")",
"n.endsWith",
"n",
"\"5\"",
"n.endsWith(\"7\")",
"n.endsWith",
"n",
"\"7\"",
"n.endsWith(\"9\")",
"n.endsWith",
"n",
"\"9\"",
"{\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if (n.endsWith(\"0\") ||\tn.endsWith(\"1\") || n.endsWith(\"6\") || n.endsWith(\"8\")) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\t\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}",
"n.endsWith(\"0\") ||\tn.endsWith(\"1\") || n.endsWith(\"6\") || n.endsWith(\"8\")",
"n.endsWith(\"6\")",
"n.endsWith(\"0\") ||\tn.endsWith(\"1\") || n.endsWith(\"6\") || n.endsWith(\"8\")",
"n.endsWith(\"0\")",
"n.endsWith",
"n",
"\"0\"",
"n.endsWith(\"1\")",
"n.endsWith",
"n",
"\"1\"",
"n.endsWith(\"6\")",
"n.endsWith",
"n",
"\"6\"",
"n.endsWith(\"8\")",
"n.endsWith",
"n",
"\"8\"",
"{\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\t\n\t\t\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\t\t\tString n = sc.next();\n\t\t\t\n\t\t\tif ( n.endsWith(\"2\") ||\tn.endsWith(\"4\") || n.endsWith(\"5\") ||\n\t\t\t\t\tn.endsWith(\"7\") || n.endsWith(\"9\") ) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\telse if (n.endsWith(\"0\") ||\tn.endsWith(\"1\") || n.endsWith(\"6\") || n.endsWith(\"8\")) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\t\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\t\t\tString n = sc.next();\n\t\t\t\n\t\t\tif ( n.endsWith(\"2\") ||\tn.endsWith(\"4\") || n.endsWith(\"5\") ||\n\t\t\t\t\tn.endsWith(\"7\") || n.endsWith(\"9\") ) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\telse if (n.endsWith(\"0\") ||\tn.endsWith(\"1\") || n.endsWith(\"6\") || n.endsWith(\"8\")) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\t\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args){
try(Scanner sc = new Scanner(System.in)) {
String n = sc.next();
if ( n.endsWith("2") || n.endsWith("4") || n.endsWith("5") ||
n.endsWith("7") || n.endsWith("9") ) {
System.out.println("hon");
}
else if (n.endsWith("0") || n.endsWith("1") || n.endsWith("6") || n.endsWith("8")) {
System.out.println("pon");
}
else {
System.out.println("bon");
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
29,
4,
18,
13,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
13,
4,
13,
23,
13,
12,
13,
30,
41,
13,
2,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
119,
5
],
[
119,
6
],
[
6,
7
],
[
6,
8
],
[
119,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
119,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
22,
45
],
[
45,
46
],
[
119,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
49,
55
],
[
55,
56
],
[
59,
57
],
[
69,
58
],
[
66,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
66,
66
],
[
66,
67
],
[
66,
68
],
[
69,
69
],
[
69,
70
],
[
69,
71
],
[
59,
72
],
[
72,
73
],
[
72,
74
],
[
55,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
55,
82
],
[
82,
83
],
[
85,
84
],
[
92,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
89,
91
],
[
92,
92
],
[
92,
93
],
[
92,
94
],
[
85,
95
],
[
95,
96
],
[
95,
97
],
[
82,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
82,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
47,
116
],
[
116,
117
],
[
0,
118
],
[
118,
119
],
[
118,
120
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n private static final Scanner SCANNER = new Scanner(System.in);\n\n static int readOneInt() {\n String line = SCANNER.nextLine();\n return Integer.parseInt(line);\n }\n\n public static void main(String[] args) {\n\n// int tc = Integer.parseInt(SCANNER.nextLine());\n int tc = 1;\n for (int i = 0; i < tc; ++i) {\n test(readOneInt());\n }\n }\n\n private static void test(int n) {\n int d = n % 10;\n if (d == 2 || d == 4 || d == 5 || d == 7 || d == 9) {\n System.out.println(\"hon\");\n } else if (d == 0 || d == 1 || d == 6 || d == 8) {\n System.out.println(\"pon\");\n } else if (d == 3) {\n System.out.println(\"bon\");\n }\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n private static final Scanner SCANNER = new Scanner(System.in);\n\n static int readOneInt() {\n String line = SCANNER.nextLine();\n return Integer.parseInt(line);\n }\n\n public static void main(String[] args) {\n\n// int tc = Integer.parseInt(SCANNER.nextLine());\n int tc = 1;\n for (int i = 0; i < tc; ++i) {\n test(readOneInt());\n }\n }\n\n private static void test(int n) {\n int d = n % 10;\n if (d == 2 || d == 4 || d == 5 || d == 7 || d == 9) {\n System.out.println(\"hon\");\n } else if (d == 0 || d == 1 || d == 6 || d == 8) {\n System.out.println(\"pon\");\n } else if (d == 3) {\n System.out.println(\"bon\");\n }\n }\n}",
"Main",
"private static final Scanner SCANNER = new Scanner(System.in);",
"SCANNER",
"new Scanner(System.in)",
"static int readOneInt() {\n String line = SCANNER.nextLine();\n return Integer.parseInt(line);\n }",
"readOneInt",
"{\n String line = SCANNER.nextLine();\n return Integer.parseInt(line);\n }",
"String line = SCANNER.nextLine();",
"line",
"SCANNER.nextLine()",
"SCANNER.nextLine",
"SCANNER",
"return Integer.parseInt(line);",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"public static void main(String[] args) {\n\n// int tc = Integer.parseInt(SCANNER.nextLine());\n int tc = 1;\n for (int i = 0; i < tc; ++i) {\n test(readOneInt());\n }\n }",
"main",
"{\n\n// int tc = Integer.parseInt(SCANNER.nextLine());\n int tc = 1;\n for (int i = 0; i < tc; ++i) {\n test(readOneInt());\n }\n }",
"int tc = 1;",
"tc",
"1",
"for (int i = 0; i < tc; ++i) {\n test(readOneInt());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < tc",
"i",
"tc",
"++i",
"++i",
"i",
"{\n test(readOneInt());\n }",
"{\n test(readOneInt());\n }",
"test(readOneInt())",
"test",
"readOneInt()",
"readOneInt",
"String[] args",
"args",
"private static void test(int n) {\n int d = n % 10;\n if (d == 2 || d == 4 || d == 5 || d == 7 || d == 9) {\n System.out.println(\"hon\");\n } else if (d == 0 || d == 1 || d == 6 || d == 8) {\n System.out.println(\"pon\");\n } else if (d == 3) {\n System.out.println(\"bon\");\n }\n }",
"test",
"{\n int d = n % 10;\n if (d == 2 || d == 4 || d == 5 || d == 7 || d == 9) {\n System.out.println(\"hon\");\n } else if (d == 0 || d == 1 || d == 6 || d == 8) {\n System.out.println(\"pon\");\n } else if (d == 3) {\n System.out.println(\"bon\");\n }\n }",
"int d = n % 10;",
"d",
"n % 10",
"n",
"10",
"if (d == 2 || d == 4 || d == 5 || d == 7 || d == 9) {\n System.out.println(\"hon\");\n } else if (d == 0 || d == 1 || d == 6 || d == 8) {\n System.out.println(\"pon\");\n } else if (d == 3) {\n System.out.println(\"bon\");\n }",
"d == 2 || d == 4 || d == 5 || d == 7 || d == 9",
"d == 7",
"d == 5",
"d == 2 || d == 4 || d == 5 || d == 7 || d == 9",
"d == 2",
"d",
"2",
"d == 4",
"d",
"4",
"d == 5",
"d",
"5",
"d == 7",
"d",
"7",
"d == 9",
"d",
"9",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if (d == 0 || d == 1 || d == 6 || d == 8) {\n System.out.println(\"pon\");\n } else if (d == 3) {\n System.out.println(\"bon\");\n }",
"d == 0 || d == 1 || d == 6 || d == 8",
"d == 6",
"d == 0 || d == 1 || d == 6 || d == 8",
"d == 0",
"d",
"0",
"d == 1",
"d",
"1",
"d == 6",
"d",
"6",
"d == 8",
"d",
"8",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if (d == 3) {\n System.out.println(\"bon\");\n }",
"d == 3",
"d",
"3",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"int n",
"n",
"public class Main {\n\n private static final Scanner SCANNER = new Scanner(System.in);\n\n static int readOneInt() {\n String line = SCANNER.nextLine();\n return Integer.parseInt(line);\n }\n\n public static void main(String[] args) {\n\n// int tc = Integer.parseInt(SCANNER.nextLine());\n int tc = 1;\n for (int i = 0; i < tc; ++i) {\n test(readOneInt());\n }\n }\n\n private static void test(int n) {\n int d = n % 10;\n if (d == 2 || d == 4 || d == 5 || d == 7 || d == 9) {\n System.out.println(\"hon\");\n } else if (d == 0 || d == 1 || d == 6 || d == 8) {\n System.out.println(\"pon\");\n } else if (d == 3) {\n System.out.println(\"bon\");\n }\n }\n}",
"public class Main {\n\n private static final Scanner SCANNER = new Scanner(System.in);\n\n static int readOneInt() {\n String line = SCANNER.nextLine();\n return Integer.parseInt(line);\n }\n\n public static void main(String[] args) {\n\n// int tc = Integer.parseInt(SCANNER.nextLine());\n int tc = 1;\n for (int i = 0; i < tc; ++i) {\n test(readOneInt());\n }\n }\n\n private static void test(int n) {\n int d = n % 10;\n if (d == 2 || d == 4 || d == 5 || d == 7 || d == 9) {\n System.out.println(\"hon\");\n } else if (d == 0 || d == 1 || d == 6 || d == 8) {\n System.out.println(\"pon\");\n } else if (d == 3) {\n System.out.println(\"bon\");\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
private static final Scanner SCANNER = new Scanner(System.in);
static int readOneInt() {
String line = SCANNER.nextLine();
return Integer.parseInt(line);
}
public static void main(String[] args) {
// int tc = Integer.parseInt(SCANNER.nextLine());
int tc = 1;
for (int i = 0; i < tc; ++i) {
test(readOneInt());
}
}
private static void test(int n) {
int d = n % 10;
if (d == 2 || d == 4 || d == 5 || d == 7 || d == 9) {
System.out.println("hon");
} else if (d == 0 || d == 1 || d == 6 || d == 8) {
System.out.println("pon");
} else if (d == 3) {
System.out.println("bon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
59,
5
],
[
59,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
22,
32
],
[
32,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
34,
41
],
[
41,
42
],
[
41,
43
],
[
32,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
32,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
6,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int N = s.nextInt();\n int r = N % 10;\n if (r == 3) System.out.print(\"bon\");\n else if (r <= 1 || r == 6 || r == 8) System.out.print(\"pon\");\n else System.out.print(\"hon\");\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int N = s.nextInt();\n int r = N % 10;\n if (r == 3) System.out.print(\"bon\");\n else if (r <= 1 || r == 6 || r == 8) System.out.print(\"pon\");\n else System.out.print(\"hon\");\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int N = s.nextInt();\n int r = N % 10;\n if (r == 3) System.out.print(\"bon\");\n else if (r <= 1 || r == 6 || r == 8) System.out.print(\"pon\");\n else System.out.print(\"hon\");\n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n int N = s.nextInt();\n int r = N % 10;\n if (r == 3) System.out.print(\"bon\");\n else if (r <= 1 || r == 6 || r == 8) System.out.print(\"pon\");\n else System.out.print(\"hon\");\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int N = s.nextInt();",
"N",
"s.nextInt()",
"s.nextInt",
"s",
"int r = N % 10;",
"r",
"N % 10",
"N",
"10",
"if (r == 3) System.out.print(\"bon\");\n else if (r <= 1 || r == 6 || r == 8) System.out.print(\"pon\");\n else System.out.print(\"hon\");",
"r == 3",
"r",
"3",
"System.out.print(\"bon\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"bon\"",
"if (r <= 1 || r == 6 || r == 8) System.out.print(\"pon\");\n else System.out.print(\"hon\");",
"r <= 1 || r == 6 || r == 8",
"r <= 1 || r == 6 || r == 8",
"r <= 1",
"r",
"1",
"r == 6",
"r",
"6",
"r == 8",
"r",
"8",
"System.out.print(\"pon\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"pon\"",
"System.out.print(\"hon\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"hon\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int N = s.nextInt();\n int r = N % 10;\n if (r == 3) System.out.print(\"bon\");\n else if (r <= 1 || r == 6 || r == 8) System.out.print(\"pon\");\n else System.out.print(\"hon\");\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int N = s.nextInt();\n int r = N % 10;\n if (r == 3) System.out.print(\"bon\");\n else if (r <= 1 || r == 6 || r == 8) System.out.print(\"pon\");\n else System.out.print(\"hon\");\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int N = s.nextInt();
int r = N % 10;
if (r == 3) System.out.print("bon");
else if (r <= 1 || r == 6 || r == 8) System.out.print("pon");
else System.out.print("hon");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
2,
13,
17,
41,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
89,
5
],
[
89,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
45,
56
],
[
56,
57
],
[
59,
58
],
[
66,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
66,
66
],
[
66,
67
],
[
66,
68
],
[
59,
69
],
[
69,
70
],
[
69,
71
],
[
56,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
56,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
6,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
] |
[
"import java.util.Scanner;\npublic class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n \n int a = scanner.nextInt();\n int valLen = String.valueOf(a).length(); \n String s = String.valueOf(a);\n String i = s.substring(valLen-1);\n int c = Integer.parseInt(i);\n if(c == 3){\n System.out.println(\"bon\");\n }else if(c == 0 || c == 1 || c == 6 || c == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n \n int a = scanner.nextInt();\n int valLen = String.valueOf(a).length(); \n String s = String.valueOf(a);\n String i = s.substring(valLen-1);\n int c = Integer.parseInt(i);\n if(c == 3){\n System.out.println(\"bon\");\n }else if(c == 0 || c == 1 || c == 6 || c == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n \n int a = scanner.nextInt();\n int valLen = String.valueOf(a).length(); \n String s = String.valueOf(a);\n String i = s.substring(valLen-1);\n int c = Integer.parseInt(i);\n if(c == 3){\n System.out.println(\"bon\");\n }else if(c == 0 || c == 1 || c == 6 || c == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n \n int a = scanner.nextInt();\n int valLen = String.valueOf(a).length(); \n String s = String.valueOf(a);\n String i = s.substring(valLen-1);\n int c = Integer.parseInt(i);\n if(c == 3){\n System.out.println(\"bon\");\n }else if(c == 0 || c == 1 || c == 6 || c == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int valLen = String.valueOf(a).length();",
"valLen",
"String.valueOf(a).length()",
"String.valueOf(a).length",
"String.valueOf(a)",
"String.valueOf",
"String",
"a",
"String s = String.valueOf(a);",
"s",
"String.valueOf(a)",
"String.valueOf",
"String",
"a",
"String i = s.substring(valLen-1);",
"i",
"s.substring(valLen-1)",
"s.substring",
"s",
"valLen-1",
"valLen",
"1",
"int c = Integer.parseInt(i);",
"c",
"Integer.parseInt(i)",
"Integer.parseInt",
"Integer",
"i",
"if(c == 3){\n System.out.println(\"bon\");\n }else if(c == 0 || c == 1 || c == 6 || c == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }",
"c == 3",
"c",
"3",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(c == 0 || c == 1 || c == 6 || c == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }",
"c == 0 || c == 1 || c == 6 || c == 8",
"c == 6",
"c == 0 || c == 1 || c == 6 || c == 8",
"c == 0",
"c",
"0",
"c == 1",
"c",
"1",
"c == 6",
"c",
"6",
"c == 8",
"c",
"8",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n \n int a = scanner.nextInt();\n int valLen = String.valueOf(a).length(); \n String s = String.valueOf(a);\n String i = s.substring(valLen-1);\n int c = Integer.parseInt(i);\n if(c == 3){\n System.out.println(\"bon\");\n }else if(c == 0 || c == 1 || c == 6 || c == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n \n int a = scanner.nextInt();\n int valLen = String.valueOf(a).length(); \n String s = String.valueOf(a);\n String i = s.substring(valLen-1);\n int c = Integer.parseInt(i);\n if(c == 3){\n System.out.println(\"bon\");\n }else if(c == 0 || c == 1 || c == 6 || c == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int valLen = String.valueOf(a).length();
String s = String.valueOf(a);
String i = s.substring(valLen-1);
int c = Integer.parseInt(i);
if(c == 3){
System.out.println("bon");
}else if(c == 0 || c == 1 || c == 6 || c == 8){
System.out.println("pon");
}else{
System.out.println("hon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
35,
2,
13,
17,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
1,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
85,
5
],
[
85,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
26,
33
],
[
20,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
36,
43
],
[
20,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
46,
53
],
[
20,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
56,
63
],
[
20,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
66,
73
],
[
20,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
6,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner scan = new Scanner(System.in);\n\t\tint a = Integer.parseInt(scan.nextLine());\n\t\t\n\t\tswitch(a % 10){\n\t\t case 3 :\n\t\t System.out.println(\"bon\");\n\t\t break;\n\t\t \n\t\t case 0 :\n\t\t System.out.println(\"pon\");\n\t\t break;\n\t\t \n\t\t case 1 :\n\t\t System.out.println(\"pon\");\n\t\t break;\n\t\t \n\t\t case 6 :\n\t\t System.out.println(\"pon\");\n\t\t break;\n\t\t \n case 8 :\n System.out.println(\"pon\");\n\t\t break;\n\t\t \n\t\t default : \n\t\t System.out.println(\"hon\");\n\t\t}\n\t\t\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner scan = new Scanner(System.in);\n\t\tint a = Integer.parseInt(scan.nextLine());\n\t\t\n\t\tswitch(a % 10){\n\t\t case 3 :\n\t\t System.out.println(\"bon\");\n\t\t break;\n\t\t \n\t\t case 0 :\n\t\t System.out.println(\"pon\");\n\t\t break;\n\t\t \n\t\t case 1 :\n\t\t System.out.println(\"pon\");\n\t\t break;\n\t\t \n\t\t case 6 :\n\t\t System.out.println(\"pon\");\n\t\t break;\n\t\t \n case 8 :\n System.out.println(\"pon\");\n\t\t break;\n\t\t \n\t\t default : \n\t\t System.out.println(\"hon\");\n\t\t}\n\t\t\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\n Scanner scan = new Scanner(System.in);\n\t\tint a = Integer.parseInt(scan.nextLine());\n\t\t\n\t\tswitch(a % 10){\n\t\t case 3 :\n\t\t System.out.println(\"bon\");\n\t\t break;\n\t\t \n\t\t case 0 :\n\t\t System.out.println(\"pon\");\n\t\t break;\n\t\t \n\t\t case 1 :\n\t\t System.out.println(\"pon\");\n\t\t break;\n\t\t \n\t\t case 6 :\n\t\t System.out.println(\"pon\");\n\t\t break;\n\t\t \n case 8 :\n System.out.println(\"pon\");\n\t\t break;\n\t\t \n\t\t default : \n\t\t System.out.println(\"hon\");\n\t\t}\n\t\t\n }",
"main",
"{\n\n Scanner scan = new Scanner(System.in);\n\t\tint a = Integer.parseInt(scan.nextLine());\n\t\t\n\t\tswitch(a % 10){\n\t\t case 3 :\n\t\t System.out.println(\"bon\");\n\t\t break;\n\t\t \n\t\t case 0 :\n\t\t System.out.println(\"pon\");\n\t\t break;\n\t\t \n\t\t case 1 :\n\t\t System.out.println(\"pon\");\n\t\t break;\n\t\t \n\t\t case 6 :\n\t\t System.out.println(\"pon\");\n\t\t break;\n\t\t \n case 8 :\n System.out.println(\"pon\");\n\t\t break;\n\t\t \n\t\t default : \n\t\t System.out.println(\"hon\");\n\t\t}\n\t\t\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a = Integer.parseInt(scan.nextLine());",
"a",
"Integer.parseInt(scan.nextLine())",
"Integer.parseInt",
"Integer",
"scan.nextLine()",
"scan.nextLine",
"scan",
"switch(a % 10){\n\t\t case 3 :\n\t\t System.out.println(\"bon\");\n\t\t break;\n\t\t \n\t\t case 0 :\n\t\t System.out.println(\"pon\");\n\t\t break;\n\t\t \n\t\t case 1 :\n\t\t System.out.println(\"pon\");\n\t\t break;\n\t\t \n\t\t case 6 :\n\t\t System.out.println(\"pon\");\n\t\t break;\n\t\t \n case 8 :\n System.out.println(\"pon\");\n\t\t break;\n\t\t \n\t\t default : \n\t\t System.out.println(\"hon\");\n\t\t}",
"a % 10",
"a",
"10",
"case 3 :",
"3",
"case 3 :",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"break;",
"case 0 :",
"0",
"case 0 :",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"case 1 :",
"1",
"case 1 :",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"case 6 :",
"6",
"case 6 :",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"case 8 :",
"8",
"case 8 :",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"default :",
"default :",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner scan = new Scanner(System.in);\n\t\tint a = Integer.parseInt(scan.nextLine());\n\t\t\n\t\tswitch(a % 10){\n\t\t case 3 :\n\t\t System.out.println(\"bon\");\n\t\t break;\n\t\t \n\t\t case 0 :\n\t\t System.out.println(\"pon\");\n\t\t break;\n\t\t \n\t\t case 1 :\n\t\t System.out.println(\"pon\");\n\t\t break;\n\t\t \n\t\t case 6 :\n\t\t System.out.println(\"pon\");\n\t\t break;\n\t\t \n case 8 :\n System.out.println(\"pon\");\n\t\t break;\n\t\t \n\t\t default : \n\t\t System.out.println(\"hon\");\n\t\t}\n\t\t\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner scan = new Scanner(System.in);\n\t\tint a = Integer.parseInt(scan.nextLine());\n\t\t\n\t\tswitch(a % 10){\n\t\t case 3 :\n\t\t System.out.println(\"bon\");\n\t\t break;\n\t\t \n\t\t case 0 :\n\t\t System.out.println(\"pon\");\n\t\t break;\n\t\t \n\t\t case 1 :\n\t\t System.out.println(\"pon\");\n\t\t break;\n\t\t \n\t\t case 6 :\n\t\t System.out.println(\"pon\");\n\t\t break;\n\t\t \n case 8 :\n System.out.println(\"pon\");\n\t\t break;\n\t\t \n\t\t default : \n\t\t System.out.println(\"hon\");\n\t\t}\n\t\t\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner scan = new Scanner(System.in);
int a = Integer.parseInt(scan.nextLine());
switch(a % 10){
case 3 :
System.out.println("bon");
break;
case 0 :
System.out.println("pon");
break;
case 1 :
System.out.println("pon");
break;
case 6 :
System.out.println("pon");
break;
case 8 :
System.out.println("pon");
break;
default :
System.out.println("hon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
98,
5
],
[
98,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
8,
29
],
[
29,
30
],
[
33,
31
],
[
49,
32
],
[
44,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
33,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
29,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
8,
65
],
[
65,
66
],
[
68,
67
],
[
79,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
68,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
68,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
65,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
6,
95
],
[
95,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
]
] |
[
"import java.util.*;\n \npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\n\t\tif(N % 10 == 3)\n\t\tSystem.out.println(\"bon\");\n\n\t\tif(N % 10 == 2 || N % 10 == 4 || N % 10 == 5 || N % 10 == 7 || N % 10 == 9)\n\t\tSystem.out.println(\"hon\");\n\n\t\tif(N % 10 == 0 || N % 10 == 1 || N % 10 == 6 || N % 10 == 8)\n\t\tSystem.out.println(\"pon\");\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\n\t\tif(N % 10 == 3)\n\t\tSystem.out.println(\"bon\");\n\n\t\tif(N % 10 == 2 || N % 10 == 4 || N % 10 == 5 || N % 10 == 7 || N % 10 == 9)\n\t\tSystem.out.println(\"hon\");\n\n\t\tif(N % 10 == 0 || N % 10 == 1 || N % 10 == 6 || N % 10 == 8)\n\t\tSystem.out.println(\"pon\");\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\n\t\tif(N % 10 == 3)\n\t\tSystem.out.println(\"bon\");\n\n\t\tif(N % 10 == 2 || N % 10 == 4 || N % 10 == 5 || N % 10 == 7 || N % 10 == 9)\n\t\tSystem.out.println(\"hon\");\n\n\t\tif(N % 10 == 0 || N % 10 == 1 || N % 10 == 6 || N % 10 == 8)\n\t\tSystem.out.println(\"pon\");\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\n\t\tif(N % 10 == 3)\n\t\tSystem.out.println(\"bon\");\n\n\t\tif(N % 10 == 2 || N % 10 == 4 || N % 10 == 5 || N % 10 == 7 || N % 10 == 9)\n\t\tSystem.out.println(\"hon\");\n\n\t\tif(N % 10 == 0 || N % 10 == 1 || N % 10 == 6 || N % 10 == 8)\n\t\tSystem.out.println(\"pon\");\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(N % 10 == 3)\n\t\tSystem.out.println(\"bon\");",
"N % 10 == 3",
"N % 10",
"N",
"10",
"3",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(N % 10 == 2 || N % 10 == 4 || N % 10 == 5 || N % 10 == 7 || N % 10 == 9)\n\t\tSystem.out.println(\"hon\");",
"N % 10 == 2 || N % 10 == 4 || N % 10 == 5 || N % 10 == 7 || N % 10 == 9",
"N % 10 == 7",
"N % 10 == 5",
"N % 10 == 2 || N % 10 == 4 || N % 10 == 5 || N % 10 == 7 || N % 10 == 9",
"N % 10 == 2",
"N % 10",
"N",
"10",
"2",
"N % 10 == 4",
"N % 10",
"N",
"10",
"4",
"N % 10 == 5",
"N % 10",
"N",
"10",
"5",
"N % 10 == 7",
"N % 10",
"N",
"10",
"7",
"N % 10 == 9",
"N % 10",
"N",
"10",
"9",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(N % 10 == 0 || N % 10 == 1 || N % 10 == 6 || N % 10 == 8)\n\t\tSystem.out.println(\"pon\");",
"N % 10 == 0 || N % 10 == 1 || N % 10 == 6 || N % 10 == 8",
"N % 10 == 6",
"N % 10 == 0 || N % 10 == 1 || N % 10 == 6 || N % 10 == 8",
"N % 10 == 0",
"N % 10",
"N",
"10",
"0",
"N % 10 == 1",
"N % 10",
"N",
"10",
"1",
"N % 10 == 6",
"N % 10",
"N",
"10",
"6",
"N % 10 == 8",
"N % 10",
"N",
"10",
"8",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\n\t\tif(N % 10 == 3)\n\t\tSystem.out.println(\"bon\");\n\n\t\tif(N % 10 == 2 || N % 10 == 4 || N % 10 == 5 || N % 10 == 7 || N % 10 == 9)\n\t\tSystem.out.println(\"hon\");\n\n\t\tif(N % 10 == 0 || N % 10 == 1 || N % 10 == 6 || N % 10 == 8)\n\t\tSystem.out.println(\"pon\");\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\n\t\tif(N % 10 == 3)\n\t\tSystem.out.println(\"bon\");\n\n\t\tif(N % 10 == 2 || N % 10 == 4 || N % 10 == 5 || N % 10 == 7 || N % 10 == 9)\n\t\tSystem.out.println(\"hon\");\n\n\t\tif(N % 10 == 0 || N % 10 == 1 || N % 10 == 6 || N % 10 == 8)\n\t\tSystem.out.println(\"pon\");\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
if(N % 10 == 3)
System.out.println("bon");
if(N % 10 == 2 || N % 10 == 4 || N % 10 == 5 || N % 10 == 7 || N % 10 == 9)
System.out.println("hon");
if(N % 10 == 0 || N % 10 == 1 || N % 10 == 6 || N % 10 == 8)
System.out.println("pon");
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
76,
8
],
[
76,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
11,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
22,
35
],
[
35,
36
],
[
38,
37
],
[
49,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
38,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
38,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
35,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
35,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
9,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] |
[
"import java.util.*;\nimport java.lang.*;\n \npublic class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint n;\n\t\tn=sc.nextInt();\n\t\t\n\t\tif(n%10 == 3)\n {\n System.out.println(\"bon\");\n }\n else if((n%10 ==0)||(n%10 ==1)||(n%10 ==6)||(n%10 ==8))\n {\n System.out.println(\"pon\");\n }\n else{\n System.out.println(\"hon\");\n }}}\n ",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint n;\n\t\tn=sc.nextInt();\n\t\t\n\t\tif(n%10 == 3)\n {\n System.out.println(\"bon\");\n }\n else if((n%10 ==0)||(n%10 ==1)||(n%10 ==6)||(n%10 ==8))\n {\n System.out.println(\"pon\");\n }\n else{\n System.out.println(\"hon\");\n }}}",
"Main",
"public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint n;\n\t\tn=sc.nextInt();\n\t\t\n\t\tif(n%10 == 3)\n {\n System.out.println(\"bon\");\n }\n else if((n%10 ==0)||(n%10 ==1)||(n%10 ==6)||(n%10 ==8))\n {\n System.out.println(\"pon\");\n }\n else{\n System.out.println(\"hon\");\n }}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint n;\n\t\tn=sc.nextInt();\n\t\t\n\t\tif(n%10 == 3)\n {\n System.out.println(\"bon\");\n }\n else if((n%10 ==0)||(n%10 ==1)||(n%10 ==6)||(n%10 ==8))\n {\n System.out.println(\"pon\");\n }\n else{\n System.out.println(\"hon\");\n }}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n;",
"n",
"n=sc.nextInt()",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(n%10 == 3)\n {\n System.out.println(\"bon\");\n }\n else if((n%10 ==0)||(n%10 ==1)||(n%10 ==6)||(n%10 ==8))\n {\n System.out.println(\"pon\");\n }\n else{\n System.out.println(\"hon\");\n }",
"n%10 == 3",
"n%10",
"n",
"10",
"3",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if((n%10 ==0)||(n%10 ==1)||(n%10 ==6)||(n%10 ==8))\n {\n System.out.println(\"pon\");\n }\n else{\n System.out.println(\"hon\");\n }",
"(n%10 ==0)||(n%10 ==1)||(n%10 ==6)||(n%10 ==8)",
"(n%10 ==6)",
"(n%10 ==0)||(n%10 ==1)||(n%10 ==6)||(n%10 ==8)",
"(n%10 ==0)",
"n%10",
"n",
"10",
"0",
"(n%10 ==1)",
"n%10",
"n",
"10",
"1",
"(n%10 ==6)",
"n%10",
"n",
"10",
"6",
"(n%10 ==8)",
"n%10",
"n",
"10",
"8",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint n;\n\t\tn=sc.nextInt();\n\t\t\n\t\tif(n%10 == 3)\n {\n System.out.println(\"bon\");\n }\n else if((n%10 ==0)||(n%10 ==1)||(n%10 ==6)||(n%10 ==8))\n {\n System.out.println(\"pon\");\n }\n else{\n System.out.println(\"hon\");\n }}}",
"public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint n;\n\t\tn=sc.nextInt();\n\t\t\n\t\tif(n%10 == 3)\n {\n System.out.println(\"bon\");\n }\n else if((n%10 ==0)||(n%10 ==1)||(n%10 ==6)||(n%10 ==8))\n {\n System.out.println(\"pon\");\n }\n else{\n System.out.println(\"hon\");\n }}}",
"Main"
] |
import java.util.*;
import java.lang.*;
public class Main
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner sc=new Scanner(System.in);
int n;
n=sc.nextInt();
if(n%10 == 3)
{
System.out.println("bon");
}
else if((n%10 ==0)||(n%10 ==1)||(n%10 ==6)||(n%10 ==8))
{
System.out.println("pon");
}
else{
System.out.println("hon");
}}}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
4,
18,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
90,
5
],
[
90,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
8,
27
],
[
27,
28
],
[
31,
29
],
[
41,
30
],
[
38,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
38,
38
],
[
38,
39
],
[
38,
40
],
[
41,
41
],
[
41,
42
],
[
41,
43
],
[
31,
44
],
[
44,
45
],
[
44,
46
],
[
27,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
27,
54
],
[
54,
55
],
[
57,
56
],
[
64,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
64,
64
],
[
64,
65
],
[
64,
66
],
[
57,
67
],
[
67,
68
],
[
67,
69
],
[
54,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
54,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
8,
84
],
[
84,
85
],
[
85,
86
],
[
6,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
] |
[
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString input = sc.next();\n\t\tchar last = input.charAt(input.length()-1);\n\t\tif (last == '2' || last == '4' || last == '5' || last == '7' || last == '9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t} else if (last == '0' || last == '1' || last == '6' || last == '8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString input = sc.next();\n\t\tchar last = input.charAt(input.length()-1);\n\t\tif (last == '2' || last == '4' || last == '5' || last == '7' || last == '9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t} else if (last == '0' || last == '1' || last == '6' || last == '8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString input = sc.next();\n\t\tchar last = input.charAt(input.length()-1);\n\t\tif (last == '2' || last == '4' || last == '5' || last == '7' || last == '9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t} else if (last == '0' || last == '1' || last == '6' || last == '8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString input = sc.next();\n\t\tchar last = input.charAt(input.length()-1);\n\t\tif (last == '2' || last == '4' || last == '5' || last == '7' || last == '9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t} else if (last == '0' || last == '1' || last == '6' || last == '8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String input = sc.next();",
"input",
"sc.next()",
"sc.next",
"sc",
"char last = input.charAt(input.length()-1);",
"last",
"input.charAt(input.length()-1)",
"input.charAt",
"input",
"input.length()-1",
"input.length()",
"input.length",
"input",
"1",
"if (last == '2' || last == '4' || last == '5' || last == '7' || last == '9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t} else if (last == '0' || last == '1' || last == '6' || last == '8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"last == '2' || last == '4' || last == '5' || last == '7' || last == '9'",
"last == '7'",
"last == '5'",
"last == '2' || last == '4' || last == '5' || last == '7' || last == '9'",
"last == '2'",
"last",
"'2'",
"last == '4'",
"last",
"'4'",
"last == '5'",
"last",
"'5'",
"last == '7'",
"last",
"'7'",
"last == '9'",
"last",
"'9'",
"{\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if (last == '0' || last == '1' || last == '6' || last == '8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"last == '0' || last == '1' || last == '6' || last == '8'",
"last == '6'",
"last == '0' || last == '1' || last == '6' || last == '8'",
"last == '0'",
"last",
"'0'",
"last == '1'",
"last",
"'1'",
"last == '6'",
"last",
"'6'",
"last == '8'",
"last",
"'8'",
"{\n\t\t\tSystem.out.println(\"pon\");\n\t\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"sc.close()",
"sc.close",
"sc",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString input = sc.next();\n\t\tchar last = input.charAt(input.length()-1);\n\t\tif (last == '2' || last == '4' || last == '5' || last == '7' || last == '9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t} else if (last == '0' || last == '1' || last == '6' || last == '8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString input = sc.next();\n\t\tchar last = input.charAt(input.length()-1);\n\t\tif (last == '2' || last == '4' || last == '5' || last == '7' || last == '9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t} else if (last == '0' || last == '1' || last == '6' || last == '8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
String input = sc.next();
char last = input.charAt(input.length()-1);
if (last == '2' || last == '4' || last == '5' || last == '7' || last == '9') {
System.out.println("hon");
} else if (last == '0' || last == '1' || last == '6' || last == '8') {
System.out.println("pon");
} else {
System.out.println("bon");
}
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
22,
32
],
[
32,
33
],
[
35,
34
],
[
42,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
42,
42
],
[
42,
43
],
[
42,
44
],
[
35,
45
],
[
45,
46
],
[
45,
47
],
[
32,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
32,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
6,
60
],
[
60,
61
]
] |
[
"import java.util.Scanner;\n\nclass Main {\n \n public static void main(String args[]) {\n \n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int x = n%10;\n \n if(x == 3)\n System.out.print(\"bon\");\n \telse if(x == 0 || x == 1 || x == 6 || x == 8)\n System.out.print(\"pon\");\n else \n System.out.print(\"hon\");\n\n }\n \n}\n \n \n \n \n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n \n public static void main(String args[]) {\n \n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int x = n%10;\n \n if(x == 3)\n System.out.print(\"bon\");\n \telse if(x == 0 || x == 1 || x == 6 || x == 8)\n System.out.print(\"pon\");\n else \n System.out.print(\"hon\");\n\n }\n \n}",
"Main",
"public static void main(String args[]) {\n \n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int x = n%10;\n \n if(x == 3)\n System.out.print(\"bon\");\n \telse if(x == 0 || x == 1 || x == 6 || x == 8)\n System.out.print(\"pon\");\n else \n System.out.print(\"hon\");\n\n }",
"main",
"{\n \n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int x = n%10;\n \n if(x == 3)\n System.out.print(\"bon\");\n \telse if(x == 0 || x == 1 || x == 6 || x == 8)\n System.out.print(\"pon\");\n else \n System.out.print(\"hon\");\n\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int n = in.nextInt();",
"n",
"in.nextInt()",
"in.nextInt",
"in",
"int x = n%10;",
"x",
"n%10",
"n",
"10",
"if(x == 3)\n System.out.print(\"bon\");\n \telse if(x == 0 || x == 1 || x == 6 || x == 8)\n System.out.print(\"pon\");\n else \n System.out.print(\"hon\");",
"x == 3",
"x",
"3",
"System.out.print(\"bon\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(x == 0 || x == 1 || x == 6 || x == 8)\n System.out.print(\"pon\");\n else \n System.out.print(\"hon\");",
"x == 0 || x == 1 || x == 6 || x == 8",
"x == 6",
"x == 0 || x == 1 || x == 6 || x == 8",
"x == 0",
"x",
"0",
"x == 1",
"x",
"1",
"x == 6",
"x",
"6",
"x == 8",
"x",
"8",
"System.out.print(\"pon\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"pon\"",
"System.out.print(\"hon\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"hon\"",
"String args[]",
"args"
] |
import java.util.Scanner;
class Main {
public static void main(String args[]) {
Scanner in = new Scanner(System.in);
int n = in.nextInt();
int x = n%10;
if(x == 3)
System.out.print("bon");
else if(x == 0 || x == 1 || x == 6 || x == 8)
System.out.print("pon");
else
System.out.print("hon");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
17,
30
],
[
30,
31
],
[
33,
32
],
[
44,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
33,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
30,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
30,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\t public static void main(String args[]){\n\t Scanner scanner = new Scanner(System.in);\n\nint a=scanner.nextInt();\n\nif(a%10==3) {\n\tSystem.out.println(\"bon\");\n}\nelse if(a%10==0 || a%10==1 || a%10==6 || a%10==8 ) {\n\tSystem.out.println(\"pon\");\n}\nelse{\n\tSystem.out.println(\"hon\");\n\t}\n}\n\t }",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t public static void main(String args[]){\n\t Scanner scanner = new Scanner(System.in);\n\nint a=scanner.nextInt();\n\nif(a%10==3) {\n\tSystem.out.println(\"bon\");\n}\nelse if(a%10==0 || a%10==1 || a%10==6 || a%10==8 ) {\n\tSystem.out.println(\"pon\");\n}\nelse{\n\tSystem.out.println(\"hon\");\n\t}\n}\n\t }",
"Main",
"public static void main(String args[]){\n\t Scanner scanner = new Scanner(System.in);\n\nint a=scanner.nextInt();\n\nif(a%10==3) {\n\tSystem.out.println(\"bon\");\n}\nelse if(a%10==0 || a%10==1 || a%10==6 || a%10==8 ) {\n\tSystem.out.println(\"pon\");\n}\nelse{\n\tSystem.out.println(\"hon\");\n\t}\n}",
"main",
"{\n\t Scanner scanner = new Scanner(System.in);\n\nint a=scanner.nextInt();\n\nif(a%10==3) {\n\tSystem.out.println(\"bon\");\n}\nelse if(a%10==0 || a%10==1 || a%10==6 || a%10==8 ) {\n\tSystem.out.println(\"pon\");\n}\nelse{\n\tSystem.out.println(\"hon\");\n\t}\n}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int a=scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if(a%10==3) {\n\tSystem.out.println(\"bon\");\n}\nelse if(a%10==0 || a%10==1 || a%10==6 || a%10==8 ) {\n\tSystem.out.println(\"pon\");\n}\nelse{\n\tSystem.out.println(\"hon\");\n\t}",
"a%10==3",
"a%10",
"a",
"10",
"3",
"{\n\tSystem.out.println(\"bon\");\n}",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(a%10==0 || a%10==1 || a%10==6 || a%10==8 ) {\n\tSystem.out.println(\"pon\");\n}\nelse{\n\tSystem.out.println(\"hon\");\n\t}",
"a%10==0 || a%10==1 || a%10==6 || a%10==8",
"a%10==6",
"a%10==0 || a%10==1 || a%10==6 || a%10==8",
"a%10==0",
"a%10",
"a",
"10",
"0",
"a%10==1",
"a%10",
"a",
"10",
"1",
"a%10==6",
"a%10",
"a",
"10",
"6",
"a%10==8",
"a%10",
"a",
"10",
"8",
"{\n\tSystem.out.println(\"pon\");\n}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n\tSystem.out.println(\"hon\");\n\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"String args[]",
"args",
"public class Main {\n\t public static void main(String args[]){\n\t Scanner scanner = new Scanner(System.in);\n\nint a=scanner.nextInt();\n\nif(a%10==3) {\n\tSystem.out.println(\"bon\");\n}\nelse if(a%10==0 || a%10==1 || a%10==6 || a%10==8 ) {\n\tSystem.out.println(\"pon\");\n}\nelse{\n\tSystem.out.println(\"hon\");\n\t}\n}\n\t }",
"public class Main {\n\t public static void main(String args[]){\n\t Scanner scanner = new Scanner(System.in);\n\nint a=scanner.nextInt();\n\nif(a%10==3) {\n\tSystem.out.println(\"bon\");\n}\nelse if(a%10==0 || a%10==1 || a%10==6 || a%10==8 ) {\n\tSystem.out.println(\"pon\");\n}\nelse{\n\tSystem.out.println(\"hon\");\n\t}\n}\n\t }",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String args[]){
Scanner scanner = new Scanner(System.in);
int a=scanner.nextInt();
if(a%10==3) {
System.out.println("bon");
}
else if(a%10==0 || a%10==1 || a%10==6 || a%10==8 ) {
System.out.println("pon");
}
else{
System.out.println("hon");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
13,
41,
13,
2,
18,
13,
2,
18,
13,
13,
17,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
177,
23
],
[
177,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
26,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
26,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
45,
53
],
[
26,
54
],
[
54,
55
],
[
58,
56
],
[
68,
57
],
[
65,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
62,
64
],
[
65,
65
],
[
65,
66
],
[
65,
67
],
[
68,
68
],
[
68,
69
],
[
68,
70
],
[
58,
71
],
[
71,
72
],
[
71,
73
],
[
54,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
54,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
80,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
24,
96
],
[
96,
97
],
[
177,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
103,
105
],
[
98,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
109,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
114,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
108,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
98,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
133,
136
],
[
136,
137
],
[
98,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
140,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
145,
150
],
[
150,
151
],
[
150,
152
],
[
145,
153
],
[
153,
154
],
[
154,
155
],
[
145,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
157,
161
],
[
161,
162
],
[
140,
163
],
[
163,
164
],
[
138,
165
],
[
165,
166
],
[
98,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
171,
174
],
[
174,
175
],
[
0,
176
],
[
176,
177
],
[
176,
178
]
] |
[
"import java.io.*;\nimport java.math.*;\nimport java.security.*;\nimport java.text.*;\nimport java.util.*;\nimport java.util.concurrent.*;\nimport java.util.regex.*;\n\n\npublic class Main {\n\n public static void main(String[] args) {\n \n \tFastScanner scan = new FastScanner();\n \t\n \tint n = scan.nextInt();\n \tchar [] ch = String.valueOf(n).toCharArray();\n \tint x = ch[ch.length-1] - '0';\n \tif(x == 2 || x == 4 || x==5 || x== 7 || x==9) System.out.println(\"hon\");\n \telse if(x == 3) System.out.println(\"bon\");\n \telse System.out.println(\"pon\");\n }\n\n \n static class FastScanner{\n \t\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \tStringTokenizer st = new StringTokenizer(\"\");\n \tString next() {\n \t\twhile(!st.hasMoreTokens())\n \t\t\ttry {\n \t\t\t\tst = new StringTokenizer(br.readLine());\n \t\t\t} catch (IOException e){\n \t\t\t\te.printStackTrace();\n \t\t\t}\n \t\treturn st.nextToken();\n \t}\n \t\n \tint nextInt() {\n \t\treturn Integer.parseInt(next());\n \t}\n \t\n \tint [] readArray(int n) {\n \t\tint [] a = new int[n];\n \t\tfor(int i=0; i<n ; i++) a[i] = nextInt();\n \t\treturn a;\n \t}\n \t\n \tlong nextLong() {\n \t\treturn Long.parseLong(next());\n \t}\n \t\n \t\n }\n \n \n}\n",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.security.*;",
"security.*",
"java",
"import java.text.*;",
"text.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.util.concurrent.*;",
"concurrent.*",
"java.util",
"import java.util.regex.*;",
"regex.*",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n \n \tFastScanner scan = new FastScanner();\n \t\n \tint n = scan.nextInt();\n \tchar [] ch = String.valueOf(n).toCharArray();\n \tint x = ch[ch.length-1] - '0';\n \tif(x == 2 || x == 4 || x==5 || x== 7 || x==9) System.out.println(\"hon\");\n \telse if(x == 3) System.out.println(\"bon\");\n \telse System.out.println(\"pon\");\n }\n\n \n static class FastScanner{\n \t\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \tStringTokenizer st = new StringTokenizer(\"\");\n \tString next() {\n \t\twhile(!st.hasMoreTokens())\n \t\t\ttry {\n \t\t\t\tst = new StringTokenizer(br.readLine());\n \t\t\t} catch (IOException e){\n \t\t\t\te.printStackTrace();\n \t\t\t}\n \t\treturn st.nextToken();\n \t}\n \t\n \tint nextInt() {\n \t\treturn Integer.parseInt(next());\n \t}\n \t\n \tint [] readArray(int n) {\n \t\tint [] a = new int[n];\n \t\tfor(int i=0; i<n ; i++) a[i] = nextInt();\n \t\treturn a;\n \t}\n \t\n \tlong nextLong() {\n \t\treturn Long.parseLong(next());\n \t}\n \t\n \t\n }\n \n \n}",
"Main",
"public static void main(String[] args) {\n \n \tFastScanner scan = new FastScanner();\n \t\n \tint n = scan.nextInt();\n \tchar [] ch = String.valueOf(n).toCharArray();\n \tint x = ch[ch.length-1] - '0';\n \tif(x == 2 || x == 4 || x==5 || x== 7 || x==9) System.out.println(\"hon\");\n \telse if(x == 3) System.out.println(\"bon\");\n \telse System.out.println(\"pon\");\n }",
"main",
"{\n \n \tFastScanner scan = new FastScanner();\n \t\n \tint n = scan.nextInt();\n \tchar [] ch = String.valueOf(n).toCharArray();\n \tint x = ch[ch.length-1] - '0';\n \tif(x == 2 || x == 4 || x==5 || x== 7 || x==9) System.out.println(\"hon\");\n \telse if(x == 3) System.out.println(\"bon\");\n \telse System.out.println(\"pon\");\n }",
"FastScanner scan = new FastScanner();",
"scan",
"new FastScanner()",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"char [] ch = String.valueOf(n).toCharArray();",
"ch",
"String.valueOf(n).toCharArray()",
"String.valueOf(n).toCharArray",
"String.valueOf(n)",
"String.valueOf",
"String",
"n",
"int x = ch[ch.length-1] - '0';",
"x",
"ch[ch.length-1] - '0'",
"ch[ch.length-1]",
"ch",
"ch.length-1",
"ch.length",
"ch",
"ch.length",
"1",
"'0'",
"if(x == 2 || x == 4 || x==5 || x== 7 || x==9) System.out.println(\"hon\");\n \telse if(x == 3) System.out.println(\"bon\");\n \telse System.out.println(\"pon\");",
"x == 2 || x == 4 || x==5 || x== 7 || x==9",
"x== 7",
"x==5",
"x == 2 || x == 4 || x==5 || x== 7 || x==9",
"x == 2",
"x",
"2",
"x == 4",
"x",
"4",
"x==5",
"x",
"5",
"x== 7",
"x",
"7",
"x==9",
"x",
"9",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(x == 3) System.out.println(\"bon\");\n \telse System.out.println(\"pon\");",
"x == 3",
"x",
"3",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"String[] args",
"args",
"static class FastScanner{\n \t\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \tStringTokenizer st = new StringTokenizer(\"\");\n \tString next() {\n \t\twhile(!st.hasMoreTokens())\n \t\t\ttry {\n \t\t\t\tst = new StringTokenizer(br.readLine());\n \t\t\t} catch (IOException e){\n \t\t\t\te.printStackTrace();\n \t\t\t}\n \t\treturn st.nextToken();\n \t}\n \t\n \tint nextInt() {\n \t\treturn Integer.parseInt(next());\n \t}\n \t\n \tint [] readArray(int n) {\n \t\tint [] a = new int[n];\n \t\tfor(int i=0; i<n ; i++) a[i] = nextInt();\n \t\treturn a;\n \t}\n \t\n \tlong nextLong() {\n \t\treturn Long.parseLong(next());\n \t}\n \t\n \t\n }",
"FastScanner",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st = new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"String next() {\n \t\twhile(!st.hasMoreTokens())\n \t\t\ttry {\n \t\t\t\tst = new StringTokenizer(br.readLine());\n \t\t\t} catch (IOException e){\n \t\t\t\te.printStackTrace();\n \t\t\t}\n \t\treturn st.nextToken();\n \t}",
"next",
"{\n \t\twhile(!st.hasMoreTokens())\n \t\t\ttry {\n \t\t\t\tst = new StringTokenizer(br.readLine());\n \t\t\t} catch (IOException e){\n \t\t\t\te.printStackTrace();\n \t\t\t}\n \t\treturn st.nextToken();\n \t}",
"while(!st.hasMoreTokens())\n \t\t\ttry {\n \t\t\t\tst = new StringTokenizer(br.readLine());\n \t\t\t} catch (IOException e){\n \t\t\t\te.printStackTrace();\n \t\t\t}",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"try {\n \t\t\t\tst = new StringTokenizer(br.readLine());\n \t\t\t} catch (IOException e){\n \t\t\t\te.printStackTrace();\n \t\t\t}",
"catch (IOException e){\n \t\t\t\te.printStackTrace();\n \t\t\t}",
"IOException e",
"{\n \t\t\t\te.printStackTrace();\n \t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n \t\t\t\tst = new StringTokenizer(br.readLine());\n \t\t\t}",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n \t\treturn Integer.parseInt(next());\n \t}",
"nextInt",
"{\n \t\treturn Integer.parseInt(next());\n \t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"int [] readArray(int n) {\n \t\tint [] a = new int[n];\n \t\tfor(int i=0; i<n ; i++) a[i] = nextInt();\n \t\treturn a;\n \t}",
"readArray",
"{\n \t\tint [] a = new int[n];\n \t\tfor(int i=0; i<n ; i++) a[i] = nextInt();\n \t\treturn a;\n \t}",
"int [] a = new int[n];",
"a",
"new int[n]",
"n",
"for(int i=0; i<n ; i++) a[i] = nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextInt();",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"long nextLong() {\n \t\treturn Long.parseLong(next());\n \t}",
"nextLong",
"{\n \t\treturn Long.parseLong(next());\n \t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public class Main {\n\n public static void main(String[] args) {\n \n \tFastScanner scan = new FastScanner();\n \t\n \tint n = scan.nextInt();\n \tchar [] ch = String.valueOf(n).toCharArray();\n \tint x = ch[ch.length-1] - '0';\n \tif(x == 2 || x == 4 || x==5 || x== 7 || x==9) System.out.println(\"hon\");\n \telse if(x == 3) System.out.println(\"bon\");\n \telse System.out.println(\"pon\");\n }\n\n \n static class FastScanner{\n \t\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \tStringTokenizer st = new StringTokenizer(\"\");\n \tString next() {\n \t\twhile(!st.hasMoreTokens())\n \t\t\ttry {\n \t\t\t\tst = new StringTokenizer(br.readLine());\n \t\t\t} catch (IOException e){\n \t\t\t\te.printStackTrace();\n \t\t\t}\n \t\treturn st.nextToken();\n \t}\n \t\n \tint nextInt() {\n \t\treturn Integer.parseInt(next());\n \t}\n \t\n \tint [] readArray(int n) {\n \t\tint [] a = new int[n];\n \t\tfor(int i=0; i<n ; i++) a[i] = nextInt();\n \t\treturn a;\n \t}\n \t\n \tlong nextLong() {\n \t\treturn Long.parseLong(next());\n \t}\n \t\n \t\n }\n \n \n}",
"public class Main {\n\n public static void main(String[] args) {\n \n \tFastScanner scan = new FastScanner();\n \t\n \tint n = scan.nextInt();\n \tchar [] ch = String.valueOf(n).toCharArray();\n \tint x = ch[ch.length-1] - '0';\n \tif(x == 2 || x == 4 || x==5 || x== 7 || x==9) System.out.println(\"hon\");\n \telse if(x == 3) System.out.println(\"bon\");\n \telse System.out.println(\"pon\");\n }\n\n \n static class FastScanner{\n \t\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \tStringTokenizer st = new StringTokenizer(\"\");\n \tString next() {\n \t\twhile(!st.hasMoreTokens())\n \t\t\ttry {\n \t\t\t\tst = new StringTokenizer(br.readLine());\n \t\t\t} catch (IOException e){\n \t\t\t\te.printStackTrace();\n \t\t\t}\n \t\treturn st.nextToken();\n \t}\n \t\n \tint nextInt() {\n \t\treturn Integer.parseInt(next());\n \t}\n \t\n \tint [] readArray(int n) {\n \t\tint [] a = new int[n];\n \t\tfor(int i=0; i<n ; i++) a[i] = nextInt();\n \t\treturn a;\n \t}\n \t\n \tlong nextLong() {\n \t\treturn Long.parseLong(next());\n \t}\n \t\n \t\n }\n \n \n}",
"Main"
] |
import java.io.*;
import java.math.*;
import java.security.*;
import java.text.*;
import java.util.*;
import java.util.concurrent.*;
import java.util.regex.*;
public class Main {
public static void main(String[] args) {
FastScanner scan = new FastScanner();
int n = scan.nextInt();
char [] ch = String.valueOf(n).toCharArray();
int x = ch[ch.length-1] - '0';
if(x == 2 || x == 4 || x==5 || x== 7 || x==9) System.out.println("hon");
else if(x == 3) System.out.println("bon");
else System.out.println("pon");
}
static class FastScanner{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer("");
String next() {
while(!st.hasMoreTokens())
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e){
e.printStackTrace();
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
int [] readArray(int n) {
int [] a = new int[n];
for(int i=0; i<n ; i++) a[i] = nextInt();
return a;
}
long nextLong() {
return Long.parseLong(next());
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
74,
5
],
[
74,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
17,
30
],
[
30,
31
],
[
33,
32
],
[
44,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
33,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
30,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
30,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
6,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] |
[
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\n\t\tScanner keyboard = new Scanner(System.in);\n\n\t\tint N = keyboard.nextInt();\n\t\t\n\t\tif(N%10 == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}else if(N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\t\n\t\tkeyboard.close();\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) {\n\n\t\tScanner keyboard = new Scanner(System.in);\n\n\t\tint N = keyboard.nextInt();\n\t\t\n\t\tif(N%10 == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}else if(N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\t\n\t\tkeyboard.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner keyboard = new Scanner(System.in);\n\n\t\tint N = keyboard.nextInt();\n\t\t\n\t\tif(N%10 == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}else if(N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\t\n\t\tkeyboard.close();\n\t}",
"main",
"{\n\n\t\tScanner keyboard = new Scanner(System.in);\n\n\t\tint N = keyboard.nextInt();\n\t\t\n\t\tif(N%10 == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}else if(N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\t\n\t\tkeyboard.close();\n\t}",
"Scanner keyboard = new Scanner(System.in);",
"keyboard",
"new Scanner(System.in)",
"int N = keyboard.nextInt();",
"N",
"keyboard.nextInt()",
"keyboard.nextInt",
"keyboard",
"if(N%10 == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}else if(N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"N%10 == 3",
"N%10",
"N",
"10",
"3",
"{\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8",
"N%10 == 6",
"N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8",
"N%10 == 0",
"N%10",
"N",
"10",
"0",
"N%10 == 1",
"N%10",
"N",
"10",
"1",
"N%10 == 6",
"N%10",
"N",
"10",
"6",
"N%10 == 8",
"N%10",
"N",
"10",
"8",
"{\n\t\t\tSystem.out.println(\"pon\");\n\t\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"keyboard.close()",
"keyboard.close",
"keyboard",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) {\n\n\t\tScanner keyboard = new Scanner(System.in);\n\n\t\tint N = keyboard.nextInt();\n\t\t\n\t\tif(N%10 == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}else if(N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\t\n\t\tkeyboard.close();\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\n\t\tScanner keyboard = new Scanner(System.in);\n\n\t\tint N = keyboard.nextInt();\n\t\t\n\t\tif(N%10 == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}else if(N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\t\n\t\tkeyboard.close();\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner keyboard = new Scanner(System.in);
int N = keyboard.nextInt();
if(N%10 == 3) {
System.out.println("bon");
}else if(N%10 == 0 ||N%10 == 1 ||N%10 == 6 ||N%10 == 8) {
System.out.println("pon");
}else {
System.out.println("hon");
}
keyboard.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
35,
2,
13,
17,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
59,
5
],
[
59,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
20,
30
],
[
30,
31
],
[
30,
32
],
[
20,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
20,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
6,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] |
[
"\n\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String ans = \"hon\";\n switch (n % 10) {\n case 0:\n case 1:\n case 6:\n case 8:\n ans = \"pon\";\n break;\n case 3:\n ans = \"bon\";\n break;\n }\n System.out.println(ans);\n sc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String ans = \"hon\";\n switch (n % 10) {\n case 0:\n case 1:\n case 6:\n case 8:\n ans = \"pon\";\n break;\n case 3:\n ans = \"bon\";\n break;\n }\n System.out.println(ans);\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String ans = \"hon\";\n switch (n % 10) {\n case 0:\n case 1:\n case 6:\n case 8:\n ans = \"pon\";\n break;\n case 3:\n ans = \"bon\";\n break;\n }\n System.out.println(ans);\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String ans = \"hon\";\n switch (n % 10) {\n case 0:\n case 1:\n case 6:\n case 8:\n ans = \"pon\";\n break;\n case 3:\n ans = \"bon\";\n break;\n }\n System.out.println(ans);\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String ans = \"hon\";",
"ans",
"\"hon\"",
"switch (n % 10) {\n case 0:\n case 1:\n case 6:\n case 8:\n ans = \"pon\";\n break;\n case 3:\n ans = \"bon\";\n break;\n }",
"n % 10",
"n",
"10",
"case 0:",
"0",
"case 0:",
"case 1:",
"1",
"case 1:",
"case 6:",
"6",
"case 6:",
"case 8:",
"8",
"case 8:",
"ans = \"pon\"",
"ans",
"\"pon\"",
"break;",
"case 3:",
"3",
"case 3:",
"ans = \"bon\"",
"ans",
"\"bon\"",
"break;",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String ans = \"hon\";\n switch (n % 10) {\n case 0:\n case 1:\n case 6:\n case 8:\n ans = \"pon\";\n break;\n case 3:\n ans = \"bon\";\n break;\n }\n System.out.println(ans);\n sc.close();\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String ans = \"hon\";\n switch (n % 10) {\n case 0:\n case 1:\n case 6:\n case 8:\n ans = \"pon\";\n break;\n case 3:\n ans = \"bon\";\n break;\n }\n System.out.println(ans);\n sc.close();\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
String ans = "hon";
switch (n % 10) {
case 0:
case 1:
case 6:
case 8:
ans = "pon";
break;
case 3:
ans = "bon";
break;
}
System.out.println(ans);
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
0,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
29,
27
],
[
39,
28
],
[
36,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
36,
36
],
[
36,
37
],
[
36,
38
],
[
39,
39
],
[
39,
40
],
[
39,
41
],
[
29,
42
],
[
42,
43
],
[
42,
44
],
[
25,
45
],
[
45,
46
],
[
45,
47
],
[
8,
48
],
[
48,
49
],
[
51,
50
],
[
58,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
58,
58
],
[
58,
59
],
[
58,
60
],
[
51,
61
],
[
61,
62
],
[
61,
63
],
[
48,
64
],
[
64,
65
],
[
64,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
8,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] |
[
"import java.util.*;\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tString ans = \"\";\n\t\tn = n % 10;\n\t\tif (n == 2 || n == 4 || n == 5 || n == 7 || n == 9)\n\t\t\tans = \"hon\";\n\t\tif (n == 0 || n == 1 || n == 6 || n == 8)\n\t\t\tans = \"pon\";\n\t\tif (n == 3)\n\t\t\tans = \"bon\";\n\n\t\tSystem.out.println(ans);\n\t}\n}\n",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tString ans = \"\";\n\t\tn = n % 10;\n\t\tif (n == 2 || n == 4 || n == 5 || n == 7 || n == 9)\n\t\t\tans = \"hon\";\n\t\tif (n == 0 || n == 1 || n == 6 || n == 8)\n\t\t\tans = \"pon\";\n\t\tif (n == 3)\n\t\t\tans = \"bon\";\n\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main",
"public static void main(String args[]) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tString ans = \"\";\n\t\tn = n % 10;\n\t\tif (n == 2 || n == 4 || n == 5 || n == 7 || n == 9)\n\t\t\tans = \"hon\";\n\t\tif (n == 0 || n == 1 || n == 6 || n == 8)\n\t\t\tans = \"pon\";\n\t\tif (n == 3)\n\t\t\tans = \"bon\";\n\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tString ans = \"\";\n\t\tn = n % 10;\n\t\tif (n == 2 || n == 4 || n == 5 || n == 7 || n == 9)\n\t\t\tans = \"hon\";\n\t\tif (n == 0 || n == 1 || n == 6 || n == 8)\n\t\t\tans = \"pon\";\n\t\tif (n == 3)\n\t\t\tans = \"bon\";\n\n\t\tSystem.out.println(ans);\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int n = s.nextInt();",
"n",
"s.nextInt()",
"s.nextInt",
"s",
"String ans = \"\";",
"ans",
"\"\"",
"n = n % 10",
"n",
"n % 10",
"n",
"10",
"if (n == 2 || n == 4 || n == 5 || n == 7 || n == 9)\n\t\t\tans = \"hon\";",
"n == 2 || n == 4 || n == 5 || n == 7 || n == 9",
"n == 7",
"n == 5",
"n == 2 || n == 4 || n == 5 || n == 7 || n == 9",
"n == 2",
"n",
"2",
"n == 4",
"n",
"4",
"n == 5",
"n",
"5",
"n == 7",
"n",
"7",
"n == 9",
"n",
"9",
"ans = \"hon\"",
"ans",
"\"hon\"",
"if (n == 0 || n == 1 || n == 6 || n == 8)\n\t\t\tans = \"pon\";",
"n == 0 || n == 1 || n == 6 || n == 8",
"n == 6",
"n == 0 || n == 1 || n == 6 || n == 8",
"n == 0",
"n",
"0",
"n == 1",
"n",
"1",
"n == 6",
"n",
"6",
"n == 8",
"n",
"8",
"ans = \"pon\"",
"ans",
"\"pon\"",
"if (n == 3)\n\t\t\tans = \"bon\";",
"n == 3",
"n",
"3",
"ans = \"bon\"",
"ans",
"\"bon\"",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tString ans = \"\";\n\t\tn = n % 10;\n\t\tif (n == 2 || n == 4 || n == 5 || n == 7 || n == 9)\n\t\t\tans = \"hon\";\n\t\tif (n == 0 || n == 1 || n == 6 || n == 8)\n\t\t\tans = \"pon\";\n\t\tif (n == 3)\n\t\t\tans = \"bon\";\n\n\t\tSystem.out.println(ans);\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tString ans = \"\";\n\t\tn = n % 10;\n\t\tif (n == 2 || n == 4 || n == 5 || n == 7 || n == 9)\n\t\t\tans = \"hon\";\n\t\tif (n == 0 || n == 1 || n == 6 || n == 8)\n\t\t\tans = \"pon\";\n\t\tif (n == 3)\n\t\t\tans = \"bon\";\n\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner s = new Scanner(System.in);
int n = s.nextInt();
String ans = "";
n = n % 10;
if (n == 2 || n == 4 || n == 5 || n == 7 || n == 9)
ans = "hon";
if (n == 0 || n == 1 || n == 6 || n == 8)
ans = "pon";
if (n == 3)
ans = "bon";
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
4,
13,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
109,
5
],
[
109,
6
],
[
6,
7
],
[
109,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
10,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
18,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
18,
31
],
[
31,
32
],
[
34,
33
],
[
45,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
34,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
34,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
31,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
31,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
8,
69
],
[
69,
70
],
[
109,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
109,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
86,
87
],
[
109,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
95,
96
],
[
96,
97
],
[
109,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
105,
106
],
[
106,
107
],
[
0,
108
],
[
108,
109
],
[
108,
110
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tstatic Scanner scanner;\n\n\tpublic static void main(String[] args) {\n\t scanner = new Scanner(System.in);\n\n\t int n=gi();\n \n\n\t //System.out.print(nr*2*Math.PI);\n\t if (n%10==3) {\n\t \tSystem.out.print(\"bon\");\n\t }else if(n%10==0 || n%10==1 || n%10==6 || n%10==8){\n\t \tSystem.out.print(\"pon\");\n\t } else {\n\t \tSystem.out.print(\"hon\");\n\t }\n\n\n\t}\n\n\t// ζεεγ¨γγ¦ε
₯εγεεΎ\n\tpublic static String gs() {\n\t\treturn scanner.next();\n\t}\n\n\t// intγ¨γγ¦ε
₯εγεεΎ\n\tpublic static int gi() {\n\t\treturn Integer.parseInt(scanner.next());\n\t}\n\n\t// longγ¨γγ¦ε
₯εγεεΎ\n\tpublic static long gl() {\n\t\treturn Long.parseLong(scanner.next());\n\t}\n\n\t// doubleγ¨γγ¦ε
₯εγεεΎ\n\tpublic static double gd() {\n\t\treturn Double.parseDouble(scanner.next());\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tstatic Scanner scanner;\n\n\tpublic static void main(String[] args) {\n\t scanner = new Scanner(System.in);\n\n\t int n=gi();\n \n\n\t //System.out.print(nr*2*Math.PI);\n\t if (n%10==3) {\n\t \tSystem.out.print(\"bon\");\n\t }else if(n%10==0 || n%10==1 || n%10==6 || n%10==8){\n\t \tSystem.out.print(\"pon\");\n\t } else {\n\t \tSystem.out.print(\"hon\");\n\t }\n\n\n\t}\n\n\t// ζεεγ¨γγ¦ε
₯εγεεΎ\n\tpublic static String gs() {\n\t\treturn scanner.next();\n\t}\n\n\t// intγ¨γγ¦ε
₯εγεεΎ\n\tpublic static int gi() {\n\t\treturn Integer.parseInt(scanner.next());\n\t}\n\n\t// longγ¨γγ¦ε
₯εγεεΎ\n\tpublic static long gl() {\n\t\treturn Long.parseLong(scanner.next());\n\t}\n\n\t// doubleγ¨γγ¦ε
₯εγεεΎ\n\tpublic static double gd() {\n\t\treturn Double.parseDouble(scanner.next());\n\t}\n}",
"Main",
"static Scanner scanner;",
"scanner",
"public static void main(String[] args) {\n\t scanner = new Scanner(System.in);\n\n\t int n=gi();\n \n\n\t //System.out.print(nr*2*Math.PI);\n\t if (n%10==3) {\n\t \tSystem.out.print(\"bon\");\n\t }else if(n%10==0 || n%10==1 || n%10==6 || n%10==8){\n\t \tSystem.out.print(\"pon\");\n\t } else {\n\t \tSystem.out.print(\"hon\");\n\t }\n\n\n\t}",
"main",
"{\n\t scanner = new Scanner(System.in);\n\n\t int n=gi();\n \n\n\t //System.out.print(nr*2*Math.PI);\n\t if (n%10==3) {\n\t \tSystem.out.print(\"bon\");\n\t }else if(n%10==0 || n%10==1 || n%10==6 || n%10==8){\n\t \tSystem.out.print(\"pon\");\n\t } else {\n\t \tSystem.out.print(\"hon\");\n\t }\n\n\n\t}",
"scanner = new Scanner(System.in)",
"scanner",
"new Scanner(System.in)",
"int n=gi();",
"n",
"gi()",
"gi",
"if (n%10==3) {\n\t \tSystem.out.print(\"bon\");\n\t }else if(n%10==0 || n%10==1 || n%10==6 || n%10==8){\n\t \tSystem.out.print(\"pon\");\n\t } else {\n\t \tSystem.out.print(\"hon\");\n\t }",
"n%10==3",
"n%10",
"n",
"10",
"3",
"{\n\t \tSystem.out.print(\"bon\");\n\t }",
"System.out.print(\"bon\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(n%10==0 || n%10==1 || n%10==6 || n%10==8){\n\t \tSystem.out.print(\"pon\");\n\t } else {\n\t \tSystem.out.print(\"hon\");\n\t }",
"n%10==0 || n%10==1 || n%10==6 || n%10==8",
"n%10==6",
"n%10==0 || n%10==1 || n%10==6 || n%10==8",
"n%10==0",
"n%10",
"n",
"10",
"0",
"n%10==1",
"n%10",
"n",
"10",
"1",
"n%10==6",
"n%10",
"n",
"10",
"6",
"n%10==8",
"n%10",
"n",
"10",
"8",
"{\n\t \tSystem.out.print(\"pon\");\n\t }",
"System.out.print(\"pon\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n\t \tSystem.out.print(\"hon\");\n\t }",
"System.out.print(\"hon\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"hon\"",
"String[] args",
"args",
"// ζεεγ¨γγ¦ε
₯εγεεΎ\n\tpublic static String gs() {\n\t\treturn scanner.next();\n\t}",
"gs",
"{\n\t\treturn scanner.next();\n\t}",
"return scanner.next();",
"scanner.next()",
"scanner.next",
"scanner",
"// intγ¨γγ¦ε
₯εγεεΎ\n\tpublic static int gi() {\n\t\treturn Integer.parseInt(scanner.next());\n\t}",
"gi",
"{\n\t\treturn Integer.parseInt(scanner.next());\n\t}",
"return Integer.parseInt(scanner.next());",
"Integer.parseInt(scanner.next())",
"Integer.parseInt",
"Integer",
"scanner.next()",
"scanner.next",
"scanner",
"// longγ¨γγ¦ε
₯εγεεΎ\n\tpublic static long gl() {\n\t\treturn Long.parseLong(scanner.next());\n\t}",
"gl",
"{\n\t\treturn Long.parseLong(scanner.next());\n\t}",
"return Long.parseLong(scanner.next());",
"Long.parseLong(scanner.next())",
"Long.parseLong",
"Long",
"scanner.next()",
"scanner.next",
"scanner",
"// doubleγ¨γγ¦ε
₯εγεεΎ\n\tpublic static double gd() {\n\t\treturn Double.parseDouble(scanner.next());\n\t}",
"gd",
"{\n\t\treturn Double.parseDouble(scanner.next());\n\t}",
"return Double.parseDouble(scanner.next());",
"Double.parseDouble(scanner.next())",
"Double.parseDouble",
"Double",
"scanner.next()",
"scanner.next",
"scanner",
"public class Main {\n\n\tstatic Scanner scanner;\n\n\tpublic static void main(String[] args) {\n\t scanner = new Scanner(System.in);\n\n\t int n=gi();\n \n\n\t //System.out.print(nr*2*Math.PI);\n\t if (n%10==3) {\n\t \tSystem.out.print(\"bon\");\n\t }else if(n%10==0 || n%10==1 || n%10==6 || n%10==8){\n\t \tSystem.out.print(\"pon\");\n\t } else {\n\t \tSystem.out.print(\"hon\");\n\t }\n\n\n\t}\n\n\t// ζεεγ¨γγ¦ε
₯εγεεΎ\n\tpublic static String gs() {\n\t\treturn scanner.next();\n\t}\n\n\t// intγ¨γγ¦ε
₯εγεεΎ\n\tpublic static int gi() {\n\t\treturn Integer.parseInt(scanner.next());\n\t}\n\n\t// longγ¨γγ¦ε
₯εγεεΎ\n\tpublic static long gl() {\n\t\treturn Long.parseLong(scanner.next());\n\t}\n\n\t// doubleγ¨γγ¦ε
₯εγεεΎ\n\tpublic static double gd() {\n\t\treturn Double.parseDouble(scanner.next());\n\t}\n}",
"public class Main {\n\n\tstatic Scanner scanner;\n\n\tpublic static void main(String[] args) {\n\t scanner = new Scanner(System.in);\n\n\t int n=gi();\n \n\n\t //System.out.print(nr*2*Math.PI);\n\t if (n%10==3) {\n\t \tSystem.out.print(\"bon\");\n\t }else if(n%10==0 || n%10==1 || n%10==6 || n%10==8){\n\t \tSystem.out.print(\"pon\");\n\t } else {\n\t \tSystem.out.print(\"hon\");\n\t }\n\n\n\t}\n\n\t// ζεεγ¨γγ¦ε
₯εγεεΎ\n\tpublic static String gs() {\n\t\treturn scanner.next();\n\t}\n\n\t// intγ¨γγ¦ε
₯εγεεΎ\n\tpublic static int gi() {\n\t\treturn Integer.parseInt(scanner.next());\n\t}\n\n\t// longγ¨γγ¦ε
₯εγεεΎ\n\tpublic static long gl() {\n\t\treturn Long.parseLong(scanner.next());\n\t}\n\n\t// doubleγ¨γγ¦ε
₯εγεεΎ\n\tpublic static double gd() {\n\t\treturn Double.parseDouble(scanner.next());\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
static Scanner scanner;
public static void main(String[] args) {
scanner = new Scanner(System.in);
int n=gi();
//System.out.print(nr*2*Math.PI);
if (n%10==3) {
System.out.print("bon");
}else if(n%10==0 || n%10==1 || n%10==6 || n%10==8){
System.out.print("pon");
} else {
System.out.print("hon");
}
}
// ζεεγ¨γγ¦ε
₯εγεεΎ
public static String gs() {
return scanner.next();
}
// intγ¨γγ¦ε
₯εγεεΎ
public static int gi() {
return Integer.parseInt(scanner.next());
}
// longγ¨γγ¦ε
₯εγεεΎ
public static long gl() {
return Long.parseLong(scanner.next());
}
// doubleγ¨γγ¦ε
₯εγεεΎ
public static double gd() {
return Double.parseDouble(scanner.next());
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
69,
5
],
[
69,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
22,
33
],
[
33,
34
],
[
36,
35
],
[
43,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
43,
43
],
[
43,
44
],
[
43,
45
],
[
36,
46
],
[
46,
47
],
[
46,
48
],
[
33,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
33,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
8,
63
],
[
63,
64
],
[
64,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] |
[
"\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//γ³γ³γ½γΌγ«γ«ε
₯εγγε€γεεΎ\n\t\tint n = sc.nextInt();\n\t\tint nn = n%10;\n\n\t\tif (nn == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if (nn == 0 || nn == 1 || nn == 6 || nn == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\n\t\tsc.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//γ³γ³γ½γΌγ«γ«ε
₯εγγε€γεεΎ\n\t\tint n = sc.nextInt();\n\t\tint nn = n%10;\n\n\t\tif (nn == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if (nn == 0 || nn == 1 || nn == 6 || nn == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//γ³γ³γ½γΌγ«γ«ε
₯εγγε€γεεΎ\n\t\tint n = sc.nextInt();\n\t\tint nn = n%10;\n\n\t\tif (nn == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if (nn == 0 || nn == 1 || nn == 6 || nn == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//γ³γ³γ½γΌγ«γ«ε
₯εγγε€γεεΎ\n\t\tint n = sc.nextInt();\n\t\tint nn = n%10;\n\n\t\tif (nn == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if (nn == 0 || nn == 1 || nn == 6 || nn == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int nn = n%10;",
"nn",
"n%10",
"n",
"10",
"if (nn == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if (nn == 0 || nn == 1 || nn == 6 || nn == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"nn == 3",
"nn",
"3",
"{\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if (nn == 0 || nn == 1 || nn == 6 || nn == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"nn == 0 || nn == 1 || nn == 6 || nn == 8",
"nn == 6",
"nn == 0 || nn == 1 || nn == 6 || nn == 8",
"nn == 0",
"nn",
"0",
"nn == 1",
"nn",
"1",
"nn == 6",
"nn",
"6",
"nn == 8",
"nn",
"8",
"{\n\t\t\tSystem.out.println(\"pon\");\n\t\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//γ³γ³γ½γΌγ«γ«ε
₯εγγε€γεεΎ\n\t\tint n = sc.nextInt();\n\t\tint nn = n%10;\n\n\t\tif (nn == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if (nn == 0 || nn == 1 || nn == 6 || nn == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\n\t\tsc.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//γ³γ³γ½γΌγ«γ«ε
₯εγγε€γεεΎ\n\t\tint n = sc.nextInt();\n\t\tint nn = n%10;\n\n\t\tif (nn == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if (nn == 0 || nn == 1 || nn == 6 || nn == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\n\t\tsc.close();\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
//γ³γ³γ½γΌγ«γ«ε
₯εγγε€γεεΎ
int n = sc.nextInt();
int nn = n%10;
if (nn == 3) {
System.out.println("bon");
} else if (nn == 0 || nn == 1 || nn == 6 || nn == 8) {
System.out.println("pon");
} else {
System.out.println("hon");
}
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
2,
2,
2,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
86,
5
],
[
86,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
21,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
21,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
20,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
19,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
21,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
17,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
17,
49
],
[
49,
50
],
[
52,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
52,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
51,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
52,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
49,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
49,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
6,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] |
[
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String str = sc.next();\n if(str.matches(\".*2$\") || str.matches(\".*4$\") || str.matches(\".*5$\") || str.matches(\".*7$\") || str.matches(\".*9$\")){\n System.out.println(\"hon\");\n }\n else if(str.matches(\".*0$\") || str.matches(\".*1$\") || str.matches(\".*6$\") || str.matches(\".*8$\")){\n System.out.println(\"pon\");\n }\n else{\n System.out.println(\"bon\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String str = sc.next();\n if(str.matches(\".*2$\") || str.matches(\".*4$\") || str.matches(\".*5$\") || str.matches(\".*7$\") || str.matches(\".*9$\")){\n System.out.println(\"hon\");\n }\n else if(str.matches(\".*0$\") || str.matches(\".*1$\") || str.matches(\".*6$\") || str.matches(\".*8$\")){\n System.out.println(\"pon\");\n }\n else{\n System.out.println(\"bon\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String str = sc.next();\n if(str.matches(\".*2$\") || str.matches(\".*4$\") || str.matches(\".*5$\") || str.matches(\".*7$\") || str.matches(\".*9$\")){\n System.out.println(\"hon\");\n }\n else if(str.matches(\".*0$\") || str.matches(\".*1$\") || str.matches(\".*6$\") || str.matches(\".*8$\")){\n System.out.println(\"pon\");\n }\n else{\n System.out.println(\"bon\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n String str = sc.next();\n if(str.matches(\".*2$\") || str.matches(\".*4$\") || str.matches(\".*5$\") || str.matches(\".*7$\") || str.matches(\".*9$\")){\n System.out.println(\"hon\");\n }\n else if(str.matches(\".*0$\") || str.matches(\".*1$\") || str.matches(\".*6$\") || str.matches(\".*8$\")){\n System.out.println(\"pon\");\n }\n else{\n System.out.println(\"bon\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str = sc.next();",
"str",
"sc.next()",
"sc.next",
"sc",
"if(str.matches(\".*2$\") || str.matches(\".*4$\") || str.matches(\".*5$\") || str.matches(\".*7$\") || str.matches(\".*9$\")){\n System.out.println(\"hon\");\n }\n else if(str.matches(\".*0$\") || str.matches(\".*1$\") || str.matches(\".*6$\") || str.matches(\".*8$\")){\n System.out.println(\"pon\");\n }\n else{\n System.out.println(\"bon\");\n }",
"str.matches(\".*2$\") || str.matches(\".*4$\") || str.matches(\".*5$\") || str.matches(\".*7$\") || str.matches(\".*9$\")",
"str.matches(\".*7$\")",
"str.matches(\".*5$\")",
"str.matches(\".*2$\") || str.matches(\".*4$\") || str.matches(\".*5$\") || str.matches(\".*7$\") || str.matches(\".*9$\")",
"str.matches(\".*2$\")",
"str.matches",
"str",
"\".*2$\"",
"str.matches(\".*4$\")",
"str.matches",
"str",
"\".*4$\"",
"str.matches(\".*5$\")",
"str.matches",
"str",
"\".*5$\"",
"str.matches(\".*7$\")",
"str.matches",
"str",
"\".*7$\"",
"str.matches(\".*9$\")",
"str.matches",
"str",
"\".*9$\"",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(str.matches(\".*0$\") || str.matches(\".*1$\") || str.matches(\".*6$\") || str.matches(\".*8$\")){\n System.out.println(\"pon\");\n }\n else{\n System.out.println(\"bon\");\n }",
"str.matches(\".*0$\") || str.matches(\".*1$\") || str.matches(\".*6$\") || str.matches(\".*8$\")",
"str.matches(\".*6$\")",
"str.matches(\".*0$\") || str.matches(\".*1$\") || str.matches(\".*6$\") || str.matches(\".*8$\")",
"str.matches(\".*0$\")",
"str.matches",
"str",
"\".*0$\"",
"str.matches(\".*1$\")",
"str.matches",
"str",
"\".*1$\"",
"str.matches(\".*6$\")",
"str.matches",
"str",
"\".*6$\"",
"str.matches(\".*8$\")",
"str.matches",
"str",
"\".*8$\"",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String str = sc.next();\n if(str.matches(\".*2$\") || str.matches(\".*4$\") || str.matches(\".*5$\") || str.matches(\".*7$\") || str.matches(\".*9$\")){\n System.out.println(\"hon\");\n }\n else if(str.matches(\".*0$\") || str.matches(\".*1$\") || str.matches(\".*6$\") || str.matches(\".*8$\")){\n System.out.println(\"pon\");\n }\n else{\n System.out.println(\"bon\");\n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String str = sc.next();\n if(str.matches(\".*2$\") || str.matches(\".*4$\") || str.matches(\".*5$\") || str.matches(\".*7$\") || str.matches(\".*9$\")){\n System.out.println(\"hon\");\n }\n else if(str.matches(\".*0$\") || str.matches(\".*1$\") || str.matches(\".*6$\") || str.matches(\".*8$\")){\n System.out.println(\"pon\");\n }\n else{\n System.out.println(\"bon\");\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String str = sc.next();
if(str.matches(".*2$") || str.matches(".*4$") || str.matches(".*5$") || str.matches(".*7$") || str.matches(".*9$")){
System.out.println("hon");
}
else if(str.matches(".*0$") || str.matches(".*1$") || str.matches(".*6$") || str.matches(".*8$")){
System.out.println("pon");
}
else{
System.out.println("bon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
14,
2,
2,
2,
13,
17,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
2,
2,
13,
17,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
132,
5
],
[
132,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
22,
35
],
[
35,
36
],
[
38,
37
],
[
49,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
38,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
38,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
35,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
35,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
17,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
75,
81
],
[
74,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
74,
89
],
[
89,
90
],
[
92,
91
],
[
105,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
93,
99
],
[
92,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
92,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
89,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
89,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
123,
128
],
[
6,
129
],
[
129,
130
],
[
0,
131
],
[
131,
132
],
[
131,
133
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n if(N<100){\n if(N%10 == 3){\n System.out.println(\"bon\");\n }\n else if(N%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){\n System.out.println(\"pon\");\n }\n \n else{\n System.out.println(\"hon\");\n }\n }\n \n else{\n if((N%100)%10 == 3){\n System.out.println(\"bon\");\n }\n else if((N%100)%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){\n System.out.println(\"pon\");\n }\n \n else{\n System.out.println(\"hon\");\n }\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n if(N<100){\n if(N%10 == 3){\n System.out.println(\"bon\");\n }\n else if(N%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){\n System.out.println(\"pon\");\n }\n \n else{\n System.out.println(\"hon\");\n }\n }\n \n else{\n if((N%100)%10 == 3){\n System.out.println(\"bon\");\n }\n else if((N%100)%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){\n System.out.println(\"pon\");\n }\n \n else{\n System.out.println(\"hon\");\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n if(N<100){\n if(N%10 == 3){\n System.out.println(\"bon\");\n }\n else if(N%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){\n System.out.println(\"pon\");\n }\n \n else{\n System.out.println(\"hon\");\n }\n }\n \n else{\n if((N%100)%10 == 3){\n System.out.println(\"bon\");\n }\n else if((N%100)%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){\n System.out.println(\"pon\");\n }\n \n else{\n System.out.println(\"hon\");\n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n if(N<100){\n if(N%10 == 3){\n System.out.println(\"bon\");\n }\n else if(N%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){\n System.out.println(\"pon\");\n }\n \n else{\n System.out.println(\"hon\");\n }\n }\n \n else{\n if((N%100)%10 == 3){\n System.out.println(\"bon\");\n }\n else if((N%100)%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){\n System.out.println(\"pon\");\n }\n \n else{\n System.out.println(\"hon\");\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(N<100){\n if(N%10 == 3){\n System.out.println(\"bon\");\n }\n else if(N%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){\n System.out.println(\"pon\");\n }\n \n else{\n System.out.println(\"hon\");\n }\n }\n \n else{\n if((N%100)%10 == 3){\n System.out.println(\"bon\");\n }\n else if((N%100)%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){\n System.out.println(\"pon\");\n }\n \n else{\n System.out.println(\"hon\");\n }\n }",
"N<100",
"N",
"100",
"{\n if(N%10 == 3){\n System.out.println(\"bon\");\n }\n else if(N%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){\n System.out.println(\"pon\");\n }\n \n else{\n System.out.println(\"hon\");\n }\n }",
"if(N%10 == 3){\n System.out.println(\"bon\");\n }\n else if(N%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){\n System.out.println(\"pon\");\n }\n \n else{\n System.out.println(\"hon\");\n }",
"N%10 == 3",
"N%10",
"N",
"10",
"3",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(N%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){\n System.out.println(\"pon\");\n }\n \n else{\n System.out.println(\"hon\");\n }",
"N%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8",
"N%10 == 6",
"N%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8",
"N%10 == 0",
"N%10",
"N",
"10",
"0",
"N%10 == 1",
"N%10",
"N",
"10",
"1",
"N%10 == 6",
"N%10",
"N",
"10",
"6",
"N%10 == 8",
"N%10",
"N",
"10",
"8",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"{\n if((N%100)%10 == 3){\n System.out.println(\"bon\");\n }\n else if((N%100)%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){\n System.out.println(\"pon\");\n }\n \n else{\n System.out.println(\"hon\");\n }\n }",
"if((N%100)%10 == 3){\n System.out.println(\"bon\");\n }\n else if((N%100)%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){\n System.out.println(\"pon\");\n }\n \n else{\n System.out.println(\"hon\");\n }",
"(N%100)%10 == 3",
"(N%100)%10",
"(N%100)",
"N",
"100",
"10",
"3",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if((N%100)%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){\n System.out.println(\"pon\");\n }\n \n else{\n System.out.println(\"hon\");\n }",
"(N%100)%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8",
"N%10 == 6",
"(N%100)%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8",
"(N%100)%10 == 0",
"(N%100)%10",
"(N%100)",
"N",
"100",
"10",
"0",
"N%10 == 1",
"N%10",
"N",
"10",
"1",
"N%10 == 6",
"N%10",
"N",
"10",
"6",
"N%10 == 8",
"N%10",
"N",
"10",
"8",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n if(N<100){\n if(N%10 == 3){\n System.out.println(\"bon\");\n }\n else if(N%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){\n System.out.println(\"pon\");\n }\n \n else{\n System.out.println(\"hon\");\n }\n }\n \n else{\n if((N%100)%10 == 3){\n System.out.println(\"bon\");\n }\n else if((N%100)%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){\n System.out.println(\"pon\");\n }\n \n else{\n System.out.println(\"hon\");\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n if(N<100){\n if(N%10 == 3){\n System.out.println(\"bon\");\n }\n else if(N%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){\n System.out.println(\"pon\");\n }\n \n else{\n System.out.println(\"hon\");\n }\n }\n \n else{\n if((N%100)%10 == 3){\n System.out.println(\"bon\");\n }\n else if((N%100)%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){\n System.out.println(\"pon\");\n }\n \n else{\n System.out.println(\"hon\");\n }\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
if(N<100){
if(N%10 == 3){
System.out.println("bon");
}
else if(N%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){
System.out.println("pon");
}
else{
System.out.println("hon");
}
}
else{
if((N%100)%10 == 3){
System.out.println("bon");
}
else if((N%100)%10 == 0 ||N%10 == 1 || N%10 == 6 || N%10 == 8){
System.out.println("pon");
}
else{
System.out.println("hon");
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
70,
8
],
[
70,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
11,
25
],
[
25,
26
],
[
29,
27
],
[
39,
28
],
[
36,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
36,
36
],
[
36,
37
],
[
36,
38
],
[
39,
39
],
[
39,
40
],
[
39,
41
],
[
29,
42
],
[
42,
43
],
[
42,
44
],
[
25,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
25,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
51,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
9,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] |
[
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int a = n % 10;\n if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9)\n System.out.println(\"hon\");\n else if(a == 3)\n System.out.println(\"bon\");\n else\n System.out.println(\"pon\");\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int a = n % 10;\n if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9)\n System.out.println(\"hon\");\n else if(a == 3)\n System.out.println(\"bon\");\n else\n System.out.println(\"pon\");\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int a = n % 10;\n if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9)\n System.out.println(\"hon\");\n else if(a == 3)\n System.out.println(\"bon\");\n else\n System.out.println(\"pon\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int a = n % 10;\n if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9)\n System.out.println(\"hon\");\n else if(a == 3)\n System.out.println(\"bon\");\n else\n System.out.println(\"pon\");\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int a = n % 10;",
"a",
"n % 10",
"n",
"10",
"if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9)\n System.out.println(\"hon\");\n else if(a == 3)\n System.out.println(\"bon\");\n else\n System.out.println(\"pon\");",
"a == 2 || a == 4 || a == 5 || a == 7 || a == 9",
"a == 7",
"a == 5",
"a == 2 || a == 4 || a == 5 || a == 7 || a == 9",
"a == 2",
"a",
"2",
"a == 4",
"a",
"4",
"a == 5",
"a",
"5",
"a == 7",
"a",
"7",
"a == 9",
"a",
"9",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(a == 3)\n System.out.println(\"bon\");\n else\n System.out.println(\"pon\");",
"a == 3",
"a",
"3",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int a = n % 10;\n if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9)\n System.out.println(\"hon\");\n else if(a == 3)\n System.out.println(\"bon\");\n else\n System.out.println(\"pon\");\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int a = n % 10;\n if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9)\n System.out.println(\"hon\");\n else if(a == 3)\n System.out.println(\"bon\");\n else\n System.out.println(\"pon\");\n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int a = n % 10;
if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9)
System.out.println("hon");
else if(a == 3)
System.out.println("bon");
else
System.out.println("pon");
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.