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,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
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
],
[
51,
5
],
[
51,
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
],
[
18,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
29,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
6,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] |
[
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString N = sc.nextLine();\n\t\tif (N.matches(\".*[24579]$\")){\n\t\t\tSystem.out.println(\"hon\");\n\t\t}else if(N.matches(\".*[0168]$\")){\n\t\t\tSystem.out.println(\"pon\");\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 sc = new Scanner(System.in);\n\t\tString N = sc.nextLine();\n\t\tif (N.matches(\".*[24579]$\")){\n\t\t\tSystem.out.println(\"hon\");\n\t\t}else if(N.matches(\".*[0168]$\")){\n\t\t\tSystem.out.println(\"pon\");\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 sc = new Scanner(System.in);\n\t\tString N = sc.nextLine();\n\t\tif (N.matches(\".*[24579]$\")){\n\t\t\tSystem.out.println(\"hon\");\n\t\t}else if(N.matches(\".*[0168]$\")){\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\tScanner sc = new Scanner(System.in);\n\t\tString N = sc.nextLine();\n\t\tif (N.matches(\".*[24579]$\")){\n\t\t\tSystem.out.println(\"hon\");\n\t\t}else if(N.matches(\".*[0168]$\")){\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)",
"String N = sc.nextLine();",
"N",
"sc.nextLine()",
"sc.nextLine",
"sc",
"if (N.matches(\".*[24579]$\")){\n\t\t\tSystem.out.println(\"hon\");\n\t\t}else if(N.matches(\".*[0168]$\")){\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"N.matches(\".*[24579]$\")",
"N.matches",
"N",
"\".*[24579]$\"",
"{\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.matches(\".*[0168]$\")){\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"N.matches(\".*[0168]$\")",
"N.matches",
"N",
"\".*[0168]$\"",
"{\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\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString N = sc.nextLine();\n\t\tif (N.matches(\".*[24579]$\")){\n\t\t\tSystem.out.println(\"hon\");\n\t\t}else if(N.matches(\".*[0168]$\")){\n\t\t\tSystem.out.println(\"pon\");\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 sc = new Scanner(System.in);\n\t\tString N = sc.nextLine();\n\t\tif (N.matches(\".*[24579]$\")){\n\t\t\tSystem.out.println(\"hon\");\n\t\t}else if(N.matches(\".*[0168]$\")){\n\t\t\tSystem.out.println(\"pon\");\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 sc = new Scanner(System.in);
String N = sc.nextLine();
if (N.matches(".*[24579]$")){
System.out.println("hon");
}else if(N.matches(".*[0168]$")){
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,
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,
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
],
[
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
],
[
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
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] |
[
"import java.util.*;\n\npublic class Main{\npublic static void main(String[] args)\n{\n\tScanner sc=new Scanner(System.in);\n int n=sc.nextInt();\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}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\npublic static void main(String[] args)\n{\n\tScanner sc=new Scanner(System.in);\n int n=sc.nextInt();\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}",
"Main",
"public static void main(String[] args)\n{\n\tScanner sc=new Scanner(System.in);\n int n=sc.nextInt();\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}",
"main",
"{\n\tScanner sc=new Scanner(System.in);\n int n=sc.nextInt();\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}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n=sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"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==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\")",
"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==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",
"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",
"public class Main{\npublic static void main(String[] args)\n{\n\tScanner sc=new Scanner(System.in);\n int n=sc.nextInt();\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}",
"public class Main{\npublic static void main(String[] args)\n{\n\tScanner sc=new Scanner(System.in);\n int n=sc.nextInt();\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}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String[] args)
{
Scanner sc=new Scanner(System.in);
int n=sc.nextInt();
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,
4,
18,
13,
41,
13,
4,
18,
13,
2,
4,
18,
13,
17,
4,
18,
13,
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,
34,
1,
3,
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
],
[
19,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
38,
40
],
[
30,
41
],
[
41,
42
],
[
41,
43
],
[
30,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
46,
53
],
[
30,
54
],
[
54,
55
],
[
54,
56
],
[
30,
57
],
[
57,
58
],
[
57,
59
],
[
30,
60
],
[
60,
61
],
[
60,
62
],
[
30,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
65,
72
],
[
30,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
75,
82
],
[
30,
83
],
[
83,
84
],
[
84,
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 sc = new Scanner(System.in);\n String a = sc.next();\n String b = a.substring(a.length()-1, a.length());\n switch(b) {\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 default:\n break;\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 String a = sc.next();\n String b = a.substring(a.length()-1, a.length());\n switch(b) {\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 default:\n break;\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = a.substring(a.length()-1, a.length());\n switch(b) {\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 default:\n break;\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = a.substring(a.length()-1, a.length());\n switch(b) {\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 default:\n break;\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String a = sc.next();",
"a",
"sc.next()",
"sc.next",
"sc",
"String b = a.substring(a.length()-1, a.length());",
"b",
"a.substring(a.length()-1, a.length())",
"a.substring",
"a",
"a.length()-1",
"a.length()",
"a.length",
"a",
"1",
"a.length()",
"a.length",
"a",
"switch(b) {\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 default:\n break;\n }",
"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;",
"default:",
"default:",
"break;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = a.substring(a.length()-1, a.length());\n switch(b) {\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 default:\n break;\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = a.substring(a.length()-1, a.length());\n switch(b) {\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 default:\n break;\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String a = sc.next();
String b = a.substring(a.length()-1, a.length());
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;
default:
break;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
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,
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,
17,
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,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
153,
5
],
[
153,
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
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
21,
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
],
[
21,
56
],
[
56,
57
],
[
60,
58
],
[
70,
59
],
[
67,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
67,
67
],
[
67,
68
],
[
67,
69
],
[
70,
70
],
[
70,
71
],
[
70,
72
],
[
60,
73
],
[
73,
74
],
[
73,
75
],
[
56,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
87,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
87,
104
],
[
104,
105
],
[
107,
106
],
[
114,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
111,
113
],
[
114,
114
],
[
114,
115
],
[
114,
116
],
[
107,
117
],
[
117,
118
],
[
117,
119
],
[
104,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
121,
126
],
[
87,
127
],
[
127,
128
],
[
130,
129
],
[
137,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
134,
135
],
[
134,
136
],
[
137,
137
],
[
137,
138
],
[
137,
139
],
[
130,
140
],
[
140,
141
],
[
140,
142
],
[
127,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
144,
149
],
[
6,
150
],
[
150,
151
],
[
0,
152
],
[
152,
153
],
[
152,
154
]
] |
[
"//package atcoder;\n \nimport 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\t\t//int n = 0;\n\t\tif(N<10) {\n\t\t\t//int n = N;\n\t\t\tif(N==3) {\n\t\t\t\tSystem.out.println(\"bon\");\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==2||N==4||N==5||N==9||N==7) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}\n\t\tif(9<N) {\n\t\t\tint n = N%10;\n\t\t\tif(n==3) {\n\t\t\t\tSystem.out.println(\"bon\");\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==2||n==4||n==5||n==9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}\n\t\t\n\t\t/*if(n==3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\tif(n==0||n==1||n==6||n==8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(n==2||n==4||n==5||n==9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}*/\n\t\t\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\t\t//int n = 0;\n\t\tif(N<10) {\n\t\t\t//int n = N;\n\t\t\tif(N==3) {\n\t\t\t\tSystem.out.println(\"bon\");\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==2||N==4||N==5||N==9||N==7) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}\n\t\tif(9<N) {\n\t\t\tint n = N%10;\n\t\t\tif(n==3) {\n\t\t\t\tSystem.out.println(\"bon\");\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==2||n==4||n==5||n==9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}\n\t\t\n\t\t/*if(n==3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\tif(n==0||n==1||n==6||n==8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(n==2||n==4||n==5||n==9) {\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 sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\t//int n = 0;\n\t\tif(N<10) {\n\t\t\t//int n = N;\n\t\t\tif(N==3) {\n\t\t\t\tSystem.out.println(\"bon\");\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==2||N==4||N==5||N==9||N==7) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}\n\t\tif(9<N) {\n\t\t\tint n = N%10;\n\t\t\tif(n==3) {\n\t\t\t\tSystem.out.println(\"bon\");\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==2||n==4||n==5||n==9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}\n\t\t\n\t\t/*if(n==3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\tif(n==0||n==1||n==6||n==8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(n==2||n==4||n==5||n==9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}*/\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\t//int n = 0;\n\t\tif(N<10) {\n\t\t\t//int n = N;\n\t\t\tif(N==3) {\n\t\t\t\tSystem.out.println(\"bon\");\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==2||N==4||N==5||N==9||N==7) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}\n\t\tif(9<N) {\n\t\t\tint n = N%10;\n\t\t\tif(n==3) {\n\t\t\t\tSystem.out.println(\"bon\");\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==2||n==4||n==5||n==9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}\n\t\t\n\t\t/*if(n==3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\tif(n==0||n==1||n==6||n==8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(n==2||n==4||n==5||n==9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}*/\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",
"if(N<10) {\n\t\t\t//int n = N;\n\t\t\tif(N==3) {\n\t\t\t\tSystem.out.println(\"bon\");\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==2||N==4||N==5||N==9||N==7) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}",
"N<10",
"N",
"10",
"{\n\t\t\t//int n = N;\n\t\t\tif(N==3) {\n\t\t\t\tSystem.out.println(\"bon\");\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==2||N==4||N==5||N==9||N==7) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}",
"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==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==2||N==4||N==5||N==9||N==7) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}",
"N==2||N==4||N==5||N==9||N==7",
"N==9",
"N==5",
"N==2||N==4||N==5||N==9||N==7",
"N==2",
"N",
"2",
"N==4",
"N",
"4",
"N==5",
"N",
"5",
"N==9",
"N",
"9",
"N==7",
"N",
"7",
"{\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(9<N) {\n\t\t\tint n = N%10;\n\t\t\tif(n==3) {\n\t\t\t\tSystem.out.println(\"bon\");\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==2||n==4||n==5||n==9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}",
"9<N",
"9",
"N",
"{\n\t\t\tint n = N%10;\n\t\t\tif(n==3) {\n\t\t\t\tSystem.out.println(\"bon\");\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==2||n==4||n==5||n==9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}",
"int n = N%10;",
"n",
"N%10",
"N",
"10",
"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==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==2||n==4||n==5||n==9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}",
"n==2||n==4||n==5||n==9",
"n==5",
"n==2||n==4||n==5||n==9",
"n==2",
"n",
"2",
"n==4",
"n",
"4",
"n==5",
"n",
"5",
"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\"",
"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\t\t//int n = 0;\n\t\tif(N<10) {\n\t\t\t//int n = N;\n\t\t\tif(N==3) {\n\t\t\t\tSystem.out.println(\"bon\");\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==2||N==4||N==5||N==9||N==7) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}\n\t\tif(9<N) {\n\t\t\tint n = N%10;\n\t\t\tif(n==3) {\n\t\t\t\tSystem.out.println(\"bon\");\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==2||n==4||n==5||n==9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}\n\t\t\n\t\t/*if(n==3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\tif(n==0||n==1||n==6||n==8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(n==2||n==4||n==5||n==9) {\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 sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\t//int n = 0;\n\t\tif(N<10) {\n\t\t\t//int n = N;\n\t\t\tif(N==3) {\n\t\t\t\tSystem.out.println(\"bon\");\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==2||N==4||N==5||N==9||N==7) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}\n\t\tif(9<N) {\n\t\t\tint n = N%10;\n\t\t\tif(n==3) {\n\t\t\t\tSystem.out.println(\"bon\");\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==2||n==4||n==5||n==9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}\n\t\t\n\t\t/*if(n==3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t\tif(n==0||n==1||n==6||n==8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif(n==2||n==4||n==5||n==9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}*/\n\t\t\n\t}\n}",
"Main"
] |
//package atcoder;
import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
//int n = 0;
if(N<10) {
//int n = N;
if(N==3) {
System.out.println("bon");
}
if(N==0||N==1||N==6||N==8) {
System.out.println("pon");
}
if(N==2||N==4||N==5||N==9||N==7) {
System.out.println("hon");
}
}
if(9<N) {
int n = N%10;
if(n==3) {
System.out.println("bon");
}
if(n==0||n==1||n==6||n==8) {
System.out.println("pon");
}
if(n==2||n==4||n==5||n==9) {
System.out.println("hon");
}
}
/*if(n==3) {
System.out.println("bon");
}
if(n==0||n==1||n==6||n==8) {
System.out.println("pon");
}
if(n==2||n==4||n==5||n==9) {
System.out.println("hon");
}*/
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
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,
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
],
[
88,
5
],
[
88,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
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
],
[
49,
51
],
[
47,
52
],
[
27,
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
],
[
71,
73
],
[
69,
74
],
[
53,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
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 public static void main(String[] args) {\n Scanner tan = new Scanner(System.in);\n int n,a=0;\n n = tan.nextInt();\n a=n%10;\n if(a==2 || a==4 || a==5 || a==7 || a==9)\n System.out.println(\"hon\");\n else if(a==0 || a==1 || a==6 || a==8)\n System.out.println(\"pon\");\n else if(a==3)\n System.out.println(\"bon\");\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner tan = new Scanner(System.in);\n int n,a=0;\n n = tan.nextInt();\n a=n%10;\n if(a==2 || a==4 || a==5 || a==7 || a==9)\n System.out.println(\"hon\");\n else if(a==0 || a==1 || a==6 || a==8)\n System.out.println(\"pon\");\n else if(a==3)\n System.out.println(\"bon\");\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner tan = new Scanner(System.in);\n int n,a=0;\n n = tan.nextInt();\n a=n%10;\n if(a==2 || a==4 || a==5 || a==7 || a==9)\n System.out.println(\"hon\");\n else if(a==0 || a==1 || a==6 || a==8)\n System.out.println(\"pon\");\n else if(a==3)\n System.out.println(\"bon\");\n }",
"main",
"{\n Scanner tan = new Scanner(System.in);\n int n,a=0;\n n = tan.nextInt();\n a=n%10;\n if(a==2 || a==4 || a==5 || a==7 || a==9)\n System.out.println(\"hon\");\n else if(a==0 || a==1 || a==6 || a==8)\n System.out.println(\"pon\");\n else if(a==3)\n System.out.println(\"bon\");\n }",
"Scanner tan = new Scanner(System.in);",
"tan",
"new Scanner(System.in)",
"int n",
"n",
"a=0;",
"a",
"0",
"n = tan.nextInt()",
"n",
"tan.nextInt()",
"tan.nextInt",
"tan",
"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==0 || a==1 || a==6 || a==8)\n System.out.println(\"pon\");\n else if(a==3)\n 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)\n System.out.println(\"pon\");\n else if(a==3)\n 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\"",
"if(a==3)\n 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) {\n Scanner tan = new Scanner(System.in);\n int n,a=0;\n n = tan.nextInt();\n a=n%10;\n if(a==2 || a==4 || a==5 || a==7 || a==9)\n System.out.println(\"hon\");\n else if(a==0 || a==1 || a==6 || a==8)\n System.out.println(\"pon\");\n else if(a==3)\n System.out.println(\"bon\");\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner tan = new Scanner(System.in);\n int n,a=0;\n n = tan.nextInt();\n a=n%10;\n if(a==2 || a==4 || a==5 || a==7 || a==9)\n System.out.println(\"hon\");\n else if(a==0 || a==1 || a==6 || a==8)\n System.out.println(\"pon\");\n else if(a==3)\n System.out.println(\"bon\");\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner tan = new Scanner(System.in);
int n,a=0;
n = tan.nextInt();
a=n%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,
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,
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,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
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,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
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
],
[
18,
19
],
[
16,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
28,
30
],
[
24,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
24,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
41,
45
],
[
24,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
46,
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
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
22,
87
],
[
87,
88
],
[
16,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
89,
93
],
[
93,
94
],
[
89,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
89,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
104,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
114,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
103,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
89,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
133,
136
],
[
136,
137
],
[
89,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
145,
146
],
[
89,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
151,
154
],
[
154,
155
],
[
89,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
158,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
162,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
173,
174
],
[
158,
175
],
[
175,
176
]
] |
[
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.lang.reflect.Array;\nimport java.util.*;\n\n\nclass Main {\n \n \n static FastReader in;\n static StringBuilder out;\n \n public static void main(String[] args) {\n out = new StringBuilder();\n in = new FastReader();\n String n=in.nextLine();\n char ch=n.charAt(n.length()-1);\n if(ch=='3'){\n System.out.println(\"bon\");\n }else if(ch=='0' || ch=='1' || ch=='6' || ch=='8'){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\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.lang.reflect.Array;",
"Array",
"java.lang.reflect",
"import java.util.*;",
"util.*",
"java",
"class Main {\n \n \n static FastReader in;\n static StringBuilder out;\n \n public static void main(String[] args) {\n out = new StringBuilder();\n in = new FastReader();\n String n=in.nextLine();\n char ch=n.charAt(n.length()-1);\n if(ch=='3'){\n System.out.println(\"bon\");\n }else if(ch=='0' || ch=='1' || ch=='6' || ch=='8'){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n \n \n \n}",
"Main",
"static FastReader in;",
"in",
"static StringBuilder out;",
"out",
"public static void main(String[] args) {\n out = new StringBuilder();\n in = new FastReader();\n String n=in.nextLine();\n char ch=n.charAt(n.length()-1);\n if(ch=='3'){\n System.out.println(\"bon\");\n }else if(ch=='0' || ch=='1' || ch=='6' || ch=='8'){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }",
"main",
"{\n out = new StringBuilder();\n in = new FastReader();\n String n=in.nextLine();\n char ch=n.charAt(n.length()-1);\n if(ch=='3'){\n System.out.println(\"bon\");\n }else if(ch=='0' || ch=='1' || ch=='6' || ch=='8'){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }",
"out = new StringBuilder()",
"out",
"new StringBuilder()",
"in = new FastReader()",
"in",
"new FastReader()",
"String n=in.nextLine();",
"n",
"in.nextLine()",
"in.nextLine",
"in",
"char ch=n.charAt(n.length()-1);",
"ch",
"n.charAt(n.length()-1)",
"n.charAt",
"n",
"n.length()-1",
"n.length()",
"n.length",
"n",
"1",
"if(ch=='3'){\n System.out.println(\"bon\");\n }else if(ch=='0' || ch=='1' || ch=='6' || ch=='8'){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }",
"ch=='3'",
"ch",
"'3'",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(ch=='0' || ch=='1' || ch=='6' || ch=='8'){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\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\"",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"String[] args",
"args",
"static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"FastReader",
"{\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() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"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",
"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",
"double nextDouble() {\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",
"String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = 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 str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.lang.reflect.Array;
import java.util.*;
class Main {
static FastReader in;
static StringBuilder out;
public static void main(String[] args) {
out = new StringBuilder();
in = new FastReader();
String n=in.nextLine();
char ch=n.charAt(n.length()-1);
if(ch=='3'){
System.out.println("bon");
}else if(ch=='0' || ch=='1' || ch=='6' || ch=='8'){
System.out.println("pon");
}else{
System.out.println("hon");
}
}
static class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
13,
13,
23,
13,
12,
13,
30,
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
],
[
107,
5
],
[
107,
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
],
[
19,
21
],
[
6,
22
],
[
22,
23
],
[
107,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
32,
36
],
[
26,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
26,
43
],
[
43,
44
],
[
47,
45
],
[
57,
46
],
[
54,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
54,
54
],
[
54,
55
],
[
54,
56
],
[
57,
57
],
[
57,
58
],
[
57,
59
],
[
47,
60
],
[
60,
61
],
[
60,
62
],
[
43,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
26,
70
],
[
70,
71
],
[
73,
72
],
[
80,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
80,
80
],
[
80,
81
],
[
80,
82
],
[
73,
83
],
[
83,
84
],
[
83,
85
],
[
70,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
26,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
24,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\ttry(Scanner input = new Scanner(System.in)){\n\t\t\tString testCase = input.nextLine();\n\t\t\tsolution(testCase);\n\t\t}\n\t}\n\tpublic static void solution(String str){\n\t\tString onesDigit = str.substring(str.length()-1);\n\t\tint x = Integer.parseInt(onesDigit);\n\t\tif (x==2||x==4||x==5||x==7||x==9){\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif (x==0||x==1||x==6||x==8){\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif (x==3){\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\ttry(Scanner input = new Scanner(System.in)){\n\t\t\tString testCase = input.nextLine();\n\t\t\tsolution(testCase);\n\t\t}\n\t}\n\tpublic static void solution(String str){\n\t\tString onesDigit = str.substring(str.length()-1);\n\t\tint x = Integer.parseInt(onesDigit);\n\t\tif (x==2||x==4||x==5||x==7||x==9){\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif (x==0||x==1||x==6||x==8){\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif (x==3){\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\ttry(Scanner input = new Scanner(System.in)){\n\t\t\tString testCase = input.nextLine();\n\t\t\tsolution(testCase);\n\t\t}\n\t}",
"main",
"{\n\t\ttry(Scanner input = new Scanner(System.in)){\n\t\t\tString testCase = input.nextLine();\n\t\t\tsolution(testCase);\n\t\t}\n\t}",
"try(Scanner input = new Scanner(System.in)){\n\t\t\tString testCase = input.nextLine();\n\t\t\tsolution(testCase);\n\t\t}",
"{\n\t\t\tString testCase = input.nextLine();\n\t\t\tsolution(testCase);\n\t\t}",
"Scanner input = new Scanner(System.in)",
"Scanner input = new Scanner(System.in)",
"new Scanner(System.in)",
"String testCase = input.nextLine();",
"testCase",
"input.nextLine()",
"input.nextLine",
"input",
"solution(testCase)",
"solution",
"testCase",
"String[] args",
"args",
"public static void solution(String str){\n\t\tString onesDigit = str.substring(str.length()-1);\n\t\tint x = Integer.parseInt(onesDigit);\n\t\tif (x==2||x==4||x==5||x==7||x==9){\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif (x==0||x==1||x==6||x==8){\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif (x==3){\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t}",
"solution",
"{\n\t\tString onesDigit = str.substring(str.length()-1);\n\t\tint x = Integer.parseInt(onesDigit);\n\t\tif (x==2||x==4||x==5||x==7||x==9){\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif (x==0||x==1||x==6||x==8){\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif (x==3){\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t}",
"String onesDigit = str.substring(str.length()-1);",
"onesDigit",
"str.substring(str.length()-1)",
"str.substring",
"str",
"str.length()-1",
"str.length()",
"str.length",
"str",
"1",
"int x = Integer.parseInt(onesDigit);",
"x",
"Integer.parseInt(onesDigit)",
"Integer.parseInt",
"Integer",
"onesDigit",
"if (x==2||x==4||x==5||x==7||x==9){\n\t\t\tSystem.out.println(\"hon\");\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}",
"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\"",
"if (x==3){\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"x==3",
"x",
"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 str",
"str",
"public class Main {\n\tpublic static void main(String[] args){\n\t\ttry(Scanner input = new Scanner(System.in)){\n\t\t\tString testCase = input.nextLine();\n\t\t\tsolution(testCase);\n\t\t}\n\t}\n\tpublic static void solution(String str){\n\t\tString onesDigit = str.substring(str.length()-1);\n\t\tint x = Integer.parseInt(onesDigit);\n\t\tif (x==2||x==4||x==5||x==7||x==9){\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif (x==0||x==1||x==6||x==8){\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif (x==3){\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\ttry(Scanner input = new Scanner(System.in)){\n\t\t\tString testCase = input.nextLine();\n\t\t\tsolution(testCase);\n\t\t}\n\t}\n\tpublic static void solution(String str){\n\t\tString onesDigit = str.substring(str.length()-1);\n\t\tint x = Integer.parseInt(onesDigit);\n\t\tif (x==2||x==4||x==5||x==7||x==9){\n\t\t\tSystem.out.println(\"hon\");\n\t\t}\n\t\tif (x==0||x==1||x==6||x==8){\n\t\t\tSystem.out.println(\"pon\");\n\t\t}\n\t\tif (x==3){\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){
try(Scanner input = new Scanner(System.in)){
String testCase = input.nextLine();
solution(testCase);
}
}
public static void solution(String str){
String onesDigit = str.substring(str.length()-1);
int x = Integer.parseInt(onesDigit);
if (x==2||x==4||x==5||x==7||x==9){
System.out.println("hon");
}
if (x==0||x==1||x==6||x==8){
System.out.println("pon");
}
if (x==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,
4,
18,
13,
13,
41,
13,
17,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
30,
0,
13,
17,
14,
2,
4,
18,
4,
18,
13,
13,
17,
30,
0,
13,
13,
14,
2,
4,
18,
4,
18,
13,
13,
17,
30,
0,
13,
2,
13,
13,
30,
0,
13,
2,
13,
13,
0,
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
],
[
148,
5
],
[
148,
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
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
52,
59
],
[
51,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
51,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
65,
72
],
[
64,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
64,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
79,
85
],
[
85,
86
],
[
85,
87
],
[
8,
88
],
[
88,
89
],
[
92,
90
],
[
102,
91
],
[
99,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
96,
98
],
[
99,
99
],
[
99,
100
],
[
99,
101
],
[
102,
102
],
[
102,
103
],
[
102,
104
],
[
92,
105
],
[
105,
106
],
[
105,
107
],
[
88,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
88,
115
],
[
115,
116
],
[
118,
117
],
[
125,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
118,
122
],
[
122,
123
],
[
122,
124
],
[
125,
125
],
[
125,
126
],
[
125,
127
],
[
118,
128
],
[
128,
129
],
[
128,
130
],
[
115,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
132,
137
],
[
115,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
139,
144
],
[
6,
145
],
[
145,
146
],
[
0,
147
],
[
147,
148
],
[
147,
149
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint num = String.valueOf(n).length();\n\t\tint waru = 1;\n\t\tint ans = 0;\n\n\t\tif(num == 1) {\n\t\t\twaru = 1;\n\t\t}else if(num == 2) {\n\t\t\twaru = 10;\n\t\t}else {\n\t\t\twaru = 100;\n\t\t}\n\n\t\tif(String.valueOf(n).length() == 1) {\n\t\t\tans = n;\n\t\t}else if(String.valueOf(n).length() == 2){\n\t\t\tans = n % waru;\n\t\t}else {\n\t\t\tans = n % waru;\n\t\t\tans %= 10;\n\t\t}\n\n\t\tif(ans == 2 || ans == 4 || ans == 5 || ans == 7 || ans == 9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}else if(ans == 0 || ans == 1 || ans == 6 || ans == 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}",
"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\n\t\tint n = scan.nextInt();\n\t\tint num = String.valueOf(n).length();\n\t\tint waru = 1;\n\t\tint ans = 0;\n\n\t\tif(num == 1) {\n\t\t\twaru = 1;\n\t\t}else if(num == 2) {\n\t\t\twaru = 10;\n\t\t}else {\n\t\t\twaru = 100;\n\t\t}\n\n\t\tif(String.valueOf(n).length() == 1) {\n\t\t\tans = n;\n\t\t}else if(String.valueOf(n).length() == 2){\n\t\t\tans = n % waru;\n\t\t}else {\n\t\t\tans = n % waru;\n\t\t\tans %= 10;\n\t\t}\n\n\t\tif(ans == 2 || ans == 4 || ans == 5 || ans == 7 || ans == 9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}else if(ans == 0 || ans == 1 || ans == 6 || ans == 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}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint num = String.valueOf(n).length();\n\t\tint waru = 1;\n\t\tint ans = 0;\n\n\t\tif(num == 1) {\n\t\t\twaru = 1;\n\t\t}else if(num == 2) {\n\t\t\twaru = 10;\n\t\t}else {\n\t\t\twaru = 100;\n\t\t}\n\n\t\tif(String.valueOf(n).length() == 1) {\n\t\t\tans = n;\n\t\t}else if(String.valueOf(n).length() == 2){\n\t\t\tans = n % waru;\n\t\t}else {\n\t\t\tans = n % waru;\n\t\t\tans %= 10;\n\t\t}\n\n\t\tif(ans == 2 || ans == 4 || ans == 5 || ans == 7 || ans == 9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}else if(ans == 0 || ans == 1 || ans == 6 || ans == 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\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint num = String.valueOf(n).length();\n\t\tint waru = 1;\n\t\tint ans = 0;\n\n\t\tif(num == 1) {\n\t\t\twaru = 1;\n\t\t}else if(num == 2) {\n\t\t\twaru = 10;\n\t\t}else {\n\t\t\twaru = 100;\n\t\t}\n\n\t\tif(String.valueOf(n).length() == 1) {\n\t\t\tans = n;\n\t\t}else if(String.valueOf(n).length() == 2){\n\t\t\tans = n % waru;\n\t\t}else {\n\t\t\tans = n % waru;\n\t\t\tans %= 10;\n\t\t}\n\n\t\tif(ans == 2 || ans == 4 || ans == 5 || ans == 7 || ans == 9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}else if(ans == 0 || ans == 1 || ans == 6 || ans == 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 scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int num = String.valueOf(n).length();",
"num",
"String.valueOf(n).length()",
"String.valueOf(n).length",
"String.valueOf(n)",
"String.valueOf",
"String",
"n",
"int waru = 1;",
"waru",
"1",
"int ans = 0;",
"ans",
"0",
"if(num == 1) {\n\t\t\twaru = 1;\n\t\t}else if(num == 2) {\n\t\t\twaru = 10;\n\t\t}else {\n\t\t\twaru = 100;\n\t\t}",
"num == 1",
"num",
"1",
"{\n\t\t\twaru = 1;\n\t\t}",
"waru = 1",
"waru",
"1",
"if(num == 2) {\n\t\t\twaru = 10;\n\t\t}else {\n\t\t\twaru = 100;\n\t\t}",
"num == 2",
"num",
"2",
"{\n\t\t\twaru = 10;\n\t\t}",
"waru = 10",
"waru",
"10",
"{\n\t\t\twaru = 100;\n\t\t}",
"waru = 100",
"waru",
"100",
"if(String.valueOf(n).length() == 1) {\n\t\t\tans = n;\n\t\t}else if(String.valueOf(n).length() == 2){\n\t\t\tans = n % waru;\n\t\t}else {\n\t\t\tans = n % waru;\n\t\t\tans %= 10;\n\t\t}",
"String.valueOf(n).length() == 1",
"String.valueOf(n).length()",
"String.valueOf(n).length",
"String.valueOf(n)",
"String.valueOf",
"String",
"n",
"1",
"{\n\t\t\tans = n;\n\t\t}",
"ans = n",
"ans",
"n",
"if(String.valueOf(n).length() == 2){\n\t\t\tans = n % waru;\n\t\t}else {\n\t\t\tans = n % waru;\n\t\t\tans %= 10;\n\t\t}",
"String.valueOf(n).length() == 2",
"String.valueOf(n).length()",
"String.valueOf(n).length",
"String.valueOf(n)",
"String.valueOf",
"String",
"n",
"2",
"{\n\t\t\tans = n % waru;\n\t\t}",
"ans = n % waru",
"ans",
"n % waru",
"n",
"waru",
"{\n\t\t\tans = n % waru;\n\t\t\tans %= 10;\n\t\t}",
"ans = n % waru",
"ans",
"n % waru",
"n",
"waru",
"ans %= 10",
"ans",
"10",
"if(ans == 2 || ans == 4 || ans == 5 || ans == 7 || ans == 9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}else if(ans == 0 || ans == 1 || ans == 6 || ans == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"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\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(ans == 0 || ans == 1 || ans == 6 || ans == 8) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"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\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\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint num = String.valueOf(n).length();\n\t\tint waru = 1;\n\t\tint ans = 0;\n\n\t\tif(num == 1) {\n\t\t\twaru = 1;\n\t\t}else if(num == 2) {\n\t\t\twaru = 10;\n\t\t}else {\n\t\t\twaru = 100;\n\t\t}\n\n\t\tif(String.valueOf(n).length() == 1) {\n\t\t\tans = n;\n\t\t}else if(String.valueOf(n).length() == 2){\n\t\t\tans = n % waru;\n\t\t}else {\n\t\t\tans = n % waru;\n\t\t\tans %= 10;\n\t\t}\n\n\t\tif(ans == 2 || ans == 4 || ans == 5 || ans == 7 || ans == 9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}else if(ans == 0 || ans == 1 || ans == 6 || ans == 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}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint num = String.valueOf(n).length();\n\t\tint waru = 1;\n\t\tint ans = 0;\n\n\t\tif(num == 1) {\n\t\t\twaru = 1;\n\t\t}else if(num == 2) {\n\t\t\twaru = 10;\n\t\t}else {\n\t\t\twaru = 100;\n\t\t}\n\n\t\tif(String.valueOf(n).length() == 1) {\n\t\t\tans = n;\n\t\t}else if(String.valueOf(n).length() == 2){\n\t\t\tans = n % waru;\n\t\t}else {\n\t\t\tans = n % waru;\n\t\t\tans %= 10;\n\t\t}\n\n\t\tif(ans == 2 || ans == 4 || ans == 5 || ans == 7 || ans == 9) {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}else if(ans == 0 || ans == 1 || ans == 6 || ans == 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}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int num = String.valueOf(n).length();
int waru = 1;
int ans = 0;
if(num == 1) {
waru = 1;
}else if(num == 2) {
waru = 10;
}else {
waru = 100;
}
if(String.valueOf(n).length() == 1) {
ans = n;
}else if(String.valueOf(n).length() == 2){
ans = n % waru;
}else {
ans = n % waru;
ans %= 10;
}
if(ans == 2 || ans == 4 || ans == 5 || ans == 7 || ans == 9) {
System.out.println("hon");
}else if(ans == 0 || ans == 1 || ans == 6 || ans == 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,
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,
4,
18,
13,
12,
13,
30,
4,
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
],
[
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
],
[
37,
35
],
[
47,
36
],
[
44,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
44,
44
],
[
44,
45
],
[
44,
46
],
[
47,
47
],
[
47,
48
],
[
47,
49
],
[
37,
50
],
[
50,
51
],
[
50,
52
],
[
33,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
33,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
78,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
70,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
] |
[
"import java.util.*;\npublic class Main {\n\n\t\tstatic void solve() {\n\t\t\tScanner sc = new Scanner (System.in);\n\t\t\tint n = sc.nextInt();\n\t\t\tint mod = n%10;\n\t\t\tif(mod==3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t\telse if(mod==2||mod==4||mod==5||mod==7||mod==9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tsc.close();\n\t\t}\n\tpublic static void main(String[] args) {\n\t\tsolve();\n\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\t\tstatic void solve() {\n\t\t\tScanner sc = new Scanner (System.in);\n\t\t\tint n = sc.nextInt();\n\t\t\tint mod = n%10;\n\t\t\tif(mod==3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t\telse if(mod==2||mod==4||mod==5||mod==7||mod==9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tsc.close();\n\t\t}\n\tpublic static void main(String[] args) {\n\t\tsolve();\n\n\t}\n\n}",
"Main",
"static void solve() {\n\t\t\tScanner sc = new Scanner (System.in);\n\t\t\tint n = sc.nextInt();\n\t\t\tint mod = n%10;\n\t\t\tif(mod==3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t\telse if(mod==2||mod==4||mod==5||mod==7||mod==9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tsc.close();\n\t\t}",
"solve",
"{\n\t\t\tScanner sc = new Scanner (System.in);\n\t\t\tint n = sc.nextInt();\n\t\t\tint mod = n%10;\n\t\t\tif(mod==3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t\telse if(mod==2||mod==4||mod==5||mod==7||mod==9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tsc.close();\n\t\t}",
"Scanner sc = new Scanner (System.in);",
"sc",
"new Scanner (System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int mod = n%10;",
"mod",
"n%10",
"n",
"10",
"if(mod==3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t\telse if(mod==2||mod==4||mod==5||mod==7||mod==9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}",
"mod==3",
"mod",
"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(mod==2||mod==4||mod==5||mod==7||mod==9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}",
"mod==2||mod==4||mod==5||mod==7||mod==9",
"mod==7",
"mod==5",
"mod==2||mod==4||mod==5||mod==7||mod==9",
"mod==2",
"mod",
"2",
"mod==4",
"mod",
"4",
"mod==5",
"mod",
"5",
"mod==7",
"mod",
"7",
"mod==9",
"mod",
"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\"",
"{\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\"",
"sc.close()",
"sc.close",
"sc",
"public static void main(String[] args) {\n\t\tsolve();\n\n\t}",
"main",
"{\n\t\tsolve();\n\n\t}",
"solve()",
"solve",
"String[] args",
"args",
"public class Main {\n\n\t\tstatic void solve() {\n\t\t\tScanner sc = new Scanner (System.in);\n\t\t\tint n = sc.nextInt();\n\t\t\tint mod = n%10;\n\t\t\tif(mod==3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t\telse if(mod==2||mod==4||mod==5||mod==7||mod==9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tsc.close();\n\t\t}\n\tpublic static void main(String[] args) {\n\t\tsolve();\n\n\t}\n\n}",
"public class Main {\n\n\t\tstatic void solve() {\n\t\t\tScanner sc = new Scanner (System.in);\n\t\t\tint n = sc.nextInt();\n\t\t\tint mod = n%10;\n\t\t\tif(mod==3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}\n\t\t\telse if(mod==2||mod==4||mod==5||mod==7||mod==9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}\n\t\t\tsc.close();\n\t\t}\n\tpublic static void main(String[] args) {\n\t\tsolve();\n\n\t}\n\n}",
"Main"
] |
import java.util.*;
public class Main {
static void solve() {
Scanner sc = new Scanner (System.in);
int n = sc.nextInt();
int mod = n%10;
if(mod==3) {
System.out.println("bon");
}
else if(mod==2||mod==4||mod==5||mod==7||mod==9) {
System.out.println("hon");
}
else {
System.out.println("pon");
}
sc.close();
}
public static void main(String[] args) {
solve();
}
}
|
[
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,
4,
18,
13,
2,
4,
18,
13,
17,
41,
13,
17,
35,
13,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
75,
11
],
[
75,
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
],
[
25,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
28,
32
],
[
14,
33
],
[
33,
34
],
[
33,
35
],
[
14,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
36,
45
],
[
45,
46
],
[
45,
47
],
[
36,
48
],
[
48,
49
],
[
48,
50
],
[
36,
51
],
[
51,
52
],
[
51,
53
],
[
36,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
36,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
14,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
12,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] |
[
"import java.util.Scanner;\nimport java.util.Arrays;\nimport java.util.List;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t String input = sc.nextLine();\n\t\tString ichi = input.substring(input.length() - 1);\n\t\tString result = \"\";\n\t\tswitch (ichi) {\n\t\t\tcase \"3\":\n\t\t\t\tresult = \"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\tresult = \"pon\";\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tresult = \"hon\";\n\t\t}\n\t System.out.println(result);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.List;",
"List",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t String input = sc.nextLine();\n\t\tString ichi = input.substring(input.length() - 1);\n\t\tString result = \"\";\n\t\tswitch (ichi) {\n\t\t\tcase \"3\":\n\t\t\t\tresult = \"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\tresult = \"pon\";\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tresult = \"hon\";\n\t\t}\n\t System.out.println(result);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t String input = sc.nextLine();\n\t\tString ichi = input.substring(input.length() - 1);\n\t\tString result = \"\";\n\t\tswitch (ichi) {\n\t\t\tcase \"3\":\n\t\t\t\tresult = \"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\tresult = \"pon\";\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tresult = \"hon\";\n\t\t}\n\t System.out.println(result);\n\t}",
"main",
"{\n\t Scanner sc = new Scanner(System.in);\n\t String input = sc.nextLine();\n\t\tString ichi = input.substring(input.length() - 1);\n\t\tString result = \"\";\n\t\tswitch (ichi) {\n\t\t\tcase \"3\":\n\t\t\t\tresult = \"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\tresult = \"pon\";\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tresult = \"hon\";\n\t\t}\n\t System.out.println(result);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String input = sc.nextLine();",
"input",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String ichi = input.substring(input.length() - 1);",
"ichi",
"input.substring(input.length() - 1)",
"input.substring",
"input",
"input.length() - 1",
"input.length()",
"input.length",
"input",
"1",
"String result = \"\";",
"result",
"\"\"",
"switch (ichi) {\n\t\t\tcase \"3\":\n\t\t\t\tresult = \"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\tresult = \"pon\";\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tresult = \"hon\";\n\t\t}",
"ichi",
"case \"3\":",
"\"3\"",
"case \"3\":",
"result = \"bon\"",
"result",
"\"bon\"",
"break;",
"case \"0\":",
"\"0\"",
"case \"0\":",
"case \"1\":",
"\"1\"",
"case \"1\":",
"case \"6\":",
"\"6\"",
"case \"6\":",
"case \"8\":",
"\"8\"",
"case \"8\":",
"result = \"pon\"",
"result",
"\"pon\"",
"break;",
"default:",
"default:",
"result = \"hon\"",
"result",
"\"hon\"",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t String input = sc.nextLine();\n\t\tString ichi = input.substring(input.length() - 1);\n\t\tString result = \"\";\n\t\tswitch (ichi) {\n\t\t\tcase \"3\":\n\t\t\t\tresult = \"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\tresult = \"pon\";\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tresult = \"hon\";\n\t\t}\n\t System.out.println(result);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t String input = sc.nextLine();\n\t\tString ichi = input.substring(input.length() - 1);\n\t\tString result = \"\";\n\t\tswitch (ichi) {\n\t\t\tcase \"3\":\n\t\t\t\tresult = \"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\tresult = \"pon\";\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tresult = \"hon\";\n\t\t}\n\t System.out.println(result);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
import java.util.Arrays;
import java.util.List;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String input = sc.nextLine();
String ichi = input.substring(input.length() - 1);
String result = "";
switch (ichi) {
case "3":
result = "bon";
break;
case "0":
case "1":
case "6":
case "8":
result = "pon";
break;
default:
result = "hon";
}
System.out.println(result);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
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
],
[
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
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
22,
33
],
[
33,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
35,
42
],
[
42,
43
],
[
42,
44
],
[
33,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
33,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
6,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] |
[
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n n = n % 10;\n if(n == 3){\n System.out.println(\"bon\");\n }else if(n < 2 || n == 6 || n == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n sc.close();\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 n = n % 10;\n if(n == 3){\n System.out.println(\"bon\");\n }else if(n < 2 || n == 6 || n == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n n = n % 10;\n if(n == 3){\n System.out.println(\"bon\");\n }else if(n < 2 || n == 6 || n == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n n = n % 10;\n if(n == 3){\n System.out.println(\"bon\");\n }else if(n < 2 || n == 6 || n == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\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",
"n = n % 10",
"n",
"n % 10",
"n",
"10",
"if(n == 3){\n System.out.println(\"bon\");\n }else if(n < 2 || n == 6 || n == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }",
"n == 3",
"n",
"3",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(n < 2 || n == 6 || n == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }",
"n < 2 || n == 6 || n == 8",
"n < 2 || n == 6 || n == 8",
"n < 2",
"n",
"2",
"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(\"hon\");\n }",
"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 public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n n = n % 10;\n if(n == 3){\n System.out.println(\"bon\");\n }else if(n < 2 || n == 6 || n == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n sc.close();\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 = n % 10;\n if(n == 3){\n System.out.println(\"bon\");\n }else if(n < 2 || n == 6 || n == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n sc.close();\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 % 10;
if(n == 3){
System.out.println("bon");
}else if(n < 2 || n == 6 || n == 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,
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
],
[
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
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
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 Scanner scanner = new Scanner(System.in);\n Integer number = scanner.nextInt();\n\n if (number >= 10) {\n number = number % 10;\n }\n\n if (number == 2 | number == 4 | number == 5 | number == 7 | number == 9) {\n System.out.println(\"hon\");\n } else if (number == 0 | number == 1 | number == 6 | number ==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 scanner = new Scanner(System.in);\n Integer number = scanner.nextInt();\n\n if (number >= 10) {\n number = number % 10;\n }\n\n if (number == 2 | number == 4 | number == 5 | number == 7 | number == 9) {\n System.out.println(\"hon\");\n } else if (number == 0 | number == 1 | number == 6 | number ==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 scanner = new Scanner(System.in);\n Integer number = scanner.nextInt();\n\n if (number >= 10) {\n number = number % 10;\n }\n\n if (number == 2 | number == 4 | number == 5 | number == 7 | number == 9) {\n System.out.println(\"hon\");\n } else if (number == 0 | number == 1 | number == 6 | number ==8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"bon\");\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n Integer number = scanner.nextInt();\n\n if (number >= 10) {\n number = number % 10;\n }\n\n if (number == 2 | number == 4 | number == 5 | number == 7 | number == 9) {\n System.out.println(\"hon\");\n } else if (number == 0 | number == 1 | number == 6 | number ==8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"bon\");\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"Integer number = scanner.nextInt();",
"number",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (number >= 10) {\n number = number % 10;\n }",
"number >= 10",
"number",
"10",
"{\n number = number % 10;\n }",
"number = number % 10",
"number",
"number % 10",
"number",
"10",
"if (number == 2 | number == 4 | number == 5 | number == 7 | number == 9) {\n System.out.println(\"hon\");\n } else if (number == 0 | number == 1 | number == 6 | number ==8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"bon\");\n }",
"number == 2 | number == 4 | number == 5 | number == 7 | number == 9",
"number == 7",
"number == 5",
"number == 2 | number == 4 | number == 5 | number == 7 | number == 9",
"number == 2",
"number",
"2",
"number == 4",
"number",
"4",
"number == 5",
"number",
"5",
"number == 7",
"number",
"7",
"number == 9",
"number",
"9",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if (number == 0 | number == 1 | number == 6 | number ==8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"bon\");\n }",
"number == 0 | number == 1 | number == 6 | number ==8",
"number == 6",
"number == 0 | number == 1 | number == 6 | number ==8",
"number == 0",
"number",
"0",
"number == 1",
"number",
"1",
"number == 6",
"number",
"6",
"number ==8",
"number",
"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 scanner = new Scanner(System.in);\n Integer number = scanner.nextInt();\n\n if (number >= 10) {\n number = number % 10;\n }\n\n if (number == 2 | number == 4 | number == 5 | number == 7 | number == 9) {\n System.out.println(\"hon\");\n } else if (number == 0 | number == 1 | number == 6 | number ==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 scanner = new Scanner(System.in);\n Integer number = scanner.nextInt();\n\n if (number >= 10) {\n number = number % 10;\n }\n\n if (number == 2 | number == 4 | number == 5 | number == 7 | number == 9) {\n System.out.println(\"hon\");\n } else if (number == 0 | number == 1 | number == 6 | number ==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 scanner = new Scanner(System.in);
Integer number = scanner.nextInt();
if (number >= 10) {
number = number % 10;
}
if (number == 2 | number == 4 | number == 5 | number == 7 | number == 9) {
System.out.println("hon");
} else if (number == 0 | number == 1 | number == 6 | number ==8) {
System.out.println("pon");
} else {
System.out.println("bon");
}
}
}
|
[
7,
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,
0,
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,
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,
23,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
4,
13,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
13,
13,
30,
0,
13,
2,
13,
13,
30,
0,
13,
2,
13,
13,
29,
2,
13,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
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,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
227,
8
],
[
227,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
14,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
31,
35
],
[
31,
36
],
[
11,
37
],
[
37,
38
],
[
38,
39
],
[
9,
40
],
[
40,
41
],
[
227,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
46,
52
],
[
52,
53
],
[
52,
54
],
[
46,
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
],
[
76,
79
],
[
55,
80
],
[
80,
81
],
[
83,
82
],
[
90,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
87,
89
],
[
90,
90
],
[
90,
91
],
[
90,
92
],
[
83,
93
],
[
93,
94
],
[
93,
95
],
[
80,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
80,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
44,
106
],
[
106,
107
],
[
44,
108
],
[
108,
109
],
[
44,
110
],
[
110,
111
],
[
42,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
119,
121
],
[
119,
122
],
[
116,
123
],
[
112,
124
],
[
124,
125
],
[
112,
126
],
[
126,
127
],
[
42,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
132,
136
],
[
136,
137
],
[
136,
138
],
[
131,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
140,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
147,
149
],
[
140,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
153,
155
],
[
130,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
128,
160
],
[
160,
161
],
[
128,
162
],
[
162,
163
],
[
227,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
164,
168
],
[
168,
169
],
[
164,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
172,
176
],
[
176,
177
],
[
176,
178
],
[
170,
179
],
[
179,
180
],
[
164,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
185,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
184,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
198,
199
],
[
194,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
183,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
164,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
212,
215
],
[
215,
216
],
[
164,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
220,
221
],
[
221,
222
],
[
222,
223
],
[
221,
224
],
[
224,
225
],
[
0,
226
],
[
226,
227
],
[
226,
228
]
] |
[
"import java.io.*;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskB {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int t = in.nextInt();\n t %=10;\n if (t==2 ||t==4 ||t==5 ||t==7 || t==9){\n out.println(\"hon\");\n } else if (t==0 ||t==1 ||t==6 ||t==8){\n out.println(\"pon\");\n } else {\n out.println(\"bon\");\n }\n }\n\n private static int naib(int a, int b) {\n return a / (nod(a, b)) * b;\n }\n\n private static int nod(int a, int b) {\n while (a != 0 && b != 0) {\n if (a > b) {\n a = a % b;\n } else {\n b = b % a;\n }\n }\n return a + b;\n }\n }\n\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() {\n return Long.parseLong(next());\n }\n\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskB {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int t = in.nextInt();\n t %=10;\n if (t==2 ||t==4 ||t==5 ||t==7 || t==9){\n out.println(\"hon\");\n } else if (t==0 ||t==1 ||t==6 ||t==8){\n out.println(\"pon\");\n } else {\n out.println(\"bon\");\n }\n }\n\n private static int naib(int a, int b) {\n return a / (nod(a, b)) * b;\n }\n\n private static int nod(int a, int b) {\n while (a != 0 && b != 0) {\n if (a > b) {\n a = a % b;\n } else {\n b = b % a;\n }\n }\n return a + b;\n }\n }\n\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() {\n return Long.parseLong(next());\n }\n\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\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",
"InputReader in = new InputReader(inputStream);",
"in",
"new InputReader(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"TaskB solver = new TaskB();",
"solver",
"new TaskB()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class TaskB {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int t = in.nextInt();\n t %=10;\n if (t==2 ||t==4 ||t==5 ||t==7 || t==9){\n out.println(\"hon\");\n } else if (t==0 ||t==1 ||t==6 ||t==8){\n out.println(\"pon\");\n } else {\n out.println(\"bon\");\n }\n }\n\n private static int naib(int a, int b) {\n return a / (nod(a, b)) * b;\n }\n\n private static int nod(int a, int b) {\n while (a != 0 && b != 0) {\n if (a > b) {\n a = a % b;\n } else {\n b = b % a;\n }\n }\n return a + b;\n }\n }",
"TaskB",
"public void solve(int testNumber, InputReader in, PrintWriter out) {\n int t = in.nextInt();\n t %=10;\n if (t==2 ||t==4 ||t==5 ||t==7 || t==9){\n out.println(\"hon\");\n } else if (t==0 ||t==1 ||t==6 ||t==8){\n out.println(\"pon\");\n } else {\n out.println(\"bon\");\n }\n }",
"solve",
"{\n int t = in.nextInt();\n t %=10;\n if (t==2 ||t==4 ||t==5 ||t==7 || t==9){\n out.println(\"hon\");\n } else if (t==0 ||t==1 ||t==6 ||t==8){\n out.println(\"pon\");\n } else {\n out.println(\"bon\");\n }\n }",
"int t = in.nextInt();",
"t",
"in.nextInt()",
"in.nextInt",
"in",
"t %=10",
"t",
"10",
"if (t==2 ||t==4 ||t==5 ||t==7 || t==9){\n out.println(\"hon\");\n } else if (t==0 ||t==1 ||t==6 ||t==8){\n out.println(\"pon\");\n } else {\n out.println(\"bon\");\n }",
"t==2 ||t==4 ||t==5 ||t==7 || t==9",
"t==7",
"t==5",
"t==2 ||t==4 ||t==5 ||t==7 || t==9",
"t==2",
"t",
"2",
"t==4",
"t",
"4",
"t==5",
"t",
"5",
"t==7",
"t",
"7",
"t==9",
"t",
"9",
"{\n out.println(\"hon\");\n }",
"out.println(\"hon\")",
"out.println",
"out",
"\"hon\"",
"if (t==0 ||t==1 ||t==6 ||t==8){\n out.println(\"pon\");\n } else {\n out.println(\"bon\");\n }",
"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 out.println(\"pon\");\n }",
"out.println(\"pon\")",
"out.println",
"out",
"\"pon\"",
"{\n out.println(\"bon\");\n }",
"out.println(\"bon\")",
"out.println",
"out",
"\"bon\"",
"int testNumber",
"testNumber",
"InputReader in",
"in",
"PrintWriter out",
"out",
"private static int naib(int a, int b) {\n return a / (nod(a, b)) * b;\n }",
"naib",
"{\n return a / (nod(a, b)) * b;\n }",
"return a / (nod(a, b)) * b;",
"a / (nod(a, b)) * b",
"a / (nod(a, b))",
"a",
"(nod(a, b))",
"nod",
"a",
"b",
"b",
"int a",
"a",
"int b",
"b",
"private static int nod(int a, int b) {\n while (a != 0 && b != 0) {\n if (a > b) {\n a = a % b;\n } else {\n b = b % a;\n }\n }\n return a + b;\n }",
"nod",
"{\n while (a != 0 && b != 0) {\n if (a > b) {\n a = a % b;\n } else {\n b = b % a;\n }\n }\n return a + b;\n }",
"while (a != 0 && b != 0) {\n if (a > b) {\n a = a % b;\n } else {\n b = b % a;\n }\n }",
"a != 0 && b != 0",
"a != 0",
"a",
"0",
"b != 0",
"b",
"0",
"{\n if (a > b) {\n a = a % b;\n } else {\n b = b % a;\n }\n }",
"if (a > b) {\n a = a % b;\n } else {\n b = b % a;\n }",
"a > b",
"a",
"b",
"{\n a = a % b;\n }",
"a = a % b",
"a",
"a % b",
"a",
"b",
"{\n b = b % a;\n }",
"b = b % a",
"b",
"b % a",
"b",
"a",
"return a + b;",
"a + b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() {\n return Long.parseLong(next());\n }\n\n }",
"InputReader",
"public BufferedReader reader;",
"reader",
"public StringTokenizer tokenizer;",
"tokenizer",
"public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }",
"InputReader",
"{\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }",
"reader = new BufferedReader(new InputStreamReader(stream), 32768)",
"reader",
"new BufferedReader(new InputStreamReader(stream), 32768)",
"tokenizer = null",
"tokenizer",
"null",
"InputStream stream",
"stream",
"public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"next",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(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 RuntimeException(e);\n }\n }",
"try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }",
"catch (IOException e) {\n throw new RuntimeException(e);\n }",
"IOException e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(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 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",
"public 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) throws IOException {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskB {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int t = in.nextInt();\n t %=10;\n if (t==2 ||t==4 ||t==5 ||t==7 || t==9){\n out.println(\"hon\");\n } else if (t==0 ||t==1 ||t==6 ||t==8){\n out.println(\"pon\");\n } else {\n out.println(\"bon\");\n }\n }\n\n private static int naib(int a, int b) {\n return a / (nod(a, b)) * b;\n }\n\n private static int nod(int a, int b) {\n while (a != 0 && b != 0) {\n if (a > b) {\n a = a % b;\n } else {\n b = b % a;\n }\n }\n return a + b;\n }\n }\n\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() {\n return Long.parseLong(next());\n }\n\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskB {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int t = in.nextInt();\n t %=10;\n if (t==2 ||t==4 ||t==5 ||t==7 || t==9){\n out.println(\"hon\");\n } else if (t==0 ||t==1 ||t==6 ||t==8){\n out.println(\"pon\");\n } else {\n out.println(\"bon\");\n }\n }\n\n private static int naib(int a, int b) {\n return a / (nod(a, b)) * b;\n }\n\n private static int nod(int a, int b) {\n while (a != 0 && b != 0) {\n if (a > b) {\n a = a % b;\n } else {\n b = b % a;\n }\n }\n return a + b;\n }\n }\n\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() {\n return Long.parseLong(next());\n }\n\n }\n}",
"Main"
] |
import java.io.*;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
TaskB solver = new TaskB();
solver.solve(1, in, out);
out.close();
}
static class TaskB {
public void solve(int testNumber, InputReader in, PrintWriter out) {
int t = in.nextInt();
t %=10;
if (t==2 ||t==4 ||t==5 ||t==7 || t==9){
out.println("hon");
} else if (t==0 ||t==1 ||t==6 ||t==8){
out.println("pon");
} else {
out.println("bon");
}
}
private static int naib(int a, int b) {
return a / (nod(a, b)) * b;
}
private static int nod(int a, int b) {
while (a != 0 && b != 0) {
if (a > b) {
a = a % b;
} else {
b = b % a;
}
}
return a + b;
}
}
static class InputReader {
public BufferedReader reader;
public StringTokenizer tokenizer;
public InputReader(InputStream stream) {
reader = new BufferedReader(new InputStreamReader(stream), 32768);
tokenizer = null;
}
public String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public int nextInt() {
return Integer.parseInt(next());
}
public 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,
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
],
[
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
],
[
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
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] |
[
"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 n = sc.next();\n\n char x = n.charAt(n.length() - 1);\n if (x == '3') {\n System.out.println(\"bon\");\n } else if (x == '0' || x == '1' || x == '6' || x == '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 sc = new Scanner(System.in);\n\n String n = sc.next();\n\n char x = n.charAt(n.length() - 1);\n if (x == '3') {\n System.out.println(\"bon\");\n } else if (x == '0' || x == '1' || x == '6' || x == '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 sc = new Scanner(System.in);\n\n String n = sc.next();\n\n char x = n.charAt(n.length() - 1);\n if (x == '3') {\n System.out.println(\"bon\");\n } else if (x == '0' || x == '1' || x == '6' || x == '8') {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n String n = sc.next();\n\n char x = n.charAt(n.length() - 1);\n if (x == '3') {\n System.out.println(\"bon\");\n } else if (x == '0' || x == '1' || x == '6' || x == '8') {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String n = sc.next();",
"n",
"sc.next()",
"sc.next",
"sc",
"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 == '3') {\n System.out.println(\"bon\");\n } else if (x == '0' || x == '1' || x == '6' || x == '8') {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }",
"x == '3'",
"x",
"'3'",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if (x == '0' || x == '1' || x == '6' || x == '8') {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }",
"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 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\n String n = sc.next();\n\n char x = n.charAt(n.length() - 1);\n if (x == '3') {\n System.out.println(\"bon\");\n } else if (x == '0' || x == '1' || x == '6' || x == '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 sc = new Scanner(System.in);\n\n String n = sc.next();\n\n char x = n.charAt(n.length() - 1);\n if (x == '3') {\n System.out.println(\"bon\");\n } else if (x == '0' || x == '1' || x == '6' || x == '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 sc = new Scanner(System.in);
String n = sc.next();
char x = n.charAt(n.length() - 1);
if (x == '3') {
System.out.println("bon");
} else if (x == '0' || x == '1' || x == '6' || x == '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,
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,
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
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
30,
32
],
[
22,
33
],
[
33,
34
],
[
33,
35
],
[
22,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
38,
45
],
[
22,
46
],
[
46,
47
],
[
46,
48
],
[
22,
49
],
[
49,
50
],
[
49,
51
],
[
22,
52
],
[
52,
53
],
[
52,
54
],
[
22,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
57,
64
],
[
22,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
6,
74
],
[
74,
75
]
] |
[
"import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n\n int hitoketa = N % 10;\n\n switch (hitoketa) {\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 }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n\n int hitoketa = N % 10;\n\n switch (hitoketa) {\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 }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n\n int hitoketa = N % 10;\n\n switch (hitoketa) {\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 }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n\n int hitoketa = N % 10;\n\n switch (hitoketa) {\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 }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int hitoketa = N % 10;",
"hitoketa",
"N % 10",
"N",
"10",
"switch (hitoketa) {\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 }",
"hitoketa",
"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\"",
"String[] args",
"args"
] |
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int hitoketa = N % 10;
switch (hitoketa) {
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");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
20,
17,
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,
41,
13,
17,
42,
2,
40,
13,
17,
30,
4,
13,
4,
18,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
13,
13,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
13,
13,
2,
13,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
4,
18,
13,
13,
4,
18,
13,
17,
23,
13,
12,
13,
30,
41,
13,
17,
0,
13,
13,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
0,
13,
4,
13,
13,
13,
0,
13,
4,
13,
13,
13,
0,
13,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
20,
29,
4,
18,
13,
13,
23,
13,
12,
13,
30,
0,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
40,
18,
13,
13,
30,
11,
1,
41,
13,
2,
17,
13,
2,
13,
17,
1,
0,
13,
13,
30,
0,
18,
13,
13,
17,
12,
13,
30,
14,
2,
13,
17,
29,
17,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
29,
17,
29,
17,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
2,
13,
17,
14,
2,
13,
17,
4,
18,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
13,
0,
13,
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
],
[
390,
14
],
[
390,
15
],
[
15,
16
],
[
15,
17
],
[
390,
18
],
[
18,
19
],
[
18,
20
],
[
390,
21
],
[
21,
22
],
[
390,
23
],
[
23,
24
],
[
23,
25
],
[
390,
26
],
[
26,
27
],
[
26,
28
],
[
390,
29
],
[
29,
30
],
[
29,
31
],
[
390,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
36,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
46,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
35,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
390,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
67,
68
],
[
390,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
390,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
84,
89
],
[
89,
90
],
[
90,
91
],
[
80,
92
],
[
92,
93
],
[
93,
94
],
[
78,
95
],
[
95,
96
],
[
390,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
102,
108
],
[
101,
109
],
[
97,
110
],
[
110,
111
],
[
97,
112
],
[
112,
113
],
[
390,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
118,
122
],
[
114,
123
],
[
123,
124
],
[
114,
125
],
[
125,
126
],
[
390,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
137
],
[
137,
138
],
[
137,
139
],
[
132,
140
],
[
131,
141
],
[
127,
142
],
[
142,
143
],
[
127,
144
],
[
144,
145
],
[
390,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
151,
154
],
[
150,
155
],
[
155,
156
],
[
156,
157
],
[
155,
158
],
[
146,
159
],
[
159,
160
],
[
390,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
163,
167
],
[
167,
168
],
[
167,
169
],
[
163,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
170,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
176,
180
],
[
175,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
183,
185
],
[
183,
186
],
[
174,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
189,
191
],
[
189,
192
],
[
174,
193
],
[
193,
194
],
[
193,
195
],
[
163,
196
],
[
196,
197
],
[
161,
198
],
[
198,
199
],
[
161,
200
],
[
200,
201
],
[
390,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
204,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
212,
215
],
[
204,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
217,
220
],
[
202,
221
],
[
221,
222
],
[
390,
223
],
[
223,
224
],
[
223,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
226,
230
],
[
225,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
233,
235
],
[
231,
236
],
[
236,
237
],
[
236,
238
],
[
231,
239
],
[
239,
240
],
[
240,
241
],
[
231,
242
],
[
243,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
244,
249
],
[
249,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
254,
255
],
[
254,
256
],
[
250,
257
],
[
257,
258
],
[
257,
259
],
[
250,
260
],
[
260,
261
],
[
261,
262
],
[
261,
263
],
[
250,
264
],
[
264,
265
],
[
265,
266
],
[
266,
267
],
[
266,
268
],
[
265,
269
],
[
390,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
273,
274
],
[
274,
275
],
[
274,
276
],
[
273,
277
],
[
277,
278
],
[
272,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
279,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
284,
288
],
[
279,
289
],
[
289,
290
],
[
290,
291
],
[
279,
292
],
[
293,
293
],
[
293,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
296,
298
],
[
295,
299
],
[
294,
300
],
[
300,
301
],
[
272,
302
],
[
302,
303
],
[
270,
304
],
[
304,
305
],
[
390,
306
],
[
306,
307
],
[
306,
308
],
[
308,
309
],
[
309,
310
],
[
310,
311
],
[
310,
312
],
[
309,
313
],
[
313,
314
],
[
308,
315
],
[
315,
316
],
[
316,
317
],
[
316,
318
],
[
316,
319
],
[
319,
320
],
[
319,
321
],
[
306,
322
],
[
322,
323
],
[
306,
324
],
[
324,
325
],
[
390,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
329,
330
],
[
329,
331
],
[
331,
332
],
[
328,
333
],
[
333,
334
],
[
333,
335
],
[
335,
336
],
[
335,
337
],
[
328,
338
],
[
338,
339
],
[
339,
340
],
[
339,
341
],
[
338,
342
],
[
342,
343
],
[
343,
344
],
[
342,
345
],
[
338,
346
],
[
346,
347
],
[
349,
348
],
[
356,
349
],
[
349,
350
],
[
350,
351
],
[
350,
352
],
[
349,
353
],
[
353,
354
],
[
353,
355
],
[
356,
356
],
[
356,
357
],
[
356,
358
],
[
349,
359
],
[
359,
360
],
[
359,
361
],
[
346,
362
],
[
362,
363
],
[
363,
364
],
[
362,
365
],
[
346,
366
],
[
366,
367
],
[
367,
368
],
[
366,
369
],
[
390,
370
],
[
370,
371
],
[
370,
372
],
[
372,
373
],
[
370,
374
],
[
374,
375
],
[
370,
376
],
[
376,
377
],
[
376,
378
],
[
378,
379
],
[
379,
380
],
[
379,
381
],
[
378,
382
],
[
382,
383
],
[
382,
384
],
[
376,
385
],
[
385,
386
],
[
376,
387
],
[
387,
388
],
[
0,
389
],
[
389,
390
],
[
389,
391
]
] |
[
"import java.math.BigInteger;\nimport java.util.*;\nimport java.io.*;\nimport java.text.*;\n\npublic class Main {\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);\n static PrintWriter out = new PrintWriter(System.out);\n static StringTokenizer t;\n\n static String sn() {\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }\n\n static int ni() {\n return Integer.parseInt(sn());\n }\n\n static long nlo() {\n return Long.parseLong(sn());\n }\n\n public static void main(String args[]) {\n int t = 1;\n while (t-- > 0) {\n solve();\n }\n out.close();\n }\n\n static long mod = (long) 998244353;\n\n static long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }\n\n static long add(long a, long b) {\n return (a + b) % mod;\n }\n\n static long sub(long a, long b) {\n return ((a % mod - b % mod) + mod) % mod;\n }\n\n static int maxn = 1000005;\n\n static int pow(int n) {\n return (int) (Math.log10(n) / Math.log10(2));\n }\n\n static long modpow(long x, long y) {\n long res = 1l;\n x %= mod;\n while (y > 0) {\n if (y % 2 != 0)\n res = pro(res, x);\n x = pro(x, x);\n y /= 2;\n }\n return res;\n }\n\n static class pair {\n String a;\n int b;\n\n pair(String x, int y) {\n a = x;\n b = y;\n }\n }\n\n static long modInverse(long n) {\n BigInteger n1 = new BigInteger(Long.toString(n));\n String s = (n1.modInverse(new BigInteger(Long.toString(mod)))).toString();\n return Long.parseLong(s);\n }\n\n static boolean v[] = new boolean[1000005];\n\n static void seive() {\n v[1] = true;\n for (int i = 2; i < 1000005; i++) {\n if (!v[i]) {\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }\n }\n }\n\n static boolean isprime(long n) {\n if (n == 1)\n return false;\n for (int i = 2; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n static long gcd(long a, long b) {\n if (b == 0)\n return a;\n return gcd(b, a % b);\n }\n\n static void solve() {\n int n=ni();\n int t=n%10;\n if(t==3)\n out.println(\"bon\");\n else if(t==0 || t==1 ||t==6 ||t==8)\n out.println(\"pon\");\n else\n out.println(\"hon\");\n }\n}\n",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.text.*;",
"text.*",
"java",
"public class Main {\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);\n static PrintWriter out = new PrintWriter(System.out);\n static StringTokenizer t;\n\n static String sn() {\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }\n\n static int ni() {\n return Integer.parseInt(sn());\n }\n\n static long nlo() {\n return Long.parseLong(sn());\n }\n\n public static void main(String args[]) {\n int t = 1;\n while (t-- > 0) {\n solve();\n }\n out.close();\n }\n\n static long mod = (long) 998244353;\n\n static long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }\n\n static long add(long a, long b) {\n return (a + b) % mod;\n }\n\n static long sub(long a, long b) {\n return ((a % mod - b % mod) + mod) % mod;\n }\n\n static int maxn = 1000005;\n\n static int pow(int n) {\n return (int) (Math.log10(n) / Math.log10(2));\n }\n\n static long modpow(long x, long y) {\n long res = 1l;\n x %= mod;\n while (y > 0) {\n if (y % 2 != 0)\n res = pro(res, x);\n x = pro(x, x);\n y /= 2;\n }\n return res;\n }\n\n static class pair {\n String a;\n int b;\n\n pair(String x, int y) {\n a = x;\n b = y;\n }\n }\n\n static long modInverse(long n) {\n BigInteger n1 = new BigInteger(Long.toString(n));\n String s = (n1.modInverse(new BigInteger(Long.toString(mod)))).toString();\n return Long.parseLong(s);\n }\n\n static boolean v[] = new boolean[1000005];\n\n static void seive() {\n v[1] = true;\n for (int i = 2; i < 1000005; i++) {\n if (!v[i]) {\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }\n }\n }\n\n static boolean isprime(long n) {\n if (n == 1)\n return false;\n for (int i = 2; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n static long gcd(long a, long b) {\n if (b == 0)\n return a;\n return gcd(b, a % b);\n }\n\n static void solve() {\n int n=ni();\n int t=n%10;\n if(t==3)\n out.println(\"bon\");\n else if(t==0 || t==1 ||t==6 ||t==8)\n out.println(\"pon\");\n else\n out.println(\"hon\");\n }\n}",
"Main",
"static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);",
"br",
"new BufferedReader(new InputStreamReader(System.in), 32768)",
"static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"static StringTokenizer t;",
"t",
"static long mod = (long) 998244353;",
"mod",
"(long) 998244353",
"static int maxn = 1000005;",
"maxn",
"1000005",
"static boolean v[] = new boolean[1000005];",
"v",
"new boolean[1000005]",
"1000005",
"static String sn() {\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }",
"sn",
"{\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }",
"while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }",
"t == null || !t.hasMoreTokens()",
"t == null",
"t",
"null",
"!t.hasMoreTokens()",
"t.hasMoreTokens()",
"t.hasMoreTokens",
"t",
"{\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }",
"try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }",
"catch (IOException e) {\n throw new RuntimeException();\n }",
"IOException e",
"{\n throw new RuntimeException();\n }",
"throw new RuntimeException();",
"new RuntimeException()",
"{\n t = new StringTokenizer(br.readLine());\n }",
"t = new StringTokenizer(br.readLine())",
"t",
"new StringTokenizer(br.readLine())",
"return t.nextToken();",
"t.nextToken()",
"t.nextToken",
"t",
"static int ni() {\n return Integer.parseInt(sn());\n }",
"ni",
"{\n return Integer.parseInt(sn());\n }",
"return Integer.parseInt(sn());",
"Integer.parseInt(sn())",
"Integer.parseInt",
"Integer",
"sn()",
"sn",
"static long nlo() {\n return Long.parseLong(sn());\n }",
"nlo",
"{\n return Long.parseLong(sn());\n }",
"return Long.parseLong(sn());",
"Long.parseLong(sn())",
"Long.parseLong",
"Long",
"sn()",
"sn",
"public static void main(String args[]) {\n int t = 1;\n while (t-- > 0) {\n solve();\n }\n out.close();\n }",
"main",
"{\n int t = 1;\n while (t-- > 0) {\n solve();\n }\n out.close();\n }",
"int t = 1;",
"t",
"1",
"while (t-- > 0) {\n solve();\n }",
"t-- > 0",
"t--",
"t",
"0",
"{\n solve();\n }",
"solve()",
"solve",
"out.close()",
"out.close",
"out",
"String args[]",
"args",
"static long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }",
"pro",
"{\n return (a % mod * b % mod) % mod;\n }",
"return (a % mod * b % mod) % mod;",
"(a % mod * b % mod) % mod",
"(a % mod * b % mod)",
"a % mod * b",
"a % mod",
"a",
"mod",
"b",
"mod",
"mod",
"long a",
"a",
"long b",
"b",
"static long add(long a, long b) {\n return (a + b) % mod;\n }",
"add",
"{\n return (a + b) % mod;\n }",
"return (a + b) % mod;",
"(a + b) % mod",
"(a + b)",
"a",
"b",
"mod",
"long a",
"a",
"long b",
"b",
"static long sub(long a, long b) {\n return ((a % mod - b % mod) + mod) % mod;\n }",
"sub",
"{\n return ((a % mod - b % mod) + mod) % mod;\n }",
"return ((a % mod - b % mod) + mod) % mod;",
"((a % mod - b % mod) + mod) % mod",
"((a % mod - b % mod) + mod)",
"(a % mod - b % mod)",
"a % mod",
"a",
"mod",
"b % mod",
"b",
"mod",
"mod",
"mod",
"long a",
"a",
"long b",
"b",
"static int pow(int n) {\n return (int) (Math.log10(n) / Math.log10(2));\n }",
"pow",
"{\n return (int) (Math.log10(n) / Math.log10(2));\n }",
"return (int) (Math.log10(n) / Math.log10(2));",
"(int) (Math.log10(n) / Math.log10(2))",
"Math.log10(n)",
"Math.log10",
"Math",
"n",
"Math.log10(2)",
"Math.log10",
"Math",
"2",
"int n",
"n",
"static long modpow(long x, long y) {\n long res = 1l;\n x %= mod;\n while (y > 0) {\n if (y % 2 != 0)\n res = pro(res, x);\n x = pro(x, x);\n y /= 2;\n }\n return res;\n }",
"modpow",
"{\n long res = 1l;\n x %= mod;\n while (y > 0) {\n if (y % 2 != 0)\n res = pro(res, x);\n x = pro(x, x);\n y /= 2;\n }\n return res;\n }",
"long res = 1l;",
"res",
"1l",
"x %= mod",
"x",
"mod",
"while (y > 0) {\n if (y % 2 != 0)\n res = pro(res, x);\n x = pro(x, x);\n y /= 2;\n }",
"y > 0",
"y",
"0",
"{\n if (y % 2 != 0)\n res = pro(res, x);\n x = pro(x, x);\n y /= 2;\n }",
"if (y % 2 != 0)\n res = pro(res, x);",
"y % 2 != 0",
"y % 2",
"y",
"2",
"0",
"res = pro(res, x)",
"res",
"pro(res, x)",
"pro",
"res",
"x",
"x = pro(x, x)",
"x",
"pro(x, x)",
"pro",
"x",
"x",
"y /= 2",
"y",
"2",
"return res;",
"res",
"long x",
"x",
"long y",
"y",
"static long modInverse(long n) {\n BigInteger n1 = new BigInteger(Long.toString(n));\n String s = (n1.modInverse(new BigInteger(Long.toString(mod)))).toString();\n return Long.parseLong(s);\n }",
"modInverse",
"{\n BigInteger n1 = new BigInteger(Long.toString(n));\n String s = (n1.modInverse(new BigInteger(Long.toString(mod)))).toString();\n return Long.parseLong(s);\n }",
"BigInteger n1 = new BigInteger(Long.toString(n));",
"n1",
"new BigInteger(Long.toString(n))",
"String s = (n1.modInverse(new BigInteger(Long.toString(mod)))).toString();",
"s",
"(n1.modInverse(new BigInteger(Long.toString(mod)))).toString()",
"(n1.modInverse(new BigInteger(Long.toString(mod)))).toString",
"(n1.modInverse(new BigInteger(Long.toString(mod))))",
"n1.modInverse",
"n1",
"new BigInteger(Long.toString(mod))",
"return Long.parseLong(s);",
"Long.parseLong(s)",
"Long.parseLong",
"Long",
"s",
"long n",
"n",
"static void seive() {\n v[1] = true;\n for (int i = 2; i < 1000005; i++) {\n if (!v[i]) {\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }\n }\n }",
"seive",
"{\n v[1] = true;\n for (int i = 2; i < 1000005; i++) {\n if (!v[i]) {\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }\n }\n }",
"v[1] = true",
"v[1]",
"v",
"1",
"true",
"for (int i = 2; i < 1000005; i++) {\n if (!v[i]) {\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }\n }",
"int i = 2;",
"int i = 2;",
"i",
"2",
"i < 1000005",
"i",
"1000005",
"i++",
"i++",
"i",
"{\n if (!v[i]) {\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }\n }",
"{\n if (!v[i]) {\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }\n }",
"if (!v[i]) {\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }",
"!v[i]",
"v[i]",
"v",
"i",
"{\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }",
"for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;",
"int j = 2 * i;",
"int j = 2 * i;",
"j",
"2 * i",
"2",
"i",
"j < 1000005",
"j",
"1000005",
"j += i",
"j += i",
"j",
"i",
"v[j] = true;",
"v[j] = true",
"v[j]",
"v",
"j",
"true",
"static boolean isprime(long n) {\n if (n == 1)\n return false;\n for (int i = 2; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }\n return true;\n }",
"isprime",
"{\n if (n == 1)\n return false;\n for (int i = 2; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }\n return true;\n }",
"if (n == 1)\n return false;",
"n == 1",
"n",
"1",
"return false;",
"false",
"for (int i = 2; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }",
"int i = 2;",
"int i = 2;",
"i",
"2",
"i * i <= n",
"i * i",
"i",
"i",
"n",
"i++",
"i++",
"i",
"{\n if (n % i == 0)\n return false;\n }",
"{\n if (n % i == 0)\n return false;\n }",
"if (n % i == 0)\n return false;",
"n % i == 0",
"n % i",
"n",
"i",
"0",
"return false;",
"false",
"return true;",
"true",
"long n",
"n",
"static long gcd(long a, long b) {\n if (b == 0)\n return a;\n return gcd(b, a % b);\n }",
"gcd",
"{\n if (b == 0)\n return a;\n return gcd(b, a % b);\n }",
"if (b == 0)\n return a;",
"b == 0",
"b",
"0",
"return a;",
"a",
"return gcd(b, a % b);",
"gcd(b, a % b)",
"gcd",
"b",
"a % b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static void solve() {\n int n=ni();\n int t=n%10;\n if(t==3)\n out.println(\"bon\");\n else if(t==0 || t==1 ||t==6 ||t==8)\n out.println(\"pon\");\n else\n out.println(\"hon\");\n }",
"solve",
"{\n int n=ni();\n int t=n%10;\n if(t==3)\n out.println(\"bon\");\n else if(t==0 || t==1 ||t==6 ||t==8)\n out.println(\"pon\");\n else\n out.println(\"hon\");\n }",
"int n=ni();",
"n",
"ni()",
"ni",
"int t=n%10;",
"t",
"n%10",
"n",
"10",
"if(t==3)\n out.println(\"bon\");\n else if(t==0 || t==1 ||t==6 ||t==8)\n out.println(\"pon\");\n else\n out.println(\"hon\");",
"t==3",
"t",
"3",
"out.println(\"bon\")",
"out.println",
"out",
"\"bon\"",
"if(t==0 || t==1 ||t==6 ||t==8)\n out.println(\"pon\");\n else\n out.println(\"hon\");",
"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",
"out.println(\"pon\")",
"out.println",
"out",
"\"pon\"",
"out.println(\"hon\")",
"out.println",
"out",
"\"hon\"",
"static class pair {\n String a;\n int b;\n\n pair(String x, int y) {\n a = x;\n b = y;\n }\n }",
"pair",
"String a;",
"a",
"int b;",
"b",
"pair(String x, int y) {\n a = x;\n b = y;\n }",
"pair",
"{\n a = x;\n b = y;\n }",
"a = x",
"a",
"x",
"b = y",
"b",
"y",
"String x",
"x",
"int y",
"y",
"public class Main {\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);\n static PrintWriter out = new PrintWriter(System.out);\n static StringTokenizer t;\n\n static String sn() {\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }\n\n static int ni() {\n return Integer.parseInt(sn());\n }\n\n static long nlo() {\n return Long.parseLong(sn());\n }\n\n public static void main(String args[]) {\n int t = 1;\n while (t-- > 0) {\n solve();\n }\n out.close();\n }\n\n static long mod = (long) 998244353;\n\n static long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }\n\n static long add(long a, long b) {\n return (a + b) % mod;\n }\n\n static long sub(long a, long b) {\n return ((a % mod - b % mod) + mod) % mod;\n }\n\n static int maxn = 1000005;\n\n static int pow(int n) {\n return (int) (Math.log10(n) / Math.log10(2));\n }\n\n static long modpow(long x, long y) {\n long res = 1l;\n x %= mod;\n while (y > 0) {\n if (y % 2 != 0)\n res = pro(res, x);\n x = pro(x, x);\n y /= 2;\n }\n return res;\n }\n\n static class pair {\n String a;\n int b;\n\n pair(String x, int y) {\n a = x;\n b = y;\n }\n }\n\n static long modInverse(long n) {\n BigInteger n1 = new BigInteger(Long.toString(n));\n String s = (n1.modInverse(new BigInteger(Long.toString(mod)))).toString();\n return Long.parseLong(s);\n }\n\n static boolean v[] = new boolean[1000005];\n\n static void seive() {\n v[1] = true;\n for (int i = 2; i < 1000005; i++) {\n if (!v[i]) {\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }\n }\n }\n\n static boolean isprime(long n) {\n if (n == 1)\n return false;\n for (int i = 2; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n static long gcd(long a, long b) {\n if (b == 0)\n return a;\n return gcd(b, a % b);\n }\n\n static void solve() {\n int n=ni();\n int t=n%10;\n if(t==3)\n out.println(\"bon\");\n else if(t==0 || t==1 ||t==6 ||t==8)\n out.println(\"pon\");\n else\n out.println(\"hon\");\n }\n}",
"public class Main {\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);\n static PrintWriter out = new PrintWriter(System.out);\n static StringTokenizer t;\n\n static String sn() {\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }\n\n static int ni() {\n return Integer.parseInt(sn());\n }\n\n static long nlo() {\n return Long.parseLong(sn());\n }\n\n public static void main(String args[]) {\n int t = 1;\n while (t-- > 0) {\n solve();\n }\n out.close();\n }\n\n static long mod = (long) 998244353;\n\n static long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }\n\n static long add(long a, long b) {\n return (a + b) % mod;\n }\n\n static long sub(long a, long b) {\n return ((a % mod - b % mod) + mod) % mod;\n }\n\n static int maxn = 1000005;\n\n static int pow(int n) {\n return (int) (Math.log10(n) / Math.log10(2));\n }\n\n static long modpow(long x, long y) {\n long res = 1l;\n x %= mod;\n while (y > 0) {\n if (y % 2 != 0)\n res = pro(res, x);\n x = pro(x, x);\n y /= 2;\n }\n return res;\n }\n\n static class pair {\n String a;\n int b;\n\n pair(String x, int y) {\n a = x;\n b = y;\n }\n }\n\n static long modInverse(long n) {\n BigInteger n1 = new BigInteger(Long.toString(n));\n String s = (n1.modInverse(new BigInteger(Long.toString(mod)))).toString();\n return Long.parseLong(s);\n }\n\n static boolean v[] = new boolean[1000005];\n\n static void seive() {\n v[1] = true;\n for (int i = 2; i < 1000005; i++) {\n if (!v[i]) {\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }\n }\n }\n\n static boolean isprime(long n) {\n if (n == 1)\n return false;\n for (int i = 2; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n static long gcd(long a, long b) {\n if (b == 0)\n return a;\n return gcd(b, a % b);\n }\n\n static void solve() {\n int n=ni();\n int t=n%10;\n if(t==3)\n out.println(\"bon\");\n else if(t==0 || t==1 ||t==6 ||t==8)\n out.println(\"pon\");\n else\n out.println(\"hon\");\n }\n}",
"Main"
] |
import java.math.BigInteger;
import java.util.*;
import java.io.*;
import java.text.*;
public class Main {
static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);
static PrintWriter out = new PrintWriter(System.out);
static StringTokenizer t;
static String sn() {
while (t == null || !t.hasMoreTokens()) {
try {
t = new StringTokenizer(br.readLine());
} catch (IOException e) {
throw new RuntimeException();
}
}
return t.nextToken();
}
static int ni() {
return Integer.parseInt(sn());
}
static long nlo() {
return Long.parseLong(sn());
}
public static void main(String args[]) {
int t = 1;
while (t-- > 0) {
solve();
}
out.close();
}
static long mod = (long) 998244353;
static long pro(long a, long b) {
return (a % mod * b % mod) % mod;
}
static long add(long a, long b) {
return (a + b) % mod;
}
static long sub(long a, long b) {
return ((a % mod - b % mod) + mod) % mod;
}
static int maxn = 1000005;
static int pow(int n) {
return (int) (Math.log10(n) / Math.log10(2));
}
static long modpow(long x, long y) {
long res = 1l;
x %= mod;
while (y > 0) {
if (y % 2 != 0)
res = pro(res, x);
x = pro(x, x);
y /= 2;
}
return res;
}
static class pair {
String a;
int b;
pair(String x, int y) {
a = x;
b = y;
}
}
static long modInverse(long n) {
BigInteger n1 = new BigInteger(Long.toString(n));
String s = (n1.modInverse(new BigInteger(Long.toString(mod)))).toString();
return Long.parseLong(s);
}
static boolean v[] = new boolean[1000005];
static void seive() {
v[1] = true;
for (int i = 2; i < 1000005; i++) {
if (!v[i]) {
for (int j = 2 * i; j < 1000005; j += i)
v[j] = true;
}
}
}
static boolean isprime(long n) {
if (n == 1)
return false;
for (int i = 2; i * i <= n; i++) {
if (n % i == 0)
return false;
}
return true;
}
static long gcd(long a, long b) {
if (b == 0)
return a;
return gcd(b, a % b);
}
static void solve() {
int n=ni();
int t=n%10;
if(t==3)
out.println("bon");
else if(t==0 || t==1 ||t==6 ||t==8)
out.println("pon");
else
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,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
14,
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,
2,
17,
13,
2,
13,
17,
30,
14,
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,
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,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
199,
5
],
[
199,
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
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
33,
46
],
[
46,
47
],
[
49,
48
],
[
60,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
49,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
49,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
46,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
46,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
28,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
89,
91
],
[
84,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
93,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
93,
106
],
[
106,
107
],
[
109,
108
],
[
120,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
109,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
120,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
109,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
106,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
131,
136
],
[
106,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
138,
143
],
[
84,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
145,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
152,
157
],
[
145,
158
],
[
158,
159
],
[
161,
160
],
[
172,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
162,
166
],
[
161,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
167,
171
],
[
172,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
172,
176
],
[
161,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
177,
181
],
[
158,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
183,
188
],
[
158,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
190,
195
],
[
6,
196
],
[
196,
197
],
[
0,
198
],
[
198,
199
],
[
198,
200
]
] |
[
"import java. util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\n\t\tString s = String.valueOf(n);\n\n\t\tchar[] c = s.toCharArray();\n\n\t\tif(n<10) {\n\t\t\tif(c[0]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[0]=='0'||c[0]=='1'||c[0]=='6'||c[0]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}else if(10<n&&n<100) {\n\t\t\tif(c[1]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[1]=='0'||c[1]=='1'||c[1]=='6'||c[1]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}else {\n\t\t\tif(c[2]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[2]=='0'||c[2]=='1'||c[2]=='6'||c[2]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\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\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\n\t\tString s = String.valueOf(n);\n\n\t\tchar[] c = s.toCharArray();\n\n\t\tif(n<10) {\n\t\t\tif(c[0]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[0]=='0'||c[0]=='1'||c[0]=='6'||c[0]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}else if(10<n&&n<100) {\n\t\t\tif(c[1]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[1]=='0'||c[1]=='1'||c[1]=='6'||c[1]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}else {\n\t\t\tif(c[2]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[2]=='0'||c[2]=='1'||c[2]=='6'||c[2]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\n\t\tString s = String.valueOf(n);\n\n\t\tchar[] c = s.toCharArray();\n\n\t\tif(n<10) {\n\t\t\tif(c[0]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[0]=='0'||c[0]=='1'||c[0]=='6'||c[0]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}else if(10<n&&n<100) {\n\t\t\tif(c[1]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[1]=='0'||c[1]=='1'||c[1]=='6'||c[1]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}else {\n\t\t\tif(c[2]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[2]=='0'||c[2]=='1'||c[2]=='6'||c[2]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}\n\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\n\t\tString s = String.valueOf(n);\n\n\t\tchar[] c = s.toCharArray();\n\n\t\tif(n<10) {\n\t\t\tif(c[0]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[0]=='0'||c[0]=='1'||c[0]=='6'||c[0]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}else if(10<n&&n<100) {\n\t\t\tif(c[1]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[1]=='0'||c[1]=='1'||c[1]=='6'||c[1]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}else {\n\t\t\tif(c[2]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[2]=='0'||c[2]=='1'||c[2]=='6'||c[2]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"String s = String.valueOf(n);",
"s",
"String.valueOf(n)",
"String.valueOf",
"String",
"n",
"char[] c = s.toCharArray();",
"c",
"s.toCharArray()",
"s.toCharArray",
"s",
"if(n<10) {\n\t\t\tif(c[0]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[0]=='0'||c[0]=='1'||c[0]=='6'||c[0]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}else if(10<n&&n<100) {\n\t\t\tif(c[1]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[1]=='0'||c[1]=='1'||c[1]=='6'||c[1]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}else {\n\t\t\tif(c[2]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[2]=='0'||c[2]=='1'||c[2]=='6'||c[2]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}",
"n<10",
"n",
"10",
"{\n\t\t\tif(c[0]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[0]=='0'||c[0]=='1'||c[0]=='6'||c[0]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}",
"if(c[0]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[0]=='0'||c[0]=='1'||c[0]=='6'||c[0]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}",
"c[0]=='3'",
"c[0]",
"c",
"0",
"'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(c[0]=='0'||c[0]=='1'||c[0]=='6'||c[0]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}",
"c[0]=='0'||c[0]=='1'||c[0]=='6'||c[0]=='8'",
"c[0]=='6'",
"c[0]=='0'||c[0]=='1'||c[0]=='6'||c[0]=='8'",
"c[0]=='0'",
"c[0]",
"c",
"0",
"'0'",
"c[0]=='1'",
"c[0]",
"c",
"0",
"'1'",
"c[0]=='6'",
"c[0]",
"c",
"0",
"'6'",
"c[0]=='8'",
"c[0]",
"c",
"0",
"'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\"",
"{\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(10<n&&n<100) {\n\t\t\tif(c[1]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[1]=='0'||c[1]=='1'||c[1]=='6'||c[1]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}else {\n\t\t\tif(c[2]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[2]=='0'||c[2]=='1'||c[2]=='6'||c[2]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}",
"10<n&&n<100",
"10<n",
"10",
"n",
"n<100",
"n",
"100",
"{\n\t\t\tif(c[1]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[1]=='0'||c[1]=='1'||c[1]=='6'||c[1]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}",
"if(c[1]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[1]=='0'||c[1]=='1'||c[1]=='6'||c[1]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}",
"c[1]=='3'",
"c[1]",
"c",
"1",
"'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(c[1]=='0'||c[1]=='1'||c[1]=='6'||c[1]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}",
"c[1]=='0'||c[1]=='1'||c[1]=='6'||c[1]=='8'",
"c[1]=='6'",
"c[1]=='0'||c[1]=='1'||c[1]=='6'||c[1]=='8'",
"c[1]=='0'",
"c[1]",
"c",
"1",
"'0'",
"c[1]=='1'",
"c[1]",
"c",
"1",
"'1'",
"c[1]=='6'",
"c[1]",
"c",
"1",
"'6'",
"c[1]=='8'",
"c[1]",
"c",
"1",
"'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\"",
"{\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\"",
"{\n\t\t\tif(c[2]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[2]=='0'||c[2]=='1'||c[2]=='6'||c[2]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}",
"if(c[2]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[2]=='0'||c[2]=='1'||c[2]=='6'||c[2]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}",
"c[2]=='3'",
"c[2]",
"c",
"2",
"'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(c[2]=='0'||c[2]=='1'||c[2]=='6'||c[2]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}",
"c[2]=='0'||c[2]=='1'||c[2]=='6'||c[2]=='8'",
"c[2]=='6'",
"c[2]=='0'||c[2]=='1'||c[2]=='6'||c[2]=='8'",
"c[2]=='0'",
"c[2]",
"c",
"2",
"'0'",
"c[2]=='1'",
"c[2]",
"c",
"2",
"'1'",
"c[2]=='6'",
"c[2]",
"c",
"2",
"'6'",
"c[2]=='8'",
"c[2]",
"c",
"2",
"'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\"",
"{\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\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\n\t\tString s = String.valueOf(n);\n\n\t\tchar[] c = s.toCharArray();\n\n\t\tif(n<10) {\n\t\t\tif(c[0]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[0]=='0'||c[0]=='1'||c[0]=='6'||c[0]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}else if(10<n&&n<100) {\n\t\t\tif(c[1]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[1]=='0'||c[1]=='1'||c[1]=='6'||c[1]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}else {\n\t\t\tif(c[2]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[2]=='0'||c[2]=='1'||c[2]=='6'||c[2]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\n\t\tString s = String.valueOf(n);\n\n\t\tchar[] c = s.toCharArray();\n\n\t\tif(n<10) {\n\t\t\tif(c[0]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[0]=='0'||c[0]=='1'||c[0]=='6'||c[0]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}else if(10<n&&n<100) {\n\t\t\tif(c[1]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[1]=='0'||c[1]=='1'||c[1]=='6'||c[1]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}else {\n\t\t\tif(c[2]=='3') {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(c[2]=='0'||c[2]=='1'||c[2]=='6'||c[2]=='8') {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"Main"
] |
import java. util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
String s = String.valueOf(n);
char[] c = s.toCharArray();
if(n<10) {
if(c[0]=='3') {
System.out.println("bon");
}else if(c[0]=='0'||c[0]=='1'||c[0]=='6'||c[0]=='8') {
System.out.println("pon");
}else {
System.out.println("hon");
}
}else if(10<n&&n<100) {
if(c[1]=='3') {
System.out.println("bon");
}else if(c[1]=='0'||c[1]=='1'||c[1]=='6'||c[1]=='8') {
System.out.println("pon");
}else {
System.out.println("hon");
}
}else {
if(c[2]=='3') {
System.out.println("bon");
}else if(c[2]=='0'||c[2]=='1'||c[2]=='6'||c[2]=='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,
13,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
2,
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,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
106,
5
],
[
106,
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
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
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
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
6,
103
],
[
103,
104
],
[
0,
105
],
[
105,
106
],
[
105,
107
]
] |
[
"\n\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\tScanner sc = new Scanner(System.in);\n\tint N = sc.nextInt();\n\t\tString s = String.valueOf(N);\n\t\tint size = s.length();\n\t\ts = s.substring(size - 1);\n\t\t\tN = Integer.parseInt(s);\n\t\t\t\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}else if(N == 0 | N == 1 | N == 6 | N == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else if(N == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t\t\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\tScanner sc = new Scanner(System.in);\n\tint N = sc.nextInt();\n\t\tString s = String.valueOf(N);\n\t\tint size = s.length();\n\t\ts = s.substring(size - 1);\n\t\t\tN = Integer.parseInt(s);\n\t\t\t\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}else if(N == 0 | N == 1 | N == 6 | N == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else if(N == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\tScanner sc = new Scanner(System.in);\n\tint N = sc.nextInt();\n\t\tString s = String.valueOf(N);\n\t\tint size = s.length();\n\t\ts = s.substring(size - 1);\n\t\t\tN = Integer.parseInt(s);\n\t\t\t\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}else if(N == 0 | N == 1 | N == 6 | N == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else if(N == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\n\n\t}",
"main",
"{\n\tScanner sc = new Scanner(System.in);\n\tint N = sc.nextInt();\n\t\tString s = String.valueOf(N);\n\t\tint size = s.length();\n\t\ts = s.substring(size - 1);\n\t\t\tN = Integer.parseInt(s);\n\t\t\t\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}else if(N == 0 | N == 1 | N == 6 | N == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else if(N == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\n\n\t}",
"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",
"int size = s.length();",
"size",
"s.length()",
"s.length",
"s",
"s = s.substring(size - 1)",
"s",
"s.substring(size - 1)",
"s.substring",
"s",
"size - 1",
"size",
"1",
"N = Integer.parseInt(s)",
"N",
"Integer.parseInt(s)",
"Integer.parseInt",
"Integer",
"s",
"if (N == 2 | N == 4 | N == 5 | N ==7 | N == 9) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}else if(N == 0 | N == 1 | N == 6 | N == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else if(N == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\t\n\t\t\t\t\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}else if(N == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\t\n\t\t\t\t\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\t\n\t\t\t\t\n\t\t\t}",
"N == 3",
"N",
"3",
"{\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\t\n\t\t\t\t\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\tScanner sc = new Scanner(System.in);\n\tint N = sc.nextInt();\n\t\tString s = String.valueOf(N);\n\t\tint size = s.length();\n\t\ts = s.substring(size - 1);\n\t\t\tN = Integer.parseInt(s);\n\t\t\t\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}else if(N == 0 | N == 1 | N == 6 | N == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else if(N == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\tScanner sc = new Scanner(System.in);\n\tint N = sc.nextInt();\n\t\tString s = String.valueOf(N);\n\t\tint size = s.length();\n\t\ts = s.substring(size - 1);\n\t\t\tN = Integer.parseInt(s);\n\t\t\t\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}else if(N == 0 | N == 1 | N == 6 | N == 8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else if(N == 3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\n\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();
String s = String.valueOf(N);
int size = s.length();
s = s.substring(size - 1);
N = Integer.parseInt(s);
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 if(N == 3) {
System.out.println("bon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
42,
17,
30,
14,
2,
13,
17,
30,
0,
13,
2,
13,
17,
30,
3,
14,
2,
2,
17,
13,
2,
17,
13,
30,
41,
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,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
100,
5
],
[
100,
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
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
20,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
47,
45
],
[
57,
46
],
[
54,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
54,
54
],
[
54,
55
],
[
54,
56
],
[
57,
57
],
[
57,
58
],
[
57,
59
],
[
47,
60
],
[
60,
61
],
[
60,
62
],
[
43,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
43,
67
],
[
67,
68
],
[
70,
69
],
[
77,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
77,
77
],
[
77,
78
],
[
77,
79
],
[
70,
80
],
[
80,
81
],
[
80,
82
],
[
67,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
67,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
40,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
6,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\t\n\t\t\n\t\twhile(true) {\n\t\t\tif(a >= 10 ) {\n\t\t\t\ta = a - 10;\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tif(0 <= a && 10 > a ) {\n\t\t\tString s ;\n\t\t\tif(a == 2 || a == 4 || a == 5 || a == 7 || a == 9) {\n\t\t\t\ts = \"hon\";\n\t\t\t}\n\t\t\telse if(a == 0 || a == 1 || a == 6 || a == 8 ) {\n\t\t\t\ts = \"pon\";\n\t\t\t}else {\n\t\t\t\ts = \"bon\";\n\t\t}\n\t\t\tSystem.out.println(s);\n\t\t}\n\t\t\n\t\t\n\t\t\n\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\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\t\n\t\t\n\t\twhile(true) {\n\t\t\tif(a >= 10 ) {\n\t\t\t\ta = a - 10;\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tif(0 <= a && 10 > a ) {\n\t\t\tString s ;\n\t\t\tif(a == 2 || a == 4 || a == 5 || a == 7 || a == 9) {\n\t\t\t\ts = \"hon\";\n\t\t\t}\n\t\t\telse if(a == 0 || a == 1 || a == 6 || a == 8 ) {\n\t\t\t\ts = \"pon\";\n\t\t\t}else {\n\t\t\t\ts = \"bon\";\n\t\t}\n\t\t\tSystem.out.println(s);\n\t\t}\n\t\t\n\t\t\n\t\t\n\n}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\t\n\t\t\n\t\twhile(true) {\n\t\t\tif(a >= 10 ) {\n\t\t\t\ta = a - 10;\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tif(0 <= a && 10 > a ) {\n\t\t\tString s ;\n\t\t\tif(a == 2 || a == 4 || a == 5 || a == 7 || a == 9) {\n\t\t\t\ts = \"hon\";\n\t\t\t}\n\t\t\telse if(a == 0 || a == 1 || a == 6 || a == 8 ) {\n\t\t\t\ts = \"pon\";\n\t\t\t}else {\n\t\t\t\ts = \"bon\";\n\t\t}\n\t\t\tSystem.out.println(s);\n\t\t}\n\t\t\n\t\t\n\t\t\n\n}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\t\n\t\t\n\t\twhile(true) {\n\t\t\tif(a >= 10 ) {\n\t\t\t\ta = a - 10;\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tif(0 <= a && 10 > a ) {\n\t\t\tString s ;\n\t\t\tif(a == 2 || a == 4 || a == 5 || a == 7 || a == 9) {\n\t\t\t\ts = \"hon\";\n\t\t\t}\n\t\t\telse if(a == 0 || a == 1 || a == 6 || a == 8 ) {\n\t\t\t\ts = \"pon\";\n\t\t\t}else {\n\t\t\t\ts = \"bon\";\n\t\t}\n\t\t\tSystem.out.println(s);\n\t\t}\n\t\t\n\t\t\n\t\t\n\n}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"while(true) {\n\t\t\tif(a >= 10 ) {\n\t\t\t\ta = a - 10;\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t}",
"true",
"{\n\t\t\tif(a >= 10 ) {\n\t\t\t\ta = a - 10;\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t}",
"if(a >= 10 ) {\n\t\t\t\ta = a - 10;\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tbreak;\n\t\t\t}",
"a >= 10",
"a",
"10",
"{\n\t\t\t\ta = a - 10;\n\t\t\t\t\n\t\t\t}",
"a = a - 10",
"a",
"a - 10",
"a",
"10",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if(0 <= a && 10 > a ) {\n\t\t\tString s ;\n\t\t\tif(a == 2 || a == 4 || a == 5 || a == 7 || a == 9) {\n\t\t\t\ts = \"hon\";\n\t\t\t}\n\t\t\telse if(a == 0 || a == 1 || a == 6 || a == 8 ) {\n\t\t\t\ts = \"pon\";\n\t\t\t}else {\n\t\t\t\ts = \"bon\";\n\t\t}\n\t\t\tSystem.out.println(s);\n\t\t}",
"0 <= a && 10 > a",
"0 <= a",
"0",
"a",
"10 > a",
"10",
"a",
"{\n\t\t\tString s ;\n\t\t\tif(a == 2 || a == 4 || a == 5 || a == 7 || a == 9) {\n\t\t\t\ts = \"hon\";\n\t\t\t}\n\t\t\telse if(a == 0 || a == 1 || a == 6 || a == 8 ) {\n\t\t\t\ts = \"pon\";\n\t\t\t}else {\n\t\t\t\ts = \"bon\";\n\t\t}\n\t\t\tSystem.out.println(s);\n\t\t}",
"String s ;",
"s",
"if(a == 2 || a == 4 || a == 5 || a == 7 || a == 9) {\n\t\t\t\ts = \"hon\";\n\t\t\t}\n\t\t\telse if(a == 0 || a == 1 || a == 6 || a == 8 ) {\n\t\t\t\ts = \"pon\";\n\t\t\t}else {\n\t\t\t\ts = \"bon\";\n\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\ts = \"hon\";\n\t\t\t}",
"s = \"hon\"",
"s",
"\"hon\"",
"if(a == 0 || a == 1 || a == 6 || a == 8 ) {\n\t\t\t\ts = \"pon\";\n\t\t\t}else {\n\t\t\t\ts = \"bon\";\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\t\ts = \"pon\";\n\t\t\t}",
"s = \"pon\"",
"s",
"\"pon\"",
"{\n\t\t\t\ts = \"bon\";\n\t\t}",
"s = \"bon\"",
"s",
"\"bon\"",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\t\n\t\t\n\t\twhile(true) {\n\t\t\tif(a >= 10 ) {\n\t\t\t\ta = a - 10;\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tif(0 <= a && 10 > a ) {\n\t\t\tString s ;\n\t\t\tif(a == 2 || a == 4 || a == 5 || a == 7 || a == 9) {\n\t\t\t\ts = \"hon\";\n\t\t\t}\n\t\t\telse if(a == 0 || a == 1 || a == 6 || a == 8 ) {\n\t\t\t\ts = \"pon\";\n\t\t\t}else {\n\t\t\t\ts = \"bon\";\n\t\t}\n\t\t\tSystem.out.println(s);\n\t\t}\n\t\t\n\t\t\n\t\t\n\n}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\t\n\t\t\n\t\twhile(true) {\n\t\t\tif(a >= 10 ) {\n\t\t\t\ta = a - 10;\n\t\t\t\t\n\t\t\t}else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tif(0 <= a && 10 > a ) {\n\t\t\tString s ;\n\t\t\tif(a == 2 || a == 4 || a == 5 || a == 7 || a == 9) {\n\t\t\t\ts = \"hon\";\n\t\t\t}\n\t\t\telse if(a == 0 || a == 1 || a == 6 || a == 8 ) {\n\t\t\t\ts = \"pon\";\n\t\t\t}else {\n\t\t\t\ts = \"bon\";\n\t\t}\n\t\t\tSystem.out.println(s);\n\t\t}\n\t\t\n\t\t\n\t\t\n\n}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
while(true) {
if(a >= 10 ) {
a = a - 10;
}else {
break;
}
}
if(0 <= a && 10 > a ) {
String s ;
if(a == 2 || a == 4 || a == 5 || a == 7 || a == 9) {
s = "hon";
}
else if(a == 0 || a == 1 || a == 6 || a == 8 ) {
s = "pon";
}else {
s = "bon";
}
System.out.println(s);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
2,
4,
18,
13,
17,
4,
18,
18,
13,
13,
8,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
17,
8,
2,
13,
17,
17,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
52,
5
],
[
52,
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
],
[
16,
20
],
[
10,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
27,
28
],
[
36,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
36,
36
],
[
36,
37
],
[
36,
38
],
[
27,
39
],
[
39,
40
],
[
39,
41
],
[
26,
42
],
[
26,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
43,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n int N = sc.nextInt() % 10;\n System.out.println((N == 0 || N == 1 || N == 6 || N == 8) ? \"pon\" : (N == 3) ? \"bon\" : \"hon\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n int N = sc.nextInt() % 10;\n System.out.println((N == 0 || N == 1 || N == 6 || N == 8) ? \"pon\" : (N == 3) ? \"bon\" : \"hon\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n int N = sc.nextInt() % 10;\n System.out.println((N == 0 || N == 1 || N == 6 || N == 8) ? \"pon\" : (N == 3) ? \"bon\" : \"hon\");\n }\n }",
"main",
"{\n try (Scanner sc = new Scanner(System.in)) {\n int N = sc.nextInt() % 10;\n System.out.println((N == 0 || N == 1 || N == 6 || N == 8) ? \"pon\" : (N == 3) ? \"bon\" : \"hon\");\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n int N = sc.nextInt() % 10;\n System.out.println((N == 0 || N == 1 || N == 6 || N == 8) ? \"pon\" : (N == 3) ? \"bon\" : \"hon\");\n }",
"{\n int N = sc.nextInt() % 10;\n System.out.println((N == 0 || N == 1 || N == 6 || N == 8) ? \"pon\" : (N == 3) ? \"bon\" : \"hon\");\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"int N = sc.nextInt() % 10;",
"N",
"sc.nextInt() % 10",
"sc.nextInt()",
"sc.nextInt",
"sc",
"10",
"System.out.println((N == 0 || N == 1 || N == 6 || N == 8) ? \"pon\" : (N == 3) ? \"bon\" : \"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"(N == 0 || N == 1 || N == 6 || N == 8) ? \"pon\" : (N == 3) ? \"bon\" : \"hon\"",
"(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",
"\"pon\"",
"(N == 3) ? \"bon\" : \"hon\"",
"(N == 3)",
"N",
"3",
"\"bon\"",
"\"hon\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n int N = sc.nextInt() % 10;\n System.out.println((N == 0 || N == 1 || N == 6 || N == 8) ? \"pon\" : (N == 3) ? \"bon\" : \"hon\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n int N = sc.nextInt() % 10;\n System.out.println((N == 0 || N == 1 || N == 6 || N == 8) ? \"pon\" : (N == 3) ? \"bon\" : \"hon\");\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner sc = new Scanner(System.in)) {
int N = sc.nextInt() % 10;
System.out.println((N == 0 || N == 1 || N == 6 || N == 8) ? "pon" : (N == 3) ? "bon" : "hon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
20,
41,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
38,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
12,
13,
30,
0,
13,
18,
13,
2,
13,
17,
12,
13,
30,
4,
18,
18,
13,
13,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
64,
5
],
[
64,
6
],
[
6,
7
],
[
64,
8
],
[
8,
9
],
[
8,
10
],
[
64,
11
],
[
11,
12
],
[
64,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
15,
22
],
[
22,
23
],
[
23,
24
],
[
13,
25
],
[
25,
26
],
[
64,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
33,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
64,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
64,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n main.show();\n }\n\n int n;\n String[] book = new String[] {\"pon\", \"pon\", \"hon\", \"bon\", \"hon\", \"hon\", \"pon\", \"hon\", \"pon\", \"hon\"};\n String ans;\n\n public Main() {\n Scanner sc = new Scanner(System.in);\n try {\n n = sc.nextInt();\n } finally {\n sc.close();\n }\n }\n \n void solve() {\n ans = book[n % 10];\n }\n\n void show() {\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n main.show();\n }\n\n int n;\n String[] book = new String[] {\"pon\", \"pon\", \"hon\", \"bon\", \"hon\", \"hon\", \"pon\", \"hon\", \"pon\", \"hon\"};\n String ans;\n\n public Main() {\n Scanner sc = new Scanner(System.in);\n try {\n n = sc.nextInt();\n } finally {\n sc.close();\n }\n }\n \n void solve() {\n ans = book[n % 10];\n }\n\n void show() {\n System.out.println(ans);\n }\n}",
"Main",
"int n;",
"n",
"String[] book = new String[] {\"pon\", \"pon\", \"hon\", \"bon\", \"hon\", \"hon\", \"pon\", \"hon\", \"pon\", \"hon\"};",
"book",
"new String[] {\"pon\", \"pon\", \"hon\", \"bon\", \"hon\", \"hon\", \"pon\", \"hon\", \"pon\", \"hon\"}",
"String ans;",
"ans",
"public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n main.show();\n }",
"main",
"{\n Main main = new Main();\n main.solve();\n main.show();\n }",
"Main main = new Main();",
"main",
"new Main()",
"main.solve()",
"main.solve",
"main",
"main.show()",
"main.show",
"main",
"String[] args",
"args",
"public Main() {\n Scanner sc = new Scanner(System.in);\n try {\n n = sc.nextInt();\n } finally {\n sc.close();\n }\n }",
"Main",
"{\n Scanner sc = new Scanner(System.in);\n try {\n n = sc.nextInt();\n } finally {\n sc.close();\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"try {\n n = sc.nextInt();\n } finally {\n sc.close();\n }",
"{\n sc.close();\n }",
"sc.close()",
"sc.close",
"sc",
"{\n n = sc.nextInt();\n }",
"n = sc.nextInt()",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"void solve() {\n ans = book[n % 10];\n }",
"solve",
"{\n ans = book[n % 10];\n }",
"ans = book[n % 10]",
"ans",
"book[n % 10]",
"book",
"n % 10",
"n",
"10",
"void show() {\n System.out.println(ans);\n }",
"show",
"{\n System.out.println(ans);\n }",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n main.show();\n }\n\n int n;\n String[] book = new String[] {\"pon\", \"pon\", \"hon\", \"bon\", \"hon\", \"hon\", \"pon\", \"hon\", \"pon\", \"hon\"};\n String ans;\n\n public Main() {\n Scanner sc = new Scanner(System.in);\n try {\n n = sc.nextInt();\n } finally {\n sc.close();\n }\n }\n \n void solve() {\n ans = book[n % 10];\n }\n\n void show() {\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n main.show();\n }\n\n int n;\n String[] book = new String[] {\"pon\", \"pon\", \"hon\", \"bon\", \"hon\", \"hon\", \"pon\", \"hon\", \"pon\", \"hon\"};\n String ans;\n\n public Main() {\n Scanner sc = new Scanner(System.in);\n try {\n n = sc.nextInt();\n } finally {\n sc.close();\n }\n }\n \n void solve() {\n ans = book[n % 10];\n }\n\n void show() {\n System.out.println(ans);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Main main = new Main();
main.solve();
main.show();
}
int n;
String[] book = new String[] {"pon", "pon", "hon", "bon", "hon", "hon", "pon", "hon", "pon", "hon"};
String ans;
public Main() {
Scanner sc = new Scanner(System.in);
try {
n = sc.nextInt();
} finally {
sc.close();
}
}
void solve() {
ans = book[n % 10];
}
void show() {
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
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,
4,
18,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
30,
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,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
29,
4,
18,
13,
29,
17,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
29,
17,
0,
13,
20,
29,
17,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
173,
8
],
[
173,
9
],
[
9,
10
],
[
9,
11
],
[
173,
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
],
[
25,
27
],
[
14,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
28,
37
],
[
37,
38
],
[
40,
39
],
[
47,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
47,
47
],
[
47,
48
],
[
47,
49
],
[
40,
50
],
[
50,
51
],
[
50,
52
],
[
37,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
37,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
14,
63
],
[
63,
64
],
[
64,
65
],
[
12,
66
],
[
66,
67
],
[
173,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
79,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
85,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
78,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
68,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
107,
108
],
[
68,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
113,
116
],
[
116,
117
],
[
68,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
122,
125
],
[
125,
126
],
[
68,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
130,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
129,
142
],
[
142,
143
],
[
68,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
146,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
160,
164
],
[
164,
165
],
[
165,
166
],
[
146,
167
],
[
167,
168
],
[
167,
169
],
[
146,
170
],
[
170,
171
],
[
0,
172
],
[
172,
173
],
[
172,
174
]
] |
[
"import java.io.*;\nimport java.util.*;\npublic class Main\n{\n static PrintWriter out=new PrintWriter((System.out));\n public static void main(String args[])throws IOException\n {\n Reader sc=new Reader();\n int n=sc.nextInt();\n \tint d=n%10;\n \tif(d==3)\n {\n out.println(\"bon\");\n }\n \telse if(d==0||d==1||d==6||d==8)\n {\n out.println(\"pon\");\n }\n \telse\n {\n out.println(\"hon\");\n }\n out.close();\n }\n \n \n static class Reader \n { \n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n public String next()\n {\n while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n public int nextInt()\n {\n return Integer.parseInt(next());\n }\n \n public long nextLong()\n {\n return Long.parseLong(next());\n }\n \n public double nextDouble()\n {\n return Double.parseDouble(next());\n }\n \n public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }\n \n public boolean hasNext()\n {\n String next=null;\n try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }\n if(next==null)\n {\n return false;\n }\n st=new StringTokenizer(next);\n return true;\n }\n } \n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n static PrintWriter out=new PrintWriter((System.out));\n public static void main(String args[])throws IOException\n {\n Reader sc=new Reader();\n int n=sc.nextInt();\n \tint d=n%10;\n \tif(d==3)\n {\n out.println(\"bon\");\n }\n \telse if(d==0||d==1||d==6||d==8)\n {\n out.println(\"pon\");\n }\n \telse\n {\n out.println(\"hon\");\n }\n out.close();\n }\n \n \n static class Reader \n { \n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n public String next()\n {\n while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n public int nextInt()\n {\n return Integer.parseInt(next());\n }\n \n public long nextLong()\n {\n return Long.parseLong(next());\n }\n \n public double nextDouble()\n {\n return Double.parseDouble(next());\n }\n \n public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }\n \n public boolean hasNext()\n {\n String next=null;\n try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }\n if(next==null)\n {\n return false;\n }\n st=new StringTokenizer(next);\n return true;\n }\n } \n}",
"Main",
"static PrintWriter out=new PrintWriter((System.out));",
"out",
"new PrintWriter((System.out))",
"public static void main(String args[])throws IOException\n {\n Reader sc=new Reader();\n int n=sc.nextInt();\n \tint d=n%10;\n \tif(d==3)\n {\n out.println(\"bon\");\n }\n \telse if(d==0||d==1||d==6||d==8)\n {\n out.println(\"pon\");\n }\n \telse\n {\n out.println(\"hon\");\n }\n out.close();\n }",
"main",
"{\n Reader sc=new Reader();\n int n=sc.nextInt();\n \tint d=n%10;\n \tif(d==3)\n {\n out.println(\"bon\");\n }\n \telse if(d==0||d==1||d==6||d==8)\n {\n out.println(\"pon\");\n }\n \telse\n {\n out.println(\"hon\");\n }\n out.close();\n }",
"Reader sc=new Reader();",
"sc",
"new Reader()",
"int n=sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int d=n%10;",
"d",
"n%10",
"n",
"10",
"if(d==3)\n {\n out.println(\"bon\");\n }\n \telse if(d==0||d==1||d==6||d==8)\n {\n out.println(\"pon\");\n }\n \telse\n {\n out.println(\"hon\");\n }",
"d==3",
"d",
"3",
"{\n out.println(\"bon\");\n }",
"out.println(\"bon\")",
"out.println",
"out",
"\"bon\"",
"if(d==0||d==1||d==6||d==8)\n {\n out.println(\"pon\");\n }\n \telse\n {\n out.println(\"hon\");\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 out.println(\"pon\");\n }",
"out.println(\"pon\")",
"out.println",
"out",
"\"pon\"",
"{\n out.println(\"hon\");\n }",
"out.println(\"hon\")",
"out.println",
"out",
"\"hon\"",
"out.close()",
"out.close",
"out",
"String args[]",
"args",
"static class Reader \n { \n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n public String next()\n {\n while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n public int nextInt()\n {\n return Integer.parseInt(next());\n }\n \n public long nextLong()\n {\n return Long.parseLong(next());\n }\n \n public double nextDouble()\n {\n return Double.parseDouble(next());\n }\n \n public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }\n \n public boolean hasNext()\n {\n String next=null;\n try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }\n if(next==null)\n {\n return false;\n }\n st=new StringTokenizer(next);\n return true;\n }\n }",
"Reader",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"public String next()\n {\n while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }",
"try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }",
"catch(Exception e)\n {\n e.printStackTrace();\n }",
"Exception 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",
"public int nextInt()\n {\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()\n {\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 double nextDouble()\n {\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",
"public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }",
"nextLine",
"{\n try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }",
"try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }",
"catch(Exception e)\n {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n return br.readLine();\n }",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"return null;",
"null",
"public boolean hasNext()\n {\n String next=null;\n try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }\n if(next==null)\n {\n return false;\n }\n st=new StringTokenizer(next);\n return true;\n }",
"hasNext",
"{\n String next=null;\n try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }\n if(next==null)\n {\n return false;\n }\n st=new StringTokenizer(next);\n return true;\n }",
"String next=null;",
"next",
"null",
"try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }",
"catch(Exception e)\n {\n }",
"Exception e",
"{\n }",
"{\n next=br.readLine();\n }",
"next=br.readLine()",
"next",
"br.readLine()",
"br.readLine",
"br",
"if(next==null)\n {\n return false;\n }",
"next==null",
"next",
"null",
"{\n return false;\n }",
"return false;",
"false",
"st=new StringTokenizer(next)",
"st",
"new StringTokenizer(next)",
"return true;",
"true",
"public class Main\n{\n static PrintWriter out=new PrintWriter((System.out));\n public static void main(String args[])throws IOException\n {\n Reader sc=new Reader();\n int n=sc.nextInt();\n \tint d=n%10;\n \tif(d==3)\n {\n out.println(\"bon\");\n }\n \telse if(d==0||d==1||d==6||d==8)\n {\n out.println(\"pon\");\n }\n \telse\n {\n out.println(\"hon\");\n }\n out.close();\n }\n \n \n static class Reader \n { \n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n public String next()\n {\n while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n public int nextInt()\n {\n return Integer.parseInt(next());\n }\n \n public long nextLong()\n {\n return Long.parseLong(next());\n }\n \n public double nextDouble()\n {\n return Double.parseDouble(next());\n }\n \n public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }\n \n public boolean hasNext()\n {\n String next=null;\n try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }\n if(next==null)\n {\n return false;\n }\n st=new StringTokenizer(next);\n return true;\n }\n } \n}",
"public class Main\n{\n static PrintWriter out=new PrintWriter((System.out));\n public static void main(String args[])throws IOException\n {\n Reader sc=new Reader();\n int n=sc.nextInt();\n \tint d=n%10;\n \tif(d==3)\n {\n out.println(\"bon\");\n }\n \telse if(d==0||d==1||d==6||d==8)\n {\n out.println(\"pon\");\n }\n \telse\n {\n out.println(\"hon\");\n }\n out.close();\n }\n \n \n static class Reader \n { \n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n public String next()\n {\n while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n public int nextInt()\n {\n return Integer.parseInt(next());\n }\n \n public long nextLong()\n {\n return Long.parseLong(next());\n }\n \n public double nextDouble()\n {\n return Double.parseDouble(next());\n }\n \n public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }\n \n public boolean hasNext()\n {\n String next=null;\n try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }\n if(next==null)\n {\n return false;\n }\n st=new StringTokenizer(next);\n return true;\n }\n } \n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main
{
static PrintWriter out=new PrintWriter((System.out));
public static void main(String args[])throws IOException
{
Reader sc=new Reader();
int n=sc.nextInt();
int d=n%10;
if(d==3)
{
out.println("bon");
}
else if(d==0||d==1||d==6||d==8)
{
out.println("pon");
}
else
{
out.println("hon");
}
out.close();
}
static class Reader
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer("");
public String next()
{
while(!st.hasMoreTokens())
{
try
{
st=new StringTokenizer(br.readLine());
}
catch(Exception e)
{
e.printStackTrace();
}
}
return st.nextToken();
}
public int nextInt()
{
return Integer.parseInt(next());
}
public long nextLong()
{
return Long.parseLong(next());
}
public double nextDouble()
{
return Double.parseDouble(next());
}
public String nextLine()
{
try
{
return br.readLine();
}
catch(Exception e)
{
e.printStackTrace();
}
return null;
}
public boolean hasNext()
{
String next=null;
try
{
next=br.readLine();
}
catch(Exception e)
{
}
if(next==null)
{
return false;
}
st=new StringTokenizer(next);
return true;
}
}
}
|
[
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,
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,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
88,
8
],
[
88,
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
],
[
22,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
35,
33
],
[
45,
34
],
[
42,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
42,
42
],
[
42,
43
],
[
42,
44
],
[
45,
45
],
[
45,
46
],
[
45,
47
],
[
35,
48
],
[
48,
49
],
[
48,
50
],
[
31,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
31,
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
],
[
75,
77
],
[
73,
78
],
[
57,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
9,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] |
[
"\nimport java.io.*;\nimport java.util.*;\npublic class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine();\n\t\tint n=Integer.valueOf(s);\n\t\tint x=n%10;\n\t\tif(x==2 || x==4 || x==5 || x==7 || x==9)\n\t\t\tSystem.out.println(\"hon\");\n\t\telse if(x==0 || x==1 || x==6 || x==8)\n\t\t\tSystem.out.println(\"pon\");\n\t\telse\n\t\t\tSystem.out.println(\"bon\");\n\t}\n\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine();\n\t\tint n=Integer.valueOf(s);\n\t\tint x=n%10;\n\t\tif(x==2 || x==4 || x==5 || x==7 || x==9)\n\t\t\tSystem.out.println(\"hon\");\n\t\telse if(x==0 || x==1 || x==6 || x==8)\n\t\t\tSystem.out.println(\"pon\");\n\t\telse\n\t\t\tSystem.out.println(\"bon\");\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine();\n\t\tint n=Integer.valueOf(s);\n\t\tint x=n%10;\n\t\tif(x==2 || x==4 || x==5 || x==7 || x==9)\n\t\t\tSystem.out.println(\"hon\");\n\t\telse if(x==0 || x==1 || x==6 || x==8)\n\t\t\tSystem.out.println(\"pon\");\n\t\telse\n\t\t\tSystem.out.println(\"bon\");\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine();\n\t\tint n=Integer.valueOf(s);\n\t\tint x=n%10;\n\t\tif(x==2 || x==4 || x==5 || x==7 || x==9)\n\t\t\tSystem.out.println(\"hon\");\n\t\telse if(x==0 || x==1 || x==6 || x==8)\n\t\t\tSystem.out.println(\"pon\");\n\t\telse\n\t\t\tSystem.out.println(\"bon\");\n\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String s=br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"int n=Integer.valueOf(s);",
"n",
"Integer.valueOf(s)",
"Integer.valueOf",
"Integer",
"s",
"int x=n%10;",
"x",
"n%10",
"n",
"10",
"if(x==2 || x==4 || x==5 || x==7 || x==9)\n\t\t\tSystem.out.println(\"hon\");\n\t\telse if(x==0 || x==1 || x==6 || x==8)\n\t\t\tSystem.out.println(\"pon\");\n\t\telse\n\t\t\tSystem.out.println(\"bon\");",
"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==0 || x==1 || x==6 || x==8)\n\t\t\tSystem.out.println(\"pon\");\n\t\telse\n\t\t\tSystem.out.println(\"bon\");",
"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.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",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine();\n\t\tint n=Integer.valueOf(s);\n\t\tint x=n%10;\n\t\tif(x==2 || x==4 || x==5 || x==7 || x==9)\n\t\t\tSystem.out.println(\"hon\");\n\t\telse if(x==0 || x==1 || x==6 || x==8)\n\t\t\tSystem.out.println(\"pon\");\n\t\telse\n\t\t\tSystem.out.println(\"bon\");\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine();\n\t\tint n=Integer.valueOf(s);\n\t\tint x=n%10;\n\t\tif(x==2 || x==4 || x==5 || x==7 || x==9)\n\t\t\tSystem.out.println(\"hon\");\n\t\telse if(x==0 || x==1 || x==6 || x==8)\n\t\t\tSystem.out.println(\"pon\");\n\t\telse\n\t\t\tSystem.out.println(\"bon\");\n\t}\n\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception{
// TODO Auto-generated method stub
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String s=br.readLine();
int n=Integer.valueOf(s);
int x=n%10;
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");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
2,
13,
17,
0,
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
],
[
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
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
22,
23
],
[
22,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
17,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
46,
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
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
6,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
] |
[
"import java.util.*;\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 \n if(n>9 && n<100){\n n = n%10;\n }else if(n>99){\n n = n%100;\n n = n%10;\n }\n \n if(n==3){\n System.out.println(\"bon\");\n }else if(n==0 || n==1 || n==6 || n==8){\n System.out.println(\"pon\");\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 \n int n = sc.nextInt();\n \n if(n>9 && n<100){\n n = n%10;\n }else if(n>99){\n n = n%100;\n n = n%10;\n }\n \n if(n==3){\n System.out.println(\"bon\");\n }else if(n==0 || n==1 || n==6 || n==8){\n System.out.println(\"pon\");\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 \n int n = sc.nextInt();\n \n if(n>9 && n<100){\n n = n%10;\n }else if(n>99){\n n = n%100;\n n = n%10;\n }\n \n if(n==3){\n System.out.println(\"bon\");\n }else if(n==0 || n==1 || n==6 || n==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 \n int n = sc.nextInt();\n \n if(n>9 && n<100){\n n = n%10;\n }else if(n>99){\n n = n%100;\n n = n%10;\n }\n \n if(n==3){\n System.out.println(\"bon\");\n }else if(n==0 || n==1 || n==6 || n==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)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(n>9 && n<100){\n n = n%10;\n }else if(n>99){\n n = n%100;\n n = n%10;\n }",
"n>9 && n<100",
"n>9",
"n",
"9",
"n<100",
"n",
"100",
"{\n n = n%10;\n }",
"n = n%10",
"n",
"n%10",
"n",
"10",
"if(n>99){\n n = n%100;\n n = n%10;\n }",
"n>99",
"n",
"99",
"{\n n = n%100;\n n = n%10;\n }",
"n = n%100",
"n",
"n%100",
"n",
"100",
"n = n%10",
"n",
"n%10",
"n",
"10",
"if(n==3){\n System.out.println(\"bon\");\n }else if(n==0 || n==1 || n==6 || n==8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }",
"n==3",
"n",
"3",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(n==0 || n==1 || n==6 || n==8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\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(\"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 \n int n = sc.nextInt();\n \n if(n>9 && n<100){\n n = n%10;\n }else if(n>99){\n n = n%100;\n n = n%10;\n }\n \n if(n==3){\n System.out.println(\"bon\");\n }else if(n==0 || n==1 || n==6 || n==8){\n System.out.println(\"pon\");\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 \n int n = sc.nextInt();\n \n if(n>9 && n<100){\n n = n%10;\n }else if(n>99){\n n = n%100;\n n = n%10;\n }\n \n if(n==3){\n System.out.println(\"bon\");\n }else if(n==0 || n==1 || n==6 || n==8){\n System.out.println(\"pon\");\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>9 && n<100){
n = n%10;
}else if(n>99){
n = n%100;
n = n%10;
}
if(n==3){
System.out.println("bon");
}else if(n==0 || n==1 || n==6 || n==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,
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
],
[
69,
5
],
[
69,
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
],
[
22,
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.*;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int A = Integer.parseInt(sc.next()); \n int B = A % 10;\n if(B==3){\n System.out.println(\"bon\");\n }else if(B==0 || B==1 || B==6 || B==8){\n System.out.println(\"pon\");\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 A = Integer.parseInt(sc.next()); \n int B = A % 10;\n if(B==3){\n System.out.println(\"bon\");\n }else if(B==0 || B==1 || B==6 || B==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 sc = new Scanner(System.in);\n int A = Integer.parseInt(sc.next()); \n int B = A % 10;\n if(B==3){\n System.out.println(\"bon\");\n }else if(B==0 || B==1 || B==6 || B==8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int A = Integer.parseInt(sc.next()); \n int B = A % 10;\n if(B==3){\n System.out.println(\"bon\");\n }else if(B==0 || B==1 || B==6 || B==8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int A = Integer.parseInt(sc.next());",
"A",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int B = A % 10;",
"B",
"A % 10",
"A",
"10",
"if(B==3){\n System.out.println(\"bon\");\n }else if(B==0 || B==1 || B==6 || B==8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }",
"B==3",
"B",
"3",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(B==0 || B==1 || B==6 || B==8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\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 }",
"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 A = Integer.parseInt(sc.next()); \n int B = A % 10;\n if(B==3){\n System.out.println(\"bon\");\n }else if(B==0 || B==1 || B==6 || B==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 sc = new Scanner(System.in);\n int A = Integer.parseInt(sc.next()); \n int B = A % 10;\n if(B==3){\n System.out.println(\"bon\");\n }else if(B==0 || B==1 || B==6 || B==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 sc = new Scanner(System.in);
int A = Integer.parseInt(sc.next());
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,
17,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
13,
17,
41,
13,
4,
18,
13,
13,
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,
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
],
[
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
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
48,
46
],
[
58,
47
],
[
55,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
55,
55
],
[
55,
56
],
[
55,
57
],
[
58,
58
],
[
58,
59
],
[
58,
60
],
[
48,
61
],
[
61,
62
],
[
61,
63
],
[
44,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
44,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
8,
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 \n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n \t\tString tmp = \"\"+N;\n \tint howlong = tmp.length();\n \tString a = tmp.substring(howlong-1);\n \tint n = Integer.parseInt(a);\n \tString pon =\"pon\";\n \t\n \tif(n==2 || n==4 || n==5 || n==7 || n==9){\n pon = \"hon\";\n } else if (n==3){\n pon = \"bon\";\n }\n \n\t\tSystem.out.println(pon);\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\tString tmp = \"\"+N;\n \tint howlong = tmp.length();\n \tString a = tmp.substring(howlong-1);\n \tint n = Integer.parseInt(a);\n \tString pon =\"pon\";\n \t\n \tif(n==2 || n==4 || n==5 || n==7 || n==9){\n pon = \"hon\";\n } else if (n==3){\n pon = \"bon\";\n }\n \n\t\tSystem.out.println(pon);\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\tString tmp = \"\"+N;\n \tint howlong = tmp.length();\n \tString a = tmp.substring(howlong-1);\n \tint n = Integer.parseInt(a);\n \tString pon =\"pon\";\n \t\n \tif(n==2 || n==4 || n==5 || n==7 || n==9){\n pon = \"hon\";\n } else if (n==3){\n pon = \"bon\";\n }\n \n\t\tSystem.out.println(pon);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n \t\tString tmp = \"\"+N;\n \tint howlong = tmp.length();\n \tString a = tmp.substring(howlong-1);\n \tint n = Integer.parseInt(a);\n \tString pon =\"pon\";\n \t\n \tif(n==2 || n==4 || n==5 || n==7 || n==9){\n pon = \"hon\";\n } else if (n==3){\n pon = \"bon\";\n }\n \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",
"String tmp = \"\"+N;",
"tmp",
"\"\"+N",
"\"\"",
"N",
"int howlong = tmp.length();",
"howlong",
"tmp.length()",
"tmp.length",
"tmp",
"String a = tmp.substring(howlong-1);",
"a",
"tmp.substring(howlong-1)",
"tmp.substring",
"tmp",
"howlong-1",
"howlong",
"1",
"int n = Integer.parseInt(a);",
"n",
"Integer.parseInt(a)",
"Integer.parseInt",
"Integer",
"a",
"String pon =\"pon\";",
"pon",
"\"pon\"",
"if(n==2 || n==4 || n==5 || n==7 || n==9){\n pon = \"hon\";\n } else if (n==3){\n pon = \"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 pon = \"hon\";\n }",
"pon = \"hon\"",
"pon",
"\"hon\"",
"if (n==3){\n pon = \"bon\";\n }",
"n==3",
"n",
"3",
"{\n pon = \"bon\";\n }",
"pon = \"bon\"",
"pon",
"\"bon\"",
"System.out.println(pon)",
"System.out.println",
"System.out",
"System",
"System.out",
"pon",
"String[] args",
"args",
"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\tString tmp = \"\"+N;\n \tint howlong = tmp.length();\n \tString a = tmp.substring(howlong-1);\n \tint n = Integer.parseInt(a);\n \tString pon =\"pon\";\n \t\n \tif(n==2 || n==4 || n==5 || n==7 || n==9){\n pon = \"hon\";\n } else if (n==3){\n pon = \"bon\";\n }\n \n\t\tSystem.out.println(pon);\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\tString tmp = \"\"+N;\n \tint howlong = tmp.length();\n \tString a = tmp.substring(howlong-1);\n \tint n = Integer.parseInt(a);\n \tString pon =\"pon\";\n \t\n \tif(n==2 || n==4 || n==5 || n==7 || n==9){\n pon = \"hon\";\n } else if (n==3){\n pon = \"bon\";\n }\n \n\t\tSystem.out.println(pon);\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();
String tmp = ""+N;
int howlong = tmp.length();
String a = tmp.substring(howlong-1);
int n = Integer.parseInt(a);
String pon ="pon";
if(n==2 || n==4 || n==5 || n==7 || n==9){
pon = "hon";
} else if (n==3){
pon = "bon";
}
System.out.println(pon);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
13,
18,
13,
13,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
35,
2,
13,
17,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
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
],
[
89,
11
],
[
89,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
12,
23
],
[
23,
24
],
[
89,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
27,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
36,
43
],
[
43,
44
],
[
43,
45
],
[
36,
46
],
[
46,
47
],
[
46,
48
],
[
36,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
51,
56
],
[
36,
57
],
[
57,
58
],
[
57,
59
],
[
36,
60
],
[
60,
61
],
[
60,
62
],
[
36,
63
],
[
63,
64
],
[
63,
65
],
[
36,
66
],
[
66,
67
],
[
66,
68
],
[
36,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
71,
76
],
[
36,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
25,
84
],
[
84,
85
],
[
25,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
] |
[
"\nimport java.io.InputStream;\nimport java.io.PrintStream;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n int N = scan.nextInt();\n\n switch (N%10) {\n case 0:\n case 1:\n case 6:\n case 8:\n os.println(\"pon\");\n break;\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n os.println(\"hon\");\n break;\n case 3:\n os.println(\"bon\");\n }\n\n }\n}",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintStream;",
"PrintStream",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n int N = scan.nextInt();\n\n switch (N%10) {\n case 0:\n case 1:\n case 6:\n case 8:\n os.println(\"pon\");\n break;\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n os.println(\"hon\");\n break;\n case 3:\n os.println(\"bon\");\n }\n\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }",
"main",
"{\n solve(System.in, System.out);\n }",
"solve(System.in, System.out)",
"solve",
"System.in",
"System",
"System.in",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n int N = scan.nextInt();\n\n switch (N%10) {\n case 0:\n case 1:\n case 6:\n case 8:\n os.println(\"pon\");\n break;\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n os.println(\"hon\");\n break;\n case 3:\n os.println(\"bon\");\n }\n\n }",
"solve",
"{\n // Your code here!\n Scanner scan = new Scanner(is);\n int N = scan.nextInt();\n\n switch (N%10) {\n case 0:\n case 1:\n case 6:\n case 8:\n os.println(\"pon\");\n break;\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n os.println(\"hon\");\n break;\n case 3:\n os.println(\"bon\");\n }\n\n }",
"Scanner scan = new Scanner(is);",
"scan",
"new Scanner(is)",
"int N = scan.nextInt();",
"N",
"scan.nextInt()",
"scan.nextInt",
"scan",
"switch (N%10) {\n case 0:\n case 1:\n case 6:\n case 8:\n os.println(\"pon\");\n break;\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n os.println(\"hon\");\n break;\n case 3:\n os.println(\"bon\");\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:",
"os.println(\"pon\")",
"os.println",
"os",
"\"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:",
"os.println(\"hon\")",
"os.println",
"os",
"\"hon\"",
"break;",
"case 3:",
"3",
"case 3:",
"os.println(\"bon\")",
"os.println",
"os",
"\"bon\"",
"InputStream is",
"is",
"PrintStream os",
"os",
"public class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n int N = scan.nextInt();\n\n switch (N%10) {\n case 0:\n case 1:\n case 6:\n case 8:\n os.println(\"pon\");\n break;\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n os.println(\"hon\");\n break;\n case 3:\n os.println(\"bon\");\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n int N = scan.nextInt();\n\n switch (N%10) {\n case 0:\n case 1:\n case 6:\n case 8:\n os.println(\"pon\");\n break;\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n os.println(\"hon\");\n break;\n case 3:\n os.println(\"bon\");\n }\n\n }\n}",
"Main"
] |
import java.io.InputStream;
import java.io.PrintStream;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
solve(System.in, System.out);
}
static void solve(InputStream is, PrintStream os) {
// Your code here!
Scanner scan = new Scanner(is);
int N = scan.nextInt();
switch (N%10) {
case 0:
case 1:
case 6:
case 8:
os.println("pon");
break;
case 2:
case 4:
case 5:
case 7:
case 9:
os.println("hon");
break;
case 3:
os.println("bon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
41,
13,
0,
13,
2,
13,
17,
14,
2,
13,
17,
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,
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
],
[
8,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
26,
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
],
[
58,
60
],
[
56,
61
],
[
36,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
6,
68
],
[
68,
69
]
] |
[
"import java.util.*;\nclass Main\n{\n public static void main(String args[])\n {\n int N;\n Scanner in=new Scanner(System.in);\n N=in.nextInt();\n int i;\n i=N%10;\n if(i==3)\n System.out.println(\"bon\");\n else if(i==2 ||i==4 ||i==5 ||i==7 ||i==9)\n System.out.println(\"hon\");\n else \n System.out.println(\"pon\");\n }\n}\n ",
"import java.util.*;",
"util.*",
"java",
"class Main\n{\n public static void main(String args[])\n {\n int N;\n Scanner in=new Scanner(System.in);\n N=in.nextInt();\n int i;\n i=N%10;\n if(i==3)\n System.out.println(\"bon\");\n else if(i==2 ||i==4 ||i==5 ||i==7 ||i==9)\n System.out.println(\"hon\");\n else \n System.out.println(\"pon\");\n }\n}",
"Main",
"public static void main(String args[])\n {\n int N;\n Scanner in=new Scanner(System.in);\n N=in.nextInt();\n int i;\n i=N%10;\n if(i==3)\n System.out.println(\"bon\");\n else if(i==2 ||i==4 ||i==5 ||i==7 ||i==9)\n System.out.println(\"hon\");\n else \n System.out.println(\"pon\");\n }",
"main",
"{\n int N;\n Scanner in=new Scanner(System.in);\n N=in.nextInt();\n int i;\n i=N%10;\n if(i==3)\n System.out.println(\"bon\");\n else if(i==2 ||i==4 ||i==5 ||i==7 ||i==9)\n System.out.println(\"hon\");\n else \n System.out.println(\"pon\");\n }",
"int N;",
"N",
"Scanner in=new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"N=in.nextInt()",
"N",
"in.nextInt()",
"in.nextInt",
"in",
"int i;",
"i",
"i=N%10",
"i",
"N%10",
"N",
"10",
"if(i==3)\n System.out.println(\"bon\");\n else if(i==2 ||i==4 ||i==5 ||i==7 ||i==9)\n System.out.println(\"hon\");\n else \n System.out.println(\"pon\");",
"i==3",
"i",
"3",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(i==2 ||i==4 ||i==5 ||i==7 ||i==9)\n System.out.println(\"hon\");\n else \n System.out.println(\"pon\");",
"i==2 ||i==4 ||i==5 ||i==7 ||i==9",
"i==7",
"i==5",
"i==2 ||i==4 ||i==5 ||i==7 ||i==9",
"i==2",
"i",
"2",
"i==4",
"i",
"4",
"i==5",
"i",
"5",
"i==7",
"i",
"7",
"i==9",
"i",
"9",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"String args[]",
"args"
] |
import java.util.*;
class Main
{
public static void main(String args[])
{
int N;
Scanner in=new Scanner(System.in);
N=in.nextInt();
int i;
i=N%10;
if(i==3)
System.out.println("bon");
else if(i==2 ||i==4 ||i==5 ||i==7 ||i==9)
System.out.println("hon");
else
System.out.println("pon");
}
}
|
[
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,
14,
2,
2,
2,
2,
2,
18,
13,
2,
18,
13,
13,
17,
17,
2,
18,
13,
2,
18,
13,
13,
17,
17,
2,
18,
13,
2,
18,
13,
13,
17,
17,
2,
18,
13,
2,
18,
13,
13,
17,
17,
2,
18,
13,
2,
18,
13,
13,
17,
17,
4,
18,
13,
17,
14,
2,
18,
13,
2,
18,
13,
13,
17,
17,
4,
18,
13,
17,
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
],
[
106,
8
],
[
106,
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
],
[
29,
27
],
[
57,
28
],
[
48,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
30,
38
],
[
29,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
39,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
48,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
57,
65
],
[
29,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
66,
74
],
[
25,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
25,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
80,
88
],
[
79,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
79,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
11,
97
],
[
97,
98
],
[
98,
99
],
[
11,
100
],
[
100,
101
],
[
101,
102
],
[
9,
103
],
[
103,
104
],
[
0,
105
],
[
105,
106
],
[
105,
107
]
] |
[
"import java.util.*;\nimport java.io.*;\npublic class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n char carr[]=br.readLine().toCharArray();\n if(carr[carr.length-1]=='2'||carr[carr.length-1]=='4'||carr[carr.length-1]=='5'||carr[carr.length-1]=='7'||carr[carr.length-1]=='9')\n pw.println(\"hon\");\n else if(carr[carr.length-1]=='3')\n pw.println(\"bon\");\n else\n pw.println(\"pon\");\n pw.flush();\n pw.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n char carr[]=br.readLine().toCharArray();\n if(carr[carr.length-1]=='2'||carr[carr.length-1]=='4'||carr[carr.length-1]=='5'||carr[carr.length-1]=='7'||carr[carr.length-1]=='9')\n pw.println(\"hon\");\n else if(carr[carr.length-1]=='3')\n pw.println(\"bon\");\n else\n pw.println(\"pon\");\n pw.flush();\n pw.close();\n }\n}",
"Main",
"public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n char carr[]=br.readLine().toCharArray();\n if(carr[carr.length-1]=='2'||carr[carr.length-1]=='4'||carr[carr.length-1]=='5'||carr[carr.length-1]=='7'||carr[carr.length-1]=='9')\n pw.println(\"hon\");\n else if(carr[carr.length-1]=='3')\n pw.println(\"bon\");\n else\n pw.println(\"pon\");\n pw.flush();\n pw.close();\n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n char carr[]=br.readLine().toCharArray();\n if(carr[carr.length-1]=='2'||carr[carr.length-1]=='4'||carr[carr.length-1]=='5'||carr[carr.length-1]=='7'||carr[carr.length-1]=='9')\n pw.println(\"hon\");\n else if(carr[carr.length-1]=='3')\n pw.println(\"bon\");\n else\n pw.println(\"pon\");\n pw.flush();\n pw.close();\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"PrintWriter pw=new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"char carr[]=br.readLine().toCharArray();",
"carr",
"br.readLine().toCharArray()",
"br.readLine().toCharArray",
"br.readLine()",
"br.readLine",
"br",
"if(carr[carr.length-1]=='2'||carr[carr.length-1]=='4'||carr[carr.length-1]=='5'||carr[carr.length-1]=='7'||carr[carr.length-1]=='9')\n pw.println(\"hon\");\n else if(carr[carr.length-1]=='3')\n pw.println(\"bon\");\n else\n pw.println(\"pon\");",
"carr[carr.length-1]=='2'||carr[carr.length-1]=='4'||carr[carr.length-1]=='5'||carr[carr.length-1]=='7'||carr[carr.length-1]=='9'",
"carr[carr.length-1]=='7'",
"carr[carr.length-1]=='5'",
"carr[carr.length-1]=='2'||carr[carr.length-1]=='4'||carr[carr.length-1]=='5'||carr[carr.length-1]=='7'||carr[carr.length-1]=='9'",
"carr[carr.length-1]=='2'",
"carr[carr.length-1]",
"carr",
"carr.length-1",
"carr.length",
"carr",
"carr.length",
"1",
"'2'",
"carr[carr.length-1]=='4'",
"carr[carr.length-1]",
"carr",
"carr.length-1",
"carr.length",
"carr",
"carr.length",
"1",
"'4'",
"carr[carr.length-1]=='5'",
"carr[carr.length-1]",
"carr",
"carr.length-1",
"carr.length",
"carr",
"carr.length",
"1",
"'5'",
"carr[carr.length-1]=='7'",
"carr[carr.length-1]",
"carr",
"carr.length-1",
"carr.length",
"carr",
"carr.length",
"1",
"'7'",
"carr[carr.length-1]=='9'",
"carr[carr.length-1]",
"carr",
"carr.length-1",
"carr.length",
"carr",
"carr.length",
"1",
"'9'",
"pw.println(\"hon\")",
"pw.println",
"pw",
"\"hon\"",
"if(carr[carr.length-1]=='3')\n pw.println(\"bon\");\n else\n pw.println(\"pon\");",
"carr[carr.length-1]=='3'",
"carr[carr.length-1]",
"carr",
"carr.length-1",
"carr.length",
"carr",
"carr.length",
"1",
"'3'",
"pw.println(\"bon\")",
"pw.println",
"pw",
"\"bon\"",
"pw.println(\"pon\")",
"pw.println",
"pw",
"\"pon\"",
"pw.flush()",
"pw.flush",
"pw",
"pw.close()",
"pw.close",
"pw",
"String args[]",
"args",
"public class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n char carr[]=br.readLine().toCharArray();\n if(carr[carr.length-1]=='2'||carr[carr.length-1]=='4'||carr[carr.length-1]=='5'||carr[carr.length-1]=='7'||carr[carr.length-1]=='9')\n pw.println(\"hon\");\n else if(carr[carr.length-1]=='3')\n pw.println(\"bon\");\n else\n pw.println(\"pon\");\n pw.flush();\n pw.close();\n }\n}",
"public class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n char carr[]=br.readLine().toCharArray();\n if(carr[carr.length-1]=='2'||carr[carr.length-1]=='4'||carr[carr.length-1]=='5'||carr[carr.length-1]=='7'||carr[carr.length-1]=='9')\n pw.println(\"hon\");\n else if(carr[carr.length-1]=='3')\n pw.println(\"bon\");\n else\n pw.println(\"pon\");\n pw.flush();\n pw.close();\n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main
{
public static void main(String args[])throws Exception
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
PrintWriter pw=new PrintWriter(System.out);
char carr[]=br.readLine().toCharArray();
if(carr[carr.length-1]=='2'||carr[carr.length-1]=='4'||carr[carr.length-1]=='5'||carr[carr.length-1]=='7'||carr[carr.length-1]=='9')
pw.println("hon");
else if(carr[carr.length-1]=='3')
pw.println("bon");
else
pw.println("pon");
pw.flush();
pw.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
18,
13,
13,
18,
13,
2,
4,
18,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
30,
5
],
[
30,
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
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
6,
27
],
[
27,
28
],
[
0,
29
],
[
29,
30
],
[
29,
31
]
] |
[
"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[] arr = new String[]{\"pon\",\"pon\",\"hon\",\"bon\",\"hon\",\"hon\",\"pon\",\"hon\",\"pon\",\"hon\"};\n System.out.println(arr[sc.nextInt()%10]);\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[] arr = new String[]{\"pon\",\"pon\",\"hon\",\"bon\",\"hon\",\"hon\",\"pon\",\"hon\",\"pon\",\"hon\"};\n System.out.println(arr[sc.nextInt()%10]);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] arr = new String[]{\"pon\",\"pon\",\"hon\",\"bon\",\"hon\",\"hon\",\"pon\",\"hon\",\"pon\",\"hon\"};\n System.out.println(arr[sc.nextInt()%10]);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String[] arr = new String[]{\"pon\",\"pon\",\"hon\",\"bon\",\"hon\",\"hon\",\"pon\",\"hon\",\"pon\",\"hon\"};\n System.out.println(arr[sc.nextInt()%10]);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String[] arr = new String[]{\"pon\",\"pon\",\"hon\",\"bon\",\"hon\",\"hon\",\"pon\",\"hon\",\"pon\",\"hon\"};",
"arr",
"new String[]{\"pon\",\"pon\",\"hon\",\"bon\",\"hon\",\"hon\",\"pon\",\"hon\",\"pon\",\"hon\"}",
"System.out.println(arr[sc.nextInt()%10])",
"System.out.println",
"System.out",
"System",
"System.out",
"arr[sc.nextInt()%10]",
"arr",
"sc.nextInt()%10",
"sc.nextInt()",
"sc.nextInt",
"sc",
"10",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] arr = new String[]{\"pon\",\"pon\",\"hon\",\"bon\",\"hon\",\"hon\",\"pon\",\"hon\",\"pon\",\"hon\"};\n System.out.println(arr[sc.nextInt()%10]);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] arr = new String[]{\"pon\",\"pon\",\"hon\",\"bon\",\"hon\",\"hon\",\"pon\",\"hon\",\"pon\",\"hon\"};\n System.out.println(arr[sc.nextInt()%10]);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String[] arr = new String[]{"pon","pon","hon","bon","hon","hon","pon","hon","pon","hon"};
System.out.println(arr[sc.nextInt()%10]);
}
}
|
[
7,
6,
13,
12,
13,
30,
41,
13,
4,
18,
20,
4,
18,
18,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
41,
13,
39,
17,
17,
17,
17,
14,
2,
2,
13,
17,
17,
29,
17,
28,
13,
13,
30,
30,
14,
2,
2,
13,
17,
13,
29,
17,
29,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
57,
2
],
[
57,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
5,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
11,
16
],
[
16,
17
],
[
16,
18
],
[
3,
19
],
[
19,
20
],
[
57,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
26,
29
],
[
26,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
31,
37
],
[
37,
38
],
[
23,
39
],
[
39,
40
],
[
39,
41
],
[
39,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
44,
50
],
[
50,
51
],
[
23,
52
],
[
52,
53
],
[
21,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] |
[
"public class Main {\n\n public static void main(String[] args) {\n int num = new java.util.Scanner(System.in).nextInt();\n System.out.println(HPB(num));\n }\n\n static public String HPB(int number) {\n // \"pon\"パターン\n int[] ponNumber = {0, 1, 6, 8};\n\n // 1の位が3なら\"bon\"\n if (number % 10 == 3)\n return \"bon\";\n\n // 1の位が\"pon\"パターンに当てはまるか\n for (int ponInt : ponNumber) {\n if (number % 10 == ponInt)\n return \"pon\";\n }\n\n // \"bon\"でも\"pon\"でもないものは\"hon\"パターン\n return \"hon\";\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n int num = new java.util.Scanner(System.in).nextInt();\n System.out.println(HPB(num));\n }\n\n static public String HPB(int number) {\n // \"pon\"パターン\n int[] ponNumber = {0, 1, 6, 8};\n\n // 1の位が3なら\"bon\"\n if (number % 10 == 3)\n return \"bon\";\n\n // 1の位が\"pon\"パターンに当てはまるか\n for (int ponInt : ponNumber) {\n if (number % 10 == ponInt)\n return \"pon\";\n }\n\n // \"bon\"でも\"pon\"でもないものは\"hon\"パターン\n return \"hon\";\n }\n}",
"Main",
"public static void main(String[] args) {\n int num = new java.util.Scanner(System.in).nextInt();\n System.out.println(HPB(num));\n }",
"main",
"{\n int num = new java.util.Scanner(System.in).nextInt();\n System.out.println(HPB(num));\n }",
"int num = new java.util.Scanner(System.in).nextInt();",
"num",
"new java.util.Scanner(System.in).nextInt()",
"new java.util.Scanner(System.in).nextInt",
"new java.util.Scanner(System.in)",
"System.out.println(HPB(num))",
"System.out.println",
"System.out",
"System",
"System.out",
"HPB(num)",
"HPB",
"num",
"String[] args",
"args",
"static public String HPB(int number) {\n // \"pon\"パターン\n int[] ponNumber = {0, 1, 6, 8};\n\n // 1の位が3なら\"bon\"\n if (number % 10 == 3)\n return \"bon\";\n\n // 1の位が\"pon\"パターンに当てはまるか\n for (int ponInt : ponNumber) {\n if (number % 10 == ponInt)\n return \"pon\";\n }\n\n // \"bon\"でも\"pon\"でもないものは\"hon\"パターン\n return \"hon\";\n }",
"HPB",
"{\n // \"pon\"パターン\n int[] ponNumber = {0, 1, 6, 8};\n\n // 1の位が3なら\"bon\"\n if (number % 10 == 3)\n return \"bon\";\n\n // 1の位が\"pon\"パターンに当てはまるか\n for (int ponInt : ponNumber) {\n if (number % 10 == ponInt)\n return \"pon\";\n }\n\n // \"bon\"でも\"pon\"でもないものは\"hon\"パターン\n return \"hon\";\n }",
"int[] ponNumber = {0, 1, 6, 8};",
"ponNumber",
"{0, 1, 6, 8}",
"0",
"1",
"6",
"8",
"if (number % 10 == 3)\n return \"bon\";",
"number % 10 == 3",
"number % 10",
"number",
"10",
"3",
"return \"bon\";",
"\"bon\"",
"for (int ponInt : ponNumber) {\n if (number % 10 == ponInt)\n return \"pon\";\n }",
"int ponInt",
"ponNumber",
"{\n if (number % 10 == ponInt)\n return \"pon\";\n }",
"{\n if (number % 10 == ponInt)\n return \"pon\";\n }",
"if (number % 10 == ponInt)\n return \"pon\";",
"number % 10 == ponInt",
"number % 10",
"number",
"10",
"ponInt",
"return \"pon\";",
"\"pon\"",
"return \"hon\";",
"\"hon\"",
"int number",
"number",
"public class Main {\n\n public static void main(String[] args) {\n int num = new java.util.Scanner(System.in).nextInt();\n System.out.println(HPB(num));\n }\n\n static public String HPB(int number) {\n // \"pon\"パターン\n int[] ponNumber = {0, 1, 6, 8};\n\n // 1の位が3なら\"bon\"\n if (number % 10 == 3)\n return \"bon\";\n\n // 1の位が\"pon\"パターンに当てはまるか\n for (int ponInt : ponNumber) {\n if (number % 10 == ponInt)\n return \"pon\";\n }\n\n // \"bon\"でも\"pon\"でもないものは\"hon\"パターン\n return \"hon\";\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n int num = new java.util.Scanner(System.in).nextInt();\n System.out.println(HPB(num));\n }\n\n static public String HPB(int number) {\n // \"pon\"パターン\n int[] ponNumber = {0, 1, 6, 8};\n\n // 1の位が3なら\"bon\"\n if (number % 10 == 3)\n return \"bon\";\n\n // 1の位が\"pon\"パターンに当てはまるか\n for (int ponInt : ponNumber) {\n if (number % 10 == ponInt)\n return \"pon\";\n }\n\n // \"bon\"でも\"pon\"でもないものは\"hon\"パターン\n return \"hon\";\n }\n}",
"Main"
] |
public class Main {
public static void main(String[] args) {
int num = new java.util.Scanner(System.in).nextInt();
System.out.println(HPB(num));
}
static public String HPB(int number) {
// "pon"パターン
int[] ponNumber = {0, 1, 6, 8};
// 1の位が3なら"bon"
if (number % 10 == 3)
return "bon";
// 1の位が"pon"パターンに当てはまるか
for (int ponInt : ponNumber) {
if (number % 10 == ponInt)
return "pon";
}
// "bon"でも"pon"でもないものは"hon"パターン
return "hon";
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
0,
13,
2,
2,
2,
13,
13,
17,
13,
0,
13,
2,
2,
13,
17,
13,
0,
13,
2,
13,
13,
29,
13,
23,
13,
23,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
30,
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,
4,
18,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
18,
13,
17,
14,
2,
13,
17,
4,
18,
13,
17,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
37,
20,
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,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
41,
13,
18,
13,
13,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
2,
13,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
12,
13,
30,
29,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
40,
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
],
[
528,
11
],
[
528,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
14,
19
],
[
19,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
23,
29
],
[
14,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
14,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
14,
42
],
[
42,
43
],
[
12,
44
],
[
44,
45
],
[
12,
46
],
[
46,
47
],
[
12,
48
],
[
48,
49
],
[
12,
50
],
[
50,
51
],
[
12,
52
],
[
52,
53
],
[
528,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
56,
63
],
[
63,
64
],
[
63,
65
],
[
56,
66
],
[
66,
67
],
[
66,
68
],
[
56,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
69,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
74,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
85,
89
],
[
74,
90
],
[
90,
91
],
[
94,
92
],
[
104,
93
],
[
101,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
98,
100
],
[
101,
101
],
[
101,
102
],
[
101,
103
],
[
104,
104
],
[
104,
105
],
[
104,
106
],
[
94,
107
],
[
107,
108
],
[
107,
109
],
[
90,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
90,
114
],
[
114,
115
],
[
117,
116
],
[
124,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
121,
122
],
[
121,
123
],
[
124,
124
],
[
124,
125
],
[
124,
126
],
[
117,
127
],
[
127,
128
],
[
127,
129
],
[
114,
130
],
[
130,
131
],
[
131,
132
],
[
130,
133
],
[
114,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
134,
138
],
[
138,
139
],
[
139,
140
],
[
138,
141
],
[
56,
142
],
[
142,
143
],
[
143,
144
],
[
54,
145
],
[
145,
146
],
[
528,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
147,
151
],
[
151,
152
],
[
151,
153
],
[
147,
155
],
[
155,
156
],
[
147,
157
],
[
157,
158
],
[
147,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
162,
166
],
[
159,
167
],
[
167,
168
],
[
147,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
172,
177
],
[
177,
178
],
[
171,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
179,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
183,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
191,
192
],
[
187,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
197,
198
],
[
196,
199
],
[
183,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
200,
204
],
[
204,
205
],
[
205,
206
],
[
171,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
147,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
214,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
219,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
214,
228
],
[
228,
229
],
[
228,
230
],
[
214,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
231,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
235,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
214,
244
],
[
244,
245
],
[
244,
246
],
[
214,
247
],
[
247,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
247,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
252,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
258,
260
],
[
252,
261
],
[
261,
262
],
[
261,
263
],
[
263,
264
],
[
214,
265
],
[
265,
266
],
[
266,
267
],
[
266,
268
],
[
147,
269
],
[
269,
270
],
[
269,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
271,
276
],
[
276,
277
],
[
277,
278
],
[
277,
279
],
[
276,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
271,
285
],
[
285,
286
],
[
285,
287
],
[
271,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
288,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
295,
296
],
[
292,
297
],
[
297,
298
],
[
297,
299
],
[
299,
300
],
[
271,
301
],
[
301,
302
],
[
301,
303
],
[
271,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
304,
309
],
[
309,
310
],
[
310,
311
],
[
310,
312
],
[
309,
313
],
[
313,
314
],
[
313,
315
],
[
315,
316
],
[
315,
317
],
[
309,
318
],
[
318,
319
],
[
318,
320
],
[
320,
321
],
[
271,
322
],
[
322,
323
],
[
323,
324
],
[
323,
325
],
[
147,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
329,
330
],
[
329,
331
],
[
328,
333
],
[
333,
334
],
[
334,
335
],
[
335,
336
],
[
335,
337
],
[
333,
338
],
[
338,
339
],
[
338,
340
],
[
333,
341
],
[
341,
342
],
[
342,
343
],
[
333,
344
],
[
345,
345
],
[
345,
346
],
[
346,
347
],
[
347,
348
],
[
347,
349
],
[
346,
350
],
[
350,
351
],
[
328,
352
],
[
352,
353
],
[
326,
354
],
[
354,
355
],
[
147,
356
],
[
356,
357
],
[
356,
358
],
[
358,
359
],
[
359,
360
],
[
360,
361
],
[
361,
362
],
[
361,
363
],
[
360,
364
],
[
364,
365
],
[
364,
366
],
[
366,
367
],
[
366,
368
],
[
359,
369
],
[
369,
370
],
[
369,
371
],
[
359,
372
],
[
372,
373
],
[
373,
374
],
[
359,
375
],
[
376,
376
],
[
376,
377
],
[
377,
378
],
[
377,
379
],
[
379,
380
],
[
380,
381
],
[
381,
382
],
[
380,
383
],
[
383,
384
],
[
383,
385
],
[
379,
386
],
[
376,
387
],
[
387,
388
],
[
387,
389
],
[
389,
390
],
[
389,
391
],
[
376,
392
],
[
392,
393
],
[
393,
394
],
[
393,
395
],
[
392,
396
],
[
396,
397
],
[
396,
398
],
[
376,
399
],
[
399,
400
],
[
400,
401
],
[
400,
402
],
[
399,
403
],
[
358,
404
],
[
404,
405
],
[
356,
406
],
[
406,
407
],
[
356,
408
],
[
408,
409
],
[
147,
410
],
[
410,
411
],
[
410,
412
],
[
412,
413
],
[
413,
414
],
[
413,
415
],
[
415,
416
],
[
412,
417
],
[
417,
418
],
[
418,
419
],
[
418,
420
],
[
417,
421
],
[
421,
422
],
[
422,
423
],
[
422,
424
],
[
424,
425
],
[
412,
426
],
[
426,
427
],
[
426,
428
],
[
412,
429
],
[
429,
430
],
[
430,
431
],
[
431,
432
],
[
431,
433
],
[
429,
434
],
[
434,
435
],
[
435,
436
],
[
436,
437
],
[
435,
438
],
[
434,
439
],
[
439,
440
],
[
439,
441
],
[
441,
442
],
[
412,
443
],
[
443,
444
],
[
444,
445
],
[
445,
446
],
[
147,
447
],
[
447,
448
],
[
447,
449
],
[
449,
450
],
[
450,
451
],
[
450,
452
],
[
452,
453
],
[
449,
454
],
[
454,
455
],
[
455,
456
],
[
455,
457
],
[
454,
458
],
[
458,
459
],
[
458,
460
],
[
460,
461
],
[
449,
462
],
[
462,
463
],
[
462,
464
],
[
449,
465
],
[
465,
466
],
[
466,
467
],
[
467,
468
],
[
467,
469
],
[
465,
470
],
[
470,
471
],
[
471,
472
],
[
472,
473
],
[
471,
474
],
[
470,
475
],
[
475,
476
],
[
475,
477
],
[
477,
478
],
[
449,
479
],
[
479,
480
],
[
480,
481
],
[
481,
482
],
[
147,
483
],
[
483,
484
],
[
483,
485
],
[
485,
486
],
[
486,
487
],
[
490,
488
],
[
500,
489
],
[
497,
490
],
[
490,
491
],
[
491,
492
],
[
491,
493
],
[
490,
494
],
[
494,
495
],
[
494,
496
],
[
497,
497
],
[
497,
498
],
[
497,
499
],
[
500,
500
],
[
500,
501
],
[
500,
502
],
[
490,
503
],
[
503,
504
],
[
503,
505
],
[
505,
506
],
[
483,
507
],
[
507,
508
],
[
147,
509
],
[
509,
510
],
[
509,
511
],
[
511,
512
],
[
512,
513
],
[
514,
514
],
[
514,
515
],
[
515,
516
],
[
515,
517
],
[
514,
518
],
[
518,
519
],
[
518,
520
],
[
514,
521
],
[
521,
522
],
[
521,
523
],
[
523,
524
],
[
509,
525
],
[
525,
526
],
[
0,
527
],
[
527,
528
],
[
527,
529
]
] |
[
"import java.io.*;\nimport java.math.BigInteger;\nimport java.util.*;\npublic class Main {\n static int lagDuration(int h1, int m1,\n int h2, int m2,\n int k)\n {\n int lag, t1, t2;\n\n // Conversion to minutes\n t1 = (h1 + k) * 60 + m1;\n\n // Conversion to minutes\n t2 = h2 * 60 + m2;\n\n // Calculating difference\n lag = t1 - t2;\n return lag;\n }\n\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n\n String s = sc.nextLine();\n char p =s.charAt(s.length()-1);\n if(p=='2' || p=='4' || p=='5' || p=='7' || p=='9')\n pw.println(\"hon\");\n else if(p=='0' || p=='1' || p=='6' || p=='8')\n pw.println(\"pon\");\n else if(p=='3')\n pw.println(\"bon\");\n }\n pw.close();\n\n }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n }\n\n}",
"import java.io.*;",
"io.*",
"java",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n static int lagDuration(int h1, int m1,\n int h2, int m2,\n int k)\n {\n int lag, t1, t2;\n\n // Conversion to minutes\n t1 = (h1 + k) * 60 + m1;\n\n // Conversion to minutes\n t2 = h2 * 60 + m2;\n\n // Calculating difference\n lag = t1 - t2;\n return lag;\n }\n\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n\n String s = sc.nextLine();\n char p =s.charAt(s.length()-1);\n if(p=='2' || p=='4' || p=='5' || p=='7' || p=='9')\n pw.println(\"hon\");\n else if(p=='0' || p=='1' || p=='6' || p=='8')\n pw.println(\"pon\");\n else if(p=='3')\n pw.println(\"bon\");\n }\n pw.close();\n\n }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n }\n\n}",
"Main",
"static int lagDuration(int h1, int m1,\n int h2, int m2,\n int k)\n {\n int lag, t1, t2;\n\n // Conversion to minutes\n t1 = (h1 + k) * 60 + m1;\n\n // Conversion to minutes\n t2 = h2 * 60 + m2;\n\n // Calculating difference\n lag = t1 - t2;\n return lag;\n }",
"lagDuration",
"{\n int lag, t1, t2;\n\n // Conversion to minutes\n t1 = (h1 + k) * 60 + m1;\n\n // Conversion to minutes\n t2 = h2 * 60 + m2;\n\n // Calculating difference\n lag = t1 - t2;\n return lag;\n }",
"int lag",
"lag",
"t1",
"t1",
"t2;",
"t2",
"t1 = (h1 + k) * 60 + m1",
"t1",
"(h1 + k) * 60 + m1",
"(h1 + k) * 60",
"(h1 + k)",
"h1",
"k",
"60",
"m1",
"t2 = h2 * 60 + m2",
"t2",
"h2 * 60 + m2",
"h2 * 60",
"h2",
"60",
"m2",
"lag = t1 - t2",
"lag",
"t1 - t2",
"t1",
"t2",
"return lag;",
"lag",
"int h1",
"h1",
"int m1",
"m1",
"int h2",
"h2",
"int m2",
"m2",
"int k",
"k",
"public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n\n String s = sc.nextLine();\n char p =s.charAt(s.length()-1);\n if(p=='2' || p=='4' || p=='5' || p=='7' || p=='9')\n pw.println(\"hon\");\n else if(p=='0' || p=='1' || p=='6' || p=='8')\n pw.println(\"pon\");\n else if(p=='3')\n pw.println(\"bon\");\n }\n pw.close();\n\n }",
"main",
"{\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n\n String s = sc.nextLine();\n char p =s.charAt(s.length()-1);\n if(p=='2' || p=='4' || p=='5' || p=='7' || p=='9')\n pw.println(\"hon\");\n else if(p=='0' || p=='1' || p=='6' || p=='8')\n pw.println(\"pon\");\n else if(p=='3')\n pw.println(\"bon\");\n }\n pw.close();\n\n }",
"InputReader sc = new InputReader(System.in);",
"sc",
"new InputReader(System.in)",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"Random gen = new Random();",
"gen",
"new Random()",
"int test = 1;",
"test",
"1",
"while(test-->0) {\n\n String s = sc.nextLine();\n char p =s.charAt(s.length()-1);\n if(p=='2' || p=='4' || p=='5' || p=='7' || p=='9')\n pw.println(\"hon\");\n else if(p=='0' || p=='1' || p=='6' || p=='8')\n pw.println(\"pon\");\n else if(p=='3')\n pw.println(\"bon\");\n }",
"test-->0",
"test--",
"test",
"0",
"{\n\n String s = sc.nextLine();\n char p =s.charAt(s.length()-1);\n if(p=='2' || p=='4' || p=='5' || p=='7' || p=='9')\n pw.println(\"hon\");\n else if(p=='0' || p=='1' || p=='6' || p=='8')\n pw.println(\"pon\");\n else if(p=='3')\n pw.println(\"bon\");\n }",
"String s = sc.nextLine();",
"s",
"sc.nextLine()",
"sc.nextLine",
"sc",
"char p =s.charAt(s.length()-1);",
"p",
"s.charAt(s.length()-1)",
"s.charAt",
"s",
"s.length()-1",
"s.length()",
"s.length",
"s",
"1",
"if(p=='2' || p=='4' || p=='5' || p=='7' || p=='9')\n pw.println(\"hon\");\n else if(p=='0' || p=='1' || p=='6' || p=='8')\n pw.println(\"pon\");\n else if(p=='3')\n pw.println(\"bon\");",
"p=='2' || p=='4' || p=='5' || p=='7' || p=='9'",
"p=='7'",
"p=='5'",
"p=='2' || p=='4' || p=='5' || p=='7' || p=='9'",
"p=='2'",
"p",
"'2'",
"p=='4'",
"p",
"'4'",
"p=='5'",
"p",
"'5'",
"p=='7'",
"p",
"'7'",
"p=='9'",
"p",
"'9'",
"pw.println(\"hon\")",
"pw.println",
"pw",
"\"hon\"",
"if(p=='0' || p=='1' || p=='6' || p=='8')\n pw.println(\"pon\");\n else if(p=='3')\n pw.println(\"bon\");",
"p=='0' || p=='1' || p=='6' || p=='8'",
"p=='6'",
"p=='0' || p=='1' || p=='6' || p=='8'",
"p=='0'",
"p",
"'0'",
"p=='1'",
"p",
"'1'",
"p=='6'",
"p",
"'6'",
"p=='8'",
"p",
"'8'",
"pw.println(\"pon\")",
"pw.println",
"pw",
"\"pon\"",
"if(p=='3')\n pw.println(\"bon\");",
"p=='3'",
"p",
"'3'",
"pw.println(\"bon\")",
"pw.println",
"pw",
"\"bon\"",
"pw.close()",
"pw.close",
"pw",
"String[] args",
"args",
"static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n }",
"InputReader",
"private final InputStream stream;",
"stream",
"private final byte[] buf = new byte[8192];",
"buf",
"new byte[8192]",
"8192",
"private int curChar",
"curChar",
"snumChars;",
"snumChars",
"public InputReader(InputStream st) {\n this.stream = st;\n }",
"InputReader",
"{\n this.stream = st;\n }",
"this.stream = st",
"this.stream",
"this",
"this.stream",
"st",
"InputStream st",
"st",
"public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"read",
"{\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"if (snumChars == -1)\n throw new InputMismatchException();",
"snumChars == -1",
"snumChars",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }",
"curChar >= snumChars",
"curChar",
"snumChars",
"{\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }",
"curChar = 0",
"curChar",
"0",
"try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n snumChars = stream.read(buf);\n }",
"snumChars = stream.read(buf)",
"snumChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (snumChars <= 0)\n return -1;",
"snumChars <= 0",
"snumChars",
"0",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextInt",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"int res = 0;",
"res",
"0",
"do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res *= 10;\n res += c - '0';\n c = read();\n }",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextLong",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"long res = 0;",
"res",
"0",
"do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res *= 10;\n res += c - '0';\n c = read();\n }",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public int[] nextIntArray(int n) {\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }",
"nextIntArray",
"{\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }",
"int [] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = nextInt();\n }",
"{\n a[i] = nextInt();\n }",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }",
"shuffle",
"{ for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }",
"for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }",
"int i = 0, n = a.length;",
"int i = 0",
"i",
"0",
"n = a.length;",
"n",
"a.length",
"a",
"a.length",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{ int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }",
"{ int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }",
"int ind = gen.nextInt(n-i)+i;",
"ind",
"gen.nextInt(n-i)+i",
"gen.nextInt(n-i)",
"gen.nextInt",
"gen",
"n-i",
"n",
"i",
"i",
"int d = a[i];",
"d",
"a[i]",
"a",
"i",
"a[i] = a[ind]",
"a[i]",
"a",
"i",
"a[ind]",
"a",
"ind",
"a[ind] = d",
"a[ind]",
"a",
"ind",
"d",
"return a;",
"a",
"int[] a",
"a",
"Random gen",
"gen",
"public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"readString",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res.appendCodePoint(c);\n c = read();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public String nextLine() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }",
"nextLine",
"{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));",
"!isEndOfLine(c)",
"isEndOfLine(c)",
"isEndOfLine",
"c",
"{\n res.appendCodePoint(c);\n c = read();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"isEndOfLine",
"{\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"return c == '\\n' || c == '\\r' || c == -1;",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public class Main {\n static int lagDuration(int h1, int m1,\n int h2, int m2,\n int k)\n {\n int lag, t1, t2;\n\n // Conversion to minutes\n t1 = (h1 + k) * 60 + m1;\n\n // Conversion to minutes\n t2 = h2 * 60 + m2;\n\n // Calculating difference\n lag = t1 - t2;\n return lag;\n }\n\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n\n String s = sc.nextLine();\n char p =s.charAt(s.length()-1);\n if(p=='2' || p=='4' || p=='5' || p=='7' || p=='9')\n pw.println(\"hon\");\n else if(p=='0' || p=='1' || p=='6' || p=='8')\n pw.println(\"pon\");\n else if(p=='3')\n pw.println(\"bon\");\n }\n pw.close();\n\n }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n }\n\n}",
"public class Main {\n static int lagDuration(int h1, int m1,\n int h2, int m2,\n int k)\n {\n int lag, t1, t2;\n\n // Conversion to minutes\n t1 = (h1 + k) * 60 + m1;\n\n // Conversion to minutes\n t2 = h2 * 60 + m2;\n\n // Calculating difference\n lag = t1 - t2;\n return lag;\n }\n\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n\n String s = sc.nextLine();\n char p =s.charAt(s.length()-1);\n if(p=='2' || p=='4' || p=='5' || p=='7' || p=='9')\n pw.println(\"hon\");\n else if(p=='0' || p=='1' || p=='6' || p=='8')\n pw.println(\"pon\");\n else if(p=='3')\n pw.println(\"bon\");\n }\n pw.close();\n\n }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n }\n\n}",
"Main"
] |
import java.io.*;
import java.math.BigInteger;
import java.util.*;
public class Main {
static int lagDuration(int h1, int m1,
int h2, int m2,
int k)
{
int lag, t1, t2;
// Conversion to minutes
t1 = (h1 + k) * 60 + m1;
// Conversion to minutes
t2 = h2 * 60 + m2;
// Calculating difference
lag = t1 - t2;
return lag;
}
public static void main(String[] args) {
InputReader sc = new InputReader(System.in);
PrintWriter pw = new PrintWriter(System.out);
Random gen = new Random();
int test = 1;//sc.nextInt();
while(test-->0) {
String s = sc.nextLine();
char p =s.charAt(s.length()-1);
if(p=='2' || p=='4' || p=='5' || p=='7' || p=='9')
pw.println("hon");
else if(p=='0' || p=='1' || p=='6' || p=='8')
pw.println("pon");
else if(p=='3')
pw.println("bon");
}
pw.close();
}
static class InputReader {
private final InputStream stream;
private final byte[] buf = new byte[8192];
private int curChar, snumChars;
public InputReader(InputStream st) {
this.stream = st;
}
public int read() {
if (snumChars == -1)
throw new InputMismatchException();
if (curChar >= snumChars) {
curChar = 0;
try {
snumChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (snumChars <= 0)
return -1;
}
return buf[curChar++];
}
public int nextInt() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
int res = 0;
do {
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public long nextLong() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
long res = 0;
do {
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public int[] nextIntArray(int n) {
int [] a = new int[n];
for (int i = 0; i < n; i++) {
a[i] = nextInt();
}
return a;
}
public static int[] shuffle(int[] a, Random gen)
{ for(int i = 0, n = a.length;i < n;i++)
{ int ind = gen.nextInt(n-i)+i;
int d = a[i];
a[i] = a[ind];
a[ind] = d;
}
return a;
}
public String readString() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
} while (!isSpaceChar(c));
return res.toString();
}
public String nextLine() {
int c = read();
while (isSpaceChar(c))
c = read();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
} while (!isEndOfLine(c));
return res.toString();
}
public boolean isSpaceChar(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
private boolean isEndOfLine(int c) {
return c == '\n' || c == '\r' || c == -1;
}
}
}
|
[
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,
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,
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
],
[
19,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
31,
38
],
[
27,
39
],
[
39,
40
],
[
39,
41
],
[
27,
42
],
[
42,
43
],
[
42,
44
],
[
27,
45
],
[
45,
46
],
[
45,
47
],
[
27,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
50,
57
],
[
27,
58
],
[
58,
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;\npublic class Main {\n public static void main(String[] args){\n Scanner input = new Scanner(System.in);\n String num = input.next();\n String inputLast = num.substring(num.length()-1);\n //System.out.println(inputLast);\n //(inputLast.equals(\"3\")){\n //System.out.println(\"bon\");\n //se if()\n switch(inputLast){\n case \"3\":\n System.out.println(\"bon\");\n break;\n case \"0\":\n case \"1\":\n case \"6\":\n case \"8\":\n System.out.println(\"pon\");\n break;\n default:\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 input = new Scanner(System.in);\n String num = input.next();\n String inputLast = num.substring(num.length()-1);\n //System.out.println(inputLast);\n //(inputLast.equals(\"3\")){\n //System.out.println(\"bon\");\n //se if()\n switch(inputLast){\n case \"3\":\n System.out.println(\"bon\");\n break;\n case \"0\":\n case \"1\":\n case \"6\":\n case \"8\":\n System.out.println(\"pon\");\n break;\n default:\n System.out.println(\"hon\");\n }\n}\n}",
"Main",
"public static void main(String[] args){\n Scanner input = new Scanner(System.in);\n String num = input.next();\n String inputLast = num.substring(num.length()-1);\n //System.out.println(inputLast);\n //(inputLast.equals(\"3\")){\n //System.out.println(\"bon\");\n //se if()\n switch(inputLast){\n case \"3\":\n System.out.println(\"bon\");\n break;\n case \"0\":\n case \"1\":\n case \"6\":\n case \"8\":\n System.out.println(\"pon\");\n break;\n default:\n System.out.println(\"hon\");\n }\n}",
"main",
"{\n Scanner input = new Scanner(System.in);\n String num = input.next();\n String inputLast = num.substring(num.length()-1);\n //System.out.println(inputLast);\n //(inputLast.equals(\"3\")){\n //System.out.println(\"bon\");\n //se if()\n switch(inputLast){\n case \"3\":\n System.out.println(\"bon\");\n break;\n case \"0\":\n case \"1\":\n case \"6\":\n case \"8\":\n System.out.println(\"pon\");\n break;\n default:\n System.out.println(\"hon\");\n }\n}",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"String num = input.next();",
"num",
"input.next()",
"input.next",
"input",
"String inputLast = num.substring(num.length()-1);",
"inputLast",
"num.substring(num.length()-1)",
"num.substring",
"num",
"num.length()-1",
"num.length()",
"num.length",
"num",
"1",
"switch(inputLast){\n case \"3\":\n System.out.println(\"bon\");\n break;\n case \"0\":\n case \"1\":\n case \"6\":\n case \"8\":\n System.out.println(\"pon\");\n break;\n default:\n System.out.println(\"hon\");\n }",
"inputLast",
"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\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner input = new Scanner(System.in);\n String num = input.next();\n String inputLast = num.substring(num.length()-1);\n //System.out.println(inputLast);\n //(inputLast.equals(\"3\")){\n //System.out.println(\"bon\");\n //se if()\n switch(inputLast){\n case \"3\":\n System.out.println(\"bon\");\n break;\n case \"0\":\n case \"1\":\n case \"6\":\n case \"8\":\n System.out.println(\"pon\");\n break;\n default:\n System.out.println(\"hon\");\n }\n}\n}",
"public class Main {\n public static void main(String[] args){\n Scanner input = new Scanner(System.in);\n String num = input.next();\n String inputLast = num.substring(num.length()-1);\n //System.out.println(inputLast);\n //(inputLast.equals(\"3\")){\n //System.out.println(\"bon\");\n //se if()\n switch(inputLast){\n case \"3\":\n System.out.println(\"bon\");\n break;\n case \"0\":\n case \"1\":\n case \"6\":\n case \"8\":\n System.out.println(\"pon\");\n break;\n default:\n System.out.println(\"hon\");\n }\n}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner input = new Scanner(System.in);
String num = input.next();
String inputLast = num.substring(num.length()-1);
//System.out.println(inputLast);
//(inputLast.equals("3")){
//System.out.println("bon");
//se if()
switch(inputLast){
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");
}
}
}
|
[
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,
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
],
[
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
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
8,
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
],
[
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\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tn = n % 100;\n\t\tn = n % 10;\n\n\t\tswitch (n) {\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\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\tint n = sc.nextInt();\n\t\tn = n % 100;\n\t\tn = n % 10;\n\n\t\tswitch (n) {\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\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tn = n % 100;\n\t\tn = n % 10;\n\n\t\tswitch (n) {\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\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tn = n % 100;\n\t\tn = n % 10;\n\n\t\tswitch (n) {\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\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"n = n % 100",
"n",
"n % 100",
"n",
"100",
"n = n % 10",
"n",
"n % 10",
"n",
"10",
"switch (n) {\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",
"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\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tn = n % 100;\n\t\tn = n % 10;\n\n\t\tswitch (n) {\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\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tn = n % 100;\n\t\tn = n % 10;\n\n\t\tswitch (n) {\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\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();
n = n % 100;
n = n % 10;
switch (n) {
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,
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,
17,
42,
2,
40,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
4,
18,
13,
17,
29,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
13,
17,
29,
4,
18,
13,
17,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
30,
37,
20,
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,
30,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
4,
18,
13,
13,
29,
4,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
6,
13,
12,
13,
23,
13,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
0,
18,
36,
13,
20,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
13,
17,
4,
18,
13,
18,
13,
13,
23,
13,
12,
13,
30,
4,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
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
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
398,
35
],
[
398,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
38,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
38,
49
],
[
49,
50
],
[
49,
51
],
[
38,
52
],
[
52,
53
],
[
52,
54
],
[
38,
55
],
[
55,
56
],
[
55,
57
],
[
38,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
58,
62
],
[
58,
63
],
[
38,
64
],
[
64,
65
],
[
65,
66
],
[
36,
67
],
[
67,
68
],
[
398,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
77,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
82,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
82,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
97,
102
],
[
82,
103
],
[
103,
104
],
[
106,
105
],
[
113,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
110,
111
],
[
110,
112
],
[
113,
113
],
[
113,
114
],
[
113,
115
],
[
106,
116
],
[
116,
117
],
[
116,
118
],
[
103,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
119,
124
],
[
82,
125
],
[
125,
126
],
[
126,
127
],
[
125,
128
],
[
71,
129
],
[
129,
130
],
[
71,
131
],
[
131,
132
],
[
71,
133
],
[
133,
134
],
[
398,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
135,
139
],
[
139,
140
],
[
139,
141
],
[
135,
143
],
[
143,
144
],
[
135,
145
],
[
145,
146
],
[
135,
147
],
[
147,
148
],
[
135,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
149,
157
],
[
157,
158
],
[
135,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
162,
167
],
[
167,
168
],
[
168,
169
],
[
161,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
170,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
174,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
182,
183
],
[
178,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
187,
190
],
[
174,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
191,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
161,
199
],
[
199,
200
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
135,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
206,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
211,
215
],
[
215,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
206,
220
],
[
220,
221
],
[
220,
222
],
[
206,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
223,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
227,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
206,
236
],
[
236,
237
],
[
236,
238
],
[
206,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
239,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
246,
250
],
[
250,
251
],
[
250,
252
],
[
245,
253
],
[
253,
254
],
[
254,
255
],
[
244,
256
],
[
256,
257
],
[
256,
258
],
[
244,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
261,
263
],
[
244,
264
],
[
264,
265
],
[
264,
266
],
[
266,
267
],
[
206,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
135,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
275,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
282,
283
],
[
281,
284
],
[
274,
285
],
[
285,
286
],
[
286,
287
],
[
286,
288
],
[
272,
289
],
[
289,
290
],
[
135,
291
],
[
291,
292
],
[
291,
293
],
[
293,
294
],
[
294,
295
],
[
298,
296
],
[
308,
297
],
[
305,
298
],
[
298,
299
],
[
299,
300
],
[
299,
301
],
[
298,
302
],
[
302,
303
],
[
302,
304
],
[
305,
305
],
[
305,
306
],
[
305,
307
],
[
308,
308
],
[
308,
309
],
[
308,
310
],
[
298,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
291,
315
],
[
315,
316
],
[
135,
317
],
[
317,
318
],
[
317,
319
],
[
319,
320
],
[
319,
321
],
[
321,
322
],
[
398,
323
],
[
323,
324
],
[
323,
325
],
[
325,
326
],
[
323,
327
],
[
327,
328
],
[
327,
329
],
[
329,
330
],
[
330,
331
],
[
330,
332
],
[
327,
333
],
[
333,
334
],
[
323,
335
],
[
335,
336
],
[
335,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
339,
341
],
[
338,
342
],
[
335,
343
],
[
343,
344
],
[
323,
345
],
[
345,
346
],
[
345,
347
],
[
347,
348
],
[
348,
349
],
[
349,
350
],
[
350,
351
],
[
350,
352
],
[
348,
353
],
[
353,
354
],
[
353,
355
],
[
355,
356
],
[
355,
357
],
[
348,
358
],
[
358,
359
],
[
359,
360
],
[
348,
361
],
[
362,
362
],
[
362,
363
],
[
363,
364
],
[
364,
365
],
[
364,
366
],
[
363,
367
],
[
367,
368
],
[
368,
369
],
[
369,
370
],
[
368,
371
],
[
362,
372
],
[
372,
373
],
[
373,
374
],
[
372,
375
],
[
375,
376
],
[
375,
377
],
[
345,
378
],
[
378,
379
],
[
323,
380
],
[
380,
381
],
[
380,
382
],
[
382,
383
],
[
383,
384
],
[
383,
385
],
[
382,
386
],
[
386,
387
],
[
387,
388
],
[
380,
389
],
[
389,
390
],
[
323,
391
],
[
391,
392
],
[
391,
393
],
[
393,
394
],
[
394,
395
],
[
395,
396
],
[
0,
397
],
[
397,
398
],
[
397,
399
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.io.BufferedWriter;\nimport java.io.Writer;\nimport java.io.OutputStreamWriter;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(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, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n int n = in.nextInt();\n int op = n % 10;\n if (op == 3) {\n out.println(\"bon\");\n return;\n }\n if (op == 0 || op == 1 || op == 6 || op == 8) {\n out.println(\"pon\");\n return;\n }\n out.println(\"hon\");\n }\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void print(Object... objects) {\n for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }\n\n public void println(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\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.PrintWriter;",
"PrintWriter",
"java.io",
"import java.io.BufferedWriter;",
"BufferedWriter",
"java.io",
"import java.io.Writer;",
"Writer",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.io.IOException;",
"IOException",
"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 InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(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, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n int n = in.nextInt();\n int op = n % 10;\n if (op == 3) {\n out.println(\"bon\");\n return;\n }\n if (op == 0 || op == 1 || op == 6 || op == 8) {\n out.println(\"pon\");\n return;\n }\n out.println(\"hon\");\n }\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void print(Object... objects) {\n for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }\n\n public void println(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(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 InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(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",
"InputReader in = new InputReader(inputStream);",
"in",
"new InputReader(inputStream)",
"OutputWriter out = new OutputWriter(outputStream);",
"out",
"new OutputWriter(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, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n int n = in.nextInt();\n int op = n % 10;\n if (op == 3) {\n out.println(\"bon\");\n return;\n }\n if (op == 0 || op == 1 || op == 6 || op == 8) {\n out.println(\"pon\");\n return;\n }\n out.println(\"hon\");\n }\n }\n\n }",
"Atherefore",
"public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n int n = in.nextInt();\n int op = n % 10;\n if (op == 3) {\n out.println(\"bon\");\n return;\n }\n if (op == 0 || op == 1 || op == 6 || op == 8) {\n out.println(\"pon\");\n return;\n }\n out.println(\"hon\");\n }\n }",
"solve",
"{\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n int n = in.nextInt();\n int op = n % 10;\n if (op == 3) {\n out.println(\"bon\");\n return;\n }\n if (op == 0 || op == 1 || op == 6 || op == 8) {\n out.println(\"pon\");\n return;\n }\n out.println(\"hon\");\n }\n }",
"int ntc = 1;",
"ntc",
"1",
"while ((ntc--) > 0) {\n int n = in.nextInt();\n int op = n % 10;\n if (op == 3) {\n out.println(\"bon\");\n return;\n }\n if (op == 0 || op == 1 || op == 6 || op == 8) {\n out.println(\"pon\");\n return;\n }\n out.println(\"hon\");\n }",
"(ntc--) > 0",
"(ntc--)",
"ntc",
"0",
"{\n int n = in.nextInt();\n int op = n % 10;\n if (op == 3) {\n out.println(\"bon\");\n return;\n }\n if (op == 0 || op == 1 || op == 6 || op == 8) {\n out.println(\"pon\");\n return;\n }\n out.println(\"hon\");\n }",
"int n = in.nextInt();",
"n",
"in.nextInt()",
"in.nextInt",
"in",
"int op = n % 10;",
"op",
"n % 10",
"n",
"10",
"if (op == 3) {\n out.println(\"bon\");\n return;\n }",
"op == 3",
"op",
"3",
"{\n out.println(\"bon\");\n return;\n }",
"out.println(\"bon\")",
"out.println",
"out",
"\"bon\"",
"return;",
"if (op == 0 || op == 1 || op == 6 || op == 8) {\n out.println(\"pon\");\n return;\n }",
"op == 0 || op == 1 || op == 6 || op == 8",
"op == 6",
"op == 0 || op == 1 || op == 6 || op == 8",
"op == 0",
"op",
"0",
"op == 1",
"op",
"1",
"op == 6",
"op",
"6",
"op == 8",
"op",
"8",
"{\n out.println(\"pon\");\n return;\n }",
"out.println(\"pon\")",
"out.println",
"out",
"\"pon\"",
"return;",
"out.println(\"hon\")",
"out.println",
"out",
"\"hon\"",
"int testNumber",
"testNumber",
"InputReader in",
"in",
"OutputWriter out",
"out",
"static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }",
"InputReader",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"private InputReader.SpaceCharFilter filter;",
"filter",
"public InputReader(InputStream stream) {\n this.stream = stream;\n }",
"InputReader",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"if (numChars == -1) {\n throw new InputMismatchException();\n }",
"numChars == -1",
"numChars",
"-1",
"1",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = stream.read(buf);\n }",
"numChars = stream.read(buf)",
"numChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (numChars <= 0) {\n return -1;\n }",
"numChars <= 0",
"numChars",
"0",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextInt",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"int res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }",
"isSpaceChar",
"{\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }",
"if (filter != null) {\n return filter.isSpaceChar(c);\n }",
"filter != null",
"filter",
"null",
"{\n return filter.isSpaceChar(c);\n }",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"return isWhitespace(c);",
"isWhitespace(c)",
"isWhitespace",
"c",
"int c",
"c",
"public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isWhitespace",
"{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void print(Object... objects) {\n for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }\n\n public void println(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n }",
"OutputWriter",
"private final PrintWriter writer;",
"writer",
"public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }",
"OutputWriter",
"{\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }",
"writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))",
"writer",
"new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))",
"OutputStream outputStream",
"outputStream",
"public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }",
"OutputWriter",
"{\n this.writer = new PrintWriter(writer);\n }",
"this.writer = new PrintWriter(writer)",
"this.writer",
"this",
"this.writer",
"new PrintWriter(writer)",
"Writer writer",
"writer",
"public void print(Object... objects) {\n for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }",
"print",
"{\n for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }",
"for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < objects.length",
"i",
"objects.length",
"objects",
"objects.length",
"++i",
"++i",
"i",
"{\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }",
"{\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }",
"if (i != 0) {\n writer.print(' ');\n }",
"i != 0",
"i",
"0",
"{\n writer.print(' ');\n }",
"writer.print(' ')",
"writer.print",
"writer",
"' '",
"writer.print(objects[i])",
"writer.print",
"writer",
"objects[i]",
"objects",
"i",
"Object... objects",
"objects",
"public void println(Object... objects) {\n print(objects);\n writer.println();\n }",
"println",
"{\n print(objects);\n writer.println();\n }",
"print(objects)",
"print",
"objects",
"writer.println()",
"writer.println",
"writer",
"Object... objects",
"objects",
"public void close() {\n writer.close();\n }",
"close",
"{\n writer.close();\n }",
"writer.close()",
"writer.close",
"writer",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(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, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n int n = in.nextInt();\n int op = n % 10;\n if (op == 3) {\n out.println(\"bon\");\n return;\n }\n if (op == 0 || op == 1 || op == 6 || op == 8) {\n out.println(\"pon\");\n return;\n }\n out.println(\"hon\");\n }\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void print(Object... objects) {\n for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }\n\n public void println(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\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 InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(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, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n int n = in.nextInt();\n int op = n % 10;\n if (op == 3) {\n out.println(\"bon\");\n return;\n }\n if (op == 0 || op == 1 || op == 6 || op == 8) {\n out.println(\"pon\");\n return;\n }\n out.println(\"hon\");\n }\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void print(Object... objects) {\n for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }\n\n public void println(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.BufferedWriter;
import java.io.Writer;
import java.io.OutputStreamWriter;
import java.util.InputMismatchException;
import java.io.IOException;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
OutputWriter out = new OutputWriter(outputStream);
Atherefore solver = new Atherefore();
solver.solve(1, in, out);
out.close();
}
static class Atherefore {
public void solve(int testNumber, InputReader in, OutputWriter out) {
int ntc = 1;
// ntc = in.nextInt();
while ((ntc--) > 0) {
int n = in.nextInt();
int op = n % 10;
if (op == 3) {
out.println("bon");
return;
}
if (op == 0 || op == 1 || op == 6 || op == 8) {
out.println("pon");
return;
}
out.println("hon");
}
}
}
static class InputReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private InputReader.SpaceCharFilter filter;
public InputReader(InputStream stream) {
this.stream = stream;
}
public int read() {
if (numChars == -1) {
throw new InputMismatchException();
}
if (curChar >= numChars) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (numChars <= 0) {
return -1;
}
}
return buf[curChar++];
}
public int nextInt() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
int res = 0;
do {
if (c < '0' || c > '9') {
throw new InputMismatchException();
}
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public boolean isSpaceChar(int c) {
if (filter != null) {
return filter.isSpaceChar(c);
}
return isWhitespace(c);
}
public static boolean isWhitespace(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
static class OutputWriter {
private final PrintWriter writer;
public OutputWriter(OutputStream outputStream) {
writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));
}
public OutputWriter(Writer writer) {
this.writer = new PrintWriter(writer);
}
public void print(Object... objects) {
for (int i = 0; i < objects.length; ++i) {
if (i != 0) {
writer.print(' ');
}
writer.print(objects[i]);
}
}
public void println(Object... objects) {
print(objects);
writer.println();
}
public void close() {
writer.close();
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
4,
13,
4,
18,
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,
30,
4,
18,
18,
13,
13,
17,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
9,
20
],
[
20,
21
],
[
7,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
24,
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
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
22,
87
],
[
87,
88
]
] |
[
"import java.util.Scanner;\nimport java.util.StringTokenizer;\n\n class Main {\n\n public static void main(String[] args) {\n\n Scanner fastReader = new Scanner(System.in);\n find( fastReader.nextInt() );\n\n }\n\n public static void find( int num ){\n\n int lastDigit = num % 10;\n\n if( lastDigit == 2 || lastDigit == 4 || lastDigit == 5 || lastDigit == 7 || lastDigit == 9 ){\n System.out.println(\"hon\");\n }\n else if( lastDigit == 0 || lastDigit == 1 || lastDigit == 6 || lastDigit == 8 ){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"class Main {\n\n public static void main(String[] args) {\n\n Scanner fastReader = new Scanner(System.in);\n find( fastReader.nextInt() );\n\n }\n\n public static void find( int num ){\n\n int lastDigit = num % 10;\n\n if( lastDigit == 2 || lastDigit == 4 || lastDigit == 5 || lastDigit == 7 || lastDigit == 9 ){\n System.out.println(\"hon\");\n }\n else if( lastDigit == 0 || lastDigit == 1 || lastDigit == 6 || lastDigit == 8 ){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner fastReader = new Scanner(System.in);\n find( fastReader.nextInt() );\n\n }",
"main",
"{\n\n Scanner fastReader = new Scanner(System.in);\n find( fastReader.nextInt() );\n\n }",
"Scanner fastReader = new Scanner(System.in);",
"fastReader",
"new Scanner(System.in)",
"find( fastReader.nextInt() )",
"find",
"fastReader.nextInt()",
"fastReader.nextInt",
"fastReader",
"String[] args",
"args",
"public static void find( int num ){\n\n int lastDigit = num % 10;\n\n if( lastDigit == 2 || lastDigit == 4 || lastDigit == 5 || lastDigit == 7 || lastDigit == 9 ){\n System.out.println(\"hon\");\n }\n else if( lastDigit == 0 || lastDigit == 1 || lastDigit == 6 || lastDigit == 8 ){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }",
"find",
"{\n\n int lastDigit = num % 10;\n\n if( lastDigit == 2 || lastDigit == 4 || lastDigit == 5 || lastDigit == 7 || lastDigit == 9 ){\n System.out.println(\"hon\");\n }\n else if( lastDigit == 0 || lastDigit == 1 || lastDigit == 6 || lastDigit == 8 ){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }",
"int lastDigit = num % 10;",
"lastDigit",
"num % 10",
"num",
"10",
"if( lastDigit == 2 || lastDigit == 4 || lastDigit == 5 || lastDigit == 7 || lastDigit == 9 ){\n System.out.println(\"hon\");\n }\n else if( lastDigit == 0 || lastDigit == 1 || lastDigit == 6 || lastDigit == 8 ){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }",
"lastDigit == 2 || lastDigit == 4 || lastDigit == 5 || lastDigit == 7 || lastDigit == 9",
"lastDigit == 7",
"lastDigit == 5",
"lastDigit == 2 || lastDigit == 4 || lastDigit == 5 || lastDigit == 7 || lastDigit == 9",
"lastDigit == 2",
"lastDigit",
"2",
"lastDigit == 4",
"lastDigit",
"4",
"lastDigit == 5",
"lastDigit",
"5",
"lastDigit == 7",
"lastDigit",
"7",
"lastDigit == 9",
"lastDigit",
"9",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if( lastDigit == 0 || lastDigit == 1 || lastDigit == 6 || lastDigit == 8 ){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }",
"lastDigit == 0 || lastDigit == 1 || lastDigit == 6 || lastDigit == 8",
"lastDigit == 6",
"lastDigit == 0 || lastDigit == 1 || lastDigit == 6 || lastDigit == 8",
"lastDigit == 0",
"lastDigit",
"0",
"lastDigit == 1",
"lastDigit",
"1",
"lastDigit == 6",
"lastDigit",
"6",
"lastDigit == 8",
"lastDigit",
"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\"",
"int num",
"num"
] |
import java.util.Scanner;
import java.util.StringTokenizer;
class Main {
public static void main(String[] args) {
Scanner fastReader = new Scanner(System.in);
find( fastReader.nextInt() );
}
public static void find( int num ){
int lastDigit = num % 10;
if( lastDigit == 2 || lastDigit == 4 || lastDigit == 5 || lastDigit == 7 || lastDigit == 9 ){
System.out.println("hon");
}
else if( lastDigit == 0 || lastDigit == 1 || lastDigit == 6 || lastDigit == 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,
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
] |
[
[
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
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
48,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
6,
64
],
[
64,
65
]
] |
[
"import java.util.*;\n\nclass Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n \n int rem = n % 10;\n \n if(rem == 2 || rem == 4 || rem == 5 || rem == 7 || rem == 9)\n System.out.println(\"hon\");\n else if(rem == 3)\n System.out.println(\"bon\");\n else\n System.out.println(\"pon\");\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n \n int rem = n % 10;\n \n if(rem == 2 || rem == 4 || rem == 5 || rem == 7 || rem == 9)\n System.out.println(\"hon\");\n else if(rem == 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 \n int n = sc.nextInt();\n \n int rem = n % 10;\n \n if(rem == 2 || rem == 4 || rem == 5 || rem == 7 || rem == 9)\n System.out.println(\"hon\");\n else if(rem == 3)\n System.out.println(\"bon\");\n else\n System.out.println(\"pon\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n \n int rem = n % 10;\n \n if(rem == 2 || rem == 4 || rem == 5 || rem == 7 || rem == 9)\n System.out.println(\"hon\");\n else if(rem == 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 rem = n % 10;",
"rem",
"n % 10",
"n",
"10",
"if(rem == 2 || rem == 4 || rem == 5 || rem == 7 || rem == 9)\n System.out.println(\"hon\");\n else if(rem == 3)\n System.out.println(\"bon\");\n else\n System.out.println(\"pon\");",
"rem == 2 || rem == 4 || rem == 5 || rem == 7 || rem == 9",
"rem == 7",
"rem == 5",
"rem == 2 || rem == 4 || rem == 5 || rem == 7 || rem == 9",
"rem == 2",
"rem",
"2",
"rem == 4",
"rem",
"4",
"rem == 5",
"rem",
"5",
"rem == 7",
"rem",
"7",
"rem == 9",
"rem",
"9",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(rem == 3)\n System.out.println(\"bon\");\n else\n System.out.println(\"pon\");",
"rem == 3",
"rem",
"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"
] |
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int rem = n % 10;
if(rem == 2 || rem == 4 || rem == 5 || rem == 7 || rem == 9)
System.out.println("hon");
else if(rem == 3)
System.out.println("bon");
else
System.out.println("pon");
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
14,
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,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
13,
13,
29,
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
],
[
97,
14
],
[
97,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
18,
24
],
[
24,
25
],
[
25,
26
],
[
18,
27
],
[
27,
28
],
[
30,
29
],
[
41,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
30,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
27,
51
],
[
51,
52
],
[
52,
53
],
[
27,
54
],
[
54,
55
],
[
55,
56
],
[
15,
57
],
[
57,
58
],
[
97,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
76,
77
],
[
69,
78
],
[
78,
79
],
[
78,
80
],
[
69,
81
],
[
81,
82
],
[
81,
83
],
[
69,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
61,
93
],
[
59,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
] |
[
"import java.util.*;\nimport java.io.*;\nimport java.nio.file.Files;\nimport java.nio.charset.StandardCharsets;\n//System.out.println();\npublic class Main{\n String op(int n){\n\n if(n%10==3){\n return \"bon\";\n }else if(n%10==0||n%10==1||n%10==6||n%10==8){\n return \"pon\";\n }else{\n return \"hon\";\n }\n }\n\n\n\n\n public static void main(String[] args) throws IOException {\n // Use the Scanner class\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); \n \n while(br.ready()){\nint t = Integer.parseInt(br.readLine()); \n \n // String Buffer to store answer \n StringBuffer sb = new StringBuffer(); \n Main obj = new Main();\n // One by one run for all input test cases \n \n \n System.out.println(obj.op(t)); \n }\nreturn;\n}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.nio.file.Files;",
"Files",
"java.nio.file",
"import java.nio.charset.StandardCharsets;",
"StandardCharsets",
"java.nio.charset",
"public class Main{\n String op(int n){\n\n if(n%10==3){\n return \"bon\";\n }else if(n%10==0||n%10==1||n%10==6||n%10==8){\n return \"pon\";\n }else{\n return \"hon\";\n }\n }\n\n\n\n\n public static void main(String[] args) throws IOException {\n // Use the Scanner class\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); \n \n while(br.ready()){\nint t = Integer.parseInt(br.readLine()); \n \n // String Buffer to store answer \n StringBuffer sb = new StringBuffer(); \n Main obj = new Main();\n // One by one run for all input test cases \n \n \n System.out.println(obj.op(t)); \n }\nreturn;\n}\n}",
"Main",
"String op(int n){\n\n if(n%10==3){\n return \"bon\";\n }else if(n%10==0||n%10==1||n%10==6||n%10==8){\n return \"pon\";\n }else{\n return \"hon\";\n }\n }",
"op",
"{\n\n if(n%10==3){\n return \"bon\";\n }else if(n%10==0||n%10==1||n%10==6||n%10==8){\n return \"pon\";\n }else{\n return \"hon\";\n }\n }",
"if(n%10==3){\n return \"bon\";\n }else if(n%10==0||n%10==1||n%10==6||n%10==8){\n return \"pon\";\n }else{\n return \"hon\";\n }",
"n%10==3",
"n%10",
"n",
"10",
"3",
"{\n return \"bon\";\n }",
"return \"bon\";",
"\"bon\"",
"if(n%10==0||n%10==1||n%10==6||n%10==8){\n return \"pon\";\n }else{\n return \"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 return \"pon\";\n }",
"return \"pon\";",
"\"pon\"",
"{\n return \"hon\";\n }",
"return \"hon\";",
"\"hon\"",
"int n",
"n",
"public static void main(String[] args) throws IOException {\n // Use the Scanner class\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); \n \n while(br.ready()){\nint t = Integer.parseInt(br.readLine()); \n \n // String Buffer to store answer \n StringBuffer sb = new StringBuffer(); \n Main obj = new Main();\n // One by one run for all input test cases \n \n \n System.out.println(obj.op(t)); \n }\nreturn;\n}",
"main",
"{\n // Use the Scanner class\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); \n \n while(br.ready()){\nint t = Integer.parseInt(br.readLine()); \n \n // String Buffer to store answer \n StringBuffer sb = new StringBuffer(); \n Main obj = new Main();\n // One by one run for all input test cases \n \n \n System.out.println(obj.op(t)); \n }\nreturn;\n}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(br.ready()){\nint t = Integer.parseInt(br.readLine()); \n \n // String Buffer to store answer \n StringBuffer sb = new StringBuffer(); \n Main obj = new Main();\n // One by one run for all input test cases \n \n \n System.out.println(obj.op(t)); \n }",
"br.ready()",
"br.ready",
"br",
"{\nint t = Integer.parseInt(br.readLine()); \n \n // String Buffer to store answer \n StringBuffer sb = new StringBuffer(); \n Main obj = new Main();\n // One by one run for all input test cases \n \n \n System.out.println(obj.op(t)); \n }",
"int t = Integer.parseInt(br.readLine());",
"t",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"StringBuffer sb = new StringBuffer();",
"sb",
"new StringBuffer()",
"Main obj = new Main();",
"obj",
"new Main()",
"System.out.println(obj.op(t))",
"System.out.println",
"System.out",
"System",
"System.out",
"obj.op(t)",
"obj.op",
"obj",
"t",
"return;",
"String[] args",
"args",
"public class Main{\n String op(int n){\n\n if(n%10==3){\n return \"bon\";\n }else if(n%10==0||n%10==1||n%10==6||n%10==8){\n return \"pon\";\n }else{\n return \"hon\";\n }\n }\n\n\n\n\n public static void main(String[] args) throws IOException {\n // Use the Scanner class\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); \n \n while(br.ready()){\nint t = Integer.parseInt(br.readLine()); \n \n // String Buffer to store answer \n StringBuffer sb = new StringBuffer(); \n Main obj = new Main();\n // One by one run for all input test cases \n \n \n System.out.println(obj.op(t)); \n }\nreturn;\n}\n}",
"public class Main{\n String op(int n){\n\n if(n%10==3){\n return \"bon\";\n }else if(n%10==0||n%10==1||n%10==6||n%10==8){\n return \"pon\";\n }else{\n return \"hon\";\n }\n }\n\n\n\n\n public static void main(String[] args) throws IOException {\n // Use the Scanner class\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); \n \n while(br.ready()){\nint t = Integer.parseInt(br.readLine()); \n \n // String Buffer to store answer \n StringBuffer sb = new StringBuffer(); \n Main obj = new Main();\n // One by one run for all input test cases \n \n \n System.out.println(obj.op(t)); \n }\nreturn;\n}\n}",
"Main"
] |
import java.util.*;
import java.io.*;
import java.nio.file.Files;
import java.nio.charset.StandardCharsets;
//System.out.println();
public class Main{
String op(int n){
if(n%10==3){
return "bon";
}else if(n%10==0||n%10==1||n%10==6||n%10==8){
return "pon";
}else{
return "hon";
}
}
public static void main(String[] args) throws IOException {
// Use the Scanner class
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(br.ready()){
int t = Integer.parseInt(br.readLine());
// String Buffer to store answer
StringBuffer sb = new StringBuffer();
Main obj = new Main();
// One by one run for all input test cases
System.out.println(obj.op(t));
}
return;
}
}
|
[
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,
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
],
[
61,
5
],
[
61,
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
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
17,
37
],
[
37,
38
],
[
37,
39
],
[
17,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
42,
49
],
[
17,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
6,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] |
[
"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 switch (n%10){\n case 3:\n System.out.println(\"bon\");\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n System.out.println(\"pon\");\n break;\n default:\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 sc = new Scanner(System.in);\n int n = sc.nextInt();\n switch (n%10){\n case 3:\n System.out.println(\"bon\");\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n System.out.println(\"pon\");\n break;\n default:\n System.out.println(\"hon\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n switch (n%10){\n case 3:\n System.out.println(\"bon\");\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n System.out.println(\"pon\");\n break;\n default:\n System.out.println(\"hon\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n switch (n%10){\n case 3:\n System.out.println(\"bon\");\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n System.out.println(\"pon\");\n break;\n default:\n System.out.println(\"hon\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"switch (n%10){\n case 3:\n System.out.println(\"bon\");\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n System.out.println(\"pon\");\n break;\n default:\n System.out.println(\"hon\");\n }",
"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\"",
"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 switch (n%10){\n case 3:\n System.out.println(\"bon\");\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n System.out.println(\"pon\");\n break;\n default:\n System.out.println(\"hon\");\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 switch (n%10){\n case 3:\n System.out.println(\"bon\");\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n System.out.println(\"pon\");\n break;\n default:\n System.out.println(\"hon\");\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();
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");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
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,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
13,
42,
2,
13,
17,
30,
0,
13,
17,
0,
13,
17,
29,
13,
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
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
31,
33
],
[
23,
34
],
[
34,
35
],
[
34,
36
],
[
23,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
39,
46
],
[
23,
47
],
[
47,
48
],
[
47,
49
],
[
23,
50
],
[
50,
51
],
[
50,
52
],
[
23,
53
],
[
53,
54
],
[
53,
55
],
[
23,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
58,
65
],
[
23,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
68,
75
],
[
8,
76
],
[
76,
77
],
[
77,
78
],
[
6,
79
],
[
79,
80
],
[
103,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
95,
97
],
[
83,
98
],
[
98,
99
],
[
81,
100
],
[
100,
101
],
[
0,
102
],
[
102,
103
],
[
102,
104
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int one = Main.findDigits(n);\n switch (one) {\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 sc.close();\n }\n\n private static int findDigits(int n) {\n int rtn = n;\n while (n > 0) {\n rtn %= 10;\n n /= 10;\n }\n return rtn;\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 int n = sc.nextInt();\n int one = Main.findDigits(n);\n switch (one) {\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 sc.close();\n }\n\n private static int findDigits(int n) {\n int rtn = n;\n while (n > 0) {\n rtn %= 10;\n n /= 10;\n }\n return rtn;\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int one = Main.findDigits(n);\n switch (one) {\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 sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int one = Main.findDigits(n);\n switch (one) {\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 sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int one = Main.findDigits(n);",
"one",
"Main.findDigits(n)",
"Main.findDigits",
"Main",
"n",
"switch (one) {\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 }",
"one",
"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;",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"private static int findDigits(int n) {\n int rtn = n;\n while (n > 0) {\n rtn %= 10;\n n /= 10;\n }\n return rtn;\n }",
"findDigits",
"{\n int rtn = n;\n while (n > 0) {\n rtn %= 10;\n n /= 10;\n }\n return rtn;\n }",
"int rtn = n;",
"rtn",
"n",
"while (n > 0) {\n rtn %= 10;\n n /= 10;\n }",
"n > 0",
"n",
"0",
"{\n rtn %= 10;\n n /= 10;\n }",
"rtn %= 10",
"rtn",
"10",
"n /= 10",
"n",
"10",
"return rtn;",
"rtn",
"int n",
"n",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int one = Main.findDigits(n);\n switch (one) {\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 sc.close();\n }\n\n private static int findDigits(int n) {\n int rtn = n;\n while (n > 0) {\n rtn %= 10;\n n /= 10;\n }\n return rtn;\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int one = Main.findDigits(n);\n switch (one) {\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 sc.close();\n }\n\n private static int findDigits(int n) {\n int rtn = n;\n while (n > 0) {\n rtn %= 10;\n n /= 10;\n }\n return rtn;\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();
int one = Main.findDigits(n);
switch (one) {
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;
}
sc.close();
}
private static int findDigits(int n) {
int rtn = n;
while (n > 0) {
rtn %= 10;
n /= 10;
}
return rtn;
}
}
|
[
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,
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
] |
[
[
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
],
[
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
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
35,
42
],
[
31,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
45,
52
],
[
31,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
55,
62
],
[
31,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
65,
72
],
[
31,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
75,
82
],
[
31,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
85,
92
],
[
31,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
95,
102
],
[
31,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
105,
112
],
[
31,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
115,
122
],
[
31,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
126,
131
],
[
125,
132
],
[
15,
133
],
[
133,
134
]
] |
[
"import java.util.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.math.*;\nclass Main{\n public static void main(String[]args){\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n int m = N%10;\n switch(m){\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 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 case 3:System.out.println(\"bon\"); break;\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.List;",
"List",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.math.*;",
"math.*",
"java",
"class Main{\n public static void main(String[]args){\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n int m = N%10;\n switch(m){\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 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 case 3:System.out.println(\"bon\"); break;\n }\n }\n}",
"Main",
"public static void main(String[]args){\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n int m = N%10;\n switch(m){\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 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 case 3:System.out.println(\"bon\"); break;\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n int m = N%10;\n switch(m){\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 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 case 3:System.out.println(\"bon\"); break;\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int N = scanner.nextInt();",
"N",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int m = N%10;",
"m",
"N%10",
"N",
"10",
"switch(m){\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 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 case 3:System.out.println(\"bon\"); break;\n }",
"m",
"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\"",
"break;",
"String[]args",
"args"
] |
import java.util.*;
import java.util.List;
import java.util.ArrayList;
import java.math.*;
class Main{
public static void main(String[]args){
Scanner scanner = new Scanner(System.in);
int N = scanner.nextInt();
int m = N%10;
switch(m){
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"); break;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
4,
18,
13,
17,
17,
17,
41,
13,
12,
13,
30,
41,
13,
20,
0,
13,
20,
41,
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,
13,
17,
14,
2,
13,
17,
30,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
14,
2,
13,
17,
29,
13,
30,
41,
13,
4,
13,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
29,
2,
13,
13,
30,
29,
2,
2,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
14,
2,
13,
17,
29,
2,
13,
13,
30,
41,
13,
2,
4,
13,
13,
2,
13,
17,
13,
0,
13,
2,
13,
13,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
13,
13,
29,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
14,
2,
13,
17,
29,
41,
13,
20,
2,
13,
17,
41,
13,
20,
2,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
2,
13,
2,
13,
17,
18,
13,
13,
4,
13,
13,
4,
13,
13,
4,
13,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
2,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
18,
13,
13,
18,
13,
13,
40,
13,
30,
0,
18,
13,
13,
18,
13,
13,
40,
13,
40,
13,
42,
2,
13,
18,
13,
13,
30,
0,
18,
13,
13,
18,
13,
13,
40,
13,
40,
13,
42,
2,
13,
18,
13,
13,
30,
0,
18,
13,
13,
18,
13,
13,
40,
13,
40,
13,
23,
13,
23,
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,
30,
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,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
458,
8
],
[
458,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
12,
15
],
[
12,
16
],
[
11,
17
],
[
458,
18
],
[
18,
19
],
[
458,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
26,
28
],
[
22,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
31,
35
],
[
22,
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
],
[
57,
60
],
[
36,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
61,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
22,
74
],
[
74,
75
],
[
75,
76
],
[
20,
77
],
[
77,
78
],
[
458,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
82,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
88,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
97,
99
],
[
97,
100
],
[
100,
101
],
[
100,
102
],
[
94,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
103,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
103,
114
],
[
114,
115
],
[
115,
116
],
[
117,
117
],
[
117,
118
],
[
117,
119
],
[
117,
120
],
[
79,
121
],
[
121,
122
],
[
79,
123
],
[
123,
124
],
[
458,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
132,
133
],
[
128,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
134,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
134,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
146,
149
],
[
149,
150
],
[
149,
151
],
[
145,
152
],
[
142,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
155,
157
],
[
142,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
159,
163
],
[
158,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
167,
169
],
[
142,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
125,
174
],
[
174,
175
],
[
125,
176
],
[
176,
177
],
[
458,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
183,
185
],
[
180,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
186,
190
],
[
180,
191
],
[
191,
192
],
[
191,
193
],
[
194,
195
],
[
194,
196
],
[
180,
197
],
[
197,
198
],
[
197,
199
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
202,
204
],
[
180,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
205,
210
],
[
210,
211
],
[
210,
212
],
[
212,
213
],
[
212,
214
],
[
205,
215
],
[
215,
216
],
[
216,
217
],
[
205,
218
],
[
219,
219
],
[
219,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
220,
224
],
[
224,
225
],
[
224,
226
],
[
180,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
231,
233
],
[
227,
234
],
[
234,
235
],
[
234,
236
],
[
227,
237
],
[
237,
238
],
[
238,
239
],
[
227,
240
],
[
241,
241
],
[
241,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
247,
249
],
[
242,
250
],
[
250,
251
],
[
250,
252
],
[
180,
253
],
[
253,
254
],
[
253,
255
],
[
180,
256
],
[
256,
257
],
[
256,
258
],
[
180,
259
],
[
259,
260
],
[
259,
261
],
[
259,
262
],
[
259,
263
],
[
178,
264
],
[
264,
265
],
[
458,
266
],
[
266,
267
],
[
266,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
268,
272
],
[
272,
273
],
[
272,
274
],
[
268,
275
],
[
275,
276
],
[
275,
277
],
[
268,
278
],
[
278,
279
],
[
280,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
283,
285
],
[
280,
286
],
[
286,
287
],
[
286,
288
],
[
288,
289
],
[
288,
290
],
[
280,
291
],
[
291,
292
],
[
291,
293
],
[
293,
294
],
[
293,
295
],
[
278,
296
],
[
296,
297
],
[
297,
298
],
[
298,
299
],
[
299,
300
],
[
299,
301
],
[
298,
302
],
[
302,
303
],
[
302,
304
],
[
297,
305
],
[
305,
306
],
[
306,
307
],
[
307,
308
],
[
307,
309
],
[
306,
310
],
[
310,
311
],
[
310,
312
],
[
305,
313
],
[
313,
314
],
[
297,
315
],
[
315,
316
],
[
316,
317
],
[
317,
318
],
[
317,
319
],
[
316,
320
],
[
320,
321
],
[
320,
322
],
[
315,
323
],
[
323,
324
],
[
296,
325
],
[
325,
326
],
[
268,
327
],
[
327,
328
],
[
328,
329
],
[
328,
330
],
[
330,
331
],
[
330,
332
],
[
327,
333
],
[
333,
334
],
[
334,
335
],
[
335,
336
],
[
335,
337
],
[
334,
338
],
[
338,
339
],
[
338,
340
],
[
333,
341
],
[
341,
342
],
[
333,
343
],
[
343,
344
],
[
268,
345
],
[
345,
346
],
[
346,
347
],
[
346,
348
],
[
348,
349
],
[
348,
350
],
[
345,
351
],
[
351,
352
],
[
352,
353
],
[
353,
354
],
[
353,
355
],
[
352,
356
],
[
356,
357
],
[
356,
358
],
[
351,
359
],
[
359,
360
],
[
351,
361
],
[
361,
362
],
[
266,
363
],
[
363,
364
],
[
266,
365
],
[
365,
366
],
[
266,
367
],
[
367,
368
],
[
458,
369
],
[
369,
370
],
[
369,
371
],
[
371,
372
],
[
369,
373
],
[
373,
374
],
[
369,
375
],
[
375,
376
],
[
375,
377
],
[
377,
378
],
[
378,
379
],
[
378,
380
],
[
369,
381
],
[
381,
382
],
[
381,
383
],
[
383,
384
],
[
384,
385
],
[
385,
386
],
[
386,
387
],
[
386,
388
],
[
385,
389
],
[
389,
390
],
[
390,
391
],
[
391,
392
],
[
384,
393
],
[
393,
394
],
[
394,
395
],
[
395,
396
],
[
395,
397
],
[
397,
398
],
[
398,
399
],
[
399,
400
],
[
394,
401
],
[
401,
402
],
[
402,
403
],
[
402,
404
],
[
383,
405
],
[
405,
406
],
[
406,
407
],
[
407,
408
],
[
369,
409
],
[
409,
410
],
[
409,
411
],
[
411,
412
],
[
412,
413
],
[
413,
414
],
[
414,
415
],
[
413,
416
],
[
416,
417
],
[
369,
418
],
[
418,
419
],
[
418,
420
],
[
420,
421
],
[
421,
422
],
[
422,
423
],
[
423,
424
],
[
422,
425
],
[
425,
426
],
[
369,
427
],
[
427,
428
],
[
427,
429
],
[
429,
430
],
[
430,
431
],
[
431,
432
],
[
432,
433
],
[
431,
434
],
[
434,
435
],
[
369,
436
],
[
436,
437
],
[
436,
438
],
[
438,
439
],
[
439,
440
],
[
439,
441
],
[
438,
442
],
[
442,
443
],
[
443,
444
],
[
443,
445
],
[
445,
446
],
[
446,
447
],
[
447,
448
],
[
442,
449
],
[
449,
450
],
[
450,
451
],
[
450,
452
],
[
452,
453
],
[
453,
454
],
[
438,
455
],
[
455,
456
],
[
0,
457
],
[
457,
458
],
[
457,
459
]
] |
[
"import java.io.*;\nimport java.util.*;\n \n \npublic class Main{\nstatic int mod = (int)(Math.pow(10, 9) + 7);\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = sc.nextInt() % 10;\n if (n == 2 || n == 4 || n == 5 || n == 7 || n== 9){\n out.println(\"hon\");\n }\n else if (n == 3){\n out.println(\"bon\");\n }\n else out.println(\"pon\");\n \n out.close();\n }\n \n static long pow(long a, long N) {\n\t if (N == 0) return 1;\n\t else if (N == 1) return a;\n\t else {\n\t\t long R = pow(a,N/2);\n\t\t if (N % 2 == 0) {\n\t\t\t return R*R;\n\t\t }\n\t\t else {\n\t\t\t return R*R*a;\n\t\t }\n\t }\n }\n \n static long powMod(long a, long N) {\n\t if (N == 0) return 1;\n\t else if (N == 1) return a % mod;\n\t else {\n\t\t long R = powMod(a,N/2) % mod;\n\t\t R *= R % mod;\n\t\t if (N % 2 == 0) {\n\t\t\t R *= a % mod;\n\t\t }\n\t\t\t return R % mod;\n\t }\n }\nstatic void mergeSort(int[] A){ // low to hi sort, single array only\n int n = A.length;\n if (n < 2) return;\n int[] l = new int[n/2];\n int[] r = new int[n - n/2];\n \n for (int i = 0; i < n/2; i++){\n l[i] = A[i];\n }\n \n for (int j = n/2; j < n; j++){\n r[j-n/2] = A[j];\n }\n \n mergeSort(l);\n mergeSort(r);\n merge(l, r, A);\n }\n \n static void merge(int[] l, int[] r, int[] a){\n int i = 0, j = 0, k = 0;\n while (i < l.length && j < r.length && k < a.length){\n if (l[i] < r[j]){\n a[k] = l[i];\n i++;\n }\n else{\n a[k] = r[j];\n j++;\n }\n k++;\n }\n while (i < l.length){\n a[k] = l[i];\n i++;\n k++;\n }\n \n while (j < r.length){\n a[k] = r[j];\n j++;\n k++;\n }\n }\n\n \n\n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;\n \n //-----------MyScanner class for faster input----------\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n\t try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t return str;\n }\n\n }\n //--------------------------------------------------------\n}\n\n\n\n\n",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\nstatic int mod = (int)(Math.pow(10, 9) + 7);\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = sc.nextInt() % 10;\n if (n == 2 || n == 4 || n == 5 || n == 7 || n== 9){\n out.println(\"hon\");\n }\n else if (n == 3){\n out.println(\"bon\");\n }\n else out.println(\"pon\");\n \n out.close();\n }\n \n static long pow(long a, long N) {\n\t if (N == 0) return 1;\n\t else if (N == 1) return a;\n\t else {\n\t\t long R = pow(a,N/2);\n\t\t if (N % 2 == 0) {\n\t\t\t return R*R;\n\t\t }\n\t\t else {\n\t\t\t return R*R*a;\n\t\t }\n\t }\n }\n \n static long powMod(long a, long N) {\n\t if (N == 0) return 1;\n\t else if (N == 1) return a % mod;\n\t else {\n\t\t long R = powMod(a,N/2) % mod;\n\t\t R *= R % mod;\n\t\t if (N % 2 == 0) {\n\t\t\t R *= a % mod;\n\t\t }\n\t\t\t return R % mod;\n\t }\n }\nstatic void mergeSort(int[] A){ // low to hi sort, single array only\n int n = A.length;\n if (n < 2) return;\n int[] l = new int[n/2];\n int[] r = new int[n - n/2];\n \n for (int i = 0; i < n/2; i++){\n l[i] = A[i];\n }\n \n for (int j = n/2; j < n; j++){\n r[j-n/2] = A[j];\n }\n \n mergeSort(l);\n mergeSort(r);\n merge(l, r, A);\n }\n \n static void merge(int[] l, int[] r, int[] a){\n int i = 0, j = 0, k = 0;\n while (i < l.length && j < r.length && k < a.length){\n if (l[i] < r[j]){\n a[k] = l[i];\n i++;\n }\n else{\n a[k] = r[j];\n j++;\n }\n k++;\n }\n while (i < l.length){\n a[k] = l[i];\n i++;\n k++;\n }\n \n while (j < r.length){\n a[k] = r[j];\n j++;\n k++;\n }\n }\n\n \n\n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;\n \n //-----------MyScanner class for faster input----------\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n\t try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t return str;\n }\n\n }\n //--------------------------------------------------------\n}",
"Main",
"static int mod = (int)(Math.pow(10, 9) + 7);",
"mod",
"(int)(Math.pow(10, 9) + 7)",
"Math.pow(10, 9)",
"Math.pow",
"Math",
"10",
"9",
"7",
"//-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;",
"out",
"public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = sc.nextInt() % 10;\n if (n == 2 || n == 4 || n == 5 || n == 7 || n== 9){\n out.println(\"hon\");\n }\n else if (n == 3){\n out.println(\"bon\");\n }\n else out.println(\"pon\");\n \n out.close();\n }",
"main",
"{\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = sc.nextInt() % 10;\n if (n == 2 || n == 4 || n == 5 || n == 7 || n== 9){\n out.println(\"hon\");\n }\n else if (n == 3){\n out.println(\"bon\");\n }\n else out.println(\"pon\");\n \n out.close();\n }",
"MyScanner sc = new MyScanner();",
"sc",
"new MyScanner()",
"out = new PrintWriter(new BufferedOutputStream(System.out))",
"out",
"new PrintWriter(new BufferedOutputStream(System.out))",
"int n = sc.nextInt() % 10;",
"n",
"sc.nextInt() % 10",
"sc.nextInt()",
"sc.nextInt",
"sc",
"10",
"if (n == 2 || n == 4 || n == 5 || n == 7 || n== 9){\n out.println(\"hon\");\n }\n else if (n == 3){\n out.println(\"bon\");\n }\n else out.println(\"pon\");",
"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 out.println(\"hon\");\n }",
"out.println(\"hon\")",
"out.println",
"out",
"\"hon\"",
"if (n == 3){\n out.println(\"bon\");\n }\n else out.println(\"pon\");",
"n == 3",
"n",
"3",
"{\n out.println(\"bon\");\n }",
"out.println(\"bon\")",
"out.println",
"out",
"\"bon\"",
"out.println(\"pon\")",
"out.println",
"out",
"\"pon\"",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static long pow(long a, long N) {\n\t if (N == 0) return 1;\n\t else if (N == 1) return a;\n\t else {\n\t\t long R = pow(a,N/2);\n\t\t if (N % 2 == 0) {\n\t\t\t return R*R;\n\t\t }\n\t\t else {\n\t\t\t return R*R*a;\n\t\t }\n\t }\n }",
"pow",
"{\n\t if (N == 0) return 1;\n\t else if (N == 1) return a;\n\t else {\n\t\t long R = pow(a,N/2);\n\t\t if (N % 2 == 0) {\n\t\t\t return R*R;\n\t\t }\n\t\t else {\n\t\t\t return R*R*a;\n\t\t }\n\t }\n }",
"if (N == 0) return 1;\n\t else if (N == 1) return a;\n\t else {\n\t\t long R = pow(a,N/2);\n\t\t if (N % 2 == 0) {\n\t\t\t return R*R;\n\t\t }\n\t\t else {\n\t\t\t return R*R*a;\n\t\t }\n\t }",
"N == 0",
"N",
"0",
"return 1;",
"1",
"if (N == 1) return a;\n\t else {\n\t\t long R = pow(a,N/2);\n\t\t if (N % 2 == 0) {\n\t\t\t return R*R;\n\t\t }\n\t\t else {\n\t\t\t return R*R*a;\n\t\t }\n\t }",
"N == 1",
"N",
"1",
"return a;",
"a",
"{\n\t\t long R = pow(a,N/2);\n\t\t if (N % 2 == 0) {\n\t\t\t return R*R;\n\t\t }\n\t\t else {\n\t\t\t return R*R*a;\n\t\t }\n\t }",
"long R = pow(a,N/2);",
"R",
"pow(a,N/2)",
"pow",
"a",
"N/2",
"N",
"2",
"if (N % 2 == 0) {\n\t\t\t return R*R;\n\t\t }\n\t\t else {\n\t\t\t return R*R*a;\n\t\t }",
"N % 2 == 0",
"N % 2",
"N",
"2",
"0",
"{\n\t\t\t return R*R;\n\t\t }",
"return R*R;",
"R*R",
"R",
"R",
"{\n\t\t\t return R*R*a;\n\t\t }",
"return R*R*a;",
"R*R*a",
"R*R*a",
"R",
"R",
"a",
"long a",
"a",
"long N",
"N",
"static long powMod(long a, long N) {\n\t if (N == 0) return 1;\n\t else if (N == 1) return a % mod;\n\t else {\n\t\t long R = powMod(a,N/2) % mod;\n\t\t R *= R % mod;\n\t\t if (N % 2 == 0) {\n\t\t\t R *= a % mod;\n\t\t }\n\t\t\t return R % mod;\n\t }\n }",
"powMod",
"{\n\t if (N == 0) return 1;\n\t else if (N == 1) return a % mod;\n\t else {\n\t\t long R = powMod(a,N/2) % mod;\n\t\t R *= R % mod;\n\t\t if (N % 2 == 0) {\n\t\t\t R *= a % mod;\n\t\t }\n\t\t\t return R % mod;\n\t }\n }",
"if (N == 0) return 1;\n\t else if (N == 1) return a % mod;\n\t else {\n\t\t long R = powMod(a,N/2) % mod;\n\t\t R *= R % mod;\n\t\t if (N % 2 == 0) {\n\t\t\t R *= a % mod;\n\t\t }\n\t\t\t return R % mod;\n\t }",
"N == 0",
"N",
"0",
"return 1;",
"1",
"if (N == 1) return a % mod;\n\t else {\n\t\t long R = powMod(a,N/2) % mod;\n\t\t R *= R % mod;\n\t\t if (N % 2 == 0) {\n\t\t\t R *= a % mod;\n\t\t }\n\t\t\t return R % mod;\n\t }",
"N == 1",
"N",
"1",
"return a % mod;",
"a % mod",
"a",
"mod",
"{\n\t\t long R = powMod(a,N/2) % mod;\n\t\t R *= R % mod;\n\t\t if (N % 2 == 0) {\n\t\t\t R *= a % mod;\n\t\t }\n\t\t\t return R % mod;\n\t }",
"long R = powMod(a,N/2) % mod;",
"R",
"powMod(a,N/2) % mod",
"powMod(a,N/2)",
"powMod",
"a",
"N/2",
"N",
"2",
"mod",
"R *= R % mod",
"R",
"R % mod",
"R",
"mod",
"if (N % 2 == 0) {\n\t\t\t R *= a % mod;\n\t\t }",
"N % 2 == 0",
"N % 2",
"N",
"2",
"0",
"{\n\t\t\t R *= a % mod;\n\t\t }",
"R *= a % mod",
"R",
"a % mod",
"a",
"mod",
"return R % mod;",
"R % mod",
"R",
"mod",
"long a",
"a",
"long N",
"N",
"static void mergeSort(int[] A){ // low to hi sort, single array only\n int n = A.length;\n if (n < 2) return;\n int[] l = new int[n/2];\n int[] r = new int[n - n/2];\n \n for (int i = 0; i < n/2; i++){\n l[i] = A[i];\n }\n \n for (int j = n/2; j < n; j++){\n r[j-n/2] = A[j];\n }\n \n mergeSort(l);\n mergeSort(r);\n merge(l, r, A);\n }",
"mergeSort",
"{ // low to hi sort, single array only\n int n = A.length;\n if (n < 2) return;\n int[] l = new int[n/2];\n int[] r = new int[n - n/2];\n \n for (int i = 0; i < n/2; i++){\n l[i] = A[i];\n }\n \n for (int j = n/2; j < n; j++){\n r[j-n/2] = A[j];\n }\n \n mergeSort(l);\n mergeSort(r);\n merge(l, r, A);\n }",
"int n = A.length;",
"n",
"A.length",
"A",
"A.length",
"if (n < 2) return;",
"n < 2",
"n",
"2",
"return;",
"int[] l = new int[n/2];",
"l",
"new int[n/2]",
"n/2",
"n",
"2",
"int[] r = new int[n - n/2];",
"r",
"new int[n - n/2]",
"n - n/2",
"n",
"n/2",
"n",
"2",
"for (int i = 0; i < n/2; i++){\n l[i] = A[i];\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n/2",
"i",
"n/2",
"n",
"2",
"i++",
"i++",
"i",
"{\n l[i] = A[i];\n }",
"{\n l[i] = A[i];\n }",
"l[i] = A[i]",
"l[i]",
"l",
"i",
"A[i]",
"A",
"i",
"for (int j = n/2; j < n; j++){\n r[j-n/2] = A[j];\n }",
"int j = n/2;",
"int j = n/2;",
"j",
"n/2",
"n",
"2",
"j < n",
"j",
"n",
"j++",
"j++",
"j",
"{\n r[j-n/2] = A[j];\n }",
"{\n r[j-n/2] = A[j];\n }",
"r[j-n/2] = A[j]",
"r[j-n/2]",
"r",
"j-n/2",
"j",
"n/2",
"n",
"2",
"A[j]",
"A",
"j",
"mergeSort(l)",
"mergeSort",
"l",
"mergeSort(r)",
"mergeSort",
"r",
"merge(l, r, A)",
"merge",
"l",
"r",
"A",
"int[] A",
"A",
"static void merge(int[] l, int[] r, int[] a){\n int i = 0, j = 0, k = 0;\n while (i < l.length && j < r.length && k < a.length){\n if (l[i] < r[j]){\n a[k] = l[i];\n i++;\n }\n else{\n a[k] = r[j];\n j++;\n }\n k++;\n }\n while (i < l.length){\n a[k] = l[i];\n i++;\n k++;\n }\n \n while (j < r.length){\n a[k] = r[j];\n j++;\n k++;\n }\n }",
"merge",
"{\n int i = 0, j = 0, k = 0;\n while (i < l.length && j < r.length && k < a.length){\n if (l[i] < r[j]){\n a[k] = l[i];\n i++;\n }\n else{\n a[k] = r[j];\n j++;\n }\n k++;\n }\n while (i < l.length){\n a[k] = l[i];\n i++;\n k++;\n }\n \n while (j < r.length){\n a[k] = r[j];\n j++;\n k++;\n }\n }",
"int i = 0",
"i",
"0",
"j = 0",
"j",
"0",
"k = 0;",
"k",
"0",
"while (i < l.length && j < r.length && k < a.length){\n if (l[i] < r[j]){\n a[k] = l[i];\n i++;\n }\n else{\n a[k] = r[j];\n j++;\n }\n k++;\n }",
"i < l.length && j < r.length && k < a.length",
"i < l.length && j < r.length && k < a.length",
"i < l.length",
"i",
"l.length",
"l",
"l.length",
"j < r.length",
"j",
"r.length",
"r",
"r.length",
"k < a.length",
"k",
"a.length",
"a",
"a.length",
"{\n if (l[i] < r[j]){\n a[k] = l[i];\n i++;\n }\n else{\n a[k] = r[j];\n j++;\n }\n k++;\n }",
"if (l[i] < r[j]){\n a[k] = l[i];\n i++;\n }\n else{\n a[k] = r[j];\n j++;\n }",
"l[i] < r[j]",
"l[i]",
"l",
"i",
"r[j]",
"r",
"j",
"{\n a[k] = l[i];\n i++;\n }",
"a[k] = l[i]",
"a[k]",
"a",
"k",
"l[i]",
"l",
"i",
"i++",
"i",
"{\n a[k] = r[j];\n j++;\n }",
"a[k] = r[j]",
"a[k]",
"a",
"k",
"r[j]",
"r",
"j",
"j++",
"j",
"k++",
"k",
"while (i < l.length){\n a[k] = l[i];\n i++;\n k++;\n }",
"i < l.length",
"i",
"l.length",
"l",
"l.length",
"{\n a[k] = l[i];\n i++;\n k++;\n }",
"a[k] = l[i]",
"a[k]",
"a",
"k",
"l[i]",
"l",
"i",
"i++",
"i",
"k++",
"k",
"while (j < r.length){\n a[k] = r[j];\n j++;\n k++;\n }",
"j < r.length",
"j",
"r.length",
"r",
"r.length",
"{\n a[k] = r[j];\n j++;\n k++;\n }",
"a[k] = r[j]",
"a[k]",
"a",
"k",
"r[j]",
"r",
"j",
"j++",
"j",
"k++",
"k",
"int[] l",
"l",
"int[] r",
"r",
"int[] a",
"a",
"public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n\t try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t return str;\n }\n\n }",
"MyScanner",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"MyScanner",
"{\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() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"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",
"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",
"double nextDouble() {\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",
"String nextLine(){\n String str = \"\";\n\t try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t return str;\n }",
"nextLine",
"{\n String str = \"\";\n\t try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }",
"catch (IOException e) {\n\t e.printStackTrace();\n\t }",
"IOException e",
"{\n\t e.printStackTrace();\n\t }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t str = br.readLine();\n\t }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main{\nstatic int mod = (int)(Math.pow(10, 9) + 7);\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = sc.nextInt() % 10;\n if (n == 2 || n == 4 || n == 5 || n == 7 || n== 9){\n out.println(\"hon\");\n }\n else if (n == 3){\n out.println(\"bon\");\n }\n else out.println(\"pon\");\n \n out.close();\n }\n \n static long pow(long a, long N) {\n\t if (N == 0) return 1;\n\t else if (N == 1) return a;\n\t else {\n\t\t long R = pow(a,N/2);\n\t\t if (N % 2 == 0) {\n\t\t\t return R*R;\n\t\t }\n\t\t else {\n\t\t\t return R*R*a;\n\t\t }\n\t }\n }\n \n static long powMod(long a, long N) {\n\t if (N == 0) return 1;\n\t else if (N == 1) return a % mod;\n\t else {\n\t\t long R = powMod(a,N/2) % mod;\n\t\t R *= R % mod;\n\t\t if (N % 2 == 0) {\n\t\t\t R *= a % mod;\n\t\t }\n\t\t\t return R % mod;\n\t }\n }\nstatic void mergeSort(int[] A){ // low to hi sort, single array only\n int n = A.length;\n if (n < 2) return;\n int[] l = new int[n/2];\n int[] r = new int[n - n/2];\n \n for (int i = 0; i < n/2; i++){\n l[i] = A[i];\n }\n \n for (int j = n/2; j < n; j++){\n r[j-n/2] = A[j];\n }\n \n mergeSort(l);\n mergeSort(r);\n merge(l, r, A);\n }\n \n static void merge(int[] l, int[] r, int[] a){\n int i = 0, j = 0, k = 0;\n while (i < l.length && j < r.length && k < a.length){\n if (l[i] < r[j]){\n a[k] = l[i];\n i++;\n }\n else{\n a[k] = r[j];\n j++;\n }\n k++;\n }\n while (i < l.length){\n a[k] = l[i];\n i++;\n k++;\n }\n \n while (j < r.length){\n a[k] = r[j];\n j++;\n k++;\n }\n }\n\n \n\n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;\n \n //-----------MyScanner class for faster input----------\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n\t try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t return str;\n }\n\n }\n //--------------------------------------------------------\n}",
"public class Main{\nstatic int mod = (int)(Math.pow(10, 9) + 7);\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = sc.nextInt() % 10;\n if (n == 2 || n == 4 || n == 5 || n == 7 || n== 9){\n out.println(\"hon\");\n }\n else if (n == 3){\n out.println(\"bon\");\n }\n else out.println(\"pon\");\n \n out.close();\n }\n \n static long pow(long a, long N) {\n\t if (N == 0) return 1;\n\t else if (N == 1) return a;\n\t else {\n\t\t long R = pow(a,N/2);\n\t\t if (N % 2 == 0) {\n\t\t\t return R*R;\n\t\t }\n\t\t else {\n\t\t\t return R*R*a;\n\t\t }\n\t }\n }\n \n static long powMod(long a, long N) {\n\t if (N == 0) return 1;\n\t else if (N == 1) return a % mod;\n\t else {\n\t\t long R = powMod(a,N/2) % mod;\n\t\t R *= R % mod;\n\t\t if (N % 2 == 0) {\n\t\t\t R *= a % mod;\n\t\t }\n\t\t\t return R % mod;\n\t }\n }\nstatic void mergeSort(int[] A){ // low to hi sort, single array only\n int n = A.length;\n if (n < 2) return;\n int[] l = new int[n/2];\n int[] r = new int[n - n/2];\n \n for (int i = 0; i < n/2; i++){\n l[i] = A[i];\n }\n \n for (int j = n/2; j < n; j++){\n r[j-n/2] = A[j];\n }\n \n mergeSort(l);\n mergeSort(r);\n merge(l, r, A);\n }\n \n static void merge(int[] l, int[] r, int[] a){\n int i = 0, j = 0, k = 0;\n while (i < l.length && j < r.length && k < a.length){\n if (l[i] < r[j]){\n a[k] = l[i];\n i++;\n }\n else{\n a[k] = r[j];\n j++;\n }\n k++;\n }\n while (i < l.length){\n a[k] = l[i];\n i++;\n k++;\n }\n \n while (j < r.length){\n a[k] = r[j];\n j++;\n k++;\n }\n }\n\n \n\n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;\n \n //-----------MyScanner class for faster input----------\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n\t try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t return str;\n }\n\n }\n //--------------------------------------------------------\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main{
static int mod = (int)(Math.pow(10, 9) + 7);
public static void main(String[] args) {
MyScanner sc = new MyScanner();
out = new PrintWriter(new BufferedOutputStream(System.out));
int n = sc.nextInt() % 10;
if (n == 2 || n == 4 || n == 5 || n == 7 || n== 9){
out.println("hon");
}
else if (n == 3){
out.println("bon");
}
else out.println("pon");
out.close();
}
static long pow(long a, long N) {
if (N == 0) return 1;
else if (N == 1) return a;
else {
long R = pow(a,N/2);
if (N % 2 == 0) {
return R*R;
}
else {
return R*R*a;
}
}
}
static long powMod(long a, long N) {
if (N == 0) return 1;
else if (N == 1) return a % mod;
else {
long R = powMod(a,N/2) % mod;
R *= R % mod;
if (N % 2 == 0) {
R *= a % mod;
}
return R % mod;
}
}
static void mergeSort(int[] A){ // low to hi sort, single array only
int n = A.length;
if (n < 2) return;
int[] l = new int[n/2];
int[] r = new int[n - n/2];
for (int i = 0; i < n/2; i++){
l[i] = A[i];
}
for (int j = n/2; j < n; j++){
r[j-n/2] = A[j];
}
mergeSort(l);
mergeSort(r);
merge(l, r, A);
}
static void merge(int[] l, int[] r, int[] a){
int i = 0, j = 0, k = 0;
while (i < l.length && j < r.length && k < a.length){
if (l[i] < r[j]){
a[k] = l[i];
i++;
}
else{
a[k] = r[j];
j++;
}
k++;
}
while (i < l.length){
a[k] = l[i];
i++;
k++;
}
while (j < r.length){
a[k] = r[j];
j++;
k++;
}
}
//-----------PrintWriter for faster output---------------------------------
public static PrintWriter out;
//-----------MyScanner class for faster input----------
public static class MyScanner {
BufferedReader br;
StringTokenizer st;
public MyScanner() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine(){
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
//--------------------------------------------------------
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
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,
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,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
4,
13,
40,
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
],
[
103,
11
],
[
103,
12
],
[
12,
13
],
[
12,
14
],
[
103,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
17,
28
],
[
28,
29
],
[
32,
30
],
[
42,
31
],
[
39,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
39,
39
],
[
39,
40
],
[
39,
41
],
[
42,
42
],
[
42,
43
],
[
42,
44
],
[
32,
45
],
[
45,
46
],
[
45,
47
],
[
28,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
28,
55
],
[
55,
56
],
[
58,
57
],
[
65,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
62,
64
],
[
65,
65
],
[
65,
66
],
[
65,
67
],
[
58,
68
],
[
68,
69
],
[
68,
70
],
[
55,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
55,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
103,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
98,
99
],
[
85,
100
],
[
100,
101
],
[
0,
102
],
[
102,
103
],
[
102,
104
]
] |
[
"/* package codechef; // don't place package name! */\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n\n\n/* Name of the class has to be \"Main\" only if the class is public. */\npublic class Main\n \n \n{\n static Scanner in = new Scanner(System.in);\n \n public static void solve()\n {\n int n=in.nextInt();\n \n int x=n%10;\n \n if(x==2 ||x==4 ||x==5 ||x==7 ||x==9)\n {\n System.out.println(\"hon\");\n }\n else if(x==0 ||x==1 ||x==6 ||x==8 )\n {\n System.out.println(\"pon\");\n }\n else\n {\n System.out.println(\"bon\");\n }\n \n }\n \n\n \n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\t\n\t\tint t=1;\n\t\t//in.nextLine();\n\t\t\n\t\twhile(t>0)\n\t\t{\n\t\t \n\t\t solve();\n\t\t t--;\n\t\t}\n\t\t\n\t\t\n\t\n\t//\tSystem.out.println(x);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n \n \n{\n static Scanner in = new Scanner(System.in);\n \n public static void solve()\n {\n int n=in.nextInt();\n \n int x=n%10;\n \n if(x==2 ||x==4 ||x==5 ||x==7 ||x==9)\n {\n System.out.println(\"hon\");\n }\n else if(x==0 ||x==1 ||x==6 ||x==8 )\n {\n System.out.println(\"pon\");\n }\n else\n {\n System.out.println(\"bon\");\n }\n \n }\n \n\n \n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\t\n\t\tint t=1;\n\t\t//in.nextLine();\n\t\t\n\t\twhile(t>0)\n\t\t{\n\t\t \n\t\t solve();\n\t\t t--;\n\t\t}\n\t\t\n\t\t\n\t\n\t//\tSystem.out.println(x);\n\t}\n}",
"Main",
"static Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"public static void solve()\n {\n int n=in.nextInt();\n \n int x=n%10;\n \n if(x==2 ||x==4 ||x==5 ||x==7 ||x==9)\n {\n System.out.println(\"hon\");\n }\n else if(x==0 ||x==1 ||x==6 ||x==8 )\n {\n System.out.println(\"pon\");\n }\n else\n {\n System.out.println(\"bon\");\n }\n \n }",
"solve",
"{\n int n=in.nextInt();\n \n int x=n%10;\n \n if(x==2 ||x==4 ||x==5 ||x==7 ||x==9)\n {\n System.out.println(\"hon\");\n }\n else if(x==0 ||x==1 ||x==6 ||x==8 )\n {\n System.out.println(\"pon\");\n }\n else\n {\n System.out.println(\"bon\");\n }\n \n }",
"int n=in.nextInt();",
"n",
"in.nextInt()",
"in.nextInt",
"in",
"int x=n%10;",
"x",
"n%10",
"n",
"10",
"if(x==2 ||x==4 ||x==5 ||x==7 ||x==9)\n {\n System.out.println(\"hon\");\n }\n else if(x==0 ||x==1 ||x==6 ||x==8 )\n {\n System.out.println(\"pon\");\n }\n else\n {\n System.out.println(\"bon\");\n }",
"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 System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(x==0 ||x==1 ||x==6 ||x==8 )\n {\n System.out.println(\"pon\");\n }\n else\n {\n System.out.println(\"bon\");\n }",
"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 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\"",
"public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\t\n\t\tint t=1;\n\t\t//in.nextLine();\n\t\t\n\t\twhile(t>0)\n\t\t{\n\t\t \n\t\t solve();\n\t\t t--;\n\t\t}\n\t\t\n\t\t\n\t\n\t//\tSystem.out.println(x);\n\t}",
"main",
"{\n\t\t// your code goes here\n\t\t\n\t\tint t=1;\n\t\t//in.nextLine();\n\t\t\n\t\twhile(t>0)\n\t\t{\n\t\t \n\t\t solve();\n\t\t t--;\n\t\t}\n\t\t\n\t\t\n\t\n\t//\tSystem.out.println(x);\n\t}",
"int t=1;",
"t",
"1",
"while(t>0)\n\t\t{\n\t\t \n\t\t solve();\n\t\t t--;\n\t\t}",
"t>0",
"t",
"0",
"{\n\t\t \n\t\t solve();\n\t\t t--;\n\t\t}",
"solve()",
"solve",
"t--",
"t",
"String[] args",
"args",
"public class Main\n \n \n{\n static Scanner in = new Scanner(System.in);\n \n public static void solve()\n {\n int n=in.nextInt();\n \n int x=n%10;\n \n if(x==2 ||x==4 ||x==5 ||x==7 ||x==9)\n {\n System.out.println(\"hon\");\n }\n else if(x==0 ||x==1 ||x==6 ||x==8 )\n {\n System.out.println(\"pon\");\n }\n else\n {\n System.out.println(\"bon\");\n }\n \n }\n \n\n \n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\t\n\t\tint t=1;\n\t\t//in.nextLine();\n\t\t\n\t\twhile(t>0)\n\t\t{\n\t\t \n\t\t solve();\n\t\t t--;\n\t\t}\n\t\t\n\t\t\n\t\n\t//\tSystem.out.println(x);\n\t}\n}",
"public class Main\n \n \n{\n static Scanner in = new Scanner(System.in);\n \n public static void solve()\n {\n int n=in.nextInt();\n \n int x=n%10;\n \n if(x==2 ||x==4 ||x==5 ||x==7 ||x==9)\n {\n System.out.println(\"hon\");\n }\n else if(x==0 ||x==1 ||x==6 ||x==8 )\n {\n System.out.println(\"pon\");\n }\n else\n {\n System.out.println(\"bon\");\n }\n \n }\n \n\n \n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\t\n\t\tint t=1;\n\t\t//in.nextLine();\n\t\t\n\t\twhile(t>0)\n\t\t{\n\t\t \n\t\t solve();\n\t\t t--;\n\t\t}\n\t\t\n\t\t\n\t\n\t//\tSystem.out.println(x);\n\t}\n}",
"Main"
] |
/* package codechef; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
public class Main
{
static Scanner in = new Scanner(System.in);
public static void solve()
{
int n=in.nextInt();
int x=n%10;
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");
}
}
public static void main (String[] args) throws java.lang.Exception
{
// your code goes here
int t=1;
//in.nextLine();
while(t>0)
{
solve();
t--;
}
// System.out.println(x);
}
}
|
[
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,
4,
18,
13,
13,
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,
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
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
8,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
37,
44
],
[
33,
45
],
[
45,
46
],
[
45,
47
],
[
33,
48
],
[
48,
49
],
[
48,
50
],
[
33,
51
],
[
51,
52
],
[
51,
53
],
[
33,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
56,
63
],
[
33,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
6,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] |
[
"import java.util.*;\n \npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n String end = n.substring(n.length()-1);\n int num = Integer.parseInt(end);\n \n switch(num){\n case 3:\n System.out.println(\"bon\");\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n System.out.println(\"pon\");\n break;\n default:\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 sc = new Scanner(System.in);\n String n = sc.next();\n String end = n.substring(n.length()-1);\n int num = Integer.parseInt(end);\n \n switch(num){\n case 3:\n System.out.println(\"bon\");\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n System.out.println(\"pon\");\n break;\n default:\n System.out.println(\"hon\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n String end = n.substring(n.length()-1);\n int num = Integer.parseInt(end);\n \n switch(num){\n case 3:\n System.out.println(\"bon\");\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n System.out.println(\"pon\");\n break;\n default:\n System.out.println(\"hon\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n String end = n.substring(n.length()-1);\n int num = Integer.parseInt(end);\n \n switch(num){\n case 3:\n System.out.println(\"bon\");\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n System.out.println(\"pon\");\n break;\n default:\n System.out.println(\"hon\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String n = sc.next();",
"n",
"sc.next()",
"sc.next",
"sc",
"String end = n.substring(n.length()-1);",
"end",
"n.substring(n.length()-1)",
"n.substring",
"n",
"n.length()-1",
"n.length()",
"n.length",
"n",
"1",
"int num = Integer.parseInt(end);",
"num",
"Integer.parseInt(end)",
"Integer.parseInt",
"Integer",
"end",
"switch(num){\n case 3:\n System.out.println(\"bon\");\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n System.out.println(\"pon\");\n break;\n default:\n System.out.println(\"hon\");\n }",
"num",
"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\"",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n String end = n.substring(n.length()-1);\n int num = Integer.parseInt(end);\n \n switch(num){\n case 3:\n System.out.println(\"bon\");\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n System.out.println(\"pon\");\n break;\n default:\n System.out.println(\"hon\");\n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n String end = n.substring(n.length()-1);\n int num = Integer.parseInt(end);\n \n switch(num){\n case 3:\n System.out.println(\"bon\");\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n System.out.println(\"pon\");\n break;\n default:\n System.out.println(\"hon\");\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String n = sc.next();
String end = n.substring(n.length()-1);
int num = Integer.parseInt(end);
switch(num){
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");
}
}
}
|
[
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,
4,
18,
13,
4,
18,
13,
2,
4,
18,
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
],
[
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
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
31,
35
],
[
8,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
38,
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
],
[
63,
65
],
[
46,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
8,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
6,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] |
[
"import java.util.*;\n\npublic class Main {\n\n public static void main(String args[]) {\n\n // 入力\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n sc.close();\n\n // 主処理\n int num = Integer.parseInt(String.valueOf(n.charAt(n.length() - 1)));\n\n String result;\n if (num == 3) {\n result = \"bon\";\n } else if (num == 0 || num == 1 || num == 6 || num == 8) {\n result = \"pon\";\n } else {\n result = \"hon\";\n }\n\n // 出力\n System.out.println(result);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String args[]) {\n\n // 入力\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n sc.close();\n\n // 主処理\n int num = Integer.parseInt(String.valueOf(n.charAt(n.length() - 1)));\n\n String result;\n if (num == 3) {\n result = \"bon\";\n } else if (num == 0 || num == 1 || num == 6 || num == 8) {\n result = \"pon\";\n } else {\n result = \"hon\";\n }\n\n // 出力\n System.out.println(result);\n }\n}",
"Main",
"public static void main(String args[]) {\n\n // 入力\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n sc.close();\n\n // 主処理\n int num = Integer.parseInt(String.valueOf(n.charAt(n.length() - 1)));\n\n String result;\n if (num == 3) {\n result = \"bon\";\n } else if (num == 0 || num == 1 || num == 6 || num == 8) {\n result = \"pon\";\n } else {\n result = \"hon\";\n }\n\n // 出力\n System.out.println(result);\n }",
"main",
"{\n\n // 入力\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n sc.close();\n\n // 主処理\n int num = Integer.parseInt(String.valueOf(n.charAt(n.length() - 1)));\n\n String result;\n if (num == 3) {\n result = \"bon\";\n } else if (num == 0 || num == 1 || num == 6 || num == 8) {\n result = \"pon\";\n } else {\n result = \"hon\";\n }\n\n // 出力\n System.out.println(result);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String n = sc.next();",
"n",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"int num = Integer.parseInt(String.valueOf(n.charAt(n.length() - 1)));",
"num",
"Integer.parseInt(String.valueOf(n.charAt(n.length() - 1)))",
"Integer.parseInt",
"Integer",
"String.valueOf(n.charAt(n.length() - 1))",
"String.valueOf",
"String",
"n.charAt(n.length() - 1)",
"n.charAt",
"n",
"n.length() - 1",
"n.length()",
"n.length",
"n",
"1",
"String result;",
"result",
"if (num == 3) {\n result = \"bon\";\n } else if (num == 0 || num == 1 || num == 6 || num == 8) {\n result = \"pon\";\n } else {\n result = \"hon\";\n }",
"num == 3",
"num",
"3",
"{\n result = \"bon\";\n }",
"result = \"bon\"",
"result",
"\"bon\"",
"if (num == 0 || num == 1 || num == 6 || num == 8) {\n result = \"pon\";\n } else {\n result = \"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 result = \"pon\";\n }",
"result = \"pon\"",
"result",
"\"pon\"",
"{\n result = \"hon\";\n }",
"result = \"hon\"",
"result",
"\"hon\"",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String args[]",
"args",
"public class Main {\n\n public static void main(String args[]) {\n\n // 入力\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n sc.close();\n\n // 主処理\n int num = Integer.parseInt(String.valueOf(n.charAt(n.length() - 1)));\n\n String result;\n if (num == 3) {\n result = \"bon\";\n } else if (num == 0 || num == 1 || num == 6 || num == 8) {\n result = \"pon\";\n } else {\n result = \"hon\";\n }\n\n // 出力\n System.out.println(result);\n }\n}",
"public class Main {\n\n public static void main(String args[]) {\n\n // 入力\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n sc.close();\n\n // 主処理\n int num = Integer.parseInt(String.valueOf(n.charAt(n.length() - 1)));\n\n String result;\n if (num == 3) {\n result = \"bon\";\n } else if (num == 0 || num == 1 || num == 6 || num == 8) {\n result = \"pon\";\n } else {\n result = \"hon\";\n }\n\n // 出力\n System.out.println(result);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String args[]) {
// 入力
Scanner sc = new Scanner(System.in);
String n = sc.next();
sc.close();
// 主処理
int num = Integer.parseInt(String.valueOf(n.charAt(n.length() - 1)));
String result;
if (num == 3) {
result = "bon";
} else if (num == 0 || num == 1 || num == 6 || num == 8) {
result = "pon";
} else {
result = "hon";
}
// 出力
System.out.println(result);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
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,
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
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
22,
23
],
[
22,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
25,
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
],
[
25,
84
],
[
84,
85
],
[
85,
86
],
[
6,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t int N = sc.nextInt();\n\t\t if(0<N && N<=999) {\n\t\t\t N = N % 10;\n\t\t\t switch(N){\n\t\t\t case 2:\n\t\t\t case 4:\n\t\t\t case 5:\n\t\t\t case 7:\n\t\t\t case 9:\n\t\t\t\t System.out.println(\"hon\");\n\t\t\t\t break;\n\t\t\t case 0:\n\t\t\t case 1:\n\t\t\t case 6:\n\t\t\t case 8:\n\t\t\t\t System.out.println(\"pon\");\n\t\t\t\t break;\n\t\t\t case 3:\n\t\t\t\t System.out.println(\"bon\");\n\t\t\t\t break;\n\n\t\t\t }\n\n\t\t\t sc.close();\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\tScanner sc = new Scanner(System.in);\n\t\t int N = sc.nextInt();\n\t\t if(0<N && N<=999) {\n\t\t\t N = N % 10;\n\t\t\t switch(N){\n\t\t\t case 2:\n\t\t\t case 4:\n\t\t\t case 5:\n\t\t\t case 7:\n\t\t\t case 9:\n\t\t\t\t System.out.println(\"hon\");\n\t\t\t\t break;\n\t\t\t case 0:\n\t\t\t case 1:\n\t\t\t case 6:\n\t\t\t case 8:\n\t\t\t\t System.out.println(\"pon\");\n\t\t\t\t break;\n\t\t\t case 3:\n\t\t\t\t System.out.println(\"bon\");\n\t\t\t\t break;\n\n\t\t\t }\n\n\t\t\t sc.close();\n\t\t }\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t int N = sc.nextInt();\n\t\t if(0<N && N<=999) {\n\t\t\t N = N % 10;\n\t\t\t switch(N){\n\t\t\t case 2:\n\t\t\t case 4:\n\t\t\t case 5:\n\t\t\t case 7:\n\t\t\t case 9:\n\t\t\t\t System.out.println(\"hon\");\n\t\t\t\t break;\n\t\t\t case 0:\n\t\t\t case 1:\n\t\t\t case 6:\n\t\t\t case 8:\n\t\t\t\t System.out.println(\"pon\");\n\t\t\t\t break;\n\t\t\t case 3:\n\t\t\t\t System.out.println(\"bon\");\n\t\t\t\t break;\n\n\t\t\t }\n\n\t\t\t sc.close();\n\t\t }\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t int N = sc.nextInt();\n\t\t if(0<N && N<=999) {\n\t\t\t N = N % 10;\n\t\t\t switch(N){\n\t\t\t case 2:\n\t\t\t case 4:\n\t\t\t case 5:\n\t\t\t case 7:\n\t\t\t case 9:\n\t\t\t\t System.out.println(\"hon\");\n\t\t\t\t break;\n\t\t\t case 0:\n\t\t\t case 1:\n\t\t\t case 6:\n\t\t\t case 8:\n\t\t\t\t System.out.println(\"pon\");\n\t\t\t\t break;\n\t\t\t case 3:\n\t\t\t\t System.out.println(\"bon\");\n\t\t\t\t break;\n\n\t\t\t }\n\n\t\t\t sc.close();\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",
"if(0<N && N<=999) {\n\t\t\t N = N % 10;\n\t\t\t switch(N){\n\t\t\t case 2:\n\t\t\t case 4:\n\t\t\t case 5:\n\t\t\t case 7:\n\t\t\t case 9:\n\t\t\t\t System.out.println(\"hon\");\n\t\t\t\t break;\n\t\t\t case 0:\n\t\t\t case 1:\n\t\t\t case 6:\n\t\t\t case 8:\n\t\t\t\t System.out.println(\"pon\");\n\t\t\t\t break;\n\t\t\t case 3:\n\t\t\t\t System.out.println(\"bon\");\n\t\t\t\t break;\n\n\t\t\t }\n\n\t\t\t sc.close();\n\t\t }",
"0<N && N<=999",
"0<N",
"0",
"N",
"N<=999",
"N",
"999",
"{\n\t\t\t N = N % 10;\n\t\t\t switch(N){\n\t\t\t case 2:\n\t\t\t case 4:\n\t\t\t case 5:\n\t\t\t case 7:\n\t\t\t case 9:\n\t\t\t\t System.out.println(\"hon\");\n\t\t\t\t break;\n\t\t\t case 0:\n\t\t\t case 1:\n\t\t\t case 6:\n\t\t\t case 8:\n\t\t\t\t System.out.println(\"pon\");\n\t\t\t\t break;\n\t\t\t case 3:\n\t\t\t\t System.out.println(\"bon\");\n\t\t\t\t break;\n\n\t\t\t }\n\n\t\t\t sc.close();\n\t\t }",
"N = N % 10",
"N",
"N % 10",
"N",
"10",
"switch(N){\n\t\t\t case 2:\n\t\t\t case 4:\n\t\t\t case 5:\n\t\t\t case 7:\n\t\t\t case 9:\n\t\t\t\t System.out.println(\"hon\");\n\t\t\t\t break;\n\t\t\t case 0:\n\t\t\t case 1:\n\t\t\t case 6:\n\t\t\t case 8:\n\t\t\t\t System.out.println(\"pon\");\n\t\t\t\t break;\n\t\t\t case 3:\n\t\t\t\t System.out.println(\"bon\");\n\t\t\t\t break;\n\n\t\t\t }",
"N",
"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;",
"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\t int N = sc.nextInt();\n\t\t if(0<N && N<=999) {\n\t\t\t N = N % 10;\n\t\t\t switch(N){\n\t\t\t case 2:\n\t\t\t case 4:\n\t\t\t case 5:\n\t\t\t case 7:\n\t\t\t case 9:\n\t\t\t\t System.out.println(\"hon\");\n\t\t\t\t break;\n\t\t\t case 0:\n\t\t\t case 1:\n\t\t\t case 6:\n\t\t\t case 8:\n\t\t\t\t System.out.println(\"pon\");\n\t\t\t\t break;\n\t\t\t case 3:\n\t\t\t\t System.out.println(\"bon\");\n\t\t\t\t break;\n\n\t\t\t }\n\n\t\t\t sc.close();\n\t\t }\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t int N = sc.nextInt();\n\t\t if(0<N && N<=999) {\n\t\t\t N = N % 10;\n\t\t\t switch(N){\n\t\t\t case 2:\n\t\t\t case 4:\n\t\t\t case 5:\n\t\t\t case 7:\n\t\t\t case 9:\n\t\t\t\t System.out.println(\"hon\");\n\t\t\t\t break;\n\t\t\t case 0:\n\t\t\t case 1:\n\t\t\t case 6:\n\t\t\t case 8:\n\t\t\t\t System.out.println(\"pon\");\n\t\t\t\t break;\n\t\t\t case 3:\n\t\t\t\t System.out.println(\"bon\");\n\t\t\t\t break;\n\n\t\t\t }\n\n\t\t\t sc.close();\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 N = sc.nextInt();
if(0<N && N<=999) {
N = N % 10;
switch(N){
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;
}
sc.close();
}
}
}
|
[
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,
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,
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
],
[
415,
11
],
[
415,
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
],
[
25,
27
],
[
14,
28
],
[
28,
29
],
[
32,
30
],
[
42,
31
],
[
39,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
39,
39
],
[
39,
40
],
[
39,
41
],
[
42,
42
],
[
42,
43
],
[
42,
44
],
[
32,
45
],
[
45,
46
],
[
45,
47
],
[
28,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
28,
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
],
[
72,
74
],
[
70,
75
],
[
54,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
12,
82
],
[
82,
83
],
[
415,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
88,
90
],
[
84,
91
],
[
91,
92
],
[
84,
93
],
[
93,
94
],
[
84,
95
],
[
95,
96
],
[
84,
97
],
[
97,
98
],
[
84,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
105,
106
],
[
105,
107
],
[
101,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
111,
113
],
[
84,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
120,
121
],
[
120,
122
],
[
116,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
126,
128
],
[
114,
129
],
[
129,
130
],
[
84,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
138
],
[
138,
139
],
[
138,
140
],
[
133,
141
],
[
141,
142
],
[
133,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
144,
149
],
[
149,
150
],
[
143,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
151,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
157,
162
],
[
133,
163
],
[
163,
164
],
[
84,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
167,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
167,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
175,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
167,
183
],
[
183,
184
],
[
183,
185
],
[
185,
186
],
[
185,
187
],
[
167,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
167,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
196,
201
],
[
195,
202
],
[
202,
203
],
[
202,
204
],
[
194,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
209,
213
],
[
208,
214
],
[
167,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
218,
219
],
[
167,
220
],
[
220,
221
],
[
84,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
224,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
224,
232
],
[
232,
233
],
[
233,
234
],
[
233,
235
],
[
232,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
224,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
242,
244
],
[
224,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
247,
249
],
[
249,
250
],
[
224,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
253,
258
],
[
252,
259
],
[
259,
260
],
[
259,
261
],
[
251,
262
],
[
262,
263
],
[
263,
264
],
[
263,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
267,
269
],
[
266,
270
],
[
265,
271
],
[
224,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
275,
276
],
[
224,
277
],
[
277,
278
],
[
84,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
281,
285
],
[
285,
286
],
[
285,
287
],
[
281,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
281,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
292,
296
],
[
296,
297
],
[
296,
298
],
[
298,
299
],
[
281,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
302,
304
],
[
281,
305
],
[
305,
306
],
[
305,
307
],
[
307,
308
],
[
307,
309
],
[
309,
310
],
[
281,
311
],
[
311,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
316,
317
],
[
313,
318
],
[
312,
319
],
[
319,
320
],
[
319,
321
],
[
311,
322
],
[
322,
323
],
[
323,
324
],
[
323,
325
],
[
325,
326
],
[
326,
327
],
[
327,
328
],
[
327,
329
],
[
326,
330
],
[
325,
331
],
[
281,
332
],
[
332,
333
],
[
333,
334
],
[
333,
335
],
[
332,
336
],
[
336,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
340,
341
],
[
340,
342
],
[
342,
343
],
[
339,
344
],
[
338,
345
],
[
345,
346
],
[
345,
347
],
[
337,
348
],
[
348,
349
],
[
349,
350
],
[
349,
351
],
[
351,
352
],
[
352,
353
],
[
352,
354
],
[
351,
355
],
[
355,
356
],
[
355,
357
],
[
281,
358
],
[
358,
359
],
[
358,
360
],
[
360,
361
],
[
361,
362
],
[
281,
363
],
[
363,
364
],
[
84,
365
],
[
365,
366
],
[
365,
367
],
[
367,
368
],
[
368,
369
],
[
368,
370
],
[
370,
371
],
[
371,
372
],
[
370,
373
],
[
370,
374
],
[
374,
375
],
[
374,
376
],
[
370,
377
],
[
367,
378
],
[
378,
379
],
[
379,
380
],
[
379,
381
],
[
381,
382
],
[
378,
383
],
[
383,
384
],
[
384,
385
],
[
384,
386
],
[
383,
387
],
[
387,
388
],
[
84,
389
],
[
389,
390
],
[
389,
391
],
[
391,
392
],
[
392,
393
],
[
393,
394
],
[
393,
395
],
[
392,
396
],
[
396,
397
],
[
391,
398
],
[
398,
399
],
[
399,
400
],
[
399,
401
],
[
401,
402
],
[
84,
403
],
[
403,
404
],
[
403,
405
],
[
405,
406
],
[
406,
407
],
[
407,
408
],
[
407,
409
],
[
406,
410
],
[
405,
411
],
[
411,
412
],
[
412,
413
],
[
0,
414
],
[
414,
415
],
[
414,
416
]
] |
[
"import java.io.DataInputStream;\nimport java.io.FileInputStream;\nimport java.io.IOException;\n\npublic class Main {\n static class Reader {\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 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 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 byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1) {\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 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 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 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 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 while ((c = read()) >= '0' && c <= '9') {\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 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 if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException {\n if (din == null)\n return;\n din.close();\n }\n }\n\n public static void main(String[] args) throws IOException {\n Reader in = new Reader();\n int n = in.nextInt();\n int ans = n%10;\n if(ans == 2||ans==5||ans==4||ans==7||ans==9)\n System.out.println(\"hon\");\n else if(ans==0||ans==1||ans==6||ans==8)\n System.out.println(\"pon\");\n else System.out.println(\"bon\");\n }\n\n}",
"import java.io.DataInputStream;",
"DataInputStream",
"java.io",
"import java.io.FileInputStream;",
"FileInputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"public class Main {\n static class Reader {\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 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 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 byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1) {\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 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 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 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 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 while ((c = read()) >= '0' && c <= '9') {\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 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 if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException {\n if (din == null)\n return;\n din.close();\n }\n }\n\n public static void main(String[] args) throws IOException {\n Reader in = new Reader();\n int n = in.nextInt();\n int ans = n%10;\n if(ans == 2||ans==5||ans==4||ans==7||ans==9)\n System.out.println(\"hon\");\n else if(ans==0||ans==1||ans==6||ans==8)\n System.out.println(\"pon\");\n else System.out.println(\"bon\");\n }\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n Reader in = new Reader();\n int n = in.nextInt();\n int ans = n%10;\n if(ans == 2||ans==5||ans==4||ans==7||ans==9)\n System.out.println(\"hon\");\n else if(ans==0||ans==1||ans==6||ans==8)\n System.out.println(\"pon\");\n else System.out.println(\"bon\");\n }",
"main",
"{\n Reader in = new Reader();\n int n = in.nextInt();\n int ans = n%10;\n if(ans == 2||ans==5||ans==4||ans==7||ans==9)\n System.out.println(\"hon\");\n else if(ans==0||ans==1||ans==6||ans==8)\n System.out.println(\"pon\");\n else System.out.println(\"bon\");\n }",
"Reader in = new Reader();",
"in",
"new Reader()",
"int n = in.nextInt();",
"n",
"in.nextInt()",
"in.nextInt",
"in",
"int ans = n%10;",
"ans",
"n%10",
"n",
"10",
"if(ans == 2||ans==5||ans==4||ans==7||ans==9)\n System.out.println(\"hon\");\n else if(ans==0||ans==1||ans==6||ans==8)\n System.out.println(\"pon\");\n else System.out.println(\"bon\");",
"ans == 2||ans==5||ans==4||ans==7||ans==9",
"ans==7",
"ans==4",
"ans == 2||ans==5||ans==4||ans==7||ans==9",
"ans == 2",
"ans",
"2",
"ans==5",
"ans",
"5",
"ans==4",
"ans",
"4",
"ans==7",
"ans",
"7",
"ans==9",
"ans",
"9",
"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 else System.out.println(\"bon\");",
"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",
"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",
"static class Reader {\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 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 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 byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1) {\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 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 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 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 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 while ((c = read()) >= '0' && c <= '9') {\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 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 if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException {\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 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 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 byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1) {\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 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 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 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 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 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 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 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 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 while ((c = read()) >= '0' && c <= '9') {\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 while ((c = read()) >= '0' && c <= '9') {\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 while ((c = read()) >= '0' && c <= '9') {\n ret += (c - '0') / (div *= 10);\n }\n }",
"c == '.'",
"c",
"'.'",
"{\n while ((c = read()) >= '0' && c <= '9') {\n ret += (c - '0') / (div *= 10);\n }\n }",
"while ((c = read()) >= '0' && c <= '9') {\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 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 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 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 static class Reader {\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 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 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 byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1) {\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 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 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 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 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 while ((c = read()) >= '0' && c <= '9') {\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 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 if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException {\n if (din == null)\n return;\n din.close();\n }\n }\n\n public static void main(String[] args) throws IOException {\n Reader in = new Reader();\n int n = in.nextInt();\n int ans = n%10;\n if(ans == 2||ans==5||ans==4||ans==7||ans==9)\n System.out.println(\"hon\");\n else if(ans==0||ans==1||ans==6||ans==8)\n System.out.println(\"pon\");\n else System.out.println(\"bon\");\n }\n\n}",
"public class Main {\n static class Reader {\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 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 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 byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1) {\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 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 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 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 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 while ((c = read()) >= '0' && c <= '9') {\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 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 if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException {\n if (din == null)\n return;\n din.close();\n }\n }\n\n public static void main(String[] args) throws IOException {\n Reader in = new Reader();\n int n = in.nextInt();\n int ans = n%10;\n if(ans == 2||ans==5||ans==4||ans==7||ans==9)\n System.out.println(\"hon\");\n else if(ans==0||ans==1||ans==6||ans==8)\n System.out.println(\"pon\");\n else System.out.println(\"bon\");\n }\n\n}",
"Main"
] |
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.IOException;
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 IOException {
Reader in = new Reader();
int n = in.nextInt();
int ans = n%10;
if(ans == 2||ans==5||ans==4||ans==7||ans==9)
System.out.println("hon");
else if(ans==0||ans==1||ans==6||ans==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,
0,
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.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner s=new Scanner(System.in);\n int n=s.nextInt();\n int a=n/10;\n n-=(a*10);\n if(n==3){\n System.out.println(\"bon\");\n }else if(n==0||n==1||n==6||n==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) throws Exception {\n Scanner s=new Scanner(System.in);\n int n=s.nextInt();\n int a=n/10;\n n-=(a*10);\n if(n==3){\n System.out.println(\"bon\");\n }else if(n==0||n==1||n==6||n==8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner s=new Scanner(System.in);\n int n=s.nextInt();\n int a=n/10;\n n-=(a*10);\n if(n==3){\n System.out.println(\"bon\");\n }else if(n==0||n==1||n==6||n==8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }",
"main",
"{\n Scanner s=new Scanner(System.in);\n int n=s.nextInt();\n int a=n/10;\n n-=(a*10);\n if(n==3){\n System.out.println(\"bon\");\n }else if(n==0||n==1||n==6||n==8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }",
"Scanner s=new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int n=s.nextInt();",
"n",
"s.nextInt()",
"s.nextInt",
"s",
"int a=n/10;",
"a",
"n/10",
"n",
"10",
"n-=(a*10)",
"n",
"(a*10)",
"a",
"10",
"if(n==3){\n System.out.println(\"bon\");\n }else if(n==0||n==1||n==6||n==8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }",
"n==3",
"n",
"3",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(n==0||n==1||n==6||n==8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\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(\"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) throws Exception {\n Scanner s=new Scanner(System.in);\n int n=s.nextInt();\n int a=n/10;\n n-=(a*10);\n if(n==3){\n System.out.println(\"bon\");\n }else if(n==0||n==1||n==6||n==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) throws Exception {\n Scanner s=new Scanner(System.in);\n int n=s.nextInt();\n int a=n/10;\n n-=(a*10);\n if(n==3){\n System.out.println(\"bon\");\n }else if(n==0||n==1||n==6||n==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) throws Exception {
Scanner s=new Scanner(System.in);
int n=s.nextInt();
int a=n/10;
n-=(a*10);
if(n==3){
System.out.println("bon");
}else if(n==0||n==1||n==6||n==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,
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
],
[
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
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
22,
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
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
49,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
6,
79
],
[
79,
80
]
] |
[
"import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int n = a % 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.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int n = a % 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 Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int n = a % 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 Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int n = a % 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 a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int n = a % 10;",
"n",
"a % 10",
"a",
"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"
] |
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int n = a % 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,
4,
18,
13,
41,
13,
2,
4,
18,
13,
17,
41,
13,
14,
2,
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,
2,
4,
18,
13,
13,
17,
30,
0,
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,
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
],
[
110,
5
],
[
110,
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
],
[
8,
26
],
[
26,
27
],
[
30,
28
],
[
49,
29
],
[
43,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
31,
36
],
[
30,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
37,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
43,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
49,
54
],
[
30,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
55,
60
],
[
26,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
26,
65
],
[
65,
66
],
[
68,
67
],
[
81,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
69,
74
],
[
68,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
75,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
81,
86
],
[
68,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
87,
92
],
[
65,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
65,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
8,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
6,
107
],
[
107,
108
],
[
0,
109
],
[
109,
110
],
[
109,
111
]
] |
[
"import java.util.*;\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n int len = n.length()-1;\n String ans;\n if(n.charAt(len)=='2'||n.charAt(len)=='4'||n.charAt(len)=='5'||n.charAt(len)=='7'||n.charAt(len)=='9'){\n ans = \"hon\";\n }else if(n.charAt(len)=='0'||n.charAt(len)=='1'||n.charAt(len)=='6'||n.charAt(len)=='8'){\n ans = \"pon\";\n }else{\n ans = \"bon\";\n }\n \n System.out.println(ans);\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 n = sc.next();\n int len = n.length()-1;\n String ans;\n if(n.charAt(len)=='2'||n.charAt(len)=='4'||n.charAt(len)=='5'||n.charAt(len)=='7'||n.charAt(len)=='9'){\n ans = \"hon\";\n }else if(n.charAt(len)=='0'||n.charAt(len)=='1'||n.charAt(len)=='6'||n.charAt(len)=='8'){\n ans = \"pon\";\n }else{\n ans = \"bon\";\n }\n \n System.out.println(ans);\n \n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n int len = n.length()-1;\n String ans;\n if(n.charAt(len)=='2'||n.charAt(len)=='4'||n.charAt(len)=='5'||n.charAt(len)=='7'||n.charAt(len)=='9'){\n ans = \"hon\";\n }else if(n.charAt(len)=='0'||n.charAt(len)=='1'||n.charAt(len)=='6'||n.charAt(len)=='8'){\n ans = \"pon\";\n }else{\n ans = \"bon\";\n }\n \n System.out.println(ans);\n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n int len = n.length()-1;\n String ans;\n if(n.charAt(len)=='2'||n.charAt(len)=='4'||n.charAt(len)=='5'||n.charAt(len)=='7'||n.charAt(len)=='9'){\n ans = \"hon\";\n }else if(n.charAt(len)=='0'||n.charAt(len)=='1'||n.charAt(len)=='6'||n.charAt(len)=='8'){\n ans = \"pon\";\n }else{\n ans = \"bon\";\n }\n \n System.out.println(ans);\n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String n = sc.next();",
"n",
"sc.next()",
"sc.next",
"sc",
"int len = n.length()-1;",
"len",
"n.length()-1",
"n.length()",
"n.length",
"n",
"1",
"String ans;",
"ans",
"if(n.charAt(len)=='2'||n.charAt(len)=='4'||n.charAt(len)=='5'||n.charAt(len)=='7'||n.charAt(len)=='9'){\n ans = \"hon\";\n }else if(n.charAt(len)=='0'||n.charAt(len)=='1'||n.charAt(len)=='6'||n.charAt(len)=='8'){\n ans = \"pon\";\n }else{\n ans = \"bon\";\n }",
"n.charAt(len)=='2'||n.charAt(len)=='4'||n.charAt(len)=='5'||n.charAt(len)=='7'||n.charAt(len)=='9'",
"n.charAt(len)=='7'",
"n.charAt(len)=='5'",
"n.charAt(len)=='2'||n.charAt(len)=='4'||n.charAt(len)=='5'||n.charAt(len)=='7'||n.charAt(len)=='9'",
"n.charAt(len)=='2'",
"n.charAt(len)",
"n.charAt",
"n",
"len",
"'2'",
"n.charAt(len)=='4'",
"n.charAt(len)",
"n.charAt",
"n",
"len",
"'4'",
"n.charAt(len)=='5'",
"n.charAt(len)",
"n.charAt",
"n",
"len",
"'5'",
"n.charAt(len)=='7'",
"n.charAt(len)",
"n.charAt",
"n",
"len",
"'7'",
"n.charAt(len)=='9'",
"n.charAt(len)",
"n.charAt",
"n",
"len",
"'9'",
"{\n ans = \"hon\";\n }",
"ans = \"hon\"",
"ans",
"\"hon\"",
"if(n.charAt(len)=='0'||n.charAt(len)=='1'||n.charAt(len)=='6'||n.charAt(len)=='8'){\n ans = \"pon\";\n }else{\n ans = \"bon\";\n }",
"n.charAt(len)=='0'||n.charAt(len)=='1'||n.charAt(len)=='6'||n.charAt(len)=='8'",
"n.charAt(len)=='6'",
"n.charAt(len)=='0'||n.charAt(len)=='1'||n.charAt(len)=='6'||n.charAt(len)=='8'",
"n.charAt(len)=='0'",
"n.charAt(len)",
"n.charAt",
"n",
"len",
"'0'",
"n.charAt(len)=='1'",
"n.charAt(len)",
"n.charAt",
"n",
"len",
"'1'",
"n.charAt(len)=='6'",
"n.charAt(len)",
"n.charAt",
"n",
"len",
"'6'",
"n.charAt(len)=='8'",
"n.charAt(len)",
"n.charAt",
"n",
"len",
"'8'",
"{\n ans = \"pon\";\n }",
"ans = \"pon\"",
"ans",
"\"pon\"",
"{\n ans = \"bon\";\n }",
"ans = \"bon\"",
"ans",
"\"bon\"",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n int len = n.length()-1;\n String ans;\n if(n.charAt(len)=='2'||n.charAt(len)=='4'||n.charAt(len)=='5'||n.charAt(len)=='7'||n.charAt(len)=='9'){\n ans = \"hon\";\n }else if(n.charAt(len)=='0'||n.charAt(len)=='1'||n.charAt(len)=='6'||n.charAt(len)=='8'){\n ans = \"pon\";\n }else{\n ans = \"bon\";\n }\n \n System.out.println(ans);\n \n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n int len = n.length()-1;\n String ans;\n if(n.charAt(len)=='2'||n.charAt(len)=='4'||n.charAt(len)=='5'||n.charAt(len)=='7'||n.charAt(len)=='9'){\n ans = \"hon\";\n }else if(n.charAt(len)=='0'||n.charAt(len)=='1'||n.charAt(len)=='6'||n.charAt(len)=='8'){\n ans = \"pon\";\n }else{\n ans = \"bon\";\n }\n \n System.out.println(ans);\n \n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String n = sc.next();
int len = n.length()-1;
String ans;
if(n.charAt(len)=='2'||n.charAt(len)=='4'||n.charAt(len)=='5'||n.charAt(len)=='7'||n.charAt(len)=='9'){
ans = "hon";
}else if(n.charAt(len)=='0'||n.charAt(len)=='1'||n.charAt(len)=='6'||n.charAt(len)=='8'){
ans = "pon";
}else{
ans = "bon";
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
4,
18,
13,
18,
4,
18,
13,
17,
2,
4,
18,
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
],
[
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
28,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
33,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
38,
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
],
[
63,
65
],
[
8,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
6,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] |
[
"\nimport java.util.*;\n\npublic class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n final String n = sc.next();\n sc.close();\n String result = \"hon\";\n int tmp = Integer.parseInt(n.split(\"\")[n.length() - 1]);\n if (tmp == 3) {\n result = \"bon\";\n } else if (tmp == 0 || tmp == 1 || tmp == 6 || tmp == 8) {\n result = \"pon\";\n }\n\n System.out.println(result);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n final String n = sc.next();\n sc.close();\n String result = \"hon\";\n int tmp = Integer.parseInt(n.split(\"\")[n.length() - 1]);\n if (tmp == 3) {\n result = \"bon\";\n } else if (tmp == 0 || tmp == 1 || tmp == 6 || tmp == 8) {\n result = \"pon\";\n }\n\n System.out.println(result);\n }\n}",
"Main",
"public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n final String n = sc.next();\n sc.close();\n String result = \"hon\";\n int tmp = Integer.parseInt(n.split(\"\")[n.length() - 1]);\n if (tmp == 3) {\n result = \"bon\";\n } else if (tmp == 0 || tmp == 1 || tmp == 6 || tmp == 8) {\n result = \"pon\";\n }\n\n System.out.println(result);\n }",
"main",
"{\n final Scanner sc = new Scanner(System.in);\n final String n = sc.next();\n sc.close();\n String result = \"hon\";\n int tmp = Integer.parseInt(n.split(\"\")[n.length() - 1]);\n if (tmp == 3) {\n result = \"bon\";\n } else if (tmp == 0 || tmp == 1 || tmp == 6 || tmp == 8) {\n result = \"pon\";\n }\n\n System.out.println(result);\n }",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final String n = sc.next();",
"n",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"String result = \"hon\";",
"result",
"\"hon\"",
"int tmp = Integer.parseInt(n.split(\"\")[n.length() - 1]);",
"tmp",
"Integer.parseInt(n.split(\"\")[n.length() - 1])",
"Integer.parseInt",
"Integer",
"n.split(\"\")[n.length() - 1]",
"n.split(\"\")",
"n.split",
"n",
"\"\"",
"n.length() - 1",
"n.length()",
"n.length",
"n",
"1",
"if (tmp == 3) {\n result = \"bon\";\n } else if (tmp == 0 || tmp == 1 || tmp == 6 || tmp == 8) {\n result = \"pon\";\n }",
"tmp == 3",
"tmp",
"3",
"{\n result = \"bon\";\n }",
"result = \"bon\"",
"result",
"\"bon\"",
"if (tmp == 0 || tmp == 1 || tmp == 6 || tmp == 8) {\n result = \"pon\";\n }",
"tmp == 0 || tmp == 1 || tmp == 6 || tmp == 8",
"tmp == 6",
"tmp == 0 || tmp == 1 || tmp == 6 || tmp == 8",
"tmp == 0",
"tmp",
"0",
"tmp == 1",
"tmp",
"1",
"tmp == 6",
"tmp",
"6",
"tmp == 8",
"tmp",
"8",
"{\n result = \"pon\";\n }",
"result = \"pon\"",
"result",
"\"pon\"",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"final String[] args",
"args",
"public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n final String n = sc.next();\n sc.close();\n String result = \"hon\";\n int tmp = Integer.parseInt(n.split(\"\")[n.length() - 1]);\n if (tmp == 3) {\n result = \"bon\";\n } else if (tmp == 0 || tmp == 1 || tmp == 6 || tmp == 8) {\n result = \"pon\";\n }\n\n System.out.println(result);\n }\n}",
"public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n final String n = sc.next();\n sc.close();\n String result = \"hon\";\n int tmp = Integer.parseInt(n.split(\"\")[n.length() - 1]);\n if (tmp == 3) {\n result = \"bon\";\n } else if (tmp == 0 || tmp == 1 || tmp == 6 || tmp == 8) {\n result = \"pon\";\n }\n\n System.out.println(result);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(final String[] args) {
final Scanner sc = new Scanner(System.in);
final String n = sc.next();
sc.close();
String result = "hon";
int tmp = Integer.parseInt(n.split("")[n.length() - 1]);
if (tmp == 3) {
result = "bon";
} else if (tmp == 0 || tmp == 1 || tmp == 6 || tmp == 8) {
result = "pon";
}
System.out.println(result);
}
}
|
[
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,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
2,
13,
17,
0,
13,
17,
29,
13,
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
],
[
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
],
[
6,
63
],
[
63,
64
],
[
89,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
75,
81
],
[
81,
82
],
[
81,
83
],
[
67,
84
],
[
84,
85
],
[
65,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
] |
[
"import java.util.*;\npublic class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int d = s.nextInt();\n int a = d % 10;\n\n if(a == 3) {\n System.out.println(\"bon\");\n } else if( a== 0 || a == 1 || a == 6 || a == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n }\n\n static int getDigit(int n) {\n int d = 0;\n while(n > 0){\n d = n % 10;\n n /= 10;\n }\n return d;\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 d = s.nextInt();\n int a = d % 10;\n\n if(a == 3) {\n System.out.println(\"bon\");\n } else if( a== 0 || a == 1 || a == 6 || a == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n }\n\n static int getDigit(int n) {\n int d = 0;\n while(n > 0){\n d = n % 10;\n n /= 10;\n }\n return d;\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int d = s.nextInt();\n int a = d % 10;\n\n if(a == 3) {\n System.out.println(\"bon\");\n } else if( a== 0 || a == 1 || a == 6 || a == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n int d = s.nextInt();\n int a = d % 10;\n\n if(a == 3) {\n System.out.println(\"bon\");\n } else if( a== 0 || a == 1 || a == 6 || a == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int d = s.nextInt();",
"d",
"s.nextInt()",
"s.nextInt",
"s",
"int a = d % 10;",
"a",
"d % 10",
"d",
"10",
"if(a == 3) {\n System.out.println(\"bon\");\n } else if( a== 0 || a == 1 || a == 6 || a == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }",
"a == 3",
"a",
"3",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if( a== 0 || a == 1 || a == 6 || a == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\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 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 int getDigit(int n) {\n int d = 0;\n while(n > 0){\n d = n % 10;\n n /= 10;\n }\n return d;\n }",
"getDigit",
"{\n int d = 0;\n while(n > 0){\n d = n % 10;\n n /= 10;\n }\n return d;\n }",
"int d = 0;",
"d",
"0",
"while(n > 0){\n d = n % 10;\n n /= 10;\n }",
"n > 0",
"n",
"0",
"{\n d = n % 10;\n n /= 10;\n }",
"d = n % 10",
"d",
"n % 10",
"n",
"10",
"n /= 10",
"n",
"10",
"return d;",
"d",
"int n",
"n",
"public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int d = s.nextInt();\n int a = d % 10;\n\n if(a == 3) {\n System.out.println(\"bon\");\n } else if( a== 0 || a == 1 || a == 6 || a == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n }\n\n static int getDigit(int n) {\n int d = 0;\n while(n > 0){\n d = n % 10;\n n /= 10;\n }\n return d;\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int d = s.nextInt();\n int a = d % 10;\n\n if(a == 3) {\n System.out.println(\"bon\");\n } else if( a== 0 || a == 1 || a == 6 || a == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n }\n\n static int getDigit(int n) {\n int d = 0;\n while(n > 0){\n d = n % 10;\n n /= 10;\n }\n return d;\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int d = s.nextInt();
int a = d % 10;
if(a == 3) {
System.out.println("bon");
} else if( a== 0 || a == 1 || a == 6 || a == 8) {
System.out.println("pon");
} else {
System.out.println("hon");
}
}
static int getDigit(int n) {
int d = 0;
while(n > 0){
d = n % 10;
n /= 10;
}
return d;
}
}
|
[
7,
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,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
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,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
23,
13,
23,
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,
38,
5,
13,
30,
30,
0,
13,
20,
29,
4,
18,
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
],
[
170,
8
],
[
170,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
14,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
31,
35
],
[
31,
36
],
[
11,
37
],
[
37,
38
],
[
38,
39
],
[
11,
40
],
[
40,
41
],
[
41,
42
],
[
9,
43
],
[
43,
44
],
[
170,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
49,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
49,
60
],
[
60,
61
],
[
64,
62
],
[
74,
63
],
[
71,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
71,
71
],
[
71,
72
],
[
71,
73
],
[
74,
74
],
[
74,
75
],
[
74,
76
],
[
64,
77
],
[
77,
78
],
[
77,
79
],
[
60,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
60,
84
],
[
84,
85
],
[
87,
86
],
[
94,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
91,
93
],
[
94,
94
],
[
94,
95
],
[
94,
96
],
[
87,
97
],
[
97,
98
],
[
97,
99
],
[
84,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
84,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
47,
108
],
[
108,
109
],
[
47,
110
],
[
110,
111
],
[
47,
112
],
[
112,
113
],
[
170,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
114,
118
],
[
118,
119
],
[
114,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
120,
126
],
[
126,
127
],
[
114,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
128,
134
],
[
134,
135
],
[
114,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
140,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
139,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
148,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
138,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
114,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
164,
167
],
[
167,
168
],
[
0,
169
],
[
169,
170
],
[
169,
171
]
] |
[
"import java.io.*;\nimport java.util.*;\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 AtcoderA solution = new AtcoderA();\n solution.solve(1, in, out);\n out.flush();\n out.close();\n }\n static class AtcoderA {\n public void solve(int testNumber, Scanner sc, PrintWriter out) {\n int n = sc.nextInt();\n int unit = n % 10;\n if (unit == 2 || unit == 4 || unit == 5 || unit == 7 || unit == 9)\n out.println(\"hon\");\n else if (unit == 0 || unit == 1 || unit == 6 || unit == 8)\n out.println(\"pon\");\n else\n out.println(\"bon\");\n }\n }\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public Scanner(FileReader f) {\n br = new BufferedReader(f);\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"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 AtcoderA solution = new AtcoderA();\n solution.solve(1, in, out);\n out.flush();\n out.close();\n }\n static class AtcoderA {\n public void solve(int testNumber, Scanner sc, PrintWriter out) {\n int n = sc.nextInt();\n int unit = n % 10;\n if (unit == 2 || unit == 4 || unit == 5 || unit == 7 || unit == 9)\n out.println(\"hon\");\n else if (unit == 0 || unit == 1 || unit == 6 || unit == 8)\n out.println(\"pon\");\n else\n out.println(\"bon\");\n }\n }\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public Scanner(FileReader f) {\n br = new BufferedReader(f);\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\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 AtcoderA solution = new AtcoderA();\n solution.solve(1, in, out);\n out.flush();\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 AtcoderA solution = new AtcoderA();\n solution.solve(1, in, out);\n out.flush();\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)",
"AtcoderA solution = new AtcoderA();",
"solution",
"new AtcoderA()",
"solution.solve(1, in, out)",
"solution.solve",
"solution",
"1",
"in",
"out",
"out.flush()",
"out.flush",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class AtcoderA {\n public void solve(int testNumber, Scanner sc, PrintWriter out) {\n int n = sc.nextInt();\n int unit = n % 10;\n if (unit == 2 || unit == 4 || unit == 5 || unit == 7 || unit == 9)\n out.println(\"hon\");\n else if (unit == 0 || unit == 1 || unit == 6 || unit == 8)\n out.println(\"pon\");\n else\n out.println(\"bon\");\n }\n }",
"AtcoderA",
"public void solve(int testNumber, Scanner sc, PrintWriter out) {\n int n = sc.nextInt();\n int unit = n % 10;\n if (unit == 2 || unit == 4 || unit == 5 || unit == 7 || unit == 9)\n out.println(\"hon\");\n else if (unit == 0 || unit == 1 || unit == 6 || unit == 8)\n out.println(\"pon\");\n else\n out.println(\"bon\");\n }",
"solve",
"{\n int n = sc.nextInt();\n int unit = n % 10;\n if (unit == 2 || unit == 4 || unit == 5 || unit == 7 || unit == 9)\n out.println(\"hon\");\n else if (unit == 0 || unit == 1 || unit == 6 || unit == 8)\n out.println(\"pon\");\n else\n out.println(\"bon\");\n }",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int unit = n % 10;",
"unit",
"n % 10",
"n",
"10",
"if (unit == 2 || unit == 4 || unit == 5 || unit == 7 || unit == 9)\n out.println(\"hon\");\n else if (unit == 0 || unit == 1 || unit == 6 || unit == 8)\n out.println(\"pon\");\n else\n out.println(\"bon\");",
"unit == 2 || unit == 4 || unit == 5 || unit == 7 || unit == 9",
"unit == 7",
"unit == 5",
"unit == 2 || unit == 4 || unit == 5 || unit == 7 || unit == 9",
"unit == 2",
"unit",
"2",
"unit == 4",
"unit",
"4",
"unit == 5",
"unit",
"5",
"unit == 7",
"unit",
"7",
"unit == 9",
"unit",
"9",
"out.println(\"hon\")",
"out.println",
"out",
"\"hon\"",
"if (unit == 0 || unit == 1 || unit == 6 || unit == 8)\n out.println(\"pon\");\n else\n out.println(\"bon\");",
"unit == 0 || unit == 1 || unit == 6 || unit == 8",
"unit == 6",
"unit == 0 || unit == 1 || unit == 6 || unit == 8",
"unit == 0",
"unit",
"0",
"unit == 1",
"unit",
"1",
"unit == 6",
"unit",
"6",
"unit == 8",
"unit",
"8",
"out.println(\"pon\")",
"out.println",
"out",
"\"pon\"",
"out.println(\"bon\")",
"out.println",
"out",
"\"bon\"",
"int testNumber",
"testNumber",
"Scanner sc",
"sc",
"PrintWriter out",
"out",
"static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public Scanner(FileReader f) {\n br = new BufferedReader(f);\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n }",
"Scanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"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 Scanner(FileReader f) {\n br = new BufferedReader(f);\n }",
"Scanner",
"{\n br = new BufferedReader(f);\n }",
"br = new BufferedReader(f)",
"br",
"new BufferedReader(f)",
"FileReader f",
"f",
"public String next() {\n while (st == null || !st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n }",
"catch (Exception e) {\n }",
"Exception e",
"{\n }",
"{\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",
"public 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",
"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 AtcoderA solution = new AtcoderA();\n solution.solve(1, in, out);\n out.flush();\n out.close();\n }\n static class AtcoderA {\n public void solve(int testNumber, Scanner sc, PrintWriter out) {\n int n = sc.nextInt();\n int unit = n % 10;\n if (unit == 2 || unit == 4 || unit == 5 || unit == 7 || unit == 9)\n out.println(\"hon\");\n else if (unit == 0 || unit == 1 || unit == 6 || unit == 8)\n out.println(\"pon\");\n else\n out.println(\"bon\");\n }\n }\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public Scanner(FileReader f) {\n br = new BufferedReader(f);\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\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 AtcoderA solution = new AtcoderA();\n solution.solve(1, in, out);\n out.flush();\n out.close();\n }\n static class AtcoderA {\n public void solve(int testNumber, Scanner sc, PrintWriter out) {\n int n = sc.nextInt();\n int unit = n % 10;\n if (unit == 2 || unit == 4 || unit == 5 || unit == 7 || unit == 9)\n out.println(\"hon\");\n else if (unit == 0 || unit == 1 || unit == 6 || unit == 8)\n out.println(\"pon\");\n else\n out.println(\"bon\");\n }\n }\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public Scanner(FileReader f) {\n br = new BufferedReader(f);\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n }\n}",
"Main"
] |
import java.io.*;
import java.util.*;
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);
AtcoderA solution = new AtcoderA();
solution.solve(1, in, out);
out.flush();
out.close();
}
static class AtcoderA {
public void solve(int testNumber, Scanner sc, PrintWriter out) {
int n = sc.nextInt();
int unit = n % 10;
if (unit == 2 || unit == 4 || unit == 5 || unit == 7 || unit == 9)
out.println("hon");
else if (unit == 0 || unit == 1 || unit == 6 || unit == 8)
out.println("pon");
else
out.println("bon");
}
}
static class Scanner {
StringTokenizer st;
BufferedReader br;
public Scanner(InputStream s) {
br = new BufferedReader(new InputStreamReader(s));
}
public Scanner(FileReader f) {
br = new BufferedReader(f);
}
public String next() {
while (st == null || !st.hasMoreTokens())
try {
st = new StringTokenizer(br.readLine());
} catch (Exception e) {
}
return st.nextToken();
}
public int nextInt() {
return Integer.parseInt(next());
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
4,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
4,
18,
13,
41,
13,
18,
13,
2,
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,
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
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
6,
18
],
[
18,
19
],
[
4,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
22,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
22,
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
],
[
39,
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
],
[
66,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
20,
96
],
[
96,
97
]
] |
[
"import java.util.*;\n\nclass Main {\n public static void main(String args[]) {\n Scanner inp = new Scanner(System.in);\n do_(inp);\n inp.close();\n }\n public static void do_(Scanner inp) {\n char ss[] = inp.next().toCharArray();\n char s = ss[ss.length - 1];\n if (s == '2' || s == '4' || s == '5' || s == '7' || s == '9') {\n System.out.println(\"hon\");\n }\n else if (s == '0' || s == '1' || s == '6' || s == '8') {\n System.out.println(\"pon\");\n }\n else {\n System.out.println(\"bon\");\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String args[]) {\n Scanner inp = new Scanner(System.in);\n do_(inp);\n inp.close();\n }\n public static void do_(Scanner inp) {\n char ss[] = inp.next().toCharArray();\n char s = ss[ss.length - 1];\n if (s == '2' || s == '4' || s == '5' || s == '7' || s == '9') {\n System.out.println(\"hon\");\n }\n else if (s == '0' || s == '1' || s == '6' || s == '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 inp = new Scanner(System.in);\n do_(inp);\n inp.close();\n }",
"main",
"{\n Scanner inp = new Scanner(System.in);\n do_(inp);\n inp.close();\n }",
"Scanner inp = new Scanner(System.in);",
"inp",
"new Scanner(System.in)",
"do_(inp)",
"do_",
"inp",
"inp.close()",
"inp.close",
"inp",
"String args[]",
"args",
"public static void do_(Scanner inp) {\n char ss[] = inp.next().toCharArray();\n char s = ss[ss.length - 1];\n if (s == '2' || s == '4' || s == '5' || s == '7' || s == '9') {\n System.out.println(\"hon\");\n }\n else if (s == '0' || s == '1' || s == '6' || s == '8') {\n System.out.println(\"pon\");\n }\n else {\n System.out.println(\"bon\");\n }\n }",
"do_",
"{\n char ss[] = inp.next().toCharArray();\n char s = ss[ss.length - 1];\n if (s == '2' || s == '4' || s == '5' || s == '7' || s == '9') {\n System.out.println(\"hon\");\n }\n else if (s == '0' || s == '1' || s == '6' || s == '8') {\n System.out.println(\"pon\");\n }\n else {\n System.out.println(\"bon\");\n }\n }",
"char ss[] = inp.next().toCharArray();",
"ss",
"inp.next().toCharArray()",
"inp.next().toCharArray",
"inp.next()",
"inp.next",
"inp",
"char s = ss[ss.length - 1];",
"s",
"ss[ss.length - 1]",
"ss",
"ss.length - 1",
"ss.length",
"ss",
"ss.length",
"1",
"if (s == '2' || s == '4' || s == '5' || s == '7' || s == '9') {\n System.out.println(\"hon\");\n }\n else if (s == '0' || s == '1' || s == '6' || s == '8') {\n System.out.println(\"pon\");\n }\n else {\n System.out.println(\"bon\");\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 == '0' || s == '1' || s == '6' || s == '8') {\n System.out.println(\"pon\");\n }\n else {\n System.out.println(\"bon\");\n }",
"s == '0' || s == '1' || s == '6' || s == '8'",
"s == '6'",
"s == '0' || s == '1' || s == '6' || s == '8'",
"s == '0'",
"s",
"'0'",
"s == '1'",
"s",
"'1'",
"s == '6'",
"s",
"'6'",
"s == '8'",
"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(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"Scanner inp",
"inp"
] |
import java.util.*;
class Main {
public static void main(String args[]) {
Scanner inp = new Scanner(System.in);
do_(inp);
inp.close();
}
public static void do_(Scanner inp) {
char ss[] = inp.next().toCharArray();
char s = ss[ss.length - 1];
if (s == '2' || s == '4' || s == '5' || s == '7' || s == '9') {
System.out.println("hon");
}
else if (s == '0' || s == '1' || s == '6' || s == '8') {
System.out.println("pon");
}
else {
System.out.println("bon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
4,
18,
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
],
[
70,
5
],
[
70,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
24,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
37,
38
],
[
40,
39
],
[
47,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
47,
47
],
[
47,
48
],
[
47,
49
],
[
40,
50
],
[
50,
51
],
[
50,
52
],
[
37,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
37,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tString ans;\n\t\tScanner scn = new Scanner(System.in);\n\t\tString N = scn.nextLine();\n\t\tchar n = N.charAt(N.length()-1);\n\t\tif(n == '3') {\n\t\t\tans = \"bon\";\n\t\t}else if(n == '0' || n == '1' || n == '6' || n == '8') {\n\t\t\tans = \"pon\";\n\t\t}else {\n\t\t\tans = \"hon\";\n\t\t}\n\t\tSystem.out.print(ans);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tString ans;\n\t\tScanner scn = new Scanner(System.in);\n\t\tString N = scn.nextLine();\n\t\tchar n = N.charAt(N.length()-1);\n\t\tif(n == '3') {\n\t\t\tans = \"bon\";\n\t\t}else if(n == '0' || n == '1' || n == '6' || n == '8') {\n\t\t\tans = \"pon\";\n\t\t}else {\n\t\t\tans = \"hon\";\n\t\t}\n\t\tSystem.out.print(ans);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tString ans;\n\t\tScanner scn = new Scanner(System.in);\n\t\tString N = scn.nextLine();\n\t\tchar n = N.charAt(N.length()-1);\n\t\tif(n == '3') {\n\t\t\tans = \"bon\";\n\t\t}else if(n == '0' || n == '1' || n == '6' || n == '8') {\n\t\t\tans = \"pon\";\n\t\t}else {\n\t\t\tans = \"hon\";\n\t\t}\n\t\tSystem.out.print(ans);\n\t}",
"main",
"{\n\t\tString ans;\n\t\tScanner scn = new Scanner(System.in);\n\t\tString N = scn.nextLine();\n\t\tchar n = N.charAt(N.length()-1);\n\t\tif(n == '3') {\n\t\t\tans = \"bon\";\n\t\t}else if(n == '0' || n == '1' || n == '6' || n == '8') {\n\t\t\tans = \"pon\";\n\t\t}else {\n\t\t\tans = \"hon\";\n\t\t}\n\t\tSystem.out.print(ans);\n\t}",
"String ans;",
"ans",
"Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"String N = scn.nextLine();",
"N",
"scn.nextLine()",
"scn.nextLine",
"scn",
"char n = N.charAt(N.length()-1);",
"n",
"N.charAt(N.length()-1)",
"N.charAt",
"N",
"N.length()-1",
"N.length()",
"N.length",
"N",
"1",
"if(n == '3') {\n\t\t\tans = \"bon\";\n\t\t}else if(n == '0' || n == '1' || n == '6' || n == '8') {\n\t\t\tans = \"pon\";\n\t\t}else {\n\t\t\tans = \"hon\";\n\t\t}",
"n == '3'",
"n",
"'3'",
"{\n\t\t\tans = \"bon\";\n\t\t}",
"ans = \"bon\"",
"ans",
"\"bon\"",
"if(n == '0' || n == '1' || n == '6' || n == '8') {\n\t\t\tans = \"pon\";\n\t\t}else {\n\t\t\tans = \"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\tans = \"pon\";\n\t\t}",
"ans = \"pon\"",
"ans",
"\"pon\"",
"{\n\t\t\tans = \"hon\";\n\t\t}",
"ans = \"hon\"",
"ans",
"\"hon\"",
"System.out.print(ans)",
"System.out.print",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tString ans;\n\t\tScanner scn = new Scanner(System.in);\n\t\tString N = scn.nextLine();\n\t\tchar n = N.charAt(N.length()-1);\n\t\tif(n == '3') {\n\t\t\tans = \"bon\";\n\t\t}else if(n == '0' || n == '1' || n == '6' || n == '8') {\n\t\t\tans = \"pon\";\n\t\t}else {\n\t\t\tans = \"hon\";\n\t\t}\n\t\tSystem.out.print(ans);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tString ans;\n\t\tScanner scn = new Scanner(System.in);\n\t\tString N = scn.nextLine();\n\t\tchar n = N.charAt(N.length()-1);\n\t\tif(n == '3') {\n\t\t\tans = \"bon\";\n\t\t}else if(n == '0' || n == '1' || n == '6' || n == '8') {\n\t\t\tans = \"pon\";\n\t\t}else {\n\t\t\tans = \"hon\";\n\t\t}\n\t\tSystem.out.print(ans);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
String ans;
Scanner scn = new Scanner(System.in);
String N = scn.nextLine();
char n = N.charAt(N.length()-1);
if(n == '3') {
ans = "bon";
}else if(n == '0' || n == '1' || n == '6' || n == '8') {
ans = "pon";
}else {
ans = "hon";
}
System.out.print(ans);
}
}
|
[
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,
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,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
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,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
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
],
[
176,
14
],
[
176,
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
],
[
35,
33
],
[
45,
34
],
[
42,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
42,
42
],
[
42,
43
],
[
42,
44
],
[
45,
45
],
[
45,
46
],
[
45,
47
],
[
35,
48
],
[
48,
49
],
[
48,
50
],
[
31,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
31,
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
],
[
75,
77
],
[
73,
78
],
[
57,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
15,
85
],
[
85,
86
],
[
176,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
87,
91
],
[
91,
92
],
[
87,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
87,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
102,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
112,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
101,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
87,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
131,
134
],
[
134,
135
],
[
87,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
143,
144
],
[
87,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
149,
152
],
[
152,
153
],
[
87,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
156,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
160,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
156,
173
],
[
173,
174
],
[
0,
175
],
[
175,
176
],
[
175,
177
]
] |
[
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\n//BufferReader\npublic class Main {\n// static long dp[][];\n// static int n;\n// static int a[];\n// static int ans[];\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n public static void main(String[] args) {\n FastReader sc=new FastReader();\n int p=sc.nextInt();\n int n=p%10;\n if ( n==2 || n==4 || n==5 || n==7 || n==9 )\n System.out.println(\"hon\");\n else if ( n==0 || n==6 || n==1 || n==8 )\n System.out.println(\"pon\");\n else System.out.println(\"bon\");\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.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n// static long dp[][];\n// static int n;\n// static int a[];\n// static int ans[];\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n public static void main(String[] args) {\n FastReader sc=new FastReader();\n int p=sc.nextInt();\n int n=p%10;\n if ( n==2 || n==4 || n==5 || n==7 || n==9 )\n System.out.println(\"hon\");\n else if ( n==0 || n==6 || n==1 || n==8 )\n System.out.println(\"pon\");\n else System.out.println(\"bon\");\n }\n\n\n}",
"Main",
"public static void main(String[] args) {\n FastReader sc=new FastReader();\n int p=sc.nextInt();\n int n=p%10;\n if ( n==2 || n==4 || n==5 || n==7 || n==9 )\n System.out.println(\"hon\");\n else if ( n==0 || n==6 || n==1 || n==8 )\n System.out.println(\"pon\");\n else System.out.println(\"bon\");\n }",
"main",
"{\n FastReader sc=new FastReader();\n int p=sc.nextInt();\n int n=p%10;\n if ( n==2 || n==4 || n==5 || n==7 || n==9 )\n System.out.println(\"hon\");\n else if ( n==0 || n==6 || n==1 || n==8 )\n System.out.println(\"pon\");\n else System.out.println(\"bon\");\n }",
"FastReader sc=new FastReader();",
"sc",
"new FastReader()",
"int p=sc.nextInt();",
"p",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int n=p%10;",
"n",
"p%10",
"p",
"10",
"if ( n==2 || n==4 || n==5 || n==7 || n==9 )\n System.out.println(\"hon\");\n else if ( n==0 || n==6 || n==1 || n==8 )\n System.out.println(\"pon\");\n else System.out.println(\"bon\");",
"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\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if ( n==0 || n==6 || n==1 || n==8 )\n System.out.println(\"pon\");\n else System.out.println(\"bon\");",
"n==0 || n==6 || n==1 || n==8",
"n==1",
"n==0 || n==6 || n==1 || n==8",
"n==0",
"n",
"0",
"n==6",
"n",
"6",
"n==1",
"n",
"1",
"n==8",
"n",
"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",
"static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"FastReader",
"{\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() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"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",
"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",
"double nextDouble() {\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",
"String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = 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 str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n// static long dp[][];\n// static int n;\n// static int a[];\n// static int ans[];\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n public static void main(String[] args) {\n FastReader sc=new FastReader();\n int p=sc.nextInt();\n int n=p%10;\n if ( n==2 || n==4 || n==5 || n==7 || n==9 )\n System.out.println(\"hon\");\n else if ( n==0 || n==6 || n==1 || n==8 )\n System.out.println(\"pon\");\n else System.out.println(\"bon\");\n }\n\n\n}",
"public class Main {\n// static long dp[][];\n// static int n;\n// static int a[];\n// static int ans[];\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n public static void main(String[] args) {\n FastReader sc=new FastReader();\n int p=sc.nextInt();\n int n=p%10;\n if ( n==2 || n==4 || n==5 || n==7 || n==9 )\n System.out.println(\"hon\");\n else if ( n==0 || n==6 || n==1 || n==8 )\n System.out.println(\"pon\");\n else System.out.println(\"bon\");\n }\n\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
//BufferReader
public class Main {
// static long dp[][];
// static int n;
// static int a[];
// static int ans[];
static class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
public static void main(String[] args) {
FastReader sc=new FastReader();
int p=sc.nextInt();
int n=p%10;
if ( n==2 || n==4 || n==5 || n==7 || n==9 )
System.out.println("hon");
else if ( n==0 || n==6 || n==1 || n==8 )
System.out.println("pon");
else System.out.println("bon");
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
41,
13,
2,
4,
18,
13,
17,
14,
2,
13,
17,
30,
4,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
13,
17,
30,
4,
13,
17,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
13,
2,
18,
13,
13,
17,
4,
13,
17,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
2,
17,
2,
13,
17,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
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,
29,
4,
18,
13,
12,
13,
30,
4,
18,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
282,
8
],
[
282,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
11,
13
],
[
282,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
16,
18
],
[
282,
19
],
[
19,
20
],
[
19,
21
],
[
282,
22
],
[
22,
23
],
[
22,
24
],
[
282,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
30,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
35,
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
],
[
60,
62
],
[
43,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
27,
67
],
[
67,
68
],
[
68,
69
],
[
27,
70
],
[
70,
71
],
[
71,
72
],
[
25,
73
],
[
73,
74
],
[
282,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
82,
90
],
[
90,
91
],
[
91,
92
],
[
82,
93
],
[
94,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
99,
100
],
[
100,
101
],
[
77,
102
],
[
102,
103
],
[
75,
104
],
[
104,
105
],
[
282,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
118,
119
],
[
118,
120
],
[
113,
121
],
[
121,
122
],
[
122,
123
],
[
113,
124
],
[
125,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
130,
131
],
[
131,
132
],
[
108,
133
],
[
133,
134
],
[
106,
135
],
[
135,
136
],
[
282,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
137,
144
],
[
144,
145
],
[
282,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
149,
152
],
[
146,
153
],
[
153,
154
],
[
282,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
158,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
165,
167
],
[
158,
168
],
[
168,
169
],
[
169,
170
],
[
158,
171
],
[
172,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
175,
179
],
[
157,
180
],
[
180,
181
],
[
180,
182
],
[
155,
183
],
[
183,
184
],
[
282,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
191,
192
],
[
187,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
195,
197
],
[
187,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
200,
202
],
[
198,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
205,
207
],
[
185,
208
],
[
208,
209
],
[
0,
210
],
[
210,
211
],
[
210,
212
],
[
212,
213
],
[
210,
214
],
[
214,
215
],
[
210,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
218,
222
],
[
222,
223
],
[
222,
224
],
[
210,
225
],
[
225,
226
],
[
225,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
231,
232
],
[
228,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
227,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
210,
241
],
[
241,
242
],
[
241,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
245,
248
],
[
248,
249
],
[
210,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
254,
257
],
[
257,
258
],
[
210,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
263,
266
],
[
266,
267
],
[
210,
268
],
[
268,
269
],
[
268,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
273,
274
],
[
210,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
278,
279
],
[
279,
280
],
[
0,
281
],
[
281,
282
],
[
281,
283
]
] |
[
"// created on : Tue Jun 23 2020\n \nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n int n = in.nextInt() % 10;\n if(n == 3){\n println(\"bon\");\n }\n else if(n == 0 || n == 1 || n == 6 || n == 8){\n println(\"pon\");\n }\n else{\n println(\"hon\");\n }\n \n in.close();\n out.close();\n }\n\n static int MIN = Integer.MIN_VALUE;\n static int MAX = Integer.MAX_VALUE;\n static Reader in = new Reader();\n static PrintWriter out = new PrintWriter(System.out);\n\n static int[] readInt(int N) throws IOException { \n \tint arr[] = new int[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextInt(); \n \t} \n \treturn arr;\n }\n \n static long[] readLong(int N) throws IOException { \n \tlong arr[] = new long[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextLong(); \n \t} \n \treturn arr;\n }\n \n static void print(Object O) { \n \tout.print(O); \n }\n \n static void println(Object O) { \n \tout.println(O); \n }\n \n static void println(int arr[]) { \n \tfor(int i = 0; i < arr.length; i++){ \n \t\tprint(arr[i] + \" \"); \n \t} \n \tprintln(\"\"); \n }\n \n static void displayRuntime(long startTime){\n long stopTime = System.currentTimeMillis();\n long elapsedTime = stopTime - startTime;\n System.out.println(\"Runtime: \" + elapsedTime / 1000D);\n }\n}\n\nclass Reader {\n BufferedReader reader;\n StringTokenizer tokenizer;\n\n Reader() {\n reader = new BufferedReader(new InputStreamReader(System.in));\n tokenizer = new StringTokenizer(\"\");\n }\n\n String next() throws IOException {\n while (!tokenizer.hasMoreTokens() ) { \n tokenizer = new StringTokenizer(reader.readLine()); \n }\n return tokenizer.nextToken();\n }\n\n int nextInt() throws IOException { \n return Integer.parseInt(next()); \n }\n \n double nextDouble() throws IOException { \n return Double.parseDouble(next());\n }\n \n long nextLong() throws IOException { \n return Long.parseLong(next()); \n }\n \n String nextLine() throws IOException { \n return reader.readLine(); \n }\n \n void close() throws IOException { \n reader.close(); \n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n int n = in.nextInt() % 10;\n if(n == 3){\n println(\"bon\");\n }\n else if(n == 0 || n == 1 || n == 6 || n == 8){\n println(\"pon\");\n }\n else{\n println(\"hon\");\n }\n \n in.close();\n out.close();\n }\n\n static int MIN = Integer.MIN_VALUE;\n static int MAX = Integer.MAX_VALUE;\n static Reader in = new Reader();\n static PrintWriter out = new PrintWriter(System.out);\n\n static int[] readInt(int N) throws IOException { \n \tint arr[] = new int[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextInt(); \n \t} \n \treturn arr;\n }\n \n static long[] readLong(int N) throws IOException { \n \tlong arr[] = new long[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextLong(); \n \t} \n \treturn arr;\n }\n \n static void print(Object O) { \n \tout.print(O); \n }\n \n static void println(Object O) { \n \tout.println(O); \n }\n \n static void println(int arr[]) { \n \tfor(int i = 0; i < arr.length; i++){ \n \t\tprint(arr[i] + \" \"); \n \t} \n \tprintln(\"\"); \n }\n \n static void displayRuntime(long startTime){\n long stopTime = System.currentTimeMillis();\n long elapsedTime = stopTime - startTime;\n System.out.println(\"Runtime: \" + elapsedTime / 1000D);\n }\n}",
"Main",
"static int MIN = Integer.MIN_VALUE;",
"MIN",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"static int MAX = Integer.MAX_VALUE;",
"MAX",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"static Reader in = new Reader();",
"in",
"new Reader()",
"static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"public static void main(String[] args) throws IOException {\n int n = in.nextInt() % 10;\n if(n == 3){\n println(\"bon\");\n }\n else if(n == 0 || n == 1 || n == 6 || n == 8){\n println(\"pon\");\n }\n else{\n println(\"hon\");\n }\n \n in.close();\n out.close();\n }",
"main",
"{\n int n = in.nextInt() % 10;\n if(n == 3){\n println(\"bon\");\n }\n else if(n == 0 || n == 1 || n == 6 || n == 8){\n println(\"pon\");\n }\n else{\n println(\"hon\");\n }\n \n in.close();\n out.close();\n }",
"int n = in.nextInt() % 10;",
"n",
"in.nextInt() % 10",
"in.nextInt()",
"in.nextInt",
"in",
"10",
"if(n == 3){\n println(\"bon\");\n }\n else if(n == 0 || n == 1 || n == 6 || n == 8){\n println(\"pon\");\n }\n else{\n println(\"hon\");\n }",
"n == 3",
"n",
"3",
"{\n println(\"bon\");\n }",
"println(\"bon\")",
"println",
"\"bon\"",
"if(n == 0 || n == 1 || n == 6 || n == 8){\n println(\"pon\");\n }\n else{\n println(\"hon\");\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 println(\"pon\");\n }",
"println(\"pon\")",
"println",
"\"pon\"",
"{\n println(\"hon\");\n }",
"println(\"hon\")",
"println",
"\"hon\"",
"in.close()",
"in.close",
"in",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static int[] readInt(int N) throws IOException { \n \tint arr[] = new int[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextInt(); \n \t} \n \treturn arr;\n }",
"readInt",
"{ \n \tint arr[] = new int[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextInt(); \n \t} \n \treturn arr;\n }",
"int arr[] = new int[N];",
"arr",
"new int[N]",
"N",
"for(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextInt(); \n \t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{ \n \t\tarr[i] = in.nextInt(); \n \t}",
"{ \n \t\tarr[i] = in.nextInt(); \n \t}",
"arr[i] = in.nextInt()",
"arr[i]",
"arr",
"i",
"in.nextInt()",
"in.nextInt",
"in",
"return arr;",
"arr",
"int N",
"N",
"static long[] readLong(int N) throws IOException { \n \tlong arr[] = new long[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextLong(); \n \t} \n \treturn arr;\n }",
"readLong",
"{ \n \tlong arr[] = new long[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextLong(); \n \t} \n \treturn arr;\n }",
"long arr[] = new long[N];",
"arr",
"new long[N]",
"N",
"for(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextLong(); \n \t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{ \n \t\tarr[i] = in.nextLong(); \n \t}",
"{ \n \t\tarr[i] = in.nextLong(); \n \t}",
"arr[i] = in.nextLong()",
"arr[i]",
"arr",
"i",
"in.nextLong()",
"in.nextLong",
"in",
"return arr;",
"arr",
"int N",
"N",
"static void print(Object O) { \n \tout.print(O); \n }",
"print",
"{ \n \tout.print(O); \n }",
"out.print(O)",
"out.print",
"out",
"O",
"Object O",
"O",
"static void println(Object O) { \n \tout.println(O); \n }",
"println",
"{ \n \tout.println(O); \n }",
"out.println(O)",
"out.println",
"out",
"O",
"Object O",
"O",
"static void println(int arr[]) { \n \tfor(int i = 0; i < arr.length; i++){ \n \t\tprint(arr[i] + \" \"); \n \t} \n \tprintln(\"\"); \n }",
"println",
"{ \n \tfor(int i = 0; i < arr.length; i++){ \n \t\tprint(arr[i] + \" \"); \n \t} \n \tprintln(\"\"); \n }",
"for(int i = 0; i < arr.length; i++){ \n \t\tprint(arr[i] + \" \"); \n \t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{ \n \t\tprint(arr[i] + \" \"); \n \t}",
"{ \n \t\tprint(arr[i] + \" \"); \n \t}",
"print(arr[i] + \" \")",
"print",
"arr[i] + \" \"",
"arr[i]",
"arr",
"i",
"\" \"",
"println(\"\")",
"println",
"\"\"",
"int arr[]",
"arr",
"static void displayRuntime(long startTime){\n long stopTime = System.currentTimeMillis();\n long elapsedTime = stopTime - startTime;\n System.out.println(\"Runtime: \" + elapsedTime / 1000D);\n }",
"displayRuntime",
"{\n long stopTime = System.currentTimeMillis();\n long elapsedTime = stopTime - startTime;\n System.out.println(\"Runtime: \" + elapsedTime / 1000D);\n }",
"long stopTime = System.currentTimeMillis();",
"stopTime",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"long elapsedTime = stopTime - startTime;",
"elapsedTime",
"stopTime - startTime",
"stopTime",
"startTime",
"System.out.println(\"Runtime: \" + elapsedTime / 1000D)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Runtime: \" + elapsedTime / 1000D",
"\"Runtime: \"",
"elapsedTime / 1000D",
"elapsedTime",
"1000D",
"long startTime",
"startTime",
"class Reader {\n BufferedReader reader;\n StringTokenizer tokenizer;\n\n Reader() {\n reader = new BufferedReader(new InputStreamReader(System.in));\n tokenizer = new StringTokenizer(\"\");\n }\n\n String next() throws IOException {\n while (!tokenizer.hasMoreTokens() ) { \n tokenizer = new StringTokenizer(reader.readLine()); \n }\n return tokenizer.nextToken();\n }\n\n int nextInt() throws IOException { \n return Integer.parseInt(next()); \n }\n \n double nextDouble() throws IOException { \n return Double.parseDouble(next());\n }\n \n long nextLong() throws IOException { \n return Long.parseLong(next()); \n }\n \n String nextLine() throws IOException { \n return reader.readLine(); \n }\n \n void close() throws IOException { \n reader.close(); \n }\n}",
"Reader",
"BufferedReader reader;",
"reader",
"StringTokenizer tokenizer;",
"tokenizer",
"Reader() {\n reader = new BufferedReader(new InputStreamReader(System.in));\n tokenizer = new StringTokenizer(\"\");\n }",
"Reader",
"{\n reader = new BufferedReader(new InputStreamReader(System.in));\n tokenizer = new StringTokenizer(\"\");\n }",
"reader = new BufferedReader(new InputStreamReader(System.in))",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"tokenizer = new StringTokenizer(\"\")",
"tokenizer",
"new StringTokenizer(\"\")",
"String next() throws IOException {\n while (!tokenizer.hasMoreTokens() ) { \n tokenizer = new StringTokenizer(reader.readLine()); \n }\n return tokenizer.nextToken();\n }",
"next",
"{\n while (!tokenizer.hasMoreTokens() ) { \n tokenizer = new StringTokenizer(reader.readLine()); \n }\n return tokenizer.nextToken();\n }",
"while (!tokenizer.hasMoreTokens() ) { \n tokenizer = new StringTokenizer(reader.readLine()); \n }",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{ \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",
"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",
"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",
"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",
"String nextLine() throws IOException { \n return reader.readLine(); \n }",
"nextLine",
"{ \n return reader.readLine(); \n }",
"return reader.readLine();",
"reader.readLine()",
"reader.readLine",
"reader",
"void close() throws IOException { \n reader.close(); \n }",
"close",
"{ \n reader.close(); \n }",
"reader.close()",
"reader.close",
"reader",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n int n = in.nextInt() % 10;\n if(n == 3){\n println(\"bon\");\n }\n else if(n == 0 || n == 1 || n == 6 || n == 8){\n println(\"pon\");\n }\n else{\n println(\"hon\");\n }\n \n in.close();\n out.close();\n }\n\n static int MIN = Integer.MIN_VALUE;\n static int MAX = Integer.MAX_VALUE;\n static Reader in = new Reader();\n static PrintWriter out = new PrintWriter(System.out);\n\n static int[] readInt(int N) throws IOException { \n \tint arr[] = new int[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextInt(); \n \t} \n \treturn arr;\n }\n \n static long[] readLong(int N) throws IOException { \n \tlong arr[] = new long[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextLong(); \n \t} \n \treturn arr;\n }\n \n static void print(Object O) { \n \tout.print(O); \n }\n \n static void println(Object O) { \n \tout.println(O); \n }\n \n static void println(int arr[]) { \n \tfor(int i = 0; i < arr.length; i++){ \n \t\tprint(arr[i] + \" \"); \n \t} \n \tprintln(\"\"); \n }\n \n static void displayRuntime(long startTime){\n long stopTime = System.currentTimeMillis();\n long elapsedTime = stopTime - startTime;\n System.out.println(\"Runtime: \" + elapsedTime / 1000D);\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n int n = in.nextInt() % 10;\n if(n == 3){\n println(\"bon\");\n }\n else if(n == 0 || n == 1 || n == 6 || n == 8){\n println(\"pon\");\n }\n else{\n println(\"hon\");\n }\n \n in.close();\n out.close();\n }\n\n static int MIN = Integer.MIN_VALUE;\n static int MAX = Integer.MAX_VALUE;\n static Reader in = new Reader();\n static PrintWriter out = new PrintWriter(System.out);\n\n static int[] readInt(int N) throws IOException { \n \tint arr[] = new int[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextInt(); \n \t} \n \treturn arr;\n }\n \n static long[] readLong(int N) throws IOException { \n \tlong arr[] = new long[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextLong(); \n \t} \n \treturn arr;\n }\n \n static void print(Object O) { \n \tout.print(O); \n }\n \n static void println(Object O) { \n \tout.println(O); \n }\n \n static void println(int arr[]) { \n \tfor(int i = 0; i < arr.length; i++){ \n \t\tprint(arr[i] + \" \"); \n \t} \n \tprintln(\"\"); \n }\n \n static void displayRuntime(long startTime){\n long stopTime = System.currentTimeMillis();\n long elapsedTime = stopTime - startTime;\n System.out.println(\"Runtime: \" + elapsedTime / 1000D);\n }\n}",
"Main"
] |
// created on : Tue Jun 23 2020
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws IOException {
int n = in.nextInt() % 10;
if(n == 3){
println("bon");
}
else if(n == 0 || n == 1 || n == 6 || n == 8){
println("pon");
}
else{
println("hon");
}
in.close();
out.close();
}
static int MIN = Integer.MIN_VALUE;
static int MAX = Integer.MAX_VALUE;
static Reader in = new Reader();
static PrintWriter out = new PrintWriter(System.out);
static int[] readInt(int N) throws IOException {
int arr[] = new int[N];
for(int i = 0; i < N; i++){
arr[i] = in.nextInt();
}
return arr;
}
static long[] readLong(int N) throws IOException {
long arr[] = new long[N];
for(int i = 0; i < N; i++){
arr[i] = in.nextLong();
}
return arr;
}
static void print(Object O) {
out.print(O);
}
static void println(Object O) {
out.println(O);
}
static void println(int arr[]) {
for(int i = 0; i < arr.length; i++){
print(arr[i] + " ");
}
println("");
}
static void displayRuntime(long startTime){
long stopTime = System.currentTimeMillis();
long elapsedTime = stopTime - startTime;
System.out.println("Runtime: " + elapsedTime / 1000D);
}
}
class Reader {
BufferedReader reader;
StringTokenizer tokenizer;
Reader() {
reader = new BufferedReader(new InputStreamReader(System.in));
tokenizer = new StringTokenizer("");
}
String next() throws IOException {
while (!tokenizer.hasMoreTokens() ) {
tokenizer = new StringTokenizer(reader.readLine());
}
return tokenizer.nextToken();
}
int nextInt() throws IOException {
return Integer.parseInt(next());
}
double nextDouble() throws IOException {
return Double.parseDouble(next());
}
long nextLong() throws IOException {
return Long.parseLong(next());
}
String nextLine() throws IOException {
return reader.readLine();
}
void close() throws IOException {
reader.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
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
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
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.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tString yomi =\"\";\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint num = scan.nextInt();\n\t\tint amari = num%10;\n\n\t\tif(amari ==3) {\n\t\t\tyomi =\"bon\";\n\t\t}else if(amari == 0 || amari == 1 ||amari == 6 ||amari == 8 ) {\n\t\t\tyomi = \"pon\";\n\t\t}else {\n\t\t\tyomi = \"hon\";\n\t\t}\n\n\t\tSystem.out.println( yomi);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tString yomi =\"\";\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint num = scan.nextInt();\n\t\tint amari = num%10;\n\n\t\tif(amari ==3) {\n\t\t\tyomi =\"bon\";\n\t\t}else if(amari == 0 || amari == 1 ||amari == 6 ||amari == 8 ) {\n\t\t\tyomi = \"pon\";\n\t\t}else {\n\t\t\tyomi = \"hon\";\n\t\t}\n\n\t\tSystem.out.println( yomi);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tString yomi =\"\";\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint num = scan.nextInt();\n\t\tint amari = num%10;\n\n\t\tif(amari ==3) {\n\t\t\tyomi =\"bon\";\n\t\t}else if(amari == 0 || amari == 1 ||amari == 6 ||amari == 8 ) {\n\t\t\tyomi = \"pon\";\n\t\t}else {\n\t\t\tyomi = \"hon\";\n\t\t}\n\n\t\tSystem.out.println( yomi);\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tString yomi =\"\";\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint num = scan.nextInt();\n\t\tint amari = num%10;\n\n\t\tif(amari ==3) {\n\t\t\tyomi =\"bon\";\n\t\t}else if(amari == 0 || amari == 1 ||amari == 6 ||amari == 8 ) {\n\t\t\tyomi = \"pon\";\n\t\t}else {\n\t\t\tyomi = \"hon\";\n\t\t}\n\n\t\tSystem.out.println( yomi);\n\t}",
"String yomi =\"\";",
"yomi",
"\"\"",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int num = scan.nextInt();",
"num",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int amari = num%10;",
"amari",
"num%10",
"num",
"10",
"if(amari ==3) {\n\t\t\tyomi =\"bon\";\n\t\t}else if(amari == 0 || amari == 1 ||amari == 6 ||amari == 8 ) {\n\t\t\tyomi = \"pon\";\n\t\t}else {\n\t\t\tyomi = \"hon\";\n\t\t}",
"amari ==3",
"amari",
"3",
"{\n\t\t\tyomi =\"bon\";\n\t\t}",
"yomi =\"bon\"",
"yomi",
"\"bon\"",
"if(amari == 0 || amari == 1 ||amari == 6 ||amari == 8 ) {\n\t\t\tyomi = \"pon\";\n\t\t}else {\n\t\t\tyomi = \"hon\";\n\t\t}",
"amari == 0 || amari == 1 ||amari == 6 ||amari == 8",
"amari == 6",
"amari == 0 || amari == 1 ||amari == 6 ||amari == 8",
"amari == 0",
"amari",
"0",
"amari == 1",
"amari",
"1",
"amari == 6",
"amari",
"6",
"amari == 8",
"amari",
"8",
"{\n\t\t\tyomi = \"pon\";\n\t\t}",
"yomi = \"pon\"",
"yomi",
"\"pon\"",
"{\n\t\t\tyomi = \"hon\";\n\t\t}",
"yomi = \"hon\"",
"yomi",
"\"hon\"",
"System.out.println( yomi)",
"System.out.println",
"System.out",
"System",
"System.out",
"yomi",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tString yomi =\"\";\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint num = scan.nextInt();\n\t\tint amari = num%10;\n\n\t\tif(amari ==3) {\n\t\t\tyomi =\"bon\";\n\t\t}else if(amari == 0 || amari == 1 ||amari == 6 ||amari == 8 ) {\n\t\t\tyomi = \"pon\";\n\t\t}else {\n\t\t\tyomi = \"hon\";\n\t\t}\n\n\t\tSystem.out.println( yomi);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tString yomi =\"\";\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint num = scan.nextInt();\n\t\tint amari = num%10;\n\n\t\tif(amari ==3) {\n\t\t\tyomi =\"bon\";\n\t\t}else if(amari == 0 || amari == 1 ||amari == 6 ||amari == 8 ) {\n\t\t\tyomi = \"pon\";\n\t\t}else {\n\t\t\tyomi = \"hon\";\n\t\t}\n\n\t\tSystem.out.println( yomi);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
String yomi ="";
Scanner scan = new Scanner(System.in);
int num = scan.nextInt();
int amari = num%10;
if(amari ==3) {
yomi ="bon";
}else if(amari == 0 || amari == 1 ||amari == 6 ||amari == 8 ) {
yomi = "pon";
}else {
yomi = "hon";
}
System.out.println( yomi);
}
}
|
[
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,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
65,
8
],
[
65,
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
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
28,
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
],
[
53,
55
],
[
11,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
9,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] |
[
"import java.util.*;\nimport java.lang.Math;\n\npublic class Main {\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int Nm = N % 10;\n \n String ans = \"hon\";\n if(Nm == 3) {\n ans = \"bon\";\n } else if(Nm == 0 || Nm == 1 || Nm == 6 || Nm == 8) {\n ans = \"pon\";\n }\n \n System.out.println(ans);\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 \n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int Nm = N % 10;\n \n String ans = \"hon\";\n if(Nm == 3) {\n ans = \"bon\";\n } else if(Nm == 0 || Nm == 1 || Nm == 6 || Nm == 8) {\n ans = \"pon\";\n }\n \n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int Nm = N % 10;\n \n String ans = \"hon\";\n if(Nm == 3) {\n ans = \"bon\";\n } else if(Nm == 0 || Nm == 1 || Nm == 6 || Nm == 8) {\n ans = \"pon\";\n }\n \n System.out.println(ans);\n }",
"main",
"{\n \n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int Nm = N % 10;\n \n String ans = \"hon\";\n if(Nm == 3) {\n ans = \"bon\";\n } else if(Nm == 0 || Nm == 1 || Nm == 6 || Nm == 8) {\n ans = \"pon\";\n }\n \n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int Nm = N % 10;",
"Nm",
"N % 10",
"N",
"10",
"String ans = \"hon\";",
"ans",
"\"hon\"",
"if(Nm == 3) {\n ans = \"bon\";\n } else if(Nm == 0 || Nm == 1 || Nm == 6 || Nm == 8) {\n ans = \"pon\";\n }",
"Nm == 3",
"Nm",
"3",
"{\n ans = \"bon\";\n }",
"ans = \"bon\"",
"ans",
"\"bon\"",
"if(Nm == 0 || Nm == 1 || Nm == 6 || Nm == 8) {\n ans = \"pon\";\n }",
"Nm == 0 || Nm == 1 || Nm == 6 || Nm == 8",
"Nm == 6",
"Nm == 0 || Nm == 1 || Nm == 6 || Nm == 8",
"Nm == 0",
"Nm",
"0",
"Nm == 1",
"Nm",
"1",
"Nm == 6",
"Nm",
"6",
"Nm == 8",
"Nm",
"8",
"{\n ans = \"pon\";\n }",
"ans = \"pon\"",
"ans",
"\"pon\"",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int Nm = N % 10;\n \n String ans = \"hon\";\n if(Nm == 3) {\n ans = \"bon\";\n } else if(Nm == 0 || Nm == 1 || Nm == 6 || Nm == 8) {\n ans = \"pon\";\n }\n \n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int Nm = N % 10;\n \n String ans = \"hon\";\n if(Nm == 3) {\n ans = \"bon\";\n } else if(Nm == 0 || Nm == 1 || Nm == 6 || Nm == 8) {\n ans = \"pon\";\n }\n \n System.out.println(ans);\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();
int Nm = N % 10;
String ans = "hon";
if(Nm == 3) {
ans = "bon";
} else if(Nm == 0 || Nm == 1 || Nm == 6 || Nm == 8) {
ans = "pon";
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
39,
17,
17,
17,
41,
13,
17,
41,
13,
20,
41,
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,
0,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
70,
5
],
[
70,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
11,
13
],
[
11,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
8,
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
],
[
48,
50
],
[
31,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] |
[
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n //読み方を格納数r\n String yomi[] = {\"hon\",\"pon\",\"bon\"};\n int index = 0;\n //標準入力のインスタンス作成\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数Nの入力\n\t\tint N = sc.nextInt();\n\t\t// 出力\n int keta_1 = N%10;\n if ( keta_1 == 0 || keta_1==1 || keta_1==6 || keta_1==8 ){\n index=1;\n }else if( keta_1==3 ){\n index=2;\n }\n\t\tSystem.out.println(yomi[index]);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n //読み方を格納数r\n String yomi[] = {\"hon\",\"pon\",\"bon\"};\n int index = 0;\n //標準入力のインスタンス作成\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数Nの入力\n\t\tint N = sc.nextInt();\n\t\t// 出力\n int keta_1 = N%10;\n if ( keta_1 == 0 || keta_1==1 || keta_1==6 || keta_1==8 ){\n index=1;\n }else if( keta_1==3 ){\n index=2;\n }\n\t\tSystem.out.println(yomi[index]);\n\t}\n}",
"Main",
"public static void main(String[] args){\n //読み方を格納数r\n String yomi[] = {\"hon\",\"pon\",\"bon\"};\n int index = 0;\n //標準入力のインスタンス作成\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数Nの入力\n\t\tint N = sc.nextInt();\n\t\t// 出力\n int keta_1 = N%10;\n if ( keta_1 == 0 || keta_1==1 || keta_1==6 || keta_1==8 ){\n index=1;\n }else if( keta_1==3 ){\n index=2;\n }\n\t\tSystem.out.println(yomi[index]);\n\t}",
"main",
"{\n //読み方を格納数r\n String yomi[] = {\"hon\",\"pon\",\"bon\"};\n int index = 0;\n //標準入力のインスタンス作成\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数Nの入力\n\t\tint N = sc.nextInt();\n\t\t// 出力\n int keta_1 = N%10;\n if ( keta_1 == 0 || keta_1==1 || keta_1==6 || keta_1==8 ){\n index=1;\n }else if( keta_1==3 ){\n index=2;\n }\n\t\tSystem.out.println(yomi[index]);\n\t}",
"String yomi[] = {\"hon\",\"pon\",\"bon\"};",
"yomi",
"{\"hon\",\"pon\",\"bon\"}",
"\"hon\"",
"\"pon\"",
"\"bon\"",
"int index = 0;",
"index",
"0",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int keta_1 = N%10;",
"keta_1",
"N%10",
"N",
"10",
"if ( keta_1 == 0 || keta_1==1 || keta_1==6 || keta_1==8 ){\n index=1;\n }else if( keta_1==3 ){\n index=2;\n }",
"keta_1 == 0 || keta_1==1 || keta_1==6 || keta_1==8",
"keta_1==6",
"keta_1 == 0 || keta_1==1 || keta_1==6 || keta_1==8",
"keta_1 == 0",
"keta_1",
"0",
"keta_1==1",
"keta_1",
"1",
"keta_1==6",
"keta_1",
"6",
"keta_1==8",
"keta_1",
"8",
"{\n index=1;\n }",
"index=1",
"index",
"1",
"if( keta_1==3 ){\n index=2;\n }",
"keta_1==3",
"keta_1",
"3",
"{\n index=2;\n }",
"index=2",
"index",
"2",
"System.out.println(yomi[index])",
"System.out.println",
"System.out",
"System",
"System.out",
"yomi[index]",
"yomi",
"index",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n //読み方を格納数r\n String yomi[] = {\"hon\",\"pon\",\"bon\"};\n int index = 0;\n //標準入力のインスタンス作成\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数Nの入力\n\t\tint N = sc.nextInt();\n\t\t// 出力\n int keta_1 = N%10;\n if ( keta_1 == 0 || keta_1==1 || keta_1==6 || keta_1==8 ){\n index=1;\n }else if( keta_1==3 ){\n index=2;\n }\n\t\tSystem.out.println(yomi[index]);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n //読み方を格納数r\n String yomi[] = {\"hon\",\"pon\",\"bon\"};\n int index = 0;\n //標準入力のインスタンス作成\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数Nの入力\n\t\tint N = sc.nextInt();\n\t\t// 出力\n int keta_1 = N%10;\n if ( keta_1 == 0 || keta_1==1 || keta_1==6 || keta_1==8 ){\n index=1;\n }else if( keta_1==3 ){\n index=2;\n }\n\t\tSystem.out.println(yomi[index]);\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args){
//読み方を格納数r
String yomi[] = {"hon","pon","bon"};
int index = 0;
//標準入力のインスタンス作成
Scanner sc = new Scanner(System.in);
// 整数Nの入力
int N = sc.nextInt();
// 出力
int keta_1 = N%10;
if ( keta_1 == 0 || keta_1==1 || keta_1==6 || keta_1==8 ){
index=1;
}else if( keta_1==3 ){
index=2;
}
System.out.println(yomi[index]);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
41,
13,
4,
18,
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,
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
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
24,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
37,
38
],
[
37,
39
],
[
29,
40
],
[
40,
41
],
[
40,
42
],
[
29,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
45,
52
],
[
29,
53
],
[
53,
54
],
[
53,
55
],
[
29,
56
],
[
56,
57
],
[
56,
58
],
[
29,
59
],
[
59,
60
],
[
59,
61
],
[
29,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
64,
71
],
[
29,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] |
[
"\nimport java.util.Scanner;\n\n/**\n *\n * @author chuan\n */\npublic class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in) ;\n String s = sc.nextLine().trim() ;\n char c = s.charAt( s.length()-1);\n switch(c){\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 \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 s = sc.nextLine().trim() ;\n char c = s.charAt( s.length()-1);\n switch(c){\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 \n }\n \n }\n \n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in) ;\n String s = sc.nextLine().trim() ;\n char c = s.charAt( s.length()-1);\n switch(c){\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 \n }\n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in) ;\n String s = sc.nextLine().trim() ;\n char c = s.charAt( s.length()-1);\n switch(c){\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 \n }\n \n }",
"Scanner sc = new Scanner(System.in) ;",
"sc",
"new Scanner(System.in)",
"String s = sc.nextLine().trim() ;",
"s",
"sc.nextLine().trim()",
"sc.nextLine().trim",
"sc.nextLine()",
"sc.nextLine",
"sc",
"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 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 \n }",
"c",
"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\"",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in) ;\n String s = sc.nextLine().trim() ;\n char c = s.charAt( s.length()-1);\n switch(c){\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 \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 s = sc.nextLine().trim() ;\n char c = s.charAt( s.length()-1);\n switch(c){\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 \n }\n \n }\n \n}",
"Main"
] |
import java.util.Scanner;
/**
*
* @author chuan
*/
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in) ;
String s = sc.nextLine().trim() ;
char c = s.charAt( s.length()-1);
switch(c){
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");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
4,
18,
13,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
2,
4,
18,
13,
2,
13,
17,
17,
2,
4,
18,
13,
2,
13,
17,
17,
2,
4,
18,
13,
2,
13,
17,
17,
2,
4,
18,
13,
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
],
[
91,
5
],
[
91,
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
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
22,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
22,
38
],
[
38,
39
],
[
41,
40
],
[
58,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
42,
49
],
[
41,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
50,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
58,
65
],
[
41,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
70,
72
],
[
66,
73
],
[
38,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
38,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
6,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str = sc.next();\n int a = str.length();\n \n if(str.charAt(a-1) == '3'){\n System.out.println(\"bon\");\n }else if(str.charAt(a-1) == '0' || str.charAt(a-1) == '1' || \n str.charAt(a-1) == '6' || str.charAt(a-1) == '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 sc = new Scanner(System.in);\n String str = sc.next();\n int a = str.length();\n \n if(str.charAt(a-1) == '3'){\n System.out.println(\"bon\");\n }else if(str.charAt(a-1) == '0' || str.charAt(a-1) == '1' || \n str.charAt(a-1) == '6' || str.charAt(a-1) == '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 sc = new Scanner(System.in);\n String str = sc.next();\n int a = str.length();\n \n if(str.charAt(a-1) == '3'){\n System.out.println(\"bon\");\n }else if(str.charAt(a-1) == '0' || str.charAt(a-1) == '1' || \n str.charAt(a-1) == '6' || str.charAt(a-1) == '8'){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String str = sc.next();\n int a = str.length();\n \n if(str.charAt(a-1) == '3'){\n System.out.println(\"bon\");\n }else if(str.charAt(a-1) == '0' || str.charAt(a-1) == '1' || \n str.charAt(a-1) == '6' || str.charAt(a-1) == '8'){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str = sc.next();",
"str",
"sc.next()",
"sc.next",
"sc",
"int a = str.length();",
"a",
"str.length()",
"str.length",
"str",
"if(str.charAt(a-1) == '3'){\n System.out.println(\"bon\");\n }else if(str.charAt(a-1) == '0' || str.charAt(a-1) == '1' || \n str.charAt(a-1) == '6' || str.charAt(a-1) == '8'){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }",
"str.charAt(a-1) == '3'",
"str.charAt(a-1)",
"str.charAt",
"str",
"a-1",
"a",
"1",
"'3'",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(str.charAt(a-1) == '0' || str.charAt(a-1) == '1' || \n str.charAt(a-1) == '6' || str.charAt(a-1) == '8'){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"hon\");\n }",
"str.charAt(a-1) == '0' || str.charAt(a-1) == '1' || \n str.charAt(a-1) == '6' || str.charAt(a-1) == '8'",
"str.charAt(a-1) == '6'",
"str.charAt(a-1) == '0' || str.charAt(a-1) == '1' || \n str.charAt(a-1) == '6' || str.charAt(a-1) == '8'",
"str.charAt(a-1) == '0'",
"str.charAt(a-1)",
"str.charAt",
"str",
"a-1",
"a",
"1",
"'0'",
"str.charAt(a-1) == '1'",
"str.charAt(a-1)",
"str.charAt",
"str",
"a-1",
"a",
"1",
"'1'",
"str.charAt(a-1) == '6'",
"str.charAt(a-1)",
"str.charAt",
"str",
"a-1",
"a",
"1",
"'6'",
"str.charAt(a-1) == '8'",
"str.charAt(a-1)",
"str.charAt",
"str",
"a-1",
"a",
"1",
"'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 String str = sc.next();\n int a = str.length();\n \n if(str.charAt(a-1) == '3'){\n System.out.println(\"bon\");\n }else if(str.charAt(a-1) == '0' || str.charAt(a-1) == '1' || \n str.charAt(a-1) == '6' || str.charAt(a-1) == '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 sc = new Scanner(System.in);\n String str = sc.next();\n int a = str.length();\n \n if(str.charAt(a-1) == '3'){\n System.out.println(\"bon\");\n }else if(str.charAt(a-1) == '0' || str.charAt(a-1) == '1' || \n str.charAt(a-1) == '6' || str.charAt(a-1) == '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 sc = new Scanner(System.in);
String str = sc.next();
int a = str.length();
if(str.charAt(a-1) == '3'){
System.out.println("bon");
}else if(str.charAt(a-1) == '0' || str.charAt(a-1) == '1' ||
str.charAt(a-1) == '6' || str.charAt(a-1) == '8'){
System.out.println("pon");
}else{
System.out.println("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,
35,
2,
13,
17,
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,
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
],
[
70,
11
],
[
70,
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
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
26,
33
],
[
33,
34
],
[
33,
35
],
[
26,
36
],
[
36,
37
],
[
36,
38
],
[
26,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
41,
48
],
[
26,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
51,
58
],
[
26,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
12,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String args[]) throws IOException {\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\tint N = Integer.parseInt(br.readLine());\n\n\tswitch (N % 10) {\n\tcase 0:\n\tcase 1:\n\tcase 6:\n\tcase 8:\n\t System.out.println(\"pon\");\n\t break;\n\tcase 3:\n\t System.out.println(\"bon\");\n\t break;\n\tdefault:\n\t System.out.println(\"hon\");\n\t}\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String args[]) throws IOException {\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\tint N = Integer.parseInt(br.readLine());\n\n\tswitch (N % 10) {\n\tcase 0:\n\tcase 1:\n\tcase 6:\n\tcase 8:\n\t System.out.println(\"pon\");\n\t break;\n\tcase 3:\n\t System.out.println(\"bon\");\n\t break;\n\tdefault:\n\t System.out.println(\"hon\");\n\t}\n }\n}",
"Main",
"public static void main(String args[]) throws IOException {\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\tint N = Integer.parseInt(br.readLine());\n\n\tswitch (N % 10) {\n\tcase 0:\n\tcase 1:\n\tcase 6:\n\tcase 8:\n\t System.out.println(\"pon\");\n\t break;\n\tcase 3:\n\t System.out.println(\"bon\");\n\t break;\n\tdefault:\n\t System.out.println(\"hon\");\n\t}\n }",
"main",
"{\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\tint N = Integer.parseInt(br.readLine());\n\n\tswitch (N % 10) {\n\tcase 0:\n\tcase 1:\n\tcase 6:\n\tcase 8:\n\t System.out.println(\"pon\");\n\t break;\n\tcase 3:\n\t System.out.println(\"bon\");\n\t break;\n\tdefault:\n\t System.out.println(\"hon\");\n\t}\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int N = Integer.parseInt(br.readLine());",
"N",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"switch (N % 10) {\n\tcase 0:\n\tcase 1:\n\tcase 6:\n\tcase 8:\n\t System.out.println(\"pon\");\n\t break;\n\tcase 3:\n\t System.out.println(\"bon\");\n\t break;\n\tdefault:\n\t System.out.println(\"hon\");\n\t}",
"N % 10",
"N",
"10",
"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:",
"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 IOException {\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\tint N = Integer.parseInt(br.readLine());\n\n\tswitch (N % 10) {\n\tcase 0:\n\tcase 1:\n\tcase 6:\n\tcase 8:\n\t System.out.println(\"pon\");\n\t break;\n\tcase 3:\n\t System.out.println(\"bon\");\n\t break;\n\tdefault:\n\t System.out.println(\"hon\");\n\t}\n }\n}",
"public class Main {\n public static void main(String args[]) throws IOException {\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\tint N = Integer.parseInt(br.readLine());\n\n\tswitch (N % 10) {\n\tcase 0:\n\tcase 1:\n\tcase 6:\n\tcase 8:\n\t System.out.println(\"pon\");\n\t break;\n\tcase 3:\n\t System.out.println(\"bon\");\n\t break;\n\tdefault:\n\t System.out.println(\"hon\");\n\t}\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int N = Integer.parseInt(br.readLine());
switch (N % 10) {
case 0:
case 1:
case 6:
case 8:
System.out.println("pon");
break;
case 3:
System.out.println("bon");
break;
default:
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,
3,
34,
1,
3,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
127,
5
],
[
127,
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
],
[
113,
120
],
[
17,
121
],
[
121,
122
],
[
122,
123
],
[
6,
124
],
[
124,
125
],
[
0,
126
],
[
126,
127
],
[
126,
128
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n =scan.nextInt();\n\t\t\n\t\t\n\t\t//System.out.println(n);\n\t\t\n\t\n\t\tswitch(n % 10) {\n\t\t\n\t\tcase 2:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 5:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 7:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 9:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\t \n\t\tcase 0:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase 1:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase 6:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase 8: \n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\t\n\t\tcase 3:\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\t\t\n\t\tdefault: break;\n\t\t\n\t\t}\n\t\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\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n =scan.nextInt();\n\t\t\n\t\t\n\t\t//System.out.println(n);\n\t\t\n\t\n\t\tswitch(n % 10) {\n\t\t\n\t\tcase 2:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 5:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 7:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 9:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\t \n\t\tcase 0:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase 1:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase 6:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase 8: \n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\t\n\t\tcase 3:\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\t\t\n\t\tdefault: break;\n\t\t\n\t\t}\n\t\t\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n =scan.nextInt();\n\t\t\n\t\t\n\t\t//System.out.println(n);\n\t\t\n\t\n\t\tswitch(n % 10) {\n\t\t\n\t\tcase 2:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 5:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 7:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 9:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\t \n\t\tcase 0:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase 1:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase 6:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase 8: \n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\t\n\t\tcase 3:\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\t\t\n\t\tdefault: break;\n\t\t\n\t\t}\n\t\t\t\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n =scan.nextInt();\n\t\t\n\t\t\n\t\t//System.out.println(n);\n\t\t\n\t\n\t\tswitch(n % 10) {\n\t\t\n\t\tcase 2:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 5:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 7:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 9:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\t \n\t\tcase 0:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase 1:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase 6:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase 8: \n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\t\n\t\tcase 3:\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\t\t\n\t\tdefault: break;\n\t\t\n\t\t}\n\t\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",
"switch(n % 10) {\n\t\t\n\t\tcase 2:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 5:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 7:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 9:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\t \n\t\tcase 0:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase 1:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase 6:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase 8: \n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\t\n\t\tcase 3:\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\t\t\n\t\tdefault: break;\n\t\t\n\t\t}",
"n % 10",
"n",
"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\"",
"break;",
"default:",
"default:",
"break;",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n =scan.nextInt();\n\t\t\n\t\t\n\t\t//System.out.println(n);\n\t\t\n\t\n\t\tswitch(n % 10) {\n\t\t\n\t\tcase 2:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 5:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 7:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 9:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\t \n\t\tcase 0:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase 1:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase 6:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase 8: \n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\t\n\t\tcase 3:\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\t\t\n\t\tdefault: break;\n\t\t\n\t\t}\n\t\t\t\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n =scan.nextInt();\n\t\t\n\t\t\n\t\t//System.out.println(n);\n\t\t\n\t\n\t\tswitch(n % 10) {\n\t\t\n\t\tcase 2:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 5:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 7:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\tcase 9:\n\t\t\tSystem.out.println(\"hon\");\n\t\t\tbreak;\n\t\t \n\t\tcase 0:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase 1:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase 6:\n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\tcase 8: \n\t\t\tSystem.out.println(\"pon\");\n\t\t\tbreak;\n\t\t\n\t\tcase 3:\n\t\t\tSystem.out.println(\"bon\");\n\t\t\tbreak;\n\t\t\n\t\tdefault: break;\n\t\t\n\t\t}\n\t\t\t\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner scan = new Scanner(System.in);
int n =scan.nextInt();
//System.out.println(n);
switch(n % 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");
break;
default: break;
}
}
}
|
[
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,
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
],
[
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
],
[
6,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int N = scanner.nextInt();\n\n int x = N % 10;\n if (x == 3) {\n System.out.println(\"bon\");\n } else if ( x == 0 || x == 1 || x == 6 || x == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\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 N = scanner.nextInt();\n\n int x = N % 10;\n if (x == 3) {\n System.out.println(\"bon\");\n } else if ( x == 0 || x == 1 || x == 6 || x == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int N = scanner.nextInt();\n\n int x = N % 10;\n if (x == 3) {\n System.out.println(\"bon\");\n } else if ( x == 0 || x == 1 || x == 6 || x == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n\n int N = scanner.nextInt();\n\n int x = N % 10;\n if (x == 3) {\n System.out.println(\"bon\");\n } else if ( x == 0 || x == 1 || x == 6 || x == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int N = scanner.nextInt();",
"N",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int x = N % 10;",
"x",
"N % 10",
"N",
"10",
"if (x == 3) {\n System.out.println(\"bon\");\n } else if ( x == 0 || x == 1 || x == 6 || x == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }",
"x == 3",
"x",
"3",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if ( x == 0 || x == 1 || x == 6 || x == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }",
"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 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 N = scanner.nextInt();\n\n int x = N % 10;\n if (x == 3) {\n System.out.println(\"bon\");\n } else if ( x == 0 || x == 1 || x == 6 || x == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int N = scanner.nextInt();\n\n int x = N % 10;\n if (x == 3) {\n System.out.println(\"bon\");\n } else if ( x == 0 || x == 1 || x == 6 || x == 8) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int N = scanner.nextInt();
int x = N % 10;
if (x == 3) {
System.out.println("bon");
} else if ( x == 0 || x == 1 || x == 6 || x == 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,
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
],
[
82,
5
],
[
82,
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
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
22,
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
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
49,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
6,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] |
[
"import java.util.Scanner;\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int j = n%10;\n if (j == 2 || j == 4 || j == 5 || j == 7 || j == 9){\n System.out.println(\"hon\");\n }else if (j == 0 || j == 1 || j == 6 || j == 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 scan = new Scanner(System.in);\n int n = scan.nextInt();\n int j = n%10;\n if (j == 2 || j == 4 || j == 5 || j == 7 || j == 9){\n System.out.println(\"hon\");\n }else if (j == 0 || j == 1 || j == 6 || j == 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 scan = new Scanner(System.in);\n int n = scan.nextInt();\n int j = n%10;\n if (j == 2 || j == 4 || j == 5 || j == 7 || j == 9){\n System.out.println(\"hon\");\n }else if (j == 0 || j == 1 || j == 6 || j == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int j = n%10;\n if (j == 2 || j == 4 || j == 5 || j == 7 || j == 9){\n System.out.println(\"hon\");\n }else if (j == 0 || j == 1 || j == 6 || j == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int j = n%10;",
"j",
"n%10",
"n",
"10",
"if (j == 2 || j == 4 || j == 5 || j == 7 || j == 9){\n System.out.println(\"hon\");\n }else if (j == 0 || j == 1 || j == 6 || j == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }",
"j == 2 || j == 4 || j == 5 || j == 7 || j == 9",
"j == 7",
"j == 5",
"j == 2 || j == 4 || j == 5 || j == 7 || j == 9",
"j == 2",
"j",
"2",
"j == 4",
"j",
"4",
"j == 5",
"j",
"5",
"j == 7",
"j",
"7",
"j == 9",
"j",
"9",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if (j == 0 || j == 1 || j == 6 || j == 8){\n System.out.println(\"pon\");\n }else{\n System.out.println(\"bon\");\n }",
"j == 0 || j == 1 || j == 6 || j == 8",
"j == 6",
"j == 0 || j == 1 || j == 6 || j == 8",
"j == 0",
"j",
"0",
"j == 1",
"j",
"1",
"j == 6",
"j",
"6",
"j == 8",
"j",
"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 scan = new Scanner(System.in);\n int n = scan.nextInt();\n int j = n%10;\n if (j == 2 || j == 4 || j == 5 || j == 7 || j == 9){\n System.out.println(\"hon\");\n }else if (j == 0 || j == 1 || j == 6 || j == 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 scan = new Scanner(System.in);\n int n = scan.nextInt();\n int j = n%10;\n if (j == 2 || j == 4 || j == 5 || j == 7 || j == 9){\n System.out.println(\"hon\");\n }else if (j == 0 || j == 1 || j == 6 || j == 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 scan = new Scanner(System.in);
int n = scan.nextInt();
int j = n%10;
if (j == 2 || j == 4 || j == 5 || j == 7 || j == 9){
System.out.println("hon");
}else if (j == 0 || j == 1 || j == 6 || j == 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,
4,
18,
13,
13,
14,
2,
13,
17,
30,
0,
13,
13,
14,
2,
13,
17,
30,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
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
],
[
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
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
53,
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.*;\n \npublic class Main {\n\tpublic static void main (String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tint nam = in.nextInt();\n int len = String.valueOf(nam).length();\n \n if(len == 1){nam = nam;}\n if(len == 2){nam = nam%10;}\n if(len == 3){nam = nam%10;}\n\n if(nam == 3){System.out.print(\"bon\");}\n else if(nam == 0 || nam == 1 || nam == 6 || nam == 8){System.out.print(\"pon\");}\n else{System.out.print(\"hon\");}\n \n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main (String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tint nam = in.nextInt();\n int len = String.valueOf(nam).length();\n \n if(len == 1){nam = nam;}\n if(len == 2){nam = nam%10;}\n if(len == 3){nam = nam%10;}\n\n if(nam == 3){System.out.print(\"bon\");}\n else if(nam == 0 || nam == 1 || nam == 6 || nam == 8){System.out.print(\"pon\");}\n else{System.out.print(\"hon\");}\n \n\t}\n}",
"Main",
"public static void main (String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tint nam = in.nextInt();\n int len = String.valueOf(nam).length();\n \n if(len == 1){nam = nam;}\n if(len == 2){nam = nam%10;}\n if(len == 3){nam = nam%10;}\n\n if(nam == 3){System.out.print(\"bon\");}\n else if(nam == 0 || nam == 1 || nam == 6 || nam == 8){System.out.print(\"pon\");}\n else{System.out.print(\"hon\");}\n \n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tint nam = in.nextInt();\n int len = String.valueOf(nam).length();\n \n if(len == 1){nam = nam;}\n if(len == 2){nam = nam%10;}\n if(len == 3){nam = nam%10;}\n\n if(nam == 3){System.out.print(\"bon\");}\n else if(nam == 0 || nam == 1 || nam == 6 || nam == 8){System.out.print(\"pon\");}\n else{System.out.print(\"hon\");}\n \n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int nam = in.nextInt();",
"nam",
"in.nextInt()",
"in.nextInt",
"in",
"int len = String.valueOf(nam).length();",
"len",
"String.valueOf(nam).length()",
"String.valueOf(nam).length",
"String.valueOf(nam)",
"String.valueOf",
"String",
"nam",
"if(len == 1){nam = nam;}",
"len == 1",
"len",
"1",
"{nam = nam;}",
"nam = nam",
"nam",
"nam",
"if(len == 2){nam = nam%10;}",
"len == 2",
"len",
"2",
"{nam = nam%10;}",
"nam = nam%10",
"nam",
"nam%10",
"nam",
"10",
"if(len == 3){nam = nam%10;}",
"len == 3",
"len",
"3",
"{nam = nam%10;}",
"nam = nam%10",
"nam",
"nam%10",
"nam",
"10",
"if(nam == 3){System.out.print(\"bon\");}\n else if(nam == 0 || nam == 1 || nam == 6 || nam == 8){System.out.print(\"pon\");}\n else{System.out.print(\"hon\");}",
"nam == 3",
"nam",
"3",
"{System.out.print(\"bon\");}",
"System.out.print(\"bon\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"bon\"",
"if(nam == 0 || nam == 1 || nam == 6 || nam == 8){System.out.print(\"pon\");}\n else{System.out.print(\"hon\");}",
"nam == 0 || nam == 1 || nam == 6 || nam == 8",
"nam == 6",
"nam == 0 || nam == 1 || nam == 6 || nam == 8",
"nam == 0",
"nam",
"0",
"nam == 1",
"nam",
"1",
"nam == 6",
"nam",
"6",
"nam == 8",
"nam",
"8",
"{System.out.print(\"pon\");}",
"System.out.print(\"pon\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"pon\"",
"{System.out.print(\"hon\");}",
"System.out.print(\"hon\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"hon\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main (String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tint nam = in.nextInt();\n int len = String.valueOf(nam).length();\n \n if(len == 1){nam = nam;}\n if(len == 2){nam = nam%10;}\n if(len == 3){nam = nam%10;}\n\n if(nam == 3){System.out.print(\"bon\");}\n else if(nam == 0 || nam == 1 || nam == 6 || nam == 8){System.out.print(\"pon\");}\n else{System.out.print(\"hon\");}\n \n\t}\n}",
"public class Main {\n\tpublic static void main (String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tint nam = in.nextInt();\n int len = String.valueOf(nam).length();\n \n if(len == 1){nam = nam;}\n if(len == 2){nam = nam%10;}\n if(len == 3){nam = nam%10;}\n\n if(nam == 3){System.out.print(\"bon\");}\n else if(nam == 0 || nam == 1 || nam == 6 || nam == 8){System.out.print(\"pon\");}\n else{System.out.print(\"hon\");}\n \n\t}\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main (String[] args) {
Scanner in = new Scanner(System.in);
int nam = in.nextInt();
int len = String.valueOf(nam).length();
if(len == 1){nam = nam;}
if(len == 2){nam = nam%10;}
if(len == 3){nam = nam%10;}
if(nam == 3){System.out.print("bon");}
else if(nam == 0 || nam == 1 || nam == 6 || nam == 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,
2,
13,
2,
2,
13,
17,
17,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
14,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
14,
4,
18,
13,
13,
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
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
21,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
8,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
44,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
56,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
56,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
6,
75
],
[
75,
76
]
] |
[
"import java.util.*;\nclass Main {\n \n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int val = a - (int)(a/10)*10;\n Integer[] ponArr = new Integer[]{0,1,6,8};\n Integer[] bonArr = new Integer[]{3};\n List<Integer> ponList = Arrays.asList(ponArr);\n List<Integer> bonList = Arrays.asList(bonArr);\n \n if(ponList.contains(val)){\n System.out.println(\"pon\");\n }else if(bonList.contains(val)){\n System.out.println(\"bon\");\n }else{\n System.out.println(\"hon\");\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n \n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int val = a - (int)(a/10)*10;\n Integer[] ponArr = new Integer[]{0,1,6,8};\n Integer[] bonArr = new Integer[]{3};\n List<Integer> ponList = Arrays.asList(ponArr);\n List<Integer> bonList = Arrays.asList(bonArr);\n \n if(ponList.contains(val)){\n System.out.println(\"pon\");\n }else if(bonList.contains(val)){\n System.out.println(\"bon\");\n }else{\n System.out.println(\"hon\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int val = a - (int)(a/10)*10;\n Integer[] ponArr = new Integer[]{0,1,6,8};\n Integer[] bonArr = new Integer[]{3};\n List<Integer> ponList = Arrays.asList(ponArr);\n List<Integer> bonList = Arrays.asList(bonArr);\n \n if(ponList.contains(val)){\n System.out.println(\"pon\");\n }else if(bonList.contains(val)){\n System.out.println(\"bon\");\n }else{\n System.out.println(\"hon\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int val = a - (int)(a/10)*10;\n Integer[] ponArr = new Integer[]{0,1,6,8};\n Integer[] bonArr = new Integer[]{3};\n List<Integer> ponList = Arrays.asList(ponArr);\n List<Integer> bonList = Arrays.asList(bonArr);\n \n if(ponList.contains(val)){\n System.out.println(\"pon\");\n }else if(bonList.contains(val)){\n System.out.println(\"bon\");\n }else{\n System.out.println(\"hon\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int val = a - (int)(a/10)*10;",
"val",
"a - (int)(a/10)*10",
"a",
"(int)(a/10)*10",
"(int)(a/10)",
"a",
"10",
"10",
"Integer[] ponArr = new Integer[]{0,1,6,8};",
"ponArr",
"new Integer[]{0,1,6,8}",
"Integer[] bonArr = new Integer[]{3};",
"bonArr",
"new Integer[]{3}",
"List<Integer> ponList = Arrays.asList(ponArr);",
"ponList",
"Arrays.asList(ponArr)",
"Arrays.asList",
"Arrays",
"ponArr",
"List<Integer> bonList = Arrays.asList(bonArr);",
"bonList",
"Arrays.asList(bonArr)",
"Arrays.asList",
"Arrays",
"bonArr",
"if(ponList.contains(val)){\n System.out.println(\"pon\");\n }else if(bonList.contains(val)){\n System.out.println(\"bon\");\n }else{\n System.out.println(\"hon\");\n }",
"ponList.contains(val)",
"ponList.contains",
"ponList",
"val",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if(bonList.contains(val)){\n System.out.println(\"bon\");\n }else{\n System.out.println(\"hon\");\n }",
"bonList.contains(val)",
"bonList.contains",
"bonList",
"val",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"{\n System.out.println(\"hon\");\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 sc = new Scanner(System.in);
int a = sc.nextInt();
int val = a - (int)(a/10)*10;
Integer[] ponArr = new Integer[]{0,1,6,8};
Integer[] bonArr = new Integer[]{3};
List<Integer> ponList = Arrays.asList(ponArr);
List<Integer> bonList = Arrays.asList(bonArr);
if(ponList.contains(val)){
System.out.println("pon");
}else if(bonList.contains(val)){
System.out.println("bon");
}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,
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
],
[
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
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
27,
39
],
[
39,
40
],
[
42,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
42,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
42,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
39,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
39,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
6,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString a = scan.next();\n\t\tString b = a.substring(a.length() - 1);\n\n\t\tif(b.equals(\"3\")) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}else if(b.equals(\"0\") || b.equals(\"1\") || b.equals(\"6\") || b.equals(\"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}\n}",
"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\n\t\tString a = scan.next();\n\t\tString b = a.substring(a.length() - 1);\n\n\t\tif(b.equals(\"3\")) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}else if(b.equals(\"0\") || b.equals(\"1\") || b.equals(\"6\") || b.equals(\"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}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString a = scan.next();\n\t\tString b = a.substring(a.length() - 1);\n\n\t\tif(b.equals(\"3\")) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}else if(b.equals(\"0\") || b.equals(\"1\") || b.equals(\"6\") || b.equals(\"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}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString a = scan.next();\n\t\tString b = a.substring(a.length() - 1);\n\n\t\tif(b.equals(\"3\")) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}else if(b.equals(\"0\") || b.equals(\"1\") || b.equals(\"6\") || b.equals(\"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}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String a = scan.next();",
"a",
"scan.next()",
"scan.next",
"scan",
"String b = a.substring(a.length() - 1);",
"b",
"a.substring(a.length() - 1)",
"a.substring",
"a",
"a.length() - 1",
"a.length()",
"a.length",
"a",
"1",
"if(b.equals(\"3\")) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}else if(b.equals(\"0\") || b.equals(\"1\") || b.equals(\"6\") || b.equals(\"8\")) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"b.equals(\"3\")",
"b.equals",
"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.equals(\"0\") || b.equals(\"1\") || b.equals(\"6\") || b.equals(\"8\")) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"b.equals(\"0\") || b.equals(\"1\") || b.equals(\"6\") || b.equals(\"8\")",
"b.equals(\"6\")",
"b.equals(\"0\") || b.equals(\"1\") || b.equals(\"6\") || b.equals(\"8\")",
"b.equals(\"0\")",
"b.equals",
"b",
"\"0\"",
"b.equals(\"1\")",
"b.equals",
"b",
"\"1\"",
"b.equals(\"6\")",
"b.equals",
"b",
"\"6\"",
"b.equals(\"8\")",
"b.equals",
"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 scan = new Scanner(System.in);\n\n\t\tString a = scan.next();\n\t\tString b = a.substring(a.length() - 1);\n\n\t\tif(b.equals(\"3\")) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}else if(b.equals(\"0\") || b.equals(\"1\") || b.equals(\"6\") || b.equals(\"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}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString a = scan.next();\n\t\tString b = a.substring(a.length() - 1);\n\n\t\tif(b.equals(\"3\")) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}else if(b.equals(\"0\") || b.equals(\"1\") || b.equals(\"6\") || b.equals(\"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}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String a = scan.next();
String b = a.substring(a.length() - 1);
if(b.equals("3")) {
System.out.println("bon");
}else if(b.equals("0") || b.equals("1") || b.equals("6") || b.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,
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,
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
],
[
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
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
6,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] |
[
"import 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\tString N = sc.next();\n\n\t\t// 結果の出力\n\t\tchar lastChar = N.charAt(N.length() - 1);\n\t\tif (lastChar == '3') {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if (lastChar == '0' || lastChar == '1' || lastChar == '6' || lastChar == '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\tString N = sc.next();\n\n\t\t// 結果の出力\n\t\tchar lastChar = N.charAt(N.length() - 1);\n\t\tif (lastChar == '3') {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if (lastChar == '0' || lastChar == '1' || lastChar == '6' || lastChar == '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\tString N = sc.next();\n\n\t\t// 結果の出力\n\t\tchar lastChar = N.charAt(N.length() - 1);\n\t\tif (lastChar == '3') {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if (lastChar == '0' || lastChar == '1' || lastChar == '6' || lastChar == '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\tString N = sc.next();\n\n\t\t// 結果の出力\n\t\tchar lastChar = N.charAt(N.length() - 1);\n\t\tif (lastChar == '3') {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if (lastChar == '0' || lastChar == '1' || lastChar == '6' || lastChar == '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)",
"String N = sc.next();",
"N",
"sc.next()",
"sc.next",
"sc",
"char lastChar = N.charAt(N.length() - 1);",
"lastChar",
"N.charAt(N.length() - 1)",
"N.charAt",
"N",
"N.length() - 1",
"N.length()",
"N.length",
"N",
"1",
"if (lastChar == '3') {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if (lastChar == '0' || lastChar == '1' || lastChar == '6' || lastChar == '8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"lastChar == '3'",
"lastChar",
"'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 (lastChar == '0' || lastChar == '1' || lastChar == '6' || lastChar == '8') {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"lastChar == '0' || lastChar == '1' || lastChar == '6' || lastChar == '8'",
"lastChar == '6'",
"lastChar == '0' || lastChar == '1' || lastChar == '6' || lastChar == '8'",
"lastChar == '0'",
"lastChar",
"'0'",
"lastChar == '1'",
"lastChar",
"'1'",
"lastChar == '6'",
"lastChar",
"'6'",
"lastChar == '8'",
"lastChar",
"'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\tString N = sc.next();\n\n\t\t// 結果の出力\n\t\tchar lastChar = N.charAt(N.length() - 1);\n\t\tif (lastChar == '3') {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if (lastChar == '0' || lastChar == '1' || lastChar == '6' || lastChar == '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\tString N = sc.next();\n\n\t\t// 結果の出力\n\t\tchar lastChar = N.charAt(N.length() - 1);\n\t\tif (lastChar == '3') {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if (lastChar == '0' || lastChar == '1' || lastChar == '6' || lastChar == '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);
// 入力値の取得
String N = sc.next();
// 結果の出力
char lastChar = N.charAt(N.length() - 1);
if (lastChar == '3') {
System.out.println("bon");
} else if (lastChar == '0' || lastChar == '1' || lastChar == '6' || lastChar == '8') {
System.out.println("pon");
} else {
System.out.println("hon");
}
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
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,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
6,
13,
41,
13,
12,
13,
30,
41,
13,
20,
0,
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,
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,
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
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
10,
14
],
[
14,
15
],
[
10,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
10,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
25,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
35,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
24,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
10,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
10,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
10,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
10,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
83,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
79,
96
],
[
96,
97
],
[
0,
98
],
[
178,
99
],
[
178,
100
],
[
100,
101
],
[
178,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
108,
110
],
[
104,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
104,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
118,
120
],
[
104,
121
],
[
121,
122
],
[
125,
123
],
[
135,
124
],
[
132,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
129,
131
],
[
132,
132
],
[
132,
133
],
[
132,
134
],
[
135,
135
],
[
135,
136
],
[
135,
137
],
[
125,
138
],
[
138,
139
],
[
138,
140
],
[
121,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
121,
146
],
[
146,
147
],
[
149,
148
],
[
156,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
149,
153
],
[
153,
154
],
[
153,
155
],
[
156,
156
],
[
156,
157
],
[
156,
158
],
[
149,
159
],
[
159,
160
],
[
159,
161
],
[
146,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
163,
166
],
[
146,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
168,
171
],
[
104,
172
],
[
172,
173
],
[
173,
174
],
[
102,
175
],
[
175,
176
],
[
0,
177
],
[
177,
178
],
[
177,
179
]
] |
[
"import javax.swing.plaf.IconUIResource;\nimport java.io.*;\nimport java.util.*;\n\nclass MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\n}\n\n\n\npublic class Main {\n\n public static PrintWriter out;\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = sc.nextInt();\n int lastDigit = n%10;\n if (lastDigit==2||lastDigit==4||lastDigit==5||lastDigit==7||lastDigit==9){\n out.println(\"hon\");\n }else if (lastDigit==0||lastDigit==1||lastDigit==6||lastDigit==8){\n out.println(\"pon\");\n }else {\n out.println(\"bon\");\n }\n out.close();\n }\n\n}",
"import javax.swing.plaf.IconUIResource;",
"IconUIResource",
"javax.swing.plaf",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\n}",
"MyScanner",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"MyScanner",
"{\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() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"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",
"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",
"double nextDouble() {\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",
"String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = 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 str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n\n public static PrintWriter out;\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = sc.nextInt();\n int lastDigit = n%10;\n if (lastDigit==2||lastDigit==4||lastDigit==5||lastDigit==7||lastDigit==9){\n out.println(\"hon\");\n }else if (lastDigit==0||lastDigit==1||lastDigit==6||lastDigit==8){\n out.println(\"pon\");\n }else {\n out.println(\"bon\");\n }\n out.close();\n }\n\n}",
"Main",
"public static PrintWriter out;",
"out",
"public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = sc.nextInt();\n int lastDigit = n%10;\n if (lastDigit==2||lastDigit==4||lastDigit==5||lastDigit==7||lastDigit==9){\n out.println(\"hon\");\n }else if (lastDigit==0||lastDigit==1||lastDigit==6||lastDigit==8){\n out.println(\"pon\");\n }else {\n out.println(\"bon\");\n }\n out.close();\n }",
"main",
"{\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = sc.nextInt();\n int lastDigit = n%10;\n if (lastDigit==2||lastDigit==4||lastDigit==5||lastDigit==7||lastDigit==9){\n out.println(\"hon\");\n }else if (lastDigit==0||lastDigit==1||lastDigit==6||lastDigit==8){\n out.println(\"pon\");\n }else {\n out.println(\"bon\");\n }\n out.close();\n }",
"MyScanner sc = new MyScanner();",
"sc",
"new MyScanner()",
"out = new PrintWriter(new BufferedOutputStream(System.out))",
"out",
"new PrintWriter(new BufferedOutputStream(System.out))",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int lastDigit = n%10;",
"lastDigit",
"n%10",
"n",
"10",
"if (lastDigit==2||lastDigit==4||lastDigit==5||lastDigit==7||lastDigit==9){\n out.println(\"hon\");\n }else if (lastDigit==0||lastDigit==1||lastDigit==6||lastDigit==8){\n out.println(\"pon\");\n }else {\n out.println(\"bon\");\n }",
"lastDigit==2||lastDigit==4||lastDigit==5||lastDigit==7||lastDigit==9",
"lastDigit==7",
"lastDigit==5",
"lastDigit==2||lastDigit==4||lastDigit==5||lastDigit==7||lastDigit==9",
"lastDigit==2",
"lastDigit",
"2",
"lastDigit==4",
"lastDigit",
"4",
"lastDigit==5",
"lastDigit",
"5",
"lastDigit==7",
"lastDigit",
"7",
"lastDigit==9",
"lastDigit",
"9",
"{\n out.println(\"hon\");\n }",
"out.println(\"hon\")",
"out.println",
"out",
"\"hon\"",
"if (lastDigit==0||lastDigit==1||lastDigit==6||lastDigit==8){\n out.println(\"pon\");\n }else {\n out.println(\"bon\");\n }",
"lastDigit==0||lastDigit==1||lastDigit==6||lastDigit==8",
"lastDigit==6",
"lastDigit==0||lastDigit==1||lastDigit==6||lastDigit==8",
"lastDigit==0",
"lastDigit",
"0",
"lastDigit==1",
"lastDigit",
"1",
"lastDigit==6",
"lastDigit",
"6",
"lastDigit==8",
"lastDigit",
"8",
"{\n out.println(\"pon\");\n }",
"out.println(\"pon\")",
"out.println",
"out",
"\"pon\"",
"{\n out.println(\"bon\");\n }",
"out.println(\"bon\")",
"out.println",
"out",
"\"bon\"",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"public class Main {\n\n public static PrintWriter out;\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = sc.nextInt();\n int lastDigit = n%10;\n if (lastDigit==2||lastDigit==4||lastDigit==5||lastDigit==7||lastDigit==9){\n out.println(\"hon\");\n }else if (lastDigit==0||lastDigit==1||lastDigit==6||lastDigit==8){\n out.println(\"pon\");\n }else {\n out.println(\"bon\");\n }\n out.close();\n }\n\n}",
"public class Main {\n\n public static PrintWriter out;\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = sc.nextInt();\n int lastDigit = n%10;\n if (lastDigit==2||lastDigit==4||lastDigit==5||lastDigit==7||lastDigit==9){\n out.println(\"hon\");\n }else if (lastDigit==0||lastDigit==1||lastDigit==6||lastDigit==8){\n out.println(\"pon\");\n }else {\n out.println(\"bon\");\n }\n out.close();\n }\n\n}",
"Main"
] |
import javax.swing.plaf.IconUIResource;
import java.io.*;
import java.util.*;
class MyScanner {
BufferedReader br;
StringTokenizer st;
public MyScanner() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine(){
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
public class Main {
public static PrintWriter out;
public static void main(String[] args) {
MyScanner sc = new MyScanner();
out = new PrintWriter(new BufferedOutputStream(System.out));
int n = sc.nextInt();
int lastDigit = n%10;
if (lastDigit==2||lastDigit==4||lastDigit==5||lastDigit==7||lastDigit==9){
out.println("hon");
}else if (lastDigit==0||lastDigit==1||lastDigit==6||lastDigit==8){
out.println("pon");
}else {
out.println("bon");
}
out.close();
}
}
|
[
7,
6,
13,
12,
13,
30,
41,
13,
2,
4,
18,
20,
17,
41,
13,
39,
17,
17,
17,
17,
17,
41,
13,
39,
17,
17,
17,
17,
41,
13,
17,
41,
13,
2,
18,
13,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
3,
14,
2,
13,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
3,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
3,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
96,
2
],
[
96,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
8,
12
],
[
5,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
15,
18
],
[
15,
19
],
[
15,
20
],
[
5,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
23,
26
],
[
23,
27
],
[
5,
28
],
[
28,
29
],
[
28,
30
],
[
5,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
5,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
59,
66
],
[
53,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
67,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
73,
80
],
[
67,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
85,
92
],
[
3,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
] |
[
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tint num = new java.util.Scanner(System.in).nextInt()%10;\n\t\tint[] hon = {2,4,5,7,9};\n\t\tint[] pon = {0,1,6,8};\n\t\tint bon = 3;\n\t\tint times = hon.length+pon.length;\n\t\tfor ( int i=0 ; i<times ; i++ ) {\n\t\t\tif ( num == hon[i]) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t\t} else if ( num == pon[i] ) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\t} else if ( num == bon ) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tint num = new java.util.Scanner(System.in).nextInt()%10;\n\t\tint[] hon = {2,4,5,7,9};\n\t\tint[] pon = {0,1,6,8};\n\t\tint bon = 3;\n\t\tint times = hon.length+pon.length;\n\t\tfor ( int i=0 ; i<times ; i++ ) {\n\t\t\tif ( num == hon[i]) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t\t} else if ( num == pon[i] ) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\t} else if ( num == bon ) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tint num = new java.util.Scanner(System.in).nextInt()%10;\n\t\tint[] hon = {2,4,5,7,9};\n\t\tint[] pon = {0,1,6,8};\n\t\tint bon = 3;\n\t\tint times = hon.length+pon.length;\n\t\tfor ( int i=0 ; i<times ; i++ ) {\n\t\t\tif ( num == hon[i]) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t\t} else if ( num == pon[i] ) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\t} else if ( num == bon ) {\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\tint num = new java.util.Scanner(System.in).nextInt()%10;\n\t\tint[] hon = {2,4,5,7,9};\n\t\tint[] pon = {0,1,6,8};\n\t\tint bon = 3;\n\t\tint times = hon.length+pon.length;\n\t\tfor ( int i=0 ; i<times ; i++ ) {\n\t\t\tif ( num == hon[i]) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t\t} else if ( num == pon[i] ) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\t} else if ( num == bon ) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"int num = new java.util.Scanner(System.in).nextInt()%10;",
"num",
"new java.util.Scanner(System.in).nextInt()%10",
"new java.util.Scanner(System.in).nextInt()",
"new java.util.Scanner(System.in).nextInt",
"new java.util.Scanner(System.in)",
"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",
"int bon = 3;",
"bon",
"3",
"int times = hon.length+pon.length;",
"times",
"hon.length+pon.length",
"hon.length",
"hon",
"hon.length",
"pon.length",
"pon",
"pon.length",
"for ( int i=0 ; i<times ; i++ ) {\n\t\t\tif ( num == hon[i]) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t\t} else if ( num == pon[i] ) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\t} else if ( num == bon ) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i=0 ;",
"int i=0 ;",
"i",
"0",
"i<times",
"i",
"times",
"i++",
"i++",
"i",
"{\n\t\t\tif ( num == hon[i]) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t\t} else if ( num == pon[i] ) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\t} else if ( num == bon ) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif ( num == hon[i]) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t\t} else if ( num == pon[i] ) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\t} else if ( num == bon ) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if ( num == hon[i]) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t\t} else if ( num == pon[i] ) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\t} else if ( num == bon ) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\t}",
"num == hon[i]",
"num",
"hon[i]",
"hon",
"i",
"{\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"break;",
"if ( num == pon[i] ) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\t} else if ( num == bon ) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\t}",
"num == pon[i]",
"num",
"pon[i]",
"pon",
"i",
"{\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"if ( num == bon ) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\t}",
"num == bon",
"num",
"bon",
"{\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\t}",
"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\tint num = new java.util.Scanner(System.in).nextInt()%10;\n\t\tint[] hon = {2,4,5,7,9};\n\t\tint[] pon = {0,1,6,8};\n\t\tint bon = 3;\n\t\tint times = hon.length+pon.length;\n\t\tfor ( int i=0 ; i<times ; i++ ) {\n\t\t\tif ( num == hon[i]) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t\t} else if ( num == pon[i] ) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\t} else if ( num == bon ) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tint num = new java.util.Scanner(System.in).nextInt()%10;\n\t\tint[] hon = {2,4,5,7,9};\n\t\tint[] pon = {0,1,6,8};\n\t\tint bon = 3;\n\t\tint times = hon.length+pon.length;\n\t\tfor ( int i=0 ; i<times ; i++ ) {\n\t\t\tif ( num == hon[i]) {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t\tbreak;\n\t\t\t} else if ( num == pon[i] ) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t\tbreak;\n\t\t\t} else if ( num == bon ) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main"
] |
public class Main {
public static void main(String[] args) {
int num = new java.util.Scanner(System.in).nextInt()%10;
int[] hon = {2,4,5,7,9};
int[] pon = {0,1,6,8};
int bon = 3;
int times = hon.length+pon.length;
for ( int i=0 ; i<times ; i++ ) {
if ( num == hon[i]) {
System.out.println("hon");
break;
} else if ( num == pon[i] ) {
System.out.println("pon");
break;
} else if ( num == bon ) {
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,
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
],
[
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
],
[
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
],
[
76,
78
],
[
75,
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;\n\n/*\n * @author Tanzim Ibn Patowary\n * Created May 13, 2020 1:21:16 PM\n */\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint num = in.nextInt();\n\t\tint statement = 0;\n\t\tstatement = num%10;\n\t\tif (statement == 2 || statement == 4 || statement == 5 || statement == 7 || statement == 9) {\n\t\t\tSystem.out.print(\"hon\");\n\t\t} else if (statement == 0 || statement == 1 || statement == 6 || statement == 8) {\n\t\t\tSystem.out.print(\"pon\");\n\t\t} else if (statement == 3) {\n\t\t\tSystem.out.print(\"bon\");\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\tScanner in = new Scanner(System.in);\n\t\tint num = in.nextInt();\n\t\tint statement = 0;\n\t\tstatement = num%10;\n\t\tif (statement == 2 || statement == 4 || statement == 5 || statement == 7 || statement == 9) {\n\t\t\tSystem.out.print(\"hon\");\n\t\t} else if (statement == 0 || statement == 1 || statement == 6 || statement == 8) {\n\t\t\tSystem.out.print(\"pon\");\n\t\t} else if (statement == 3) {\n\t\t\tSystem.out.print(\"bon\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint num = in.nextInt();\n\t\tint statement = 0;\n\t\tstatement = num%10;\n\t\tif (statement == 2 || statement == 4 || statement == 5 || statement == 7 || statement == 9) {\n\t\t\tSystem.out.print(\"hon\");\n\t\t} else if (statement == 0 || statement == 1 || statement == 6 || statement == 8) {\n\t\t\tSystem.out.print(\"pon\");\n\t\t} else if (statement == 3) {\n\t\t\tSystem.out.print(\"bon\");\n\t\t}\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tint num = in.nextInt();\n\t\tint statement = 0;\n\t\tstatement = num%10;\n\t\tif (statement == 2 || statement == 4 || statement == 5 || statement == 7 || statement == 9) {\n\t\t\tSystem.out.print(\"hon\");\n\t\t} else if (statement == 0 || statement == 1 || statement == 6 || statement == 8) {\n\t\t\tSystem.out.print(\"pon\");\n\t\t} else if (statement == 3) {\n\t\t\tSystem.out.print(\"bon\");\n\t\t}\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int num = in.nextInt();",
"num",
"in.nextInt()",
"in.nextInt",
"in",
"int statement = 0;",
"statement",
"0",
"statement = num%10",
"statement",
"num%10",
"num",
"10",
"if (statement == 2 || statement == 4 || statement == 5 || statement == 7 || statement == 9) {\n\t\t\tSystem.out.print(\"hon\");\n\t\t} else if (statement == 0 || statement == 1 || statement == 6 || statement == 8) {\n\t\t\tSystem.out.print(\"pon\");\n\t\t} else if (statement == 3) {\n\t\t\tSystem.out.print(\"bon\");\n\t\t}",
"statement == 2 || statement == 4 || statement == 5 || statement == 7 || statement == 9",
"statement == 7",
"statement == 5",
"statement == 2 || statement == 4 || statement == 5 || statement == 7 || statement == 9",
"statement == 2",
"statement",
"2",
"statement == 4",
"statement",
"4",
"statement == 5",
"statement",
"5",
"statement == 7",
"statement",
"7",
"statement == 9",
"statement",
"9",
"{\n\t\t\tSystem.out.print(\"hon\");\n\t\t}",
"System.out.print(\"hon\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"hon\"",
"if (statement == 0 || statement == 1 || statement == 6 || statement == 8) {\n\t\t\tSystem.out.print(\"pon\");\n\t\t} else if (statement == 3) {\n\t\t\tSystem.out.print(\"bon\");\n\t\t}",
"statement == 0 || statement == 1 || statement == 6 || statement == 8",
"statement == 6",
"statement == 0 || statement == 1 || statement == 6 || statement == 8",
"statement == 0",
"statement",
"0",
"statement == 1",
"statement",
"1",
"statement == 6",
"statement",
"6",
"statement == 8",
"statement",
"8",
"{\n\t\t\tSystem.out.print(\"pon\");\n\t\t}",
"System.out.print(\"pon\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"pon\"",
"if (statement == 3) {\n\t\t\tSystem.out.print(\"bon\");\n\t\t}",
"statement == 3",
"statement",
"3",
"{\n\t\t\tSystem.out.print(\"bon\");\n\t\t}",
"System.out.print(\"bon\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint num = in.nextInt();\n\t\tint statement = 0;\n\t\tstatement = num%10;\n\t\tif (statement == 2 || statement == 4 || statement == 5 || statement == 7 || statement == 9) {\n\t\t\tSystem.out.print(\"hon\");\n\t\t} else if (statement == 0 || statement == 1 || statement == 6 || statement == 8) {\n\t\t\tSystem.out.print(\"pon\");\n\t\t} else if (statement == 3) {\n\t\t\tSystem.out.print(\"bon\");\n\t\t}\n\t}\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint num = in.nextInt();\n\t\tint statement = 0;\n\t\tstatement = num%10;\n\t\tif (statement == 2 || statement == 4 || statement == 5 || statement == 7 || statement == 9) {\n\t\t\tSystem.out.print(\"hon\");\n\t\t} else if (statement == 0 || statement == 1 || statement == 6 || statement == 8) {\n\t\t\tSystem.out.print(\"pon\");\n\t\t} else if (statement == 3) {\n\t\t\tSystem.out.print(\"bon\");\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Scanner;
/*
* @author Tanzim Ibn Patowary
* Created May 13, 2020 1:21:16 PM
*/
public class Main{
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int num = in.nextInt();
int statement = 0;
statement = num%10;
if (statement == 2 || statement == 4 || statement == 5 || statement == 7 || statement == 9) {
System.out.print("hon");
} else if (statement == 0 || statement == 1 || statement == 6 || statement == 8) {
System.out.print("pon");
} else if (statement == 3) {
System.out.print("bon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
41,
13,
2,
4,
18,
13,
17,
4,
18,
18,
13,
13,
8,
2,
18,
13,
13,
17,
17,
8,
2,
18,
13,
13,
17,
17,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
55,
5
],
[
55,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
14,
16
],
[
14,
17
],
[
14,
18
],
[
14,
19
],
[
14,
20
],
[
14,
21
],
[
14,
22
],
[
14,
23
],
[
14,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
27,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
37,
43
],
[
37,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
44,
50
],
[
44,
51
],
[
6,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] n = {1, 1, 0, 2, 0, 0, 1, 0, 1, 0};\n\t\tint a = sc.nextInt() % 10;\n\n\t\tSystem.out.println(n[a] == 0 ? \"hon\" : n[a] == 1 ? \"pon\" : \"bon\");\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] n = {1, 1, 0, 2, 0, 0, 1, 0, 1, 0};\n\t\tint a = sc.nextInt() % 10;\n\n\t\tSystem.out.println(n[a] == 0 ? \"hon\" : n[a] == 1 ? \"pon\" : \"bon\");\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] n = {1, 1, 0, 2, 0, 0, 1, 0, 1, 0};\n\t\tint a = sc.nextInt() % 10;\n\n\t\tSystem.out.println(n[a] == 0 ? \"hon\" : n[a] == 1 ? \"pon\" : \"bon\");\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] n = {1, 1, 0, 2, 0, 0, 1, 0, 1, 0};\n\t\tint a = sc.nextInt() % 10;\n\n\t\tSystem.out.println(n[a] == 0 ? \"hon\" : n[a] == 1 ? \"pon\" : \"bon\");\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] n = {1, 1, 0, 2, 0, 0, 1, 0, 1, 0};",
"n",
"{1, 1, 0, 2, 0, 0, 1, 0, 1, 0}",
"1",
"1",
"0",
"2",
"0",
"0",
"1",
"0",
"1",
"0",
"int a = sc.nextInt() % 10;",
"a",
"sc.nextInt() % 10",
"sc.nextInt()",
"sc.nextInt",
"sc",
"10",
"System.out.println(n[a] == 0 ? \"hon\" : n[a] == 1 ? \"pon\" : \"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"n[a] == 0 ? \"hon\" : n[a] == 1 ? \"pon\" : \"bon\"",
"n[a] == 0",
"n[a]",
"n",
"a",
"0",
"\"hon\"",
"n[a] == 1 ? \"pon\" : \"bon\"",
"n[a] == 1",
"n[a]",
"n",
"a",
"1",
"\"pon\"",
"\"bon\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] n = {1, 1, 0, 2, 0, 0, 1, 0, 1, 0};\n\t\tint a = sc.nextInt() % 10;\n\n\t\tSystem.out.println(n[a] == 0 ? \"hon\" : n[a] == 1 ? \"pon\" : \"bon\");\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] n = {1, 1, 0, 2, 0, 0, 1, 0, 1, 0};\n\t\tint a = sc.nextInt() % 10;\n\n\t\tSystem.out.println(n[a] == 0 ? \"hon\" : n[a] == 1 ? \"pon\" : \"bon\");\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 = {1, 1, 0, 2, 0, 0, 1, 0, 1, 0};
int a = sc.nextInt() % 10;
System.out.println(n[a] == 0 ? "hon" : n[a] == 1 ? "pon" : "bon");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
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,
30,
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
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
21,
23
],
[
8,
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
],
[
24,
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
],
[
51,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
74,
85
],
[
6,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
] |
[
"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 int digit;\n\n digit = n % 10;\n\n if (digit == 2 | digit == 4 | digit == 5 | digit == 7 | digit == 9){\n System.out.println(\"hon\");;\n\n } else if (digit == 0 | digit == 1 | digit == 6 | digit == 8){\n System.out.println(\"pon\");\n\n } else if (digit == 3){\n System.out.println(\"bon\");\n\n }else{\n \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 int digit;\n\n digit = n % 10;\n\n if (digit == 2 | digit == 4 | digit == 5 | digit == 7 | digit == 9){\n System.out.println(\"hon\");;\n\n } else if (digit == 0 | digit == 1 | digit == 6 | digit == 8){\n System.out.println(\"pon\");\n\n } else if (digit == 3){\n System.out.println(\"bon\");\n\n }else{\n \n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int digit;\n\n digit = n % 10;\n\n if (digit == 2 | digit == 4 | digit == 5 | digit == 7 | digit == 9){\n System.out.println(\"hon\");;\n\n } else if (digit == 0 | digit == 1 | digit == 6 | digit == 8){\n System.out.println(\"pon\");\n\n } else if (digit == 3){\n System.out.println(\"bon\");\n\n }else{\n \n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int digit;\n\n digit = n % 10;\n\n if (digit == 2 | digit == 4 | digit == 5 | digit == 7 | digit == 9){\n System.out.println(\"hon\");;\n\n } else if (digit == 0 | digit == 1 | digit == 6 | digit == 8){\n System.out.println(\"pon\");\n\n } else if (digit == 3){\n System.out.println(\"bon\");\n\n }else{\n \n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int digit;",
"digit",
"digit = n % 10",
"digit",
"n % 10",
"n",
"10",
"if (digit == 2 | digit == 4 | digit == 5 | digit == 7 | digit == 9){\n System.out.println(\"hon\");;\n\n } else if (digit == 0 | digit == 1 | digit == 6 | digit == 8){\n System.out.println(\"pon\");\n\n } else if (digit == 3){\n System.out.println(\"bon\");\n\n }else{\n \n }",
"digit == 2 | digit == 4 | digit == 5 | digit == 7 | digit == 9",
"digit == 7",
"digit == 5",
"digit == 2 | digit == 4 | digit == 5 | digit == 7 | digit == 9",
"digit == 2",
"digit",
"2",
"digit == 4",
"digit",
"4",
"digit == 5",
"digit",
"5",
"digit == 7",
"digit",
"7",
"digit == 9",
"digit",
"9",
"{\n System.out.println(\"hon\");;\n\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if (digit == 0 | digit == 1 | digit == 6 | digit == 8){\n System.out.println(\"pon\");\n\n } else if (digit == 3){\n System.out.println(\"bon\");\n\n }else{\n \n }",
"digit == 0 | digit == 1 | digit == 6 | digit == 8",
"digit == 6",
"digit == 0 | digit == 1 | digit == 6 | digit == 8",
"digit == 0",
"digit",
"0",
"digit == 1",
"digit",
"1",
"digit == 6",
"digit",
"6",
"digit == 8",
"digit",
"8",
"{\n System.out.println(\"pon\");\n\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if (digit == 3){\n System.out.println(\"bon\");\n\n }else{\n \n }",
"digit == 3",
"digit",
"3",
"{\n System.out.println(\"bon\");\n\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"{\n \n }",
"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 int digit;\n\n digit = n % 10;\n\n if (digit == 2 | digit == 4 | digit == 5 | digit == 7 | digit == 9){\n System.out.println(\"hon\");;\n\n } else if (digit == 0 | digit == 1 | digit == 6 | digit == 8){\n System.out.println(\"pon\");\n\n } else if (digit == 3){\n System.out.println(\"bon\");\n\n }else{\n \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 int digit;\n\n digit = n % 10;\n\n if (digit == 2 | digit == 4 | digit == 5 | digit == 7 | digit == 9){\n System.out.println(\"hon\");;\n\n } else if (digit == 0 | digit == 1 | digit == 6 | digit == 8){\n System.out.println(\"pon\");\n\n } else if (digit == 3){\n System.out.println(\"bon\");\n\n }else{\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();
int digit;
digit = n % 10;
if (digit == 2 | digit == 4 | digit == 5 | digit == 7 | digit == 9){
System.out.println("hon");;
} else if (digit == 0 | digit == 1 | digit == 6 | digit == 8){
System.out.println("pon");
} else if (digit == 3){
System.out.println("bon");
}else{
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
30,
41,
13,
4,
18,
13,
2,
4,
18,
13,
17,
41,
13,
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,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
94,
5
],
[
94,
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
],
[
23,
25
],
[
21,
26
],
[
17,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
33,
37
],
[
27,
38
],
[
38,
39
],
[
27,
40
],
[
40,
41
],
[
44,
42
],
[
54,
43
],
[
51,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
51,
51
],
[
51,
52
],
[
51,
53
],
[
54,
54
],
[
54,
55
],
[
54,
56
],
[
44,
57
],
[
57,
58
],
[
57,
59
],
[
40,
60
],
[
60,
61
],
[
60,
62
],
[
40,
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
],
[
79,
81
],
[
63,
82
],
[
82,
83
],
[
82,
84
],
[
27,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
6,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
]
] |
[
"import java.util.*;\n\npublic class Main{\n public static void main(String [] args){\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n if(s == null) System.out.println(\"\");\n else{\n \tchar c = s.charAt(s.length()-1);\n \tString str;\n\t\tif(c == '2' || c == '4' || c == '5' || c == '7' || c == '9') str = \"hon\";\n \telse if(c == '0' ||c == '1' || c == '6' || c =='8') str = \"pon\";\n \telse str = \"bon\";\n\t\tSystem.out.println(str);\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.nextLine();\n if(s == null) System.out.println(\"\");\n else{\n \tchar c = s.charAt(s.length()-1);\n \tString str;\n\t\tif(c == '2' || c == '4' || c == '5' || c == '7' || c == '9') str = \"hon\";\n \telse if(c == '0' ||c == '1' || c == '6' || c =='8') str = \"pon\";\n \telse str = \"bon\";\n\t\tSystem.out.println(str);\n }\n }\n}",
"Main",
"public static void main(String [] args){\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n if(s == null) System.out.println(\"\");\n else{\n \tchar c = s.charAt(s.length()-1);\n \tString str;\n\t\tif(c == '2' || c == '4' || c == '5' || c == '7' || c == '9') str = \"hon\";\n \telse if(c == '0' ||c == '1' || c == '6' || c =='8') str = \"pon\";\n \telse str = \"bon\";\n\t\tSystem.out.println(str);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n if(s == null) System.out.println(\"\");\n else{\n \tchar c = s.charAt(s.length()-1);\n \tString str;\n\t\tif(c == '2' || c == '4' || c == '5' || c == '7' || c == '9') str = \"hon\";\n \telse if(c == '0' ||c == '1' || c == '6' || c =='8') str = \"pon\";\n \telse str = \"bon\";\n\t\tSystem.out.println(str);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.nextLine();",
"s",
"sc.nextLine()",
"sc.nextLine",
"sc",
"if(s == null) System.out.println(\"\");\n else{\n \tchar c = s.charAt(s.length()-1);\n \tString str;\n\t\tif(c == '2' || c == '4' || c == '5' || c == '7' || c == '9') str = \"hon\";\n \telse if(c == '0' ||c == '1' || c == '6' || c =='8') str = \"pon\";\n \telse str = \"bon\";\n\t\tSystem.out.println(str);\n }",
"s == null",
"s",
"null",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"{\n \tchar c = s.charAt(s.length()-1);\n \tString str;\n\t\tif(c == '2' || c == '4' || c == '5' || c == '7' || c == '9') str = \"hon\";\n \telse if(c == '0' ||c == '1' || c == '6' || c =='8') str = \"pon\";\n \telse str = \"bon\";\n\t\tSystem.out.println(str);\n }",
"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",
"String str;",
"str",
"if(c == '2' || c == '4' || c == '5' || c == '7' || c == '9') str = \"hon\";\n \telse if(c == '0' ||c == '1' || c == '6' || c =='8') str = \"pon\";\n \telse str = \"bon\";",
"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'",
"str = \"hon\"",
"str",
"\"hon\"",
"if(c == '0' ||c == '1' || c == '6' || c =='8') str = \"pon\";\n \telse str = \"bon\";",
"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'",
"str = \"pon\"",
"str",
"\"pon\"",
"str = \"bon\"",
"str",
"\"bon\"",
"System.out.println(str)",
"System.out.println",
"System.out",
"System",
"System.out",
"str",
"String [] args",
"args",
"public class Main{\n public static void main(String [] args){\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n if(s == null) System.out.println(\"\");\n else{\n \tchar c = s.charAt(s.length()-1);\n \tString str;\n\t\tif(c == '2' || c == '4' || c == '5' || c == '7' || c == '9') str = \"hon\";\n \telse if(c == '0' ||c == '1' || c == '6' || c =='8') str = \"pon\";\n \telse str = \"bon\";\n\t\tSystem.out.println(str);\n }\n }\n}",
"public class Main{\n public static void main(String [] args){\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n if(s == null) System.out.println(\"\");\n else{\n \tchar c = s.charAt(s.length()-1);\n \tString str;\n\t\tif(c == '2' || c == '4' || c == '5' || c == '7' || c == '9') str = \"hon\";\n \telse if(c == '0' ||c == '1' || c == '6' || c =='8') str = \"pon\";\n \telse str = \"bon\";\n\t\tSystem.out.println(str);\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.nextLine();
if(s == null) System.out.println("");
else{
char c = s.charAt(s.length()-1);
String str;
if(c == '2' || c == '4' || c == '5' || c == '7' || c == '9') str = "hon";
else if(c == '0' ||c == '1' || c == '6' || c =='8') str = "pon";
else str = "bon";
System.out.println(str);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
18,
13,
2,
18,
13,
13,
17,
14,
4,
18,
4,
18,
13,
13,
13,
30,
4,
18,
18,
13,
13,
17,
14,
4,
18,
4,
18,
13,
13,
13,
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
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
41,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
40,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
56,
62
],
[
55,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
55,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
8,
77
],
[
77,
78
],
[
78,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n final Integer[] HonPT = new Integer[] {2, 4, 5, 7, 9};\n final Integer[] PonPT = new Integer[] {0, 1, 6, 8};\n Scanner scan = new Scanner(System.in);\n char[] n = scan.nextLine().toCharArray();\n Integer num = Integer.parseInt(String.valueOf(n[n.length - 1]));\n //System.out.println(num);\n \n if (Arrays.asList(HonPT).contains(num)) {\n System.out.println(\"hon\");\n } else if (Arrays.asList(PonPT).contains(num)) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"bon\");\n }\n\n scan.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n final Integer[] HonPT = new Integer[] {2, 4, 5, 7, 9};\n final Integer[] PonPT = new Integer[] {0, 1, 6, 8};\n Scanner scan = new Scanner(System.in);\n char[] n = scan.nextLine().toCharArray();\n Integer num = Integer.parseInt(String.valueOf(n[n.length - 1]));\n //System.out.println(num);\n \n if (Arrays.asList(HonPT).contains(num)) {\n System.out.println(\"hon\");\n } else if (Arrays.asList(PonPT).contains(num)) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"bon\");\n }\n\n scan.close();\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n final Integer[] HonPT = new Integer[] {2, 4, 5, 7, 9};\n final Integer[] PonPT = new Integer[] {0, 1, 6, 8};\n Scanner scan = new Scanner(System.in);\n char[] n = scan.nextLine().toCharArray();\n Integer num = Integer.parseInt(String.valueOf(n[n.length - 1]));\n //System.out.println(num);\n \n if (Arrays.asList(HonPT).contains(num)) {\n System.out.println(\"hon\");\n } else if (Arrays.asList(PonPT).contains(num)) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"bon\");\n }\n\n scan.close();\n }",
"main",
"{\n final Integer[] HonPT = new Integer[] {2, 4, 5, 7, 9};\n final Integer[] PonPT = new Integer[] {0, 1, 6, 8};\n Scanner scan = new Scanner(System.in);\n char[] n = scan.nextLine().toCharArray();\n Integer num = Integer.parseInt(String.valueOf(n[n.length - 1]));\n //System.out.println(num);\n \n if (Arrays.asList(HonPT).contains(num)) {\n System.out.println(\"hon\");\n } else if (Arrays.asList(PonPT).contains(num)) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"bon\");\n }\n\n scan.close();\n }",
"final Integer[] HonPT = new Integer[] {2, 4, 5, 7, 9};",
"HonPT",
"new Integer[] {2, 4, 5, 7, 9}",
"final Integer[] PonPT = new Integer[] {0, 1, 6, 8};",
"PonPT",
"new Integer[] {0, 1, 6, 8}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"char[] n = scan.nextLine().toCharArray();",
"n",
"scan.nextLine().toCharArray()",
"scan.nextLine().toCharArray",
"scan.nextLine()",
"scan.nextLine",
"scan",
"Integer num = Integer.parseInt(String.valueOf(n[n.length - 1]));",
"num",
"Integer.parseInt(String.valueOf(n[n.length - 1]))",
"Integer.parseInt",
"Integer",
"String.valueOf(n[n.length - 1])",
"String.valueOf",
"String",
"n[n.length - 1]",
"n",
"n.length - 1",
"n.length",
"n",
"n.length",
"1",
"if (Arrays.asList(HonPT).contains(num)) {\n System.out.println(\"hon\");\n } else if (Arrays.asList(PonPT).contains(num)) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"bon\");\n }",
"Arrays.asList(HonPT).contains(num)",
"Arrays.asList(HonPT).contains",
"Arrays.asList(HonPT)",
"Arrays.asList",
"Arrays",
"HonPT",
"num",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if (Arrays.asList(PonPT).contains(num)) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"bon\");\n }",
"Arrays.asList(PonPT).contains(num)",
"Arrays.asList(PonPT).contains",
"Arrays.asList(PonPT)",
"Arrays.asList",
"Arrays",
"PonPT",
"num",
"{\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\"",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n final Integer[] HonPT = new Integer[] {2, 4, 5, 7, 9};\n final Integer[] PonPT = new Integer[] {0, 1, 6, 8};\n Scanner scan = new Scanner(System.in);\n char[] n = scan.nextLine().toCharArray();\n Integer num = Integer.parseInt(String.valueOf(n[n.length - 1]));\n //System.out.println(num);\n \n if (Arrays.asList(HonPT).contains(num)) {\n System.out.println(\"hon\");\n } else if (Arrays.asList(PonPT).contains(num)) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"bon\");\n }\n\n scan.close();\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n final Integer[] HonPT = new Integer[] {2, 4, 5, 7, 9};\n final Integer[] PonPT = new Integer[] {0, 1, 6, 8};\n Scanner scan = new Scanner(System.in);\n char[] n = scan.nextLine().toCharArray();\n Integer num = Integer.parseInt(String.valueOf(n[n.length - 1]));\n //System.out.println(num);\n \n if (Arrays.asList(HonPT).contains(num)) {\n System.out.println(\"hon\");\n } else if (Arrays.asList(PonPT).contains(num)) {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"bon\");\n }\n\n scan.close();\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
final Integer[] HonPT = new Integer[] {2, 4, 5, 7, 9};
final Integer[] PonPT = new Integer[] {0, 1, 6, 8};
Scanner scan = new Scanner(System.in);
char[] n = scan.nextLine().toCharArray();
Integer num = Integer.parseInt(String.valueOf(n[n.length - 1]));
//System.out.println(num);
if (Arrays.asList(HonPT).contains(num)) {
System.out.println("hon");
} else if (Arrays.asList(PonPT).contains(num)) {
System.out.println("pon");
} else {
System.out.println("bon");
}
scan.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
69,
11
],
[
69,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
20,
24
],
[
14,
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
],
[
12,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] |
[
"import java.io.*;\nimport java.util.*;\nimport java.lang.*;\n\npublic class Main\n{\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt() % 10;\n if (n == 3) {\n System.out.println(\"bon\");\n }\n else if (n == 0 || n == 1 || n == 6 || n == 8) {\n System.out.println(\"pon\");\n }\n else {\n System.out.println(\"hon\");\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main\n{\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt() % 10;\n if (n == 3) {\n System.out.println(\"bon\");\n }\n else if (n == 0 || n == 1 || n == 6 || n == 8) {\n System.out.println(\"pon\");\n }\n else {\n System.out.println(\"hon\");\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt() % 10;\n if (n == 3) {\n System.out.println(\"bon\");\n }\n else if (n == 0 || n == 1 || n == 6 || n == 8) {\n System.out.println(\"pon\");\n }\n else {\n System.out.println(\"hon\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt() % 10;\n if (n == 3) {\n System.out.println(\"bon\");\n }\n else if (n == 0 || n == 1 || n == 6 || n == 8) {\n System.out.println(\"pon\");\n }\n else {\n System.out.println(\"hon\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt() % 10;",
"n",
"sc.nextInt() % 10",
"sc.nextInt()",
"sc.nextInt",
"sc",
"10",
"if (n == 3) {\n System.out.println(\"bon\");\n }\n else if (n == 0 || n == 1 || n == 6 || n == 8) {\n System.out.println(\"pon\");\n }\n else {\n System.out.println(\"hon\");\n }",
"n == 3",
"n",
"3",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if (n == 0 || n == 1 || n == 6 || n == 8) {\n System.out.println(\"pon\");\n }\n else {\n System.out.println(\"hon\");\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(\"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) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt() % 10;\n if (n == 3) {\n System.out.println(\"bon\");\n }\n else if (n == 0 || n == 1 || n == 6 || n == 8) {\n System.out.println(\"pon\");\n }\n else {\n System.out.println(\"hon\");\n }\n }\n}",
"public class Main\n{\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt() % 10;\n if (n == 3) {\n System.out.println(\"bon\");\n }\n else if (n == 0 || n == 1 || n == 6 || n == 8) {\n System.out.println(\"pon\");\n }\n else {\n System.out.println(\"hon\");\n }\n }\n}",
"Main"
] |
import java.io.*;
import java.util.*;
import java.lang.*;
public class Main
{
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt() % 10;
if (n == 3) {
System.out.println("bon");
}
else if (n == 0 || n == 1 || n == 6 || n == 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,
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,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
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
],
[
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
],
[
37,
35
],
[
47,
36
],
[
44,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
44,
44
],
[
44,
45
],
[
44,
46
],
[
47,
47
],
[
47,
48
],
[
47,
49
],
[
37,
50
],
[
50,
51
],
[
50,
52
],
[
33,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
33,
60
],
[
60,
61
],
[
63,
62
],
[
70,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
70,
70
],
[
70,
71
],
[
70,
72
],
[
63,
73
],
[
73,
74
],
[
73,
75
],
[
60,
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 public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int S = N % 10;\n if(S == 3){\n System.out.println(\"bon\");\n } else if (S == 2 || S == 4 || S == 5 || S == 7 || S == 9) {\n System.out.println(\"hon\");\n } else if (S == 0 || S == 1 || S == 6 || S == 8) {\n System.out.println(\"pon\");\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 int S = N % 10;\n if(S == 3){\n System.out.println(\"bon\");\n } else if (S == 2 || S == 4 || S == 5 || S == 7 || S == 9) {\n System.out.println(\"hon\");\n } else if (S == 0 || S == 1 || S == 6 || S == 8) {\n System.out.println(\"pon\");\n }\n }\n }",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int S = N % 10;\n if(S == 3){\n System.out.println(\"bon\");\n } else if (S == 2 || S == 4 || S == 5 || S == 7 || S == 9) {\n System.out.println(\"hon\");\n } else if (S == 0 || S == 1 || S == 6 || S == 8) {\n System.out.println(\"pon\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int S = N % 10;\n if(S == 3){\n System.out.println(\"bon\");\n } else if (S == 2 || S == 4 || S == 5 || S == 7 || S == 9) {\n System.out.println(\"hon\");\n } else if (S == 0 || S == 1 || S == 6 || S == 8) {\n System.out.println(\"pon\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int S = N % 10;",
"S",
"N % 10",
"N",
"10",
"if(S == 3){\n System.out.println(\"bon\");\n } else if (S == 2 || S == 4 || S == 5 || S == 7 || S == 9) {\n System.out.println(\"hon\");\n } else if (S == 0 || S == 1 || S == 6 || S == 8) {\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\"",
"if (S == 2 || S == 4 || S == 5 || S == 7 || S == 9) {\n System.out.println(\"hon\");\n } else if (S == 0 || S == 1 || S == 6 || S == 8) {\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 == 0 || S == 1 || S == 6 || S == 8) {\n System.out.println(\"pon\");\n }",
"S == 0 || S == 1 || S == 6 || S == 8",
"S == 6",
"S == 0 || S == 1 || S == 6 || S == 8",
"S == 0",
"S",
"0",
"S == 1",
"S",
"1",
"S == 6",
"S",
"6",
"S == 8",
"S",
"8",
"{\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 int N = sc.nextInt();\n int S = N % 10;\n if(S == 3){\n System.out.println(\"bon\");\n } else if (S == 2 || S == 4 || S == 5 || S == 7 || S == 9) {\n System.out.println(\"hon\");\n } else if (S == 0 || S == 1 || S == 6 || S == 8) {\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 int N = sc.nextInt();\n int S = N % 10;\n if(S == 3){\n System.out.println(\"bon\");\n } else if (S == 2 || S == 4 || S == 5 || S == 7 || S == 9) {\n System.out.println(\"hon\");\n } else if (S == 0 || S == 1 || S == 6 || S == 8) {\n System.out.println(\"pon\");\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();
int S = N % 10;
if(S == 3){
System.out.println("bon");
} else if (S == 2 || S == 4 || S == 5 || S == 7 || S == 9) {
System.out.println("hon");
} else if (S == 0 || S == 1 || S == 6 || S == 8) {
System.out.println("pon");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
17,
17,
41,
13,
17,
41,
13,
39,
39,
17,
17,
17,
17,
17,
39,
17,
17,
17,
17,
39,
17,
41,
13,
39,
17,
17,
17,
42,
17,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
18,
13,
13,
13,
1,
40,
13,
30,
14,
2,
13,
18,
18,
13,
13,
13,
0,
13,
13,
3,
4,
18,
18,
13,
13,
18,
13,
13,
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
],
[
20,
22
],
[
19,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
30,
33
],
[
30,
34
],
[
30,
35
],
[
29,
36
],
[
36,
37
],
[
36,
38
],
[
36,
39
],
[
36,
40
],
[
29,
41
],
[
41,
42
],
[
8,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
45,
48
],
[
8,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
64,
76
],
[
76,
77
],
[
77,
78
],
[
64,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
80,
88
],
[
88,
89
],
[
88,
90
],
[
51,
91
],
[
8,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
97,
98
],
[
97,
99
],
[
6,
100
],
[
100,
101
],
[
0,
102
],
[
102,
103
],
[
102,
104
]
] |
[
"import java.util.Scanner;\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\tint a=(N%100)%10;\n\t\tint b=0;\n\t\tint[][] c= {{2,4,5,7,9},{0,1,6,8},{3}};\n\t\tString[] d= {\"hon\",\"pon\",\"bon\"};\n\t\twhile(true) {\n\t\t\tfor(int i=0;i<3;i++)\n\t\t\t\tfor(int j=0;j<c[i].length;j++)\n\t\t\t\t\tif(a==c[i][j])\n\t\t\t\t\t\tb=i;\n\t\t\t\t\t\tbreak;\n\t\t}\n\t\tSystem.out.print(d[b]);\n\t}\n\n}",
"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 N=scan.nextInt();\n\t\tint a=(N%100)%10;\n\t\tint b=0;\n\t\tint[][] c= {{2,4,5,7,9},{0,1,6,8},{3}};\n\t\tString[] d= {\"hon\",\"pon\",\"bon\"};\n\t\twhile(true) {\n\t\t\tfor(int i=0;i<3;i++)\n\t\t\t\tfor(int j=0;j<c[i].length;j++)\n\t\t\t\t\tif(a==c[i][j])\n\t\t\t\t\t\tb=i;\n\t\t\t\t\t\tbreak;\n\t\t}\n\t\tSystem.out.print(d[b]);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan =new Scanner(System.in);\n\t\tint N=scan.nextInt();\n\t\tint a=(N%100)%10;\n\t\tint b=0;\n\t\tint[][] c= {{2,4,5,7,9},{0,1,6,8},{3}};\n\t\tString[] d= {\"hon\",\"pon\",\"bon\"};\n\t\twhile(true) {\n\t\t\tfor(int i=0;i<3;i++)\n\t\t\t\tfor(int j=0;j<c[i].length;j++)\n\t\t\t\t\tif(a==c[i][j])\n\t\t\t\t\t\tb=i;\n\t\t\t\t\t\tbreak;\n\t\t}\n\t\tSystem.out.print(d[b]);\n\t}",
"main",
"{\n\t\tScanner scan =new Scanner(System.in);\n\t\tint N=scan.nextInt();\n\t\tint a=(N%100)%10;\n\t\tint b=0;\n\t\tint[][] c= {{2,4,5,7,9},{0,1,6,8},{3}};\n\t\tString[] d= {\"hon\",\"pon\",\"bon\"};\n\t\twhile(true) {\n\t\t\tfor(int i=0;i<3;i++)\n\t\t\t\tfor(int j=0;j<c[i].length;j++)\n\t\t\t\t\tif(a==c[i][j])\n\t\t\t\t\t\tb=i;\n\t\t\t\t\t\tbreak;\n\t\t}\n\t\tSystem.out.print(d[b]);\n\t}",
"Scanner scan =new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int N=scan.nextInt();",
"N",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int a=(N%100)%10;",
"a",
"(N%100)%10",
"(N%100)",
"N",
"100",
"10",
"int b=0;",
"b",
"0",
"int[][] c= {{2,4,5,7,9},{0,1,6,8},{3}};",
"c",
"{{2,4,5,7,9},{0,1,6,8},{3}}",
"{2,4,5,7,9}",
"2",
"4",
"5",
"7",
"9",
"{0,1,6,8}",
"0",
"1",
"6",
"8",
"{3}",
"3",
"String[] d= {\"hon\",\"pon\",\"bon\"};",
"d",
"{\"hon\",\"pon\",\"bon\"}",
"\"hon\"",
"\"pon\"",
"\"bon\"",
"while(true) {\n\t\t\tfor(int i=0;i<3;i++)\n\t\t\t\tfor(int j=0;j<c[i].length;j++)\n\t\t\t\t\tif(a==c[i][j])\n\t\t\t\t\t\tb=i;\n\t\t\t\t\t\tbreak;\n\t\t}",
"true",
"{\n\t\t\tfor(int i=0;i<3;i++)\n\t\t\t\tfor(int j=0;j<c[i].length;j++)\n\t\t\t\t\tif(a==c[i][j])\n\t\t\t\t\t\tb=i;\n\t\t\t\t\t\tbreak;\n\t\t}",
"for(int i=0;i<3;i++)\n\t\t\t\tfor(int j=0;j<c[i].length;j++)\n\t\t\t\t\tif(a==c[i][j])\n\t\t\t\t\t\tb=i;",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"for(int j=0;j<c[i].length;j++)\n\t\t\t\t\tif(a==c[i][j])\n\t\t\t\t\t\tb=i;",
"for(int j=0;j<c[i].length;j++)\n\t\t\t\t\tif(a==c[i][j])\n\t\t\t\t\t\tb=i;",
"int j=0;",
"int j=0;",
"j",
"0",
"j<c[i].length",
"j",
"c[i].length",
"c[i]",
"c",
"i",
"c[i].length",
"j++",
"j++",
"j",
"if(a==c[i][j])\n\t\t\t\t\t\tb=i;",
"if(a==c[i][j])\n\t\t\t\t\t\tb=i;",
"a==c[i][j]",
"a",
"c[i][j]",
"c[i]",
"c",
"i",
"j",
"b=i",
"b",
"i",
"break;",
"System.out.print(d[b])",
"System.out.print",
"System.out",
"System",
"System.out",
"d[b]",
"d",
"b",
"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\tint a=(N%100)%10;\n\t\tint b=0;\n\t\tint[][] c= {{2,4,5,7,9},{0,1,6,8},{3}};\n\t\tString[] d= {\"hon\",\"pon\",\"bon\"};\n\t\twhile(true) {\n\t\t\tfor(int i=0;i<3;i++)\n\t\t\t\tfor(int j=0;j<c[i].length;j++)\n\t\t\t\t\tif(a==c[i][j])\n\t\t\t\t\t\tb=i;\n\t\t\t\t\t\tbreak;\n\t\t}\n\t\tSystem.out.print(d[b]);\n\t}\n\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\tint a=(N%100)%10;\n\t\tint b=0;\n\t\tint[][] c= {{2,4,5,7,9},{0,1,6,8},{3}};\n\t\tString[] d= {\"hon\",\"pon\",\"bon\"};\n\t\twhile(true) {\n\t\t\tfor(int i=0;i<3;i++)\n\t\t\t\tfor(int j=0;j<c[i].length;j++)\n\t\t\t\t\tif(a==c[i][j])\n\t\t\t\t\t\tb=i;\n\t\t\t\t\t\tbreak;\n\t\t}\n\t\tSystem.out.print(d[b]);\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();
int a=(N%100)%10;
int b=0;
int[][] c= {{2,4,5,7,9},{0,1,6,8},{3}};
String[] d= {"hon","pon","bon"};
while(true) {
for(int i=0;i<3;i++)
for(int j=0;j<c[i].length;j++)
if(a==c[i][j])
b=i;
break;
}
System.out.print(d[b]);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
0,
13,
2,
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
],
[
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
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
21,
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.*;\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 name;\n N = N%10;\n if(N==3){\n name=\"bon\";\n }else if(N==0 || N==1 || N==6 || N==8){\n name = \"pon\";\n }else{\n name = \"hon\";\n }\n System.out.println(name);\n \n }\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 String name;\n N = N%10;\n if(N==3){\n name=\"bon\";\n }else if(N==0 || N==1 || N==6 || N==8){\n name = \"pon\";\n }else{\n name = \"hon\";\n }\n System.out.println(name);\n \n }\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 name;\n N = N%10;\n if(N==3){\n name=\"bon\";\n }else if(N==0 || N==1 || N==6 || N==8){\n name = \"pon\";\n }else{\n name = \"hon\";\n }\n System.out.println(name);\n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n String name;\n N = N%10;\n if(N==3){\n name=\"bon\";\n }else if(N==0 || N==1 || N==6 || N==8){\n name = \"pon\";\n }else{\n name = \"hon\";\n }\n System.out.println(name);\n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String name;",
"name",
"N = N%10",
"N",
"N%10",
"N",
"10",
"if(N==3){\n name=\"bon\";\n }else if(N==0 || N==1 || N==6 || N==8){\n name = \"pon\";\n }else{\n name = \"hon\";\n }",
"N==3",
"N",
"3",
"{\n name=\"bon\";\n }",
"name=\"bon\"",
"name",
"\"bon\"",
"if(N==0 || N==1 || N==6 || N==8){\n name = \"pon\";\n }else{\n name = \"hon\";\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 name = \"pon\";\n }",
"name = \"pon\"",
"name",
"\"pon\"",
"{\n name = \"hon\";\n }",
"name = \"hon\"",
"name",
"\"hon\"",
"System.out.println(name)",
"System.out.println",
"System.out",
"System",
"System.out",
"name",
"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 name;\n N = N%10;\n if(N==3){\n name=\"bon\";\n }else if(N==0 || N==1 || N==6 || N==8){\n name = \"pon\";\n }else{\n name = \"hon\";\n }\n System.out.println(name);\n \n }\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 name;\n N = N%10;\n if(N==3){\n name=\"bon\";\n }else if(N==0 || N==1 || N==6 || N==8){\n name = \"pon\";\n }else{\n name = \"hon\";\n }\n System.out.println(name);\n \n }\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();
String name;
N = N%10;
if(N==3){
name="bon";
}else if(N==0 || N==1 || N==6 || N==8){
name = "pon";
}else{
name = "hon";
}
System.out.println(name);
}
}
|
[
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,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
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,
4,
18,
13,
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
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
20,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
38,
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
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
49,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
8,
79
],
[
79,
80
],
[
80,
81
],
[
6,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sr=new Scanner(System.in) ;\n\t\t\tint N=sr.nextInt();\n\t\t\tint a=0;\n\t\t\tif(N>=10) {\n\t\t\t\t a=N%10;\n\t\t\t}else if(N<10) {\n\t\t\t\t a=N;\n\t\t\t};\n\n\t\t\tif(a==3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(a==0||a==1||a==6||a==8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tsr.close();\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sr=new Scanner(System.in) ;\n\t\t\tint N=sr.nextInt();\n\t\t\tint a=0;\n\t\t\tif(N>=10) {\n\t\t\t\t a=N%10;\n\t\t\t}else if(N<10) {\n\t\t\t\t a=N;\n\t\t\t};\n\n\t\t\tif(a==3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(a==0||a==1||a==6||a==8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tsr.close();\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sr=new Scanner(System.in) ;\n\t\t\tint N=sr.nextInt();\n\t\t\tint a=0;\n\t\t\tif(N>=10) {\n\t\t\t\t a=N%10;\n\t\t\t}else if(N<10) {\n\t\t\t\t a=N;\n\t\t\t};\n\n\t\t\tif(a==3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(a==0||a==1||a==6||a==8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tsr.close();\n\n\t}",
"main",
"{\n\n\t\tScanner sr=new Scanner(System.in) ;\n\t\t\tint N=sr.nextInt();\n\t\t\tint a=0;\n\t\t\tif(N>=10) {\n\t\t\t\t a=N%10;\n\t\t\t}else if(N<10) {\n\t\t\t\t a=N;\n\t\t\t};\n\n\t\t\tif(a==3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(a==0||a==1||a==6||a==8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tsr.close();\n\n\t}",
"Scanner sr=new Scanner(System.in) ;",
"sr",
"new Scanner(System.in)",
"int N=sr.nextInt();",
"N",
"sr.nextInt()",
"sr.nextInt",
"sr",
"int a=0;",
"a",
"0",
"if(N>=10) {\n\t\t\t\t a=N%10;\n\t\t\t}else if(N<10) {\n\t\t\t\t a=N;\n\t\t\t}",
"N>=10",
"N",
"10",
"{\n\t\t\t\t a=N%10;\n\t\t\t}",
"a=N%10",
"a",
"N%10",
"N",
"10",
"if(N<10) {\n\t\t\t\t a=N;\n\t\t\t}",
"N<10",
"N",
"10",
"{\n\t\t\t\t a=N;\n\t\t\t}",
"a=N",
"a",
"N",
"if(a==3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(a==0||a==1||a==6||a==8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}",
"a==3",
"a",
"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(a==0||a==1||a==6||a==8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\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\tSystem.out.println(\"pon\");\n\t\t\t}",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\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\"",
"sr.close()",
"sr.close",
"sr",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sr=new Scanner(System.in) ;\n\t\t\tint N=sr.nextInt();\n\t\t\tint a=0;\n\t\t\tif(N>=10) {\n\t\t\t\t a=N%10;\n\t\t\t}else if(N<10) {\n\t\t\t\t a=N;\n\t\t\t};\n\n\t\t\tif(a==3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(a==0||a==1||a==6||a==8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tsr.close();\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sr=new Scanner(System.in) ;\n\t\t\tint N=sr.nextInt();\n\t\t\tint a=0;\n\t\t\tif(N>=10) {\n\t\t\t\t a=N%10;\n\t\t\t}else if(N<10) {\n\t\t\t\t a=N;\n\t\t\t};\n\n\t\t\tif(a==3) {\n\t\t\t\tSystem.out.println(\"bon\");\n\t\t\t}else if(a==0||a==1||a==6||a==8) {\n\t\t\t\tSystem.out.println(\"pon\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"hon\");\n\t\t\t}\n\t\t\tsr.close();\n\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sr=new Scanner(System.in) ;
int N=sr.nextInt();
int a=0;
if(N>=10) {
a=N%10;
}else if(N<10) {
a=N;
};
if(a==3) {
System.out.println("bon");
}else if(a==0||a==1||a==6||a==8) {
System.out.println("pon");
}else {
System.out.println("hon");
}
sr.close();
}
}
|
[
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,
14,
2,
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
],
[
92,
5
],
[
92,
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
],
[
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
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
8,
86
],
[
86,
87
],
[
87,
88
],
[
6,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String args[]){\n\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.next());\n \n int ones = N % 10;\n\n if(ones == 2 || ones == 4 || ones == 5 || ones == 7 || ones == 9 ){\n System.out.println(\"hon\");\n }\n else if(ones == 0 || ones == 1 || ones == 6 || ones == 8){\n System.out.println(\"pon\");\n }else if(ones == 3){\n System.out.println(\"bon\");\n }\n sc.close();\n \n }\n \n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String args[]){\n\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.next());\n \n int ones = N % 10;\n\n if(ones == 2 || ones == 4 || ones == 5 || ones == 7 || ones == 9 ){\n System.out.println(\"hon\");\n }\n else if(ones == 0 || ones == 1 || ones == 6 || ones == 8){\n System.out.println(\"pon\");\n }else if(ones == 3){\n System.out.println(\"bon\");\n }\n sc.close();\n \n }\n \n}",
"Main",
"public static void main(String args[]){\n\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.next());\n \n int ones = N % 10;\n\n if(ones == 2 || ones == 4 || ones == 5 || ones == 7 || ones == 9 ){\n System.out.println(\"hon\");\n }\n else if(ones == 0 || ones == 1 || ones == 6 || ones == 8){\n System.out.println(\"pon\");\n }else if(ones == 3){\n System.out.println(\"bon\");\n }\n sc.close();\n \n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.next());\n \n int ones = N % 10;\n\n if(ones == 2 || ones == 4 || ones == 5 || ones == 7 || ones == 9 ){\n System.out.println(\"hon\");\n }\n else if(ones == 0 || ones == 1 || ones == 6 || ones == 8){\n System.out.println(\"pon\");\n }else if(ones == 3){\n System.out.println(\"bon\");\n }\n sc.close();\n \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",
"int ones = N % 10;",
"ones",
"N % 10",
"N",
"10",
"if(ones == 2 || ones == 4 || ones == 5 || ones == 7 || ones == 9 ){\n System.out.println(\"hon\");\n }\n else if(ones == 0 || ones == 1 || ones == 6 || ones == 8){\n System.out.println(\"pon\");\n }else if(ones == 3){\n System.out.println(\"bon\");\n }",
"ones == 2 || ones == 4 || ones == 5 || ones == 7 || ones == 9",
"ones == 7",
"ones == 5",
"ones == 2 || ones == 4 || ones == 5 || ones == 7 || ones == 9",
"ones == 2",
"ones",
"2",
"ones == 4",
"ones",
"4",
"ones == 5",
"ones",
"5",
"ones == 7",
"ones",
"7",
"ones == 9",
"ones",
"9",
"{\n System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(ones == 0 || ones == 1 || ones == 6 || ones == 8){\n System.out.println(\"pon\");\n }else if(ones == 3){\n System.out.println(\"bon\");\n }",
"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",
"{\n System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if(ones == 3){\n System.out.println(\"bon\");\n }",
"ones == 3",
"ones",
"3",
"{\n System.out.println(\"bon\");\n }",
"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 public static void main(String args[]){\n\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.next());\n \n int ones = N % 10;\n\n if(ones == 2 || ones == 4 || ones == 5 || ones == 7 || ones == 9 ){\n System.out.println(\"hon\");\n }\n else if(ones == 0 || ones == 1 || ones == 6 || ones == 8){\n System.out.println(\"pon\");\n }else if(ones == 3){\n System.out.println(\"bon\");\n }\n sc.close();\n \n }\n \n}",
"public class Main {\n\n public static void main(String args[]){\n\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.next());\n \n int ones = N % 10;\n\n if(ones == 2 || ones == 4 || ones == 5 || ones == 7 || ones == 9 ){\n System.out.println(\"hon\");\n }\n else if(ones == 0 || ones == 1 || ones == 6 || ones == 8){\n System.out.println(\"pon\");\n }else if(ones == 3){\n System.out.println(\"bon\");\n }\n sc.close();\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 = Integer.parseInt(sc.next());
int ones = N % 10;
if(ones == 2 || ones == 4 || ones == 5 || ones == 7 || ones == 9 ){
System.out.println("hon");
}
else if(ones == 0 || ones == 1 || ones == 6 || ones == 8){
System.out.println("pon");
}else if(ones == 3){
System.out.println("bon");
}
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
2,
4,
18,
13,
17,
4,
18,
18,
13,
13,
8,
2,
18,
13,
13,
17,
17,
8,
2,
18,
13,
13,
17,
17,
17,
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
],
[
14,
16
],
[
14,
17
],
[
14,
18
],
[
14,
19
],
[
14,
20
],
[
14,
21
],
[
14,
22
],
[
14,
23
],
[
14,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
38,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
48,
54
],
[
48,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
55,
61
],
[
55,
62
],
[
6,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] n = {1, 1, 0, 2, 0, 0, 1, 0, 1, 0};\n\t\tString a = sc.next();\n\t\tint b = Integer.parseInt(a.substring(a.length() - 1));\n\n\t\tSystem.out.println(n[b] == 0 ? \"hon\" : n[b] == 1 ? \"pon\" : \"bon\");\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] n = {1, 1, 0, 2, 0, 0, 1, 0, 1, 0};\n\t\tString a = sc.next();\n\t\tint b = Integer.parseInt(a.substring(a.length() - 1));\n\n\t\tSystem.out.println(n[b] == 0 ? \"hon\" : n[b] == 1 ? \"pon\" : \"bon\");\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] n = {1, 1, 0, 2, 0, 0, 1, 0, 1, 0};\n\t\tString a = sc.next();\n\t\tint b = Integer.parseInt(a.substring(a.length() - 1));\n\n\t\tSystem.out.println(n[b] == 0 ? \"hon\" : n[b] == 1 ? \"pon\" : \"bon\");\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] n = {1, 1, 0, 2, 0, 0, 1, 0, 1, 0};\n\t\tString a = sc.next();\n\t\tint b = Integer.parseInt(a.substring(a.length() - 1));\n\n\t\tSystem.out.println(n[b] == 0 ? \"hon\" : n[b] == 1 ? \"pon\" : \"bon\");\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] n = {1, 1, 0, 2, 0, 0, 1, 0, 1, 0};",
"n",
"{1, 1, 0, 2, 0, 0, 1, 0, 1, 0}",
"1",
"1",
"0",
"2",
"0",
"0",
"1",
"0",
"1",
"0",
"String a = sc.next();",
"a",
"sc.next()",
"sc.next",
"sc",
"int b = Integer.parseInt(a.substring(a.length() - 1));",
"b",
"Integer.parseInt(a.substring(a.length() - 1))",
"Integer.parseInt",
"Integer",
"a.substring(a.length() - 1)",
"a.substring",
"a",
"a.length() - 1",
"a.length()",
"a.length",
"a",
"1",
"System.out.println(n[b] == 0 ? \"hon\" : n[b] == 1 ? \"pon\" : \"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"n[b] == 0 ? \"hon\" : n[b] == 1 ? \"pon\" : \"bon\"",
"n[b] == 0",
"n[b]",
"n",
"b",
"0",
"\"hon\"",
"n[b] == 1 ? \"pon\" : \"bon\"",
"n[b] == 1",
"n[b]",
"n",
"b",
"1",
"\"pon\"",
"\"bon\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] n = {1, 1, 0, 2, 0, 0, 1, 0, 1, 0};\n\t\tString a = sc.next();\n\t\tint b = Integer.parseInt(a.substring(a.length() - 1));\n\n\t\tSystem.out.println(n[b] == 0 ? \"hon\" : n[b] == 1 ? \"pon\" : \"bon\");\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] n = {1, 1, 0, 2, 0, 0, 1, 0, 1, 0};\n\t\tString a = sc.next();\n\t\tint b = Integer.parseInt(a.substring(a.length() - 1));\n\n\t\tSystem.out.println(n[b] == 0 ? \"hon\" : n[b] == 1 ? \"pon\" : \"bon\");\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 = {1, 1, 0, 2, 0, 0, 1, 0, 1, 0};
String a = sc.next();
int b = Integer.parseInt(a.substring(a.length() - 1));
System.out.println(n[b] == 0 ? "hon" : n[b] == 1 ? "pon" : "bon");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
13,
30,
0,
13,
17,
0,
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,
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
],
[
93,
5
],
[
93,
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
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
36,
34
],
[
46,
35
],
[
43,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
43,
43
],
[
43,
44
],
[
43,
45
],
[
46,
46
],
[
46,
47
],
[
46,
48
],
[
36,
49
],
[
49,
50
],
[
49,
51
],
[
32,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
32,
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
],
[
73,
75
],
[
56,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
8,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
6,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] |
[
"import java.util.*;\npublic class Main{\n\tpublic static void main(String args[]){\n\t\t\n\t\tScanner ob = new Scanner(System.in);\n\t\tint N = ob.nextInt();\n\t\tboolean C = true; \n\t\tString R = \"\";\n\t\t\n\t\twhile(C){\n\t\t\tN %= 10;\n\t\t\tC = false;\n\t\t}\n\t\t\n\t\tif((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N ==9)){\n\t\t\tR += \"hon\";\n\t\t}\n\t\telse if((N == 0) || (N == 1) || (N == 6) || (N == 8)){\n\t\t\tR += \"pon\";\n\t\t}\n\t\telse if(N == 3){\n\t\t\tR += \"bon\";\n\t\t}\n\t\tSystem.out.println(R);\n\t\t//R = \"\";\n\t\t//C = true;\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String args[]){\n\t\t\n\t\tScanner ob = new Scanner(System.in);\n\t\tint N = ob.nextInt();\n\t\tboolean C = true; \n\t\tString R = \"\";\n\t\t\n\t\twhile(C){\n\t\t\tN %= 10;\n\t\t\tC = false;\n\t\t}\n\t\t\n\t\tif((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N ==9)){\n\t\t\tR += \"hon\";\n\t\t}\n\t\telse if((N == 0) || (N == 1) || (N == 6) || (N == 8)){\n\t\t\tR += \"pon\";\n\t\t}\n\t\telse if(N == 3){\n\t\t\tR += \"bon\";\n\t\t}\n\t\tSystem.out.println(R);\n\t\t//R = \"\";\n\t\t//C = true;\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\t\n\t\tScanner ob = new Scanner(System.in);\n\t\tint N = ob.nextInt();\n\t\tboolean C = true; \n\t\tString R = \"\";\n\t\t\n\t\twhile(C){\n\t\t\tN %= 10;\n\t\t\tC = false;\n\t\t}\n\t\t\n\t\tif((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N ==9)){\n\t\t\tR += \"hon\";\n\t\t}\n\t\telse if((N == 0) || (N == 1) || (N == 6) || (N == 8)){\n\t\t\tR += \"pon\";\n\t\t}\n\t\telse if(N == 3){\n\t\t\tR += \"bon\";\n\t\t}\n\t\tSystem.out.println(R);\n\t\t//R = \"\";\n\t\t//C = true;\n\t}",
"main",
"{\n\t\t\n\t\tScanner ob = new Scanner(System.in);\n\t\tint N = ob.nextInt();\n\t\tboolean C = true; \n\t\tString R = \"\";\n\t\t\n\t\twhile(C){\n\t\t\tN %= 10;\n\t\t\tC = false;\n\t\t}\n\t\t\n\t\tif((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N ==9)){\n\t\t\tR += \"hon\";\n\t\t}\n\t\telse if((N == 0) || (N == 1) || (N == 6) || (N == 8)){\n\t\t\tR += \"pon\";\n\t\t}\n\t\telse if(N == 3){\n\t\t\tR += \"bon\";\n\t\t}\n\t\tSystem.out.println(R);\n\t\t//R = \"\";\n\t\t//C = true;\n\t}",
"Scanner ob = new Scanner(System.in);",
"ob",
"new Scanner(System.in)",
"int N = ob.nextInt();",
"N",
"ob.nextInt()",
"ob.nextInt",
"ob",
"boolean C = true;",
"C",
"true",
"String R = \"\";",
"R",
"\"\"",
"while(C){\n\t\t\tN %= 10;\n\t\t\tC = false;\n\t\t}",
"C",
"{\n\t\t\tN %= 10;\n\t\t\tC = false;\n\t\t}",
"N %= 10",
"N",
"10",
"C = false",
"C",
"false",
"if((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N ==9)){\n\t\t\tR += \"hon\";\n\t\t}\n\t\telse if((N == 0) || (N == 1) || (N == 6) || (N == 8)){\n\t\t\tR += \"pon\";\n\t\t}\n\t\telse if(N == 3){\n\t\t\tR += \"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\tR += \"hon\";\n\t\t}",
"R += \"hon\"",
"R",
"\"hon\"",
"if((N == 0) || (N == 1) || (N == 6) || (N == 8)){\n\t\t\tR += \"pon\";\n\t\t}\n\t\telse if(N == 3){\n\t\t\tR += \"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\tR += \"pon\";\n\t\t}",
"R += \"pon\"",
"R",
"\"pon\"",
"if(N == 3){\n\t\t\tR += \"bon\";\n\t\t}",
"N == 3",
"N",
"3",
"{\n\t\t\tR += \"bon\";\n\t\t}",
"R += \"bon\"",
"R",
"\"bon\"",
"System.out.println(R)",
"System.out.println",
"System.out",
"System",
"System.out",
"R",
"String args[]",
"args",
"public class Main{\n\tpublic static void main(String args[]){\n\t\t\n\t\tScanner ob = new Scanner(System.in);\n\t\tint N = ob.nextInt();\n\t\tboolean C = true; \n\t\tString R = \"\";\n\t\t\n\t\twhile(C){\n\t\t\tN %= 10;\n\t\t\tC = false;\n\t\t}\n\t\t\n\t\tif((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N ==9)){\n\t\t\tR += \"hon\";\n\t\t}\n\t\telse if((N == 0) || (N == 1) || (N == 6) || (N == 8)){\n\t\t\tR += \"pon\";\n\t\t}\n\t\telse if(N == 3){\n\t\t\tR += \"bon\";\n\t\t}\n\t\tSystem.out.println(R);\n\t\t//R = \"\";\n\t\t//C = true;\n\t}\n}",
"public class Main{\n\tpublic static void main(String args[]){\n\t\t\n\t\tScanner ob = new Scanner(System.in);\n\t\tint N = ob.nextInt();\n\t\tboolean C = true; \n\t\tString R = \"\";\n\t\t\n\t\twhile(C){\n\t\t\tN %= 10;\n\t\t\tC = false;\n\t\t}\n\t\t\n\t\tif((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N ==9)){\n\t\t\tR += \"hon\";\n\t\t}\n\t\telse if((N == 0) || (N == 1) || (N == 6) || (N == 8)){\n\t\t\tR += \"pon\";\n\t\t}\n\t\telse if(N == 3){\n\t\t\tR += \"bon\";\n\t\t}\n\t\tSystem.out.println(R);\n\t\t//R = \"\";\n\t\t//C = true;\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String args[]){
Scanner ob = new Scanner(System.in);
int N = ob.nextInt();
boolean C = true;
String R = "";
while(C){
N %= 10;
C = false;
}
if((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N ==9)){
R += "hon";
}
else if((N == 0) || (N == 1) || (N == 6) || (N == 8)){
R += "pon";
}
else if(N == 3){
R += "bon";
}
System.out.println(R);
//R = "";
//C = true;
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
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
],
[
99,
5
],
[
99,
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
],
[
22,
23
],
[
22,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
17,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
39,
39
],
[
39,
40
],
[
39,
41
],
[
39,
42
],
[
8,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
51,
53
],
[
43,
54
],
[
54,
55
],
[
54,
56
],
[
43,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
59,
66
],
[
43,
67
],
[
67,
68
],
[
67,
69
],
[
43,
70
],
[
70,
71
],
[
70,
72
],
[
43,
73
],
[
73,
74
],
[
73,
75
],
[
43,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
78,
85
],
[
43,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
88,
95
],
[
6,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
] |
[
"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\tint N = sc.nextInt();\n\n\n\t\tif(N<100 && N>=10) {\n\t\t\tN = N%10;\n\t\t}else if(N>=100){\n\t\t\tN = N%100%10;\n\t\t}\n\n\t\tswitch(N){\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.print(\"hon\");\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.print(\"pon\");\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\tSystem.out.print(\"bon\");\n\t\t\t\tbreak;\n\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\tint N = sc.nextInt();\n\n\n\t\tif(N<100 && N>=10) {\n\t\t\tN = N%10;\n\t\t}else if(N>=100){\n\t\t\tN = N%100%10;\n\t\t}\n\n\t\tswitch(N){\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.print(\"hon\");\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.print(\"pon\");\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\tSystem.out.print(\"bon\");\n\t\t\t\tbreak;\n\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\tint N = sc.nextInt();\n\n\n\t\tif(N<100 && N>=10) {\n\t\t\tN = N%10;\n\t\t}else if(N>=100){\n\t\t\tN = N%100%10;\n\t\t}\n\n\t\tswitch(N){\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.print(\"hon\");\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.print(\"pon\");\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\tSystem.out.print(\"bon\");\n\t\t\t\tbreak;\n\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\n\n\t\tif(N<100 && N>=10) {\n\t\t\tN = N%10;\n\t\t}else if(N>=100){\n\t\t\tN = N%100%10;\n\t\t}\n\n\t\tswitch(N){\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.print(\"hon\");\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.print(\"pon\");\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\tSystem.out.print(\"bon\");\n\t\t\t\tbreak;\n\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",
"if(N<100 && N>=10) {\n\t\t\tN = N%10;\n\t\t}else if(N>=100){\n\t\t\tN = N%100%10;\n\t\t}",
"N<100 && N>=10",
"N<100",
"N",
"100",
"N>=10",
"N",
"10",
"{\n\t\t\tN = N%10;\n\t\t}",
"N = N%10",
"N",
"N%10",
"N",
"10",
"if(N>=100){\n\t\t\tN = N%100%10;\n\t\t}",
"N>=100",
"N",
"100",
"{\n\t\t\tN = N%100%10;\n\t\t}",
"N = N%100%10",
"N",
"N%100%10",
"N%100%10",
"N",
"100",
"10",
"switch(N){\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.print(\"hon\");\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.print(\"pon\");\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\tSystem.out.print(\"bon\");\n\t\t\t\tbreak;\n\n\t\t}",
"N",
"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.print(\"hon\")",
"System.out.print",
"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.print(\"pon\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"pon\"",
"break;",
"case 3:",
"3",
"case 3:",
"System.out.print(\"bon\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"bon\"",
"break;",
"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\tint N = sc.nextInt();\n\n\n\t\tif(N<100 && N>=10) {\n\t\t\tN = N%10;\n\t\t}else if(N>=100){\n\t\t\tN = N%100%10;\n\t\t}\n\n\t\tswitch(N){\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.print(\"hon\");\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.print(\"pon\");\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\tSystem.out.print(\"bon\");\n\t\t\t\tbreak;\n\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\tint N = sc.nextInt();\n\n\n\t\tif(N<100 && N>=10) {\n\t\t\tN = N%10;\n\t\t}else if(N>=100){\n\t\t\tN = N%100%10;\n\t\t}\n\n\t\tswitch(N){\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.print(\"hon\");\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.print(\"pon\");\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\tSystem.out.print(\"bon\");\n\t\t\t\tbreak;\n\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);
int N = sc.nextInt();
if(N<100 && N>=10) {
N = N%10;
}else if(N>=100){
N = N%100%10;
}
switch(N){
case 2:
case 4:
case 5:
case 7:
case 9:
System.out.print("hon");
break;
case 0:
case 1:
case 6:
case 8:
System.out.print("pon");
break;
case 3:
System.out.print("bon");
break;
}
}
}
|
[
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,
4,
18,
13,
4,
18,
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,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
103,
14
],
[
103,
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
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
37,
41
],
[
17,
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
],
[
64,
66
],
[
62,
67
],
[
42,
68
],
[
68,
69
],
[
71,
70
],
[
78,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
78,
78
],
[
78,
79
],
[
78,
80
],
[
71,
81
],
[
81,
82
],
[
81,
83
],
[
68,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
68,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
15,
100
],
[
100,
101
],
[
0,
102
],
[
102,
103
],
[
102,
104
]
] |
[
"import java.lang.reflect.Array;\nimport java.util.*;\nimport java.io.*;\nimport java.lang.*;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String inp = sc.next();\n\n int a = Integer.parseInt(String.valueOf(inp.charAt(inp.length() - 1)));\n\n if (a== 2|| a== 4|| a== 5|| a== 7|| a== 9)\n System.out.println(\"hon\");\n else if (a== 0|| a== 1|| a== 6|| a== 8)\n System.out.println(\"pon\");\n else if (a== 3)\n System.out.println(\"bon\");\n }\n}",
"import java.lang.reflect.Array;",
"Array",
"java.lang.reflect",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String inp = sc.next();\n\n int a = Integer.parseInt(String.valueOf(inp.charAt(inp.length() - 1)));\n\n if (a== 2|| a== 4|| a== 5|| a== 7|| a== 9)\n System.out.println(\"hon\");\n else if (a== 0|| a== 1|| a== 6|| a== 8)\n System.out.println(\"pon\");\n else if (a== 3)\n System.out.println(\"bon\");\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String inp = sc.next();\n\n int a = Integer.parseInt(String.valueOf(inp.charAt(inp.length() - 1)));\n\n if (a== 2|| a== 4|| a== 5|| a== 7|| a== 9)\n System.out.println(\"hon\");\n else if (a== 0|| a== 1|| a== 6|| a== 8)\n System.out.println(\"pon\");\n else if (a== 3)\n System.out.println(\"bon\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n String inp = sc.next();\n\n int a = Integer.parseInt(String.valueOf(inp.charAt(inp.length() - 1)));\n\n if (a== 2|| a== 4|| a== 5|| a== 7|| a== 9)\n System.out.println(\"hon\");\n else if (a== 0|| a== 1|| a== 6|| a== 8)\n System.out.println(\"pon\");\n else if (a== 3)\n System.out.println(\"bon\");\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String inp = sc.next();",
"inp",
"sc.next()",
"sc.next",
"sc",
"int a = Integer.parseInt(String.valueOf(inp.charAt(inp.length() - 1)));",
"a",
"Integer.parseInt(String.valueOf(inp.charAt(inp.length() - 1)))",
"Integer.parseInt",
"Integer",
"String.valueOf(inp.charAt(inp.length() - 1))",
"String.valueOf",
"String",
"inp.charAt(inp.length() - 1)",
"inp.charAt",
"inp",
"inp.length() - 1",
"inp.length()",
"inp.length",
"inp",
"1",
"if (a== 2|| a== 4|| a== 5|| a== 7|| a== 9)\n System.out.println(\"hon\");\n else if (a== 0|| a== 1|| a== 6|| a== 8)\n System.out.println(\"pon\");\n else if (a== 3)\n 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)\n System.out.println(\"pon\");\n else if (a== 3)\n 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\"",
"if (a== 3)\n 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){\n Scanner sc = new Scanner(System.in);\n\n String inp = sc.next();\n\n int a = Integer.parseInt(String.valueOf(inp.charAt(inp.length() - 1)));\n\n if (a== 2|| a== 4|| a== 5|| a== 7|| a== 9)\n System.out.println(\"hon\");\n else if (a== 0|| a== 1|| a== 6|| a== 8)\n System.out.println(\"pon\");\n else if (a== 3)\n System.out.println(\"bon\");\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String inp = sc.next();\n\n int a = Integer.parseInt(String.valueOf(inp.charAt(inp.length() - 1)));\n\n if (a== 2|| a== 4|| a== 5|| a== 7|| a== 9)\n System.out.println(\"hon\");\n else if (a== 0|| a== 1|| a== 6|| a== 8)\n System.out.println(\"pon\");\n else if (a== 3)\n System.out.println(\"bon\");\n }\n}",
"Main"
] |
import java.lang.reflect.Array;
import java.util.*;
import java.io.*;
import java.lang.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String inp = sc.next();
int a = Integer.parseInt(String.valueOf(inp.charAt(inp.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 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,
14,
2,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
17,
4,
13,
13,
14,
2,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
17,
4,
13,
13,
30,
0,
13,
4,
18,
13,
17,
4,
13,
13,
23,
13,
12,
13,
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
],
[
126,
5
],
[
126,
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
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
20,
24
],
[
19,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
25,
32
],
[
32,
33
],
[
32,
34
],
[
19,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
36,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
41,
48
],
[
48,
49
],
[
48,
50
],
[
35,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
51,
58
],
[
58,
59
],
[
58,
60
],
[
6,
61
],
[
61,
62
],
[
126,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
70,
68
],
[
80,
69
],
[
77,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
77,
77
],
[
77,
78
],
[
77,
79
],
[
80,
80
],
[
80,
81
],
[
80,
82
],
[
70,
83
],
[
83,
84
],
[
83,
85
],
[
66,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
66,
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
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
93,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
63,
123
],
[
123,
124
],
[
0,
125
],
[
125,
126
],
[
125,
127
]
] |
[
"\nimport 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 scan = new Scanner(System.in);\n\t\t\n\t\tString str = scan.next();\n\t\tchar c;\n\t\t\n\t\tif(str.length() == 1) {\n\t\t\tc = str.charAt(0);\n\t\t\tread(c);\n\t\t}else if(str.length() == 2) {\n\t\t\tc = str.charAt(1);\n\t\t\tread(c);\n\t\t}else {\n\t\t\tc = str.charAt(2);\n\t\t\tread(c);\n\t\t}\n\t}\n\t\n\tprivate static void read(char ch) {\n\t\tif(ch == '2' || ch == '4' || ch == '5' || ch == '7' || ch == '9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}else if(ch == '0' || ch == '1' || ch == '6' || ch == '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 Auto-generated method stub\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString str = scan.next();\n\t\tchar c;\n\t\t\n\t\tif(str.length() == 1) {\n\t\t\tc = str.charAt(0);\n\t\t\tread(c);\n\t\t}else if(str.length() == 2) {\n\t\t\tc = str.charAt(1);\n\t\t\tread(c);\n\t\t}else {\n\t\t\tc = str.charAt(2);\n\t\t\tread(c);\n\t\t}\n\t}\n\t\n\tprivate static void read(char ch) {\n\t\tif(ch == '2' || ch == '4' || ch == '5' || ch == '7' || ch == '9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}else if(ch == '0' || ch == '1' || ch == '6' || ch == '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 Auto-generated method stub\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString str = scan.next();\n\t\tchar c;\n\t\t\n\t\tif(str.length() == 1) {\n\t\t\tc = str.charAt(0);\n\t\t\tread(c);\n\t\t}else if(str.length() == 2) {\n\t\t\tc = str.charAt(1);\n\t\t\tread(c);\n\t\t}else {\n\t\t\tc = str.charAt(2);\n\t\t\tread(c);\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString str = scan.next();\n\t\tchar c;\n\t\t\n\t\tif(str.length() == 1) {\n\t\t\tc = str.charAt(0);\n\t\t\tread(c);\n\t\t}else if(str.length() == 2) {\n\t\t\tc = str.charAt(1);\n\t\t\tread(c);\n\t\t}else {\n\t\t\tc = str.charAt(2);\n\t\t\tread(c);\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String str = scan.next();",
"str",
"scan.next()",
"scan.next",
"scan",
"char c;",
"c",
"if(str.length() == 1) {\n\t\t\tc = str.charAt(0);\n\t\t\tread(c);\n\t\t}else if(str.length() == 2) {\n\t\t\tc = str.charAt(1);\n\t\t\tread(c);\n\t\t}else {\n\t\t\tc = str.charAt(2);\n\t\t\tread(c);\n\t\t}",
"str.length() == 1",
"str.length()",
"str.length",
"str",
"1",
"{\n\t\t\tc = str.charAt(0);\n\t\t\tread(c);\n\t\t}",
"c = str.charAt(0)",
"c",
"str.charAt(0)",
"str.charAt",
"str",
"0",
"read(c)",
"read",
"c",
"if(str.length() == 2) {\n\t\t\tc = str.charAt(1);\n\t\t\tread(c);\n\t\t}else {\n\t\t\tc = str.charAt(2);\n\t\t\tread(c);\n\t\t}",
"str.length() == 2",
"str.length()",
"str.length",
"str",
"2",
"{\n\t\t\tc = str.charAt(1);\n\t\t\tread(c);\n\t\t}",
"c = str.charAt(1)",
"c",
"str.charAt(1)",
"str.charAt",
"str",
"1",
"read(c)",
"read",
"c",
"{\n\t\t\tc = str.charAt(2);\n\t\t\tread(c);\n\t\t}",
"c = str.charAt(2)",
"c",
"str.charAt(2)",
"str.charAt",
"str",
"2",
"read(c)",
"read",
"c",
"String[] args",
"args",
"private static void read(char ch) {\n\t\tif(ch == '2' || ch == '4' || ch == '5' || ch == '7' || ch == '9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}else if(ch == '0' || ch == '1' || ch == '6' || ch == '8'){\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t}",
"read",
"{\n\t\tif(ch == '2' || ch == '4' || ch == '5' || ch == '7' || ch == '9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}else if(ch == '0' || ch == '1' || ch == '6' || ch == '8'){\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}\n\t}",
"if(ch == '2' || ch == '4' || ch == '5' || ch == '7' || ch == '9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}else if(ch == '0' || ch == '1' || ch == '6' || ch == '8'){\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"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\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(ch == '0' || ch == '1' || ch == '6' || ch == '8'){\n\t\t\tSystem.out.println(\"pon\");\n\t\t}else {\n\t\t\tSystem.out.println(\"bon\");\n\t\t}",
"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\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\"",
"char ch",
"ch",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString str = scan.next();\n\t\tchar c;\n\t\t\n\t\tif(str.length() == 1) {\n\t\t\tc = str.charAt(0);\n\t\t\tread(c);\n\t\t}else if(str.length() == 2) {\n\t\t\tc = str.charAt(1);\n\t\t\tread(c);\n\t\t}else {\n\t\t\tc = str.charAt(2);\n\t\t\tread(c);\n\t\t}\n\t}\n\t\n\tprivate static void read(char ch) {\n\t\tif(ch == '2' || ch == '4' || ch == '5' || ch == '7' || ch == '9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}else if(ch == '0' || ch == '1' || ch == '6' || ch == '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 Auto-generated method stub\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString str = scan.next();\n\t\tchar c;\n\t\t\n\t\tif(str.length() == 1) {\n\t\t\tc = str.charAt(0);\n\t\t\tread(c);\n\t\t}else if(str.length() == 2) {\n\t\t\tc = str.charAt(1);\n\t\t\tread(c);\n\t\t}else {\n\t\t\tc = str.charAt(2);\n\t\t\tread(c);\n\t\t}\n\t}\n\t\n\tprivate static void read(char ch) {\n\t\tif(ch == '2' || ch == '4' || ch == '5' || ch == '7' || ch == '9') {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}else if(ch == '0' || ch == '1' || ch == '6' || ch == '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 Auto-generated method stub
Scanner scan = new Scanner(System.in);
String str = scan.next();
char c;
if(str.length() == 1) {
c = str.charAt(0);
read(c);
}else if(str.length() == 2) {
c = str.charAt(1);
read(c);
}else {
c = str.charAt(2);
read(c);
}
}
private static void read(char ch) {
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 {
System.out.println("bon");
}
}
}
|
[
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,
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,
4,
18,
13,
17,
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,
30,
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,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
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
],
[
172,
14
],
[
172,
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
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
31,
35
],
[
17,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
36,
47
],
[
47,
48
],
[
50,
49
],
[
57,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
57,
57
],
[
57,
58
],
[
57,
59
],
[
50,
60
],
[
60,
61
],
[
60,
62
],
[
47,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
47,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
17,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
15,
81
],
[
81,
82
],
[
172,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
83,
87
],
[
87,
88
],
[
83,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
83,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
98,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
108,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
97,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
83,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
127,
130
],
[
130,
131
],
[
83,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
136,
139
],
[
139,
140
],
[
83,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
145,
148
],
[
148,
149
],
[
83,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
156,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
167,
168
],
[
152,
169
],
[
169,
170
],
[
0,
171
],
[
171,
172
],
[
171,
173
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n String str = sc.next();\n char c = str.charAt(str.length() - 1);\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 System.exit(0);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\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.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n String str = sc.next();\n char c = str.charAt(str.length() - 1);\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 System.exit(0);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n FastReader sc = new FastReader();\n String str = sc.next();\n char c = str.charAt(str.length() - 1);\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 System.exit(0);\n }",
"main",
"{\n FastReader sc = new FastReader();\n String str = sc.next();\n char c = str.charAt(str.length() - 1);\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 System.exit(0);\n }",
"FastReader sc = new FastReader();",
"sc",
"new FastReader()",
"String str = sc.next();",
"str",
"sc.next()",
"sc.next",
"sc",
"char c = str.charAt(str.length() - 1);",
"c",
"str.charAt(str.length() - 1)",
"str.charAt",
"str",
"str.length() - 1",
"str.length()",
"str.length",
"str",
"1",
"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\")",
"System.exit(0)",
"System.exit",
"System",
"0",
"String[] args",
"args",
"static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"FastReader",
"{\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() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"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",
"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",
"double nextDouble() {\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",
"String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try{\n str = 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 str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n String str = sc.next();\n char c = str.charAt(str.length() - 1);\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 System.exit(0);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n String str = sc.next();\n char c = str.charAt(str.length() - 1);\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 System.exit(0);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
FastReader sc = new FastReader();
String str = sc.next();
char c = str.charAt(str.length() - 1);
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"));
}
System.exit(0);
}
static class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine() {
String str = "";
try{
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
4,
18,
13,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
17,
41,
13,
18,
13,
17,
35,
4,
18,
13,
2,
4,
18,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
119,
11
],
[
119,
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
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
14,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
14,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
45,
51
],
[
14,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
14,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
61,
65
],
[
57,
66
],
[
66,
67
],
[
66,
68
],
[
57,
69
],
[
69,
70
],
[
69,
71
],
[
57,
72
],
[
72,
73
],
[
72,
74
],
[
57,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
77,
84
],
[
57,
85
],
[
85,
86
],
[
85,
87
],
[
57,
88
],
[
88,
89
],
[
88,
90
],
[
57,
91
],
[
91,
92
],
[
91,
93
],
[
57,
94
],
[
94,
95
],
[
94,
96
],
[
57,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
99,
106
],
[
57,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
108,
115
],
[
12,
116
],
[
116,
117
],
[
0,
118
],
[
118,
119
],
[
118,
120
]
] |
[
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main {\n\n public static void main(String[] args) throws Exception {\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n ArrayList<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n mylist.add(strinput);\n strinput = reader.readLine();\n }\n\n String arr01[] = mylist.get(0).split(\" \");\n\n String n = arr01[0];\n\n switch (n.substring(n.length() - 1)) {\n case \"0\":\n case \"1\":\n case \"6\":\n case \"8\":\n System.out.println(\"pon\");\n break;\n case \"2\":\n case \"4\":\n case \"5\":\n case \"7\":\n case \"9\":\n\n System.out.println(\"hon\");\n break;\n\n default:\n\n System.out.println(\"bon\");\n break;\n }\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n ArrayList<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n mylist.add(strinput);\n strinput = reader.readLine();\n }\n\n String arr01[] = mylist.get(0).split(\" \");\n\n String n = arr01[0];\n\n switch (n.substring(n.length() - 1)) {\n case \"0\":\n case \"1\":\n case \"6\":\n case \"8\":\n System.out.println(\"pon\");\n break;\n case \"2\":\n case \"4\":\n case \"5\":\n case \"7\":\n case \"9\":\n\n System.out.println(\"hon\");\n break;\n\n default:\n\n System.out.println(\"bon\");\n break;\n }\n }\n\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n ArrayList<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n mylist.add(strinput);\n strinput = reader.readLine();\n }\n\n String arr01[] = mylist.get(0).split(\" \");\n\n String n = arr01[0];\n\n switch (n.substring(n.length() - 1)) {\n case \"0\":\n case \"1\":\n case \"6\":\n case \"8\":\n System.out.println(\"pon\");\n break;\n case \"2\":\n case \"4\":\n case \"5\":\n case \"7\":\n case \"9\":\n\n System.out.println(\"hon\");\n break;\n\n default:\n\n System.out.println(\"bon\");\n break;\n }\n }",
"main",
"{\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n ArrayList<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n mylist.add(strinput);\n strinput = reader.readLine();\n }\n\n String arr01[] = mylist.get(0).split(\" \");\n\n String n = arr01[0];\n\n switch (n.substring(n.length() - 1)) {\n case \"0\":\n case \"1\":\n case \"6\":\n case \"8\":\n System.out.println(\"pon\");\n break;\n case \"2\":\n case \"4\":\n case \"5\":\n case \"7\":\n case \"9\":\n\n System.out.println(\"hon\");\n break;\n\n default:\n\n System.out.println(\"bon\");\n break;\n }\n }",
"InputStreamReader is = new InputStreamReader(System.in);",
"is",
"new InputStreamReader(System.in)",
"BufferedReader reader = new BufferedReader(is);",
"reader",
"new BufferedReader(is)",
"ArrayList<String> mylist = new ArrayList<>();",
"mylist",
"new ArrayList<>()",
"String strinput = reader.readLine();",
"strinput",
"reader.readLine()",
"reader.readLine",
"reader",
"while (strinput != null) {\n mylist.add(strinput);\n strinput = reader.readLine();\n }",
"strinput != null",
"strinput",
"null",
"{\n mylist.add(strinput);\n strinput = reader.readLine();\n }",
"mylist.add(strinput)",
"mylist.add",
"mylist",
"strinput",
"strinput = reader.readLine()",
"strinput",
"reader.readLine()",
"reader.readLine",
"reader",
"String arr01[] = mylist.get(0).split(\" \");",
"arr01",
"mylist.get(0).split(\" \")",
"mylist.get(0).split",
"mylist.get(0)",
"mylist.get",
"mylist",
"0",
"\" \"",
"String n = arr01[0];",
"n",
"arr01[0]",
"arr01",
"0",
"switch (n.substring(n.length() - 1)) {\n case \"0\":\n case \"1\":\n case \"6\":\n case \"8\":\n System.out.println(\"pon\");\n break;\n case \"2\":\n case \"4\":\n case \"5\":\n case \"7\":\n case \"9\":\n\n System.out.println(\"hon\");\n break;\n\n default:\n\n System.out.println(\"bon\");\n break;\n }",
"n.substring(n.length() - 1)",
"n.substring",
"n",
"n.length() - 1",
"n.length()",
"n.length",
"n",
"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 public static void main(String[] args) throws Exception {\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n ArrayList<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n mylist.add(strinput);\n strinput = reader.readLine();\n }\n\n String arr01[] = mylist.get(0).split(\" \");\n\n String n = arr01[0];\n\n switch (n.substring(n.length() - 1)) {\n case \"0\":\n case \"1\":\n case \"6\":\n case \"8\":\n System.out.println(\"pon\");\n break;\n case \"2\":\n case \"4\":\n case \"5\":\n case \"7\":\n case \"9\":\n\n System.out.println(\"hon\");\n break;\n\n default:\n\n System.out.println(\"bon\");\n break;\n }\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n ArrayList<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n mylist.add(strinput);\n strinput = reader.readLine();\n }\n\n String arr01[] = mylist.get(0).split(\" \");\n\n String n = arr01[0];\n\n switch (n.substring(n.length() - 1)) {\n case \"0\":\n case \"1\":\n case \"6\":\n case \"8\":\n System.out.println(\"pon\");\n break;\n case \"2\":\n case \"4\":\n case \"5\":\n case \"7\":\n case \"9\":\n\n System.out.println(\"hon\");\n break;\n\n default:\n\n System.out.println(\"bon\");\n break;\n }\n }\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) throws Exception {
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader reader = new BufferedReader(is);
ArrayList<String> mylist = new ArrayList<>();
// 標準入力からの値を変数strinputに代入
String strinput = reader.readLine();
while (strinput != null) {
mylist.add(strinput);
strinput = reader.readLine();
}
String arr01[] = mylist.get(0).split(" ");
String n = arr01[0];
switch (n.substring(n.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,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
2,
4,
18,
13,
4,
18,
13,
17,
41,
13,
35,
13,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
34,
17,
1,
34,
17,
1,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
1,
37,
20,
4,
18,
18,
13,
13,
13,
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
],
[
16,
17
],
[
15,
18
],
[
18,
19
],
[
19,
20
],
[
14,
21
],
[
8,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
32,
34
],
[
24,
35
],
[
35,
36
],
[
35,
37
],
[
24,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
24,
45
],
[
45,
46
],
[
45,
47
],
[
24,
48
],
[
48,
49
],
[
48,
50
],
[
24,
51
],
[
51,
52
],
[
51,
53
],
[
24,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
24,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
24,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
8,
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 public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int num = Integer.parseInt(sc.next()) % 10;\n String reuslt;\n switch (num) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n reuslt = \"hon\";\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n reuslt = \"pon\";\n break;\n case 3:\n reuslt = \"bon\";\n break;\n default:\n throw new IllegalArgumentException();\n }\n\n System.out.println(reuslt);\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 num = Integer.parseInt(sc.next()) % 10;\n String reuslt;\n switch (num) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n reuslt = \"hon\";\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n reuslt = \"pon\";\n break;\n case 3:\n reuslt = \"bon\";\n break;\n default:\n throw new IllegalArgumentException();\n }\n\n System.out.println(reuslt);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int num = Integer.parseInt(sc.next()) % 10;\n String reuslt;\n switch (num) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n reuslt = \"hon\";\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n reuslt = \"pon\";\n break;\n case 3:\n reuslt = \"bon\";\n break;\n default:\n throw new IllegalArgumentException();\n }\n\n System.out.println(reuslt);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int num = Integer.parseInt(sc.next()) % 10;\n String reuslt;\n switch (num) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n reuslt = \"hon\";\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n reuslt = \"pon\";\n break;\n case 3:\n reuslt = \"bon\";\n break;\n default:\n throw new IllegalArgumentException();\n }\n\n System.out.println(reuslt);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int num = Integer.parseInt(sc.next()) % 10;",
"num",
"Integer.parseInt(sc.next()) % 10",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"10",
"String reuslt;",
"reuslt",
"switch (num) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n reuslt = \"hon\";\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n reuslt = \"pon\";\n break;\n case 3:\n reuslt = \"bon\";\n break;\n default:\n throw new IllegalArgumentException();\n }",
"num",
"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:",
"reuslt = \"hon\"",
"reuslt",
"\"hon\"",
"break;",
"case 0:",
"0",
"case 0:",
"case 1:",
"1",
"case 1:",
"case 6:",
"6",
"case 6:",
"case 8:",
"8",
"case 8:",
"reuslt = \"pon\"",
"reuslt",
"\"pon\"",
"break;",
"case 3:",
"3",
"case 3:",
"reuslt = \"bon\"",
"reuslt",
"\"bon\"",
"break;",
"default:",
"default:",
"throw new IllegalArgumentException();",
"new IllegalArgumentException()",
"System.out.println(reuslt)",
"System.out.println",
"System.out",
"System",
"System.out",
"reuslt",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int num = Integer.parseInt(sc.next()) % 10;\n String reuslt;\n switch (num) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n reuslt = \"hon\";\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n reuslt = \"pon\";\n break;\n case 3:\n reuslt = \"bon\";\n break;\n default:\n throw new IllegalArgumentException();\n }\n\n System.out.println(reuslt);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int num = Integer.parseInt(sc.next()) % 10;\n String reuslt;\n switch (num) {\n case 2:\n case 4:\n case 5:\n case 7:\n case 9:\n reuslt = \"hon\";\n break;\n case 0:\n case 1:\n case 6:\n case 8:\n reuslt = \"pon\";\n break;\n case 3:\n reuslt = \"bon\";\n break;\n default:\n throw new IllegalArgumentException();\n }\n\n System.out.println(reuslt);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int num = Integer.parseInt(sc.next()) % 10;
String reuslt;
switch (num) {
case 2:
case 4:
case 5:
case 7:
case 9:
reuslt = "hon";
break;
case 0:
case 1:
case 6:
case 8:
reuslt = "pon";
break;
case 3:
reuslt = "bon";
break;
default:
throw new IllegalArgumentException();
}
System.out.println(reuslt);
}
}
|
[
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,
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
],
[
91,
5
],
[
91,
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
],
[
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
],
[
26,
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
],
[
26,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
6,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n int n = stdIn.nextInt();\n int x = n % 10;\n if(n < 1000){\n if(x == 2 || x == 4 || x == 5 || x == 7 || x == 9){\n System.out.println(\"hon\");\n }\n if(x == 0 || x == 1 || x == 6 || x == 8){\n System.out.println(\"pon\");\n }\n if(x == 3){\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 Scanner stdIn = new Scanner(System.in);\n int n = stdIn.nextInt();\n int x = n % 10;\n if(n < 1000){\n if(x == 2 || x == 4 || x == 5 || x == 7 || x == 9){\n System.out.println(\"hon\");\n }\n if(x == 0 || x == 1 || x == 6 || x == 8){\n System.out.println(\"pon\");\n }\n if(x == 3){\n System.out.println(\"bon\");\n }\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n int n = stdIn.nextInt();\n int x = n % 10;\n if(n < 1000){\n if(x == 2 || x == 4 || x == 5 || x == 7 || x == 9){\n System.out.println(\"hon\");\n }\n if(x == 0 || x == 1 || x == 6 || x == 8){\n System.out.println(\"pon\");\n }\n if(x == 3){\n System.out.println(\"bon\");\n }\n }\n }",
"main",
"{\n Scanner stdIn = new Scanner(System.in);\n int n = stdIn.nextInt();\n int x = n % 10;\n if(n < 1000){\n if(x == 2 || x == 4 || x == 5 || x == 7 || x == 9){\n System.out.println(\"hon\");\n }\n if(x == 0 || x == 1 || x == 6 || x == 8){\n System.out.println(\"pon\");\n }\n if(x == 3){\n System.out.println(\"bon\");\n }\n }\n }",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"int n = stdIn.nextInt();",
"n",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int x = n % 10;",
"x",
"n % 10",
"n",
"10",
"if(n < 1000){\n if(x == 2 || x == 4 || x == 5 || x == 7 || x == 9){\n System.out.println(\"hon\");\n }\n if(x == 0 || x == 1 || x == 6 || x == 8){\n System.out.println(\"pon\");\n }\n if(x == 3){\n System.out.println(\"bon\");\n }\n }",
"n < 1000",
"n",
"1000",
"{\n if(x == 2 || x == 4 || x == 5 || x == 7 || x == 9){\n System.out.println(\"hon\");\n }\n if(x == 0 || x == 1 || x == 6 || x == 8){\n System.out.println(\"pon\");\n }\n if(x == 3){\n System.out.println(\"bon\");\n }\n }",
"if(x == 2 || x == 4 || x == 5 || x == 7 || x == 9){\n System.out.println(\"hon\");\n }",
"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 System.out.println(\"hon\");\n }",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(x == 0 || x == 1 || x == 6 || x == 8){\n System.out.println(\"pon\");\n }",
"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 System.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"if(x == 3){\n System.out.println(\"bon\");\n }",
"x == 3",
"x",
"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 stdIn = new Scanner(System.in);\n int n = stdIn.nextInt();\n int x = n % 10;\n if(n < 1000){\n if(x == 2 || x == 4 || x == 5 || x == 7 || x == 9){\n System.out.println(\"hon\");\n }\n if(x == 0 || x == 1 || x == 6 || x == 8){\n System.out.println(\"pon\");\n }\n if(x == 3){\n System.out.println(\"bon\");\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n int n = stdIn.nextInt();\n int x = n % 10;\n if(n < 1000){\n if(x == 2 || x == 4 || x == 5 || x == 7 || x == 9){\n System.out.println(\"hon\");\n }\n if(x == 0 || x == 1 || x == 6 || x == 8){\n System.out.println(\"pon\");\n }\n if(x == 3){\n System.out.println(\"bon\");\n }\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner stdIn = new Scanner(System.in);
int n = stdIn.nextInt();
int x = n % 10;
if(n < 1000){
if(x == 2 || x == 4 || x == 5 || x == 7 || x == 9){
System.out.println("hon");
}
if(x == 0 || x == 1 || x == 6 || x == 8){
System.out.println("pon");
}
if(x == 3){
System.out.println("bon");
}
}
}
}
|
[
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,
41,
13,
2,
13,
17,
41,
13,
20,
14,
2,
13,
17,
4,
18,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
18,
13,
17,
4,
18,
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
],
[
75,
11
],
[
75,
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
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
34,
42
],
[
42,
43
],
[
45,
44
],
[
52,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
52,
52
],
[
52,
53
],
[
52,
54
],
[
45,
55
],
[
55,
56
],
[
55,
57
],
[
42,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
42,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
14,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
12,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\t\n\t\tint x = n % 10;\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\tif(x == 3)\n\t\t\tsb.append(\"bon\\n\");\n\t\telse if(x == 0 || x == 1 || x == 6 || x == 8)\n\t\t\tsb.append(\"pon\\n\");\n\t\telse\n\t\t\tsb.append(\"hon\\n\");\n\t\t\n\t\tSystem.out.println(sb);\n\t\t\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\t\n\t\tint x = n % 10;\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\tif(x == 3)\n\t\t\tsb.append(\"bon\\n\");\n\t\telse if(x == 0 || x == 1 || x == 6 || x == 8)\n\t\t\tsb.append(\"pon\\n\");\n\t\telse\n\t\t\tsb.append(\"hon\\n\");\n\t\t\n\t\tSystem.out.println(sb);\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\t\n\t\tint x = n % 10;\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\tif(x == 3)\n\t\t\tsb.append(\"bon\\n\");\n\t\telse if(x == 0 || x == 1 || x == 6 || x == 8)\n\t\t\tsb.append(\"pon\\n\");\n\t\telse\n\t\t\tsb.append(\"hon\\n\");\n\t\t\n\t\tSystem.out.println(sb);\n\t\t\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\t\n\t\tint x = n % 10;\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\tif(x == 3)\n\t\t\tsb.append(\"bon\\n\");\n\t\telse if(x == 0 || x == 1 || x == 6 || x == 8)\n\t\t\tsb.append(\"pon\\n\");\n\t\telse\n\t\t\tsb.append(\"hon\\n\");\n\t\t\n\t\tSystem.out.println(sb);\n\t\t\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int n = Integer.parseInt(br.readLine());",
"n",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"int x = n % 10;",
"x",
"n % 10",
"n",
"10",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"if(x == 3)\n\t\t\tsb.append(\"bon\\n\");\n\t\telse if(x == 0 || x == 1 || x == 6 || x == 8)\n\t\t\tsb.append(\"pon\\n\");\n\t\telse\n\t\t\tsb.append(\"hon\\n\");",
"x == 3",
"x",
"3",
"sb.append(\"bon\\n\")",
"sb.append",
"sb",
"\"bon\\n\"",
"if(x == 0 || x == 1 || x == 6 || x == 8)\n\t\t\tsb.append(\"pon\\n\");\n\t\telse\n\t\t\tsb.append(\"hon\\n\");",
"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",
"sb.append(\"pon\\n\")",
"sb.append",
"sb",
"\"pon\\n\"",
"sb.append(\"hon\\n\")",
"sb.append",
"sb",
"\"hon\\n\"",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\t\n\t\tint x = n % 10;\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\tif(x == 3)\n\t\t\tsb.append(\"bon\\n\");\n\t\telse if(x == 0 || x == 1 || x == 6 || x == 8)\n\t\t\tsb.append(\"pon\\n\");\n\t\telse\n\t\t\tsb.append(\"hon\\n\");\n\t\t\n\t\tSystem.out.println(sb);\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\t\n\t\tint x = n % 10;\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\tif(x == 3)\n\t\t\tsb.append(\"bon\\n\");\n\t\telse if(x == 0 || x == 1 || x == 6 || x == 8)\n\t\t\tsb.append(\"pon\\n\");\n\t\telse\n\t\t\tsb.append(\"hon\\n\");\n\t\t\n\t\tSystem.out.println(sb);\n\t\t\n\t}\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt(br.readLine());
int x = n % 10;
StringBuilder sb = new StringBuilder();
if(x == 3)
sb.append("bon\n");
else if(x == 0 || x == 1 || x == 6 || x == 8)
sb.append("pon\n");
else
sb.append("hon\n");
System.out.println(sb);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
39,
17,
17,
17,
17,
41,
13,
20,
41,
13,
2,
4,
18,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
4,
18,
4,
18,
13,
13,
13,
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
],
[
62,
5
],
[
62,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
11,
13
],
[
11,
14
],
[
11,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
26,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
38,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
37,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] |
[
"import java.util.*;\npublic class Main {\n\t\n\tpublic static void main(String[] args){\n\t\t\n\t\tInteger[] calledPon = {0,1,6,8};\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint num = sc.nextInt()%10;\n\n\t\tif(num == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if (Arrays.asList(calledPon).contains(num)) {\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.*;",
"util.*",
"java",
"public class Main {\n\t\n\tpublic static void main(String[] args){\n\t\t\n\t\tInteger[] calledPon = {0,1,6,8};\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint num = sc.nextInt()%10;\n\n\t\tif(num == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if (Arrays.asList(calledPon).contains(num)) {\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\t\n\t\tInteger[] calledPon = {0,1,6,8};\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint num = sc.nextInt()%10;\n\n\t\tif(num == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if (Arrays.asList(calledPon).contains(num)) {\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\t\n\t\tInteger[] calledPon = {0,1,6,8};\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint num = sc.nextInt()%10;\n\n\t\tif(num == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if (Arrays.asList(calledPon).contains(num)) {\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}",
"Integer[] calledPon = {0,1,6,8};",
"calledPon",
"{0,1,6,8}",
"0",
"1",
"6",
"8",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int num = sc.nextInt()%10;",
"num",
"sc.nextInt()%10",
"sc.nextInt()",
"sc.nextInt",
"sc",
"10",
"if(num == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if (Arrays.asList(calledPon).contains(num)) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"num == 3",
"num",
"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 (Arrays.asList(calledPon).contains(num)) {\n\t\t\tSystem.out.println(\"pon\");\n\t\t} else {\n\t\t\tSystem.out.println(\"hon\");\n\t\t}",
"Arrays.asList(calledPon).contains(num)",
"Arrays.asList(calledPon).contains",
"Arrays.asList(calledPon)",
"Arrays.asList",
"Arrays",
"calledPon",
"num",
"{\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\t\n\tpublic static void main(String[] args){\n\t\t\n\t\tInteger[] calledPon = {0,1,6,8};\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint num = sc.nextInt()%10;\n\n\t\tif(num == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if (Arrays.asList(calledPon).contains(num)) {\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\t\n\tpublic static void main(String[] args){\n\t\t\n\t\tInteger[] calledPon = {0,1,6,8};\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint num = sc.nextInt()%10;\n\n\t\tif(num == 3) {\n\t\t\tSystem.out.println(\"bon\");\n\t\t} else if (Arrays.asList(calledPon).contains(num)) {\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.*;
public class Main {
public static void main(String[] args){
Integer[] calledPon = {0,1,6,8};
Scanner sc = new Scanner(System.in);
// 整数の入力
int num = sc.nextInt()%10;
if(num == 3) {
System.out.println("bon");
} else if (Arrays.asList(calledPon).contains(num)) {
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,
41,
13,
39,
17,
17,
17,
17,
41,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
0,
13,
17,
14,
4,
18,
13,
13,
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
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
27,
30
],
[
27,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
46,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
6,
61
],
[
61,
62
]
] |
[
"import java.util.*;\n\nclass Main {\n public static void main (String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int digit_1 = N % 10;\n String read = \"hon\";\n Integer[] pon = {0, 1, 6, 8};\n List<Integer> ponNew = Arrays.asList(pon);\n\n if (digit_1 == 3) {\n read = \"bon\";\n } else if (ponNew.contains(digit_1)) {\n read = \"pon\";\n }\n System.out.println(read);\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main (String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int digit_1 = N % 10;\n String read = \"hon\";\n Integer[] pon = {0, 1, 6, 8};\n List<Integer> ponNew = Arrays.asList(pon);\n\n if (digit_1 == 3) {\n read = \"bon\";\n } else if (ponNew.contains(digit_1)) {\n read = \"pon\";\n }\n System.out.println(read);\n\n }\n}",
"Main",
"public static void main (String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int digit_1 = N % 10;\n String read = \"hon\";\n Integer[] pon = {0, 1, 6, 8};\n List<Integer> ponNew = Arrays.asList(pon);\n\n if (digit_1 == 3) {\n read = \"bon\";\n } else if (ponNew.contains(digit_1)) {\n read = \"pon\";\n }\n System.out.println(read);\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int digit_1 = N % 10;\n String read = \"hon\";\n Integer[] pon = {0, 1, 6, 8};\n List<Integer> ponNew = Arrays.asList(pon);\n\n if (digit_1 == 3) {\n read = \"bon\";\n } else if (ponNew.contains(digit_1)) {\n read = \"pon\";\n }\n System.out.println(read);\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int digit_1 = N % 10;",
"digit_1",
"N % 10",
"N",
"10",
"String read = \"hon\";",
"read",
"\"hon\"",
"Integer[] pon = {0, 1, 6, 8};",
"pon",
"{0, 1, 6, 8}",
"0",
"1",
"6",
"8",
"List<Integer> ponNew = Arrays.asList(pon);",
"ponNew",
"Arrays.asList(pon)",
"Arrays.asList",
"Arrays",
"pon",
"if (digit_1 == 3) {\n read = \"bon\";\n } else if (ponNew.contains(digit_1)) {\n read = \"pon\";\n }",
"digit_1 == 3",
"digit_1",
"3",
"{\n read = \"bon\";\n }",
"read = \"bon\"",
"read",
"\"bon\"",
"if (ponNew.contains(digit_1)) {\n read = \"pon\";\n }",
"ponNew.contains(digit_1)",
"ponNew.contains",
"ponNew",
"digit_1",
"{\n read = \"pon\";\n }",
"read = \"pon\"",
"read",
"\"pon\"",
"System.out.println(read)",
"System.out.println",
"System.out",
"System",
"System.out",
"read",
"String[] args",
"args"
] |
import java.util.*;
class Main {
public static void main (String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int digit_1 = N % 10;
String read = "hon";
Integer[] pon = {0, 1, 6, 8};
List<Integer> ponNew = Arrays.asList(pon);
if (digit_1 == 3) {
read = "bon";
} else if (ponNew.contains(digit_1)) {
read = "pon";
}
System.out.println(read);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
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,
4,
18,
18,
13,
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,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
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
],
[
11,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
11,
61
],
[
61,
62
],
[
64,
63
],
[
71,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
71,
71
],
[
71,
72
],
[
71,
73
],
[
64,
74
],
[
74,
75
],
[
74,
76
],
[
61,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
9,
83
],
[
83,
84
]
] |
[
"import java.io.*;\nimport java.util.Scanner;\n\nclass Main\n{\n public static void main(String[] args)\n {\n Scanner scan = new Scanner(System.in);\n int num1 = scan.nextInt();\n num1 = num1 % 10;\n if((num1 == 2)||(num1 == 4)||(num1 == 5)||(num1 == 7)||(num1 == 9))\n System.out.println(\"hon\");\n if((num1 == 3))\n System.out.println(\"bon\");\n if((num1 == 0)||(num1 == 1)||(num1 == 6)||(num1 == 8))\n System.out.println(\"pon\");\n };\n};\n ",
"import java.io.*;",
"io.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main\n{\n public static void main(String[] args)\n {\n Scanner scan = new Scanner(System.in);\n int num1 = scan.nextInt();\n num1 = num1 % 10;\n if((num1 == 2)||(num1 == 4)||(num1 == 5)||(num1 == 7)||(num1 == 9))\n System.out.println(\"hon\");\n if((num1 == 3))\n System.out.println(\"bon\");\n if((num1 == 0)||(num1 == 1)||(num1 == 6)||(num1 == 8))\n System.out.println(\"pon\");\n };\n}",
"Main",
"public static void main(String[] args)\n {\n Scanner scan = new Scanner(System.in);\n int num1 = scan.nextInt();\n num1 = num1 % 10;\n if((num1 == 2)||(num1 == 4)||(num1 == 5)||(num1 == 7)||(num1 == 9))\n System.out.println(\"hon\");\n if((num1 == 3))\n System.out.println(\"bon\");\n if((num1 == 0)||(num1 == 1)||(num1 == 6)||(num1 == 8))\n System.out.println(\"pon\");\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int num1 = scan.nextInt();\n num1 = num1 % 10;\n if((num1 == 2)||(num1 == 4)||(num1 == 5)||(num1 == 7)||(num1 == 9))\n System.out.println(\"hon\");\n if((num1 == 3))\n System.out.println(\"bon\");\n if((num1 == 0)||(num1 == 1)||(num1 == 6)||(num1 == 8))\n System.out.println(\"pon\");\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int num1 = scan.nextInt();",
"num1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"num1 = num1 % 10",
"num1",
"num1 % 10",
"num1",
"10",
"if((num1 == 2)||(num1 == 4)||(num1 == 5)||(num1 == 7)||(num1 == 9))\n System.out.println(\"hon\");",
"(num1 == 2)||(num1 == 4)||(num1 == 5)||(num1 == 7)||(num1 == 9)",
"(num1 == 7)",
"(num1 == 5)",
"(num1 == 2)||(num1 == 4)||(num1 == 5)||(num1 == 7)||(num1 == 9)",
"(num1 == 2)",
"num1",
"2",
"(num1 == 4)",
"num1",
"4",
"(num1 == 5)",
"num1",
"5",
"(num1 == 7)",
"num1",
"7",
"(num1 == 9)",
"num1",
"9",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if((num1 == 3))\n System.out.println(\"bon\");",
"(num1 == 3)",
"num1",
"3",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if((num1 == 0)||(num1 == 1)||(num1 == 6)||(num1 == 8))\n System.out.println(\"pon\");",
"(num1 == 0)||(num1 == 1)||(num1 == 6)||(num1 == 8)",
"(num1 == 6)",
"(num1 == 0)||(num1 == 1)||(num1 == 6)||(num1 == 8)",
"(num1 == 0)",
"num1",
"0",
"(num1 == 1)",
"num1",
"1",
"(num1 == 6)",
"num1",
"6",
"(num1 == 8)",
"num1",
"8",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"String[] args",
"args"
] |
import java.io.*;
import java.util.Scanner;
class Main
{
public static void main(String[] args)
{
Scanner scan = new Scanner(System.in);
int num1 = scan.nextInt();
num1 = num1 % 10;
if((num1 == 2)||(num1 == 4)||(num1 == 5)||(num1 == 7)||(num1 == 9))
System.out.println("hon");
if((num1 == 3))
System.out.println("bon");
if((num1 == 0)||(num1 == 1)||(num1 == 6)||(num1 == 8))
System.out.println("pon");
};
};
|
[
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,
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
],
[
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
],
[
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
],
[
49,
51
],
[
47,
52
],
[
27,
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
],
[
71,
73
],
[
69,
74
],
[
53,
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;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n char c = s.charAt(s.length()-1);\n if (c=='2'||c=='4'||c=='5'||c=='7'||c=='9')\n System.out.println(\"hon\");\n else if(c=='0'||c=='1'||c=='6'||c=='8')\n System.out.println(\"pon\");\n else System.out.println(\"bon\");\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 s = sc.next();\n char c = s.charAt(s.length()-1);\n if (c=='2'||c=='4'||c=='5'||c=='7'||c=='9')\n System.out.println(\"hon\");\n else if(c=='0'||c=='1'||c=='6'||c=='8')\n System.out.println(\"pon\");\n else System.out.println(\"bon\");\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n char c = s.charAt(s.length()-1);\n if (c=='2'||c=='4'||c=='5'||c=='7'||c=='9')\n System.out.println(\"hon\");\n else if(c=='0'||c=='1'||c=='6'||c=='8')\n System.out.println(\"pon\");\n else System.out.println(\"bon\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n char c = s.charAt(s.length()-1);\n if (c=='2'||c=='4'||c=='5'||c=='7'||c=='9')\n System.out.println(\"hon\");\n else if(c=='0'||c=='1'||c=='6'||c=='8')\n System.out.println(\"pon\");\n else System.out.println(\"bon\");\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"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=='2'||c=='4'||c=='5'||c=='7'||c=='9')\n System.out.println(\"hon\");\n else if(c=='0'||c=='1'||c=='6'||c=='8')\n System.out.println(\"pon\");\n else System.out.println(\"bon\");",
"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'",
"System.out.println(\"hon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"hon\"",
"if(c=='0'||c=='1'||c=='6'||c=='8')\n System.out.println(\"pon\");\n else System.out.println(\"bon\");",
"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'",
"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",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n char c = s.charAt(s.length()-1);\n if (c=='2'||c=='4'||c=='5'||c=='7'||c=='9')\n System.out.println(\"hon\");\n else if(c=='0'||c=='1'||c=='6'||c=='8')\n System.out.println(\"pon\");\n else System.out.println(\"bon\");\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 char c = s.charAt(s.length()-1);\n if (c=='2'||c=='4'||c=='5'||c=='7'||c=='9')\n System.out.println(\"hon\");\n else if(c=='0'||c=='1'||c=='6'||c=='8')\n System.out.println(\"pon\");\n else System.out.println(\"bon\");\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
char c = s.charAt(s.length()-1);
if (c=='2'||c=='4'||c=='5'||c=='7'||c=='9')
System.out.println("hon");
else if(c=='0'||c=='1'||c=='6'||c=='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,
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,
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,
14,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
17,
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,
30,
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,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
12,
13,
30,
29,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
208,
20
],
[
208,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
23,
32
],
[
32,
33
],
[
36,
34
],
[
52,
35
],
[
47,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
36,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
36,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
32,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
32,
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
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
68,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
98,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
21,
110
],
[
110,
111
],
[
208,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
112,
116
],
[
116,
117
],
[
112,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
112,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
127,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
137,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
126,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
112,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
156,
159
],
[
159,
160
],
[
112,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
165,
168
],
[
168,
169
],
[
112,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
174,
177
],
[
177,
178
],
[
112,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
181,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
185,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
196,
197
],
[
181,
198
],
[
198,
199
],
[
112,
200
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
203,
204
],
[
200,
205
],
[
205,
206
],
[
0,
207
],
[
207,
208
],
[
207,
209
]
] |
[
"import java.io.*;\nimport java.io.BufferedReader; \nimport java.io.IOException; \nimport java.io.InputStreamReader; \nimport java.util.StringTokenizer; \nimport java.util.*;\n\n\npublic class Main \n{\n\n\t \n\t static class FastReader \n\t { \n\t BufferedReader br; \n\t StringTokenizer st; \n\t \n\t \n\t public FastReader() \n\t { \n\t br = new BufferedReader(new\n\t InputStreamReader(System.in)); \n\t } \n\t \n\t String next() \n\t { \n\t while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t } \n\t return st.nextToken();\n\t \n\t } \n\t \n\t int nextInt() \n\t { \n\t return Integer.parseInt(next()); \n\t } \n\t \n\t long nextLong() \n\t { \n\t return Long.parseLong(next()); \n\t } \n\t \n\t double nextDouble() \n\t { \n\t return Double.parseDouble(next()); \n\t } \n\t \n\t String nextLine() \n\t { \n\t String str = \"\"; \n\t try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t return str; \n\t }\n\n\t\t\tpublic Character charAt(int i) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t} \n\t } \n\n \n\n\t // Complete the hurdleRace function below.\n// public static void solve() {\n// \tFastReader s=new FastReader();\n\n \n public static void main(String[] args) throws IOException {\n \tFastReader s=new FastReader();\n \tint n = s.nextInt();\n \tif(n%10==2 || n%10==4 || n%10==5 || n%10==7 || n%10==9)System.out.println(\"hon\");\n \telse if(n%10==0 || n%10==1 || n%10==6 || n%10==8)System.out.println(\"pon\");\n \telse if(n%10==3)System.out.println(\"bon\");\n\n\t\t\n\n \t\n }\t\n}\n",
"import java.io.*;",
"io.*",
"java",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.util.*;",
"util.*",
"java",
"public class Main \n{\n\n\t \n\t static class FastReader \n\t { \n\t BufferedReader br; \n\t StringTokenizer st; \n\t \n\t \n\t public FastReader() \n\t { \n\t br = new BufferedReader(new\n\t InputStreamReader(System.in)); \n\t } \n\t \n\t String next() \n\t { \n\t while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t } \n\t return st.nextToken();\n\t \n\t } \n\t \n\t int nextInt() \n\t { \n\t return Integer.parseInt(next()); \n\t } \n\t \n\t long nextLong() \n\t { \n\t return Long.parseLong(next()); \n\t } \n\t \n\t double nextDouble() \n\t { \n\t return Double.parseDouble(next()); \n\t } \n\t \n\t String nextLine() \n\t { \n\t String str = \"\"; \n\t try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t return str; \n\t }\n\n\t\t\tpublic Character charAt(int i) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t} \n\t } \n\n \n\n\t // Complete the hurdleRace function below.\n// public static void solve() {\n// \tFastReader s=new FastReader();\n\n \n public static void main(String[] args) throws IOException {\n \tFastReader s=new FastReader();\n \tint n = s.nextInt();\n \tif(n%10==2 || n%10==4 || n%10==5 || n%10==7 || n%10==9)System.out.println(\"hon\");\n \telse if(n%10==0 || n%10==1 || n%10==6 || n%10==8)System.out.println(\"pon\");\n \telse if(n%10==3)System.out.println(\"bon\");\n\n\t\t\n\n \t\n }\t\n}",
"Main",
"public static void main(String[] args) throws IOException {\n \tFastReader s=new FastReader();\n \tint n = s.nextInt();\n \tif(n%10==2 || n%10==4 || n%10==5 || n%10==7 || n%10==9)System.out.println(\"hon\");\n \telse if(n%10==0 || n%10==1 || n%10==6 || n%10==8)System.out.println(\"pon\");\n \telse if(n%10==3)System.out.println(\"bon\");\n\n\t\t\n\n \t\n }",
"main",
"{\n \tFastReader s=new FastReader();\n \tint n = s.nextInt();\n \tif(n%10==2 || n%10==4 || n%10==5 || n%10==7 || n%10==9)System.out.println(\"hon\");\n \telse if(n%10==0 || n%10==1 || n%10==6 || n%10==8)System.out.println(\"pon\");\n \telse if(n%10==3)System.out.println(\"bon\");\n\n\t\t\n\n \t\n }",
"FastReader s=new FastReader();",
"s",
"new FastReader()",
"int n = s.nextInt();",
"n",
"s.nextInt()",
"s.nextInt",
"s",
"if(n%10==2 || n%10==4 || n%10==5 || n%10==7 || n%10==9)System.out.println(\"hon\");\n \telse if(n%10==0 || n%10==1 || n%10==6 || n%10==8)System.out.println(\"pon\");\n \telse if(n%10==3)System.out.println(\"bon\");",
"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)System.out.println(\"pon\");\n \telse if(n%10==3)System.out.println(\"bon\");",
"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\"",
"if(n%10==3)System.out.println(\"bon\");",
"n%10==3",
"n%10",
"n",
"10",
"3",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"String[] args",
"args",
"static class FastReader \n\t { \n\t BufferedReader br; \n\t StringTokenizer st; \n\t \n\t \n\t public FastReader() \n\t { \n\t br = new BufferedReader(new\n\t InputStreamReader(System.in)); \n\t } \n\t \n\t String next() \n\t { \n\t while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t } \n\t return st.nextToken();\n\t \n\t } \n\t \n\t int nextInt() \n\t { \n\t return Integer.parseInt(next()); \n\t } \n\t \n\t long nextLong() \n\t { \n\t return Long.parseLong(next()); \n\t } \n\t \n\t double nextDouble() \n\t { \n\t return Double.parseDouble(next()); \n\t } \n\t \n\t String nextLine() \n\t { \n\t String str = \"\"; \n\t try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t return str; \n\t }\n\n\t\t\tpublic Character charAt(int i) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t} \n\t }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() \n\t { \n\t br = new BufferedReader(new\n\t InputStreamReader(System.in)); \n\t }",
"FastReader",
"{ \n\t br = new BufferedReader(new\n\t InputStreamReader(System.in)); \n\t }",
"br = new BufferedReader(new\n\t InputStreamReader(System.in))",
"br",
"new BufferedReader(new\n\t InputStreamReader(System.in))",
"String next() \n\t { \n\t while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t } \n\t return st.nextToken();\n\t \n\t }",
"next",
"{ \n\t while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t } \n\t return st.nextToken();\n\t \n\t }",
"while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{ \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t }",
"try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t }",
"catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t }",
"IOException e",
"{ \n\t e.printStackTrace(); \n\t }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{ \n\t st = new StringTokenizer(br.readLine()); \n\t }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() \n\t { \n\t return Integer.parseInt(next()); \n\t }",
"nextInt",
"{ \n\t return Integer.parseInt(next()); \n\t }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() \n\t { \n\t return Long.parseLong(next()); \n\t }",
"nextLong",
"{ \n\t return Long.parseLong(next()); \n\t }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() \n\t { \n\t return Double.parseDouble(next()); \n\t }",
"nextDouble",
"{ \n\t return Double.parseDouble(next()); \n\t }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() \n\t { \n\t String str = \"\"; \n\t try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t return str; \n\t }",
"nextLine",
"{ \n\t String str = \"\"; \n\t try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t return str; \n\t }",
"String str = \"\";",
"str",
"\"\"",
"try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t }",
"catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t }",
"IOException e",
"{ \n\t e.printStackTrace(); \n\t }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{ \n\t str = br.readLine(); \n\t }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public Character charAt(int i) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t}",
"charAt",
"{\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t}",
"return null;",
"null",
"int i",
"i",
"public class Main \n{\n\n\t \n\t static class FastReader \n\t { \n\t BufferedReader br; \n\t StringTokenizer st; \n\t \n\t \n\t public FastReader() \n\t { \n\t br = new BufferedReader(new\n\t InputStreamReader(System.in)); \n\t } \n\t \n\t String next() \n\t { \n\t while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t } \n\t return st.nextToken();\n\t \n\t } \n\t \n\t int nextInt() \n\t { \n\t return Integer.parseInt(next()); \n\t } \n\t \n\t long nextLong() \n\t { \n\t return Long.parseLong(next()); \n\t } \n\t \n\t double nextDouble() \n\t { \n\t return Double.parseDouble(next()); \n\t } \n\t \n\t String nextLine() \n\t { \n\t String str = \"\"; \n\t try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t return str; \n\t }\n\n\t\t\tpublic Character charAt(int i) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t} \n\t } \n\n \n\n\t // Complete the hurdleRace function below.\n// public static void solve() {\n// \tFastReader s=new FastReader();\n\n \n public static void main(String[] args) throws IOException {\n \tFastReader s=new FastReader();\n \tint n = s.nextInt();\n \tif(n%10==2 || n%10==4 || n%10==5 || n%10==7 || n%10==9)System.out.println(\"hon\");\n \telse if(n%10==0 || n%10==1 || n%10==6 || n%10==8)System.out.println(\"pon\");\n \telse if(n%10==3)System.out.println(\"bon\");\n\n\t\t\n\n \t\n }\t\n}",
"public class Main \n{\n\n\t \n\t static class FastReader \n\t { \n\t BufferedReader br; \n\t StringTokenizer st; \n\t \n\t \n\t public FastReader() \n\t { \n\t br = new BufferedReader(new\n\t InputStreamReader(System.in)); \n\t } \n\t \n\t String next() \n\t { \n\t while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t } \n\t return st.nextToken();\n\t \n\t } \n\t \n\t int nextInt() \n\t { \n\t return Integer.parseInt(next()); \n\t } \n\t \n\t long nextLong() \n\t { \n\t return Long.parseLong(next()); \n\t } \n\t \n\t double nextDouble() \n\t { \n\t return Double.parseDouble(next()); \n\t } \n\t \n\t String nextLine() \n\t { \n\t String str = \"\"; \n\t try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t return str; \n\t }\n\n\t\t\tpublic Character charAt(int i) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t} \n\t } \n\n \n\n\t // Complete the hurdleRace function below.\n// public static void solve() {\n// \tFastReader s=new FastReader();\n\n \n public static void main(String[] args) throws IOException {\n \tFastReader s=new FastReader();\n \tint n = s.nextInt();\n \tif(n%10==2 || n%10==4 || n%10==5 || n%10==7 || n%10==9)System.out.println(\"hon\");\n \telse if(n%10==0 || n%10==1 || n%10==6 || n%10==8)System.out.println(\"pon\");\n \telse if(n%10==3)System.out.println(\"bon\");\n\n\t\t\n\n \t\n }\t\n}",
"Main"
] |
import java.io.*;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
import java.util.*;
public class Main
{
static class FastReader
{
BufferedReader br;
StringTokenizer st;
public FastReader()
{
br = new BufferedReader(new
InputStreamReader(System.in));
}
String next()
{
while (st == null || !st.hasMoreTokens())
{
try
{
st = new StringTokenizer(br.readLine());
}
catch (IOException e)
{
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt()
{
return Integer.parseInt(next());
}
long nextLong()
{
return Long.parseLong(next());
}
double nextDouble()
{
return Double.parseDouble(next());
}
String nextLine()
{
String str = "";
try
{
str = br.readLine();
}
catch (IOException e)
{
e.printStackTrace();
}
return str;
}
public Character charAt(int i) {
// TODO Auto-generated method stub
return null;
}
}
// Complete the hurdleRace function below.
// public static void solve() {
// FastReader s=new FastReader();
public static void main(String[] args) throws IOException {
FastReader s=new FastReader();
int n = s.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 if(n%10==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,
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
],
[
82,
5
],
[
82,
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
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
22,
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
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
49,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
6,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] |
[
"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\t\tN = N%10;\n \n\t\tif(N==2||N==4||N==5||N==7||N==9){\n\t\t\tSystem.out.println(\"hon\");\n }else if(N==0||N==1||N==6||N==8){\n\t\t\tSystem.out.println(\"pon\");\n }else{\n\t\t\tSystem.out.println(\"bon\");\n }\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\tint N = sc.nextInt();\n\t\tN = N%10;\n \n\t\tif(N==2||N==4||N==5||N==7||N==9){\n\t\t\tSystem.out.println(\"hon\");\n }else if(N==0||N==1||N==6||N==8){\n\t\t\tSystem.out.println(\"pon\");\n }else{\n\t\t\tSystem.out.println(\"bon\");\n }\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 = N%10;\n \n\t\tif(N==2||N==4||N==5||N==7||N==9){\n\t\t\tSystem.out.println(\"hon\");\n }else if(N==0||N==1||N==6||N==8){\n\t\t\tSystem.out.println(\"pon\");\n }else{\n\t\t\tSystem.out.println(\"bon\");\n }\n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tN = N%10;\n \n\t\tif(N==2||N==4||N==5||N==7||N==9){\n\t\t\tSystem.out.println(\"hon\");\n }else if(N==0||N==1||N==6||N==8){\n\t\t\tSystem.out.println(\"pon\");\n }else{\n\t\t\tSystem.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 = 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 }else if(N==0||N==1||N==6||N==8){\n\t\t\tSystem.out.println(\"pon\");\n }else{\n\t\t\tSystem.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\t\t\tSystem.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\t\t\tSystem.out.println(\"pon\");\n }else{\n\t\t\tSystem.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\t\t\tSystem.out.println(\"pon\");\n }",
"System.out.println(\"pon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"pon\"",
"{\n\t\t\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 sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tN = N%10;\n \n\t\tif(N==2||N==4||N==5||N==7||N==9){\n\t\t\tSystem.out.println(\"hon\");\n }else if(N==0||N==1||N==6||N==8){\n\t\t\tSystem.out.println(\"pon\");\n }else{\n\t\t\tSystem.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\t\tint N = sc.nextInt();\n\t\tN = N%10;\n \n\t\tif(N==2||N==4||N==5||N==7||N==9){\n\t\t\tSystem.out.println(\"hon\");\n }else if(N==0||N==1||N==6||N==8){\n\t\t\tSystem.out.println(\"pon\");\n }else{\n\t\t\tSystem.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 = 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,
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,
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
],
[
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
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] |
[
"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 N = scanner.nextLine();\n char lastDigit = N.charAt(N.length()-1);\n if (lastDigit == '3') {\n System.out.println(\"bon\");\n } else if (lastDigit == '0' || lastDigit == '1' || lastDigit == '6' || lastDigit == '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\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String N = scanner.nextLine();\n char lastDigit = N.charAt(N.length()-1);\n if (lastDigit == '3') {\n System.out.println(\"bon\");\n } else if (lastDigit == '0' || lastDigit == '1' || lastDigit == '6' || lastDigit == '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 String N = scanner.nextLine();\n char lastDigit = N.charAt(N.length()-1);\n if (lastDigit == '3') {\n System.out.println(\"bon\");\n } else if (lastDigit == '0' || lastDigit == '1' || lastDigit == '6' || lastDigit == '8') {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n String N = scanner.nextLine();\n char lastDigit = N.charAt(N.length()-1);\n if (lastDigit == '3') {\n System.out.println(\"bon\");\n } else if (lastDigit == '0' || lastDigit == '1' || lastDigit == '6' || lastDigit == '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)",
"String N = scanner.nextLine();",
"N",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"char lastDigit = N.charAt(N.length()-1);",
"lastDigit",
"N.charAt(N.length()-1)",
"N.charAt",
"N",
"N.length()-1",
"N.length()",
"N.length",
"N",
"1",
"if (lastDigit == '3') {\n System.out.println(\"bon\");\n } else if (lastDigit == '0' || lastDigit == '1' || lastDigit == '6' || lastDigit == '8') {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }",
"lastDigit == '3'",
"lastDigit",
"'3'",
"{\n System.out.println(\"bon\");\n }",
"System.out.println(\"bon\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"bon\"",
"if (lastDigit == '0' || lastDigit == '1' || lastDigit == '6' || lastDigit == '8') {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }",
"lastDigit == '0' || lastDigit == '1' || lastDigit == '6' || lastDigit == '8'",
"lastDigit == '6'",
"lastDigit == '0' || lastDigit == '1' || lastDigit == '6' || lastDigit == '8'",
"lastDigit == '0'",
"lastDigit",
"'0'",
"lastDigit == '1'",
"lastDigit",
"'1'",
"lastDigit == '6'",
"lastDigit",
"'6'",
"lastDigit == '8'",
"lastDigit",
"'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 scanner = new Scanner(System.in);\n String N = scanner.nextLine();\n char lastDigit = N.charAt(N.length()-1);\n if (lastDigit == '3') {\n System.out.println(\"bon\");\n } else if (lastDigit == '0' || lastDigit == '1' || lastDigit == '6' || lastDigit == '8') {\n System.out.println(\"pon\");\n } else {\n System.out.println(\"hon\");\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String N = scanner.nextLine();\n char lastDigit = N.charAt(N.length()-1);\n if (lastDigit == '3') {\n System.out.println(\"bon\");\n } else if (lastDigit == '0' || lastDigit == '1' || lastDigit == '6' || lastDigit == '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);
String N = scanner.nextLine();
char lastDigit = N.charAt(N.length()-1);
if (lastDigit == '3') {
System.out.println("bon");
} else if (lastDigit == '0' || lastDigit == '1' || lastDigit == '6' || lastDigit == '8') {
System.out.println("pon");
} else {
System.out.println("hon");
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.