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,
41,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
39,
5
],
[
39,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
20,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
26,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint a = scan.nextInt();\n\t\t\n\t\tint ans = a+a*a+a*a*a;\n\t\t\n\t\tSystem.out.print(ans);\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\t\t\n\t\tint a = scan.nextInt();\n\t\t\n\t\tint ans = a+a*a+a*a*a;\n\t\t\n\t\tSystem.out.print(ans);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint a = scan.nextInt();\n\t\t\n\t\tint ans = a+a*a+a*a*a;\n\t\t\n\t\tSystem.out.print(ans);\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint a = scan.nextInt();\n\t\t\n\t\tint ans = a+a*a+a*a*a;\n\t\t\n\t\tSystem.out.print(ans);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int ans = a+a*a+a*a*a;",
"ans",
"a+a*a+a*a*a",
"a+a*a+a*a*a",
"a",
"a*a",
"a",
"a",
"a*a*a",
"a*a*a",
"a",
"a",
"a",
"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\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint a = scan.nextInt();\n\t\t\n\t\tint ans = a+a*a+a*a*a;\n\t\t\n\t\tSystem.out.print(ans);\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\t\t\n\t\tint a = scan.nextInt();\n\t\t\n\t\tint ans = a+a*a+a*a*a;\n\t\t\n\t\tSystem.out.print(ans);\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 a = scan.nextInt();
int ans = a+a*a+a*a*a;
System.out.print(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
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
],
[
42,
8
],
[
42,
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
],
[
23,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
11,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
9,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
]
| [
"import java.util.*;\nimport java.math.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = K + (K*K) + (K*K*K) ;\n\t\t\n\t\tSystem.out.println(A);\n \n }\n\t}\n ",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = K + (K*K) + (K*K*K) ;\n\t\t\n\t\tSystem.out.println(A);\n \n }\n\t}",
"Main",
"public static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = K + (K*K) + (K*K*K) ;\n\t\t\n\t\tSystem.out.println(A);\n \n }",
"main",
"{\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = K + (K*K) + (K*K*K) ;\n\t\t\n\t\tSystem.out.println(A);\n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int K = sc.nextInt();",
"K",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int A = K + (K*K) + (K*K*K) ;",
"A",
"K + (K*K) + (K*K*K)",
"K + (K*K) + (K*K*K)",
"K",
"(K*K)",
"K",
"K",
"(K*K*K)",
"K*K*K",
"K",
"K",
"K",
"System.out.println(A)",
"System.out.println",
"System.out",
"System",
"System.out",
"A",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = K + (K*K) + (K*K*K) ;\n\t\t\n\t\tSystem.out.println(A);\n \n }\n\t}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = K + (K*K) + (K*K*K) ;\n\t\t\n\t\tSystem.out.println(A);\n \n }\n\t}",
"Main"
]
| import java.util.*;
import java.math.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int K = sc.nextInt();
int A = K + (K*K) + (K*K*K) ;
System.out.println(A);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
17,
41,
13,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
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
],
[
19,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
26,
30
],
[
8,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
37,
37
],
[
37,
38
],
[
37,
39
],
[
37,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
]
| [
"import java.util.*;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint a = scan.nextInt();\n\t\t\n\t\tint b = (int)Math.pow(a, 2);\n\t\tint c = (int)Math.pow(a, 3);\n\t\t\n\t\tSystem.out.println(a+b+c);\n\t}\n}\n ",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint a = scan.nextInt();\n\t\t\n\t\tint b = (int)Math.pow(a, 2);\n\t\tint c = (int)Math.pow(a, 3);\n\t\t\n\t\tSystem.out.println(a+b+c);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint a = scan.nextInt();\n\t\t\n\t\tint b = (int)Math.pow(a, 2);\n\t\tint c = (int)Math.pow(a, 3);\n\t\t\n\t\tSystem.out.println(a+b+c);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint a = scan.nextInt();\n\t\t\n\t\tint b = (int)Math.pow(a, 2);\n\t\tint c = (int)Math.pow(a, 3);\n\t\t\n\t\tSystem.out.println(a+b+c);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int b = (int)Math.pow(a, 2);",
"b",
"(int)Math.pow(a, 2)",
"Math.pow",
"Math",
"a",
"2",
"int c = (int)Math.pow(a, 3);",
"c",
"(int)Math.pow(a, 3)",
"Math.pow",
"Math",
"a",
"3",
"System.out.println(a+b+c)",
"System.out.println",
"System.out",
"System",
"System.out",
"a+b+c",
"a+b+c",
"a",
"b",
"c",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint a = scan.nextInt();\n\t\t\n\t\tint b = (int)Math.pow(a, 2);\n\t\tint c = (int)Math.pow(a, 3);\n\t\t\n\t\tSystem.out.println(a+b+c);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint a = scan.nextInt();\n\t\t\n\t\tint b = (int)Math.pow(a, 2);\n\t\tint c = (int)Math.pow(a, 3);\n\t\t\n\t\tSystem.out.println(a+b+c);\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = (int)Math.pow(a, 2);
int c = (int)Math.pow(a, 3);
System.out.println(a+b+c);
}
}
|
[
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,
2,
2,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
28,
32
],
[
26,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
33,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
]
| [
"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 a = Integer.parseInt(scan.next());\n\t\tint ans = (int)Math.floor(a + Math.pow(a, 2) + Math.pow(a, 3));\n\n\t\tSystem.out.println(ans);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = Integer.parseInt(scan.next());\n\t\tint ans = (int)Math.floor(a + Math.pow(a, 2) + Math.pow(a, 3));\n\n\t\tSystem.out.println(ans);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = Integer.parseInt(scan.next());\n\t\tint ans = (int)Math.floor(a + Math.pow(a, 2) + Math.pow(a, 3));\n\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = Integer.parseInt(scan.next());\n\t\tint ans = (int)Math.floor(a + Math.pow(a, 2) + Math.pow(a, 3));\n\n\t\tSystem.out.println(ans);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a = Integer.parseInt(scan.next());",
"a",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"int ans = (int)Math.floor(a + Math.pow(a, 2) + Math.pow(a, 3));",
"ans",
"(int)Math.floor(a + Math.pow(a, 2) + Math.pow(a, 3))",
"Math.floor",
"Math",
"a + Math.pow(a, 2) + Math.pow(a, 3)",
"a + Math.pow(a, 2) + Math.pow(a, 3)",
"a",
"Math.pow(a, 2)",
"Math.pow",
"Math",
"a",
"2",
"Math.pow(a, 3)",
"Math.pow",
"Math",
"a",
"3",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = Integer.parseInt(scan.next());\n\t\tint ans = (int)Math.floor(a + Math.pow(a, 2) + Math.pow(a, 3));\n\n\t\tSystem.out.println(ans);\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 a = Integer.parseInt(scan.next());\n\t\tint ans = (int)Math.floor(a + Math.pow(a, 2) + Math.pow(a, 3));\n\n\t\tSystem.out.println(ans);\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = Integer.parseInt(scan.next());
int ans = (int)Math.floor(a + Math.pow(a, 2) + Math.pow(a, 3));
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
38,
5
],
[
38,
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
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
25,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
30,
34
],
[
6,
35
],
[
35,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a = stdIn.nextInt();\n\t\tSystem.out.println((int) (a + Math.pow(a, 2) + Math.pow(a, 3)));\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a = stdIn.nextInt();\n\t\tSystem.out.println((int) (a + Math.pow(a, 2) + Math.pow(a, 3)));\n\t}\n}",
"Main",
"public static void main(String args[]) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a = stdIn.nextInt();\n\t\tSystem.out.println((int) (a + Math.pow(a, 2) + Math.pow(a, 3)));\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a = stdIn.nextInt();\n\t\tSystem.out.println((int) (a + Math.pow(a, 2) + Math.pow(a, 3)));\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"int a = stdIn.nextInt();",
"a",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"System.out.println((int) (a + Math.pow(a, 2) + Math.pow(a, 3)))",
"System.out.println",
"System.out",
"System",
"System.out",
"(int) (a + Math.pow(a, 2) + Math.pow(a, 3))",
"a + Math.pow(a, 2) + Math.pow(a, 3)",
"a",
"Math.pow(a, 2)",
"Math.pow",
"Math",
"a",
"2",
"Math.pow(a, 3)",
"Math.pow",
"Math",
"a",
"3",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a = stdIn.nextInt();\n\t\tSystem.out.println((int) (a + Math.pow(a, 2) + Math.pow(a, 3)));\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a = stdIn.nextInt();\n\t\tSystem.out.println((int) (a + Math.pow(a, 2) + Math.pow(a, 3)));\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner stdIn = new Scanner(System.in);
int a = stdIn.nextInt();
System.out.println((int) (a + Math.pow(a, 2) + Math.pow(a, 3)));
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
0,
13,
2,
2,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
41,
5
],
[
41,
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
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
22,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
27,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
6,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n a = (int)(a + Math.pow(a, 2) + Math.pow(a, 3));\n System.out.println(a);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n a = (int)(a + Math.pow(a, 2) + Math.pow(a, 3));\n System.out.println(a);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n a = (int)(a + Math.pow(a, 2) + Math.pow(a, 3));\n System.out.println(a);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n a = (int)(a + Math.pow(a, 2) + Math.pow(a, 3));\n System.out.println(a);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"a = (int)(a + Math.pow(a, 2) + Math.pow(a, 3))",
"a",
"(int)(a + Math.pow(a, 2) + Math.pow(a, 3))",
"a + Math.pow(a, 2) + Math.pow(a, 3)",
"a",
"Math.pow(a, 2)",
"Math.pow",
"Math",
"a",
"2",
"Math.pow(a, 3)",
"Math.pow",
"Math",
"a",
"3",
"System.out.println(a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n a = (int)(a + Math.pow(a, 2) + Math.pow(a, 3));\n System.out.println(a);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n a = (int)(a + Math.pow(a, 2) + Math.pow(a, 3));\n System.out.println(a);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
a = (int)(a + Math.pow(a, 2) + Math.pow(a, 3));
System.out.println(a);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
38,
5
],
[
38,
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
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
25,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
30,
34
],
[
6,
35
],
[
35,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
]
]
| [
"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\t\t\n\t\tint n = sc.nextInt();\n\t\t//String s = sc.next();\n\t\t//long n = sc.nextLong();\n\t\t//double n = sc.nextDouble();\n\t\t\n\t\t//for(int i = 0; i < ; i++)\n\n\t\tSystem.out.println((int)(n+Math.pow(n, 2)+Math.pow(n, 3)));\n\t\t//System.out.println(\"No\");\n\t\t\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\t//String s = sc.next();\n\t\t//long n = sc.nextLong();\n\t\t//double n = sc.nextDouble();\n\t\t\n\t\t//for(int i = 0; i < ; i++)\n\n\t\tSystem.out.println((int)(n+Math.pow(n, 2)+Math.pow(n, 3)));\n\t\t//System.out.println(\"No\");\n\t\t\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\t//String s = sc.next();\n\t\t//long n = sc.nextLong();\n\t\t//double n = sc.nextDouble();\n\t\t\n\t\t//for(int i = 0; i < ; i++)\n\n\t\tSystem.out.println((int)(n+Math.pow(n, 2)+Math.pow(n, 3)));\n\t\t//System.out.println(\"No\");\n\t\t\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\t//String s = sc.next();\n\t\t//long n = sc.nextLong();\n\t\t//double n = sc.nextDouble();\n\t\t\n\t\t//for(int i = 0; i < ; i++)\n\n\t\tSystem.out.println((int)(n+Math.pow(n, 2)+Math.pow(n, 3)));\n\t\t//System.out.println(\"No\");\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",
"System.out.println((int)(n+Math.pow(n, 2)+Math.pow(n, 3)))",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)(n+Math.pow(n, 2)+Math.pow(n, 3))",
"n+Math.pow(n, 2)+Math.pow(n, 3)",
"n",
"Math.pow(n, 2)",
"Math.pow",
"Math",
"n",
"2",
"Math.pow(n, 3)",
"Math.pow",
"Math",
"n",
"3",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\t//String s = sc.next();\n\t\t//long n = sc.nextLong();\n\t\t//double n = sc.nextDouble();\n\t\t\n\t\t//for(int i = 0; i < ; i++)\n\n\t\tSystem.out.println((int)(n+Math.pow(n, 2)+Math.pow(n, 3)));\n\t\t//System.out.println(\"No\");\n\t\t\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\t//String s = sc.next();\n\t\t//long n = sc.nextLong();\n\t\t//double n = sc.nextDouble();\n\t\t\n\t\t//for(int i = 0; i < ; i++)\n\n\t\tSystem.out.println((int)(n+Math.pow(n, 2)+Math.pow(n, 3)));\n\t\t//System.out.println(\"No\");\n\t\t\n\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
//String s = sc.next();
//long n = sc.nextLong();
//double n = sc.nextDouble();
//for(int i = 0; i < ; i++)
System.out.println((int)(n+Math.pow(n, 2)+Math.pow(n, 3)));
//System.out.println("No");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
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
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
23,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
6,
33
],
[
33,
34
]
]
| [
"import java.util.*;\n \nclass Main{\n\tpublic static void main(String args[]){\n \tScanner sc = new Scanner(System.in);\n \tint num = sc.nextInt();\n \n System.out.println(num + (num*num) + (num*num*num));\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String args[]){\n \tScanner sc = new Scanner(System.in);\n \tint num = sc.nextInt();\n \n System.out.println(num + (num*num) + (num*num*num));\n }\n}",
"Main",
"public static void main(String args[]){\n \tScanner sc = new Scanner(System.in);\n \tint num = sc.nextInt();\n \n System.out.println(num + (num*num) + (num*num*num));\n }",
"main",
"{\n \tScanner sc = new Scanner(System.in);\n \tint num = sc.nextInt();\n \n System.out.println(num + (num*num) + (num*num*num));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int num = sc.nextInt();",
"num",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(num + (num*num) + (num*num*num))",
"System.out.println",
"System.out",
"System",
"System.out",
"num + (num*num) + (num*num*num)",
"num + (num*num) + (num*num*num)",
"num",
"(num*num)",
"num",
"num",
"(num*num*num)",
"num*num*num",
"num",
"num",
"num",
"String args[]",
"args"
]
| import java.util.*;
class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int num = sc.nextInt();
System.out.println(num + (num*num) + (num*num*num));
}
} |
[
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,
4,
18,
18,
13,
13,
2,
2,
13,
4,
18,
13,
13,
17,
4,
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
],
[
47,
11
],
[
47,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
34,
38
],
[
32,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
43
],
[
12,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
]
| [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(in.readLine());\n System.out.println(a + (int)Math.pow(a,2) + (int)Math.pow(a,3));\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(in.readLine());\n System.out.println(a + (int)Math.pow(a,2) + (int)Math.pow(a,3));\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(in.readLine());\n System.out.println(a + (int)Math.pow(a,2) + (int)Math.pow(a,3));\n }",
"main",
"{\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(in.readLine());\n System.out.println(a + (int)Math.pow(a,2) + (int)Math.pow(a,3));\n }",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"int a = Integer.parseInt(in.readLine());",
"a",
"Integer.parseInt(in.readLine())",
"Integer.parseInt",
"Integer",
"in.readLine()",
"in.readLine",
"in",
"System.out.println(a + (int)Math.pow(a,2) + (int)Math.pow(a,3))",
"System.out.println",
"System.out",
"System",
"System.out",
"a + (int)Math.pow(a,2) + (int)Math.pow(a,3)",
"a + (int)Math.pow(a,2) + (int)Math.pow(a,3)",
"a",
"(int)Math.pow(a,2)",
"Math.pow",
"Math",
"a",
"2",
"(int)Math.pow(a,3)",
"Math.pow",
"Math",
"a",
"3",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(in.readLine());\n System.out.println(a + (int)Math.pow(a,2) + (int)Math.pow(a,3));\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(in.readLine());\n System.out.println(a + (int)Math.pow(a,2) + (int)Math.pow(a,3));\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(in.readLine());
System.out.println(a + (int)Math.pow(a,2) + (int)Math.pow(a,3));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
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
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
35,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tint n = sc.nextInt();\n \tint ans = 0;\n \tfor(int i=1;i<4;i++){\n ans += Math.pow(n,i);\n }\n System.out.println(ans);\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 \tint n = sc.nextInt();\n \tint ans = 0;\n \tfor(int i=1;i<4;i++){\n ans += Math.pow(n,i);\n }\n System.out.println(ans);\t\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tint n = sc.nextInt();\n \tint ans = 0;\n \tfor(int i=1;i<4;i++){\n ans += Math.pow(n,i);\n }\n System.out.println(ans);\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n \tint n = sc.nextInt();\n \tint ans = 0;\n \tfor(int i=1;i<4;i++){\n ans += Math.pow(n,i);\n }\n System.out.println(ans);\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int ans = 0;",
"ans",
"0",
"for(int i=1;i<4;i++){\n ans += Math.pow(n,i);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<4",
"i",
"4",
"i++",
"i++",
"i",
"{\n ans += Math.pow(n,i);\n }",
"{\n ans += Math.pow(n,i);\n }",
"ans += Math.pow(n,i)",
"ans",
"Math.pow(n,i)",
"Math.pow",
"Math",
"n",
"i",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tint n = sc.nextInt();\n \tint ans = 0;\n \tfor(int i=1;i<4;i++){\n ans += Math.pow(n,i);\n }\n System.out.println(ans);\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tint n = sc.nextInt();\n \tint ans = 0;\n \tfor(int i=1;i<4;i++){\n ans += Math.pow(n,i);\n }\n System.out.println(ans);\t\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int ans = 0;
for(int i=1;i<4;i++){
ans += Math.pow(n,i);
}
System.out.println(ans);
}
} |
[
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,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
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
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
35,
35
],
[
35,
36
],
[
35,
37
],
[
35,
38
],
[
12,
39
],
[
39,
40
]
]
| [
"/* package codechef; // don't place package name! */\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n/* Name of the class has to be \"Main\" only if the class is public. */\nclass Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t Scanner sc=new Scanner(System.in);\n\t int t=sc.nextInt();\n\t System.out.println(t+t*t+t*t*t);\n\t }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t Scanner sc=new Scanner(System.in);\n\t int t=sc.nextInt();\n\t System.out.println(t+t*t+t*t*t);\n\t }\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception\n\t{\n\t Scanner sc=new Scanner(System.in);\n\t int t=sc.nextInt();\n\t System.out.println(t+t*t+t*t*t);\n\t }",
"main",
"{\n\t Scanner sc=new Scanner(System.in);\n\t int t=sc.nextInt();\n\t System.out.println(t+t*t+t*t*t);\n\t }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int t=sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(t+t*t+t*t*t)",
"System.out.println",
"System.out",
"System",
"System.out",
"t+t*t+t*t*t",
"t+t*t+t*t*t",
"t",
"t*t",
"t",
"t",
"t*t*t",
"t*t*t",
"t",
"t",
"t",
"String[] args",
"args"
]
| /* 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. */
class Main
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner sc=new Scanner(System.in);
int t=sc.nextInt();
System.out.println(t+t*t+t*t*t);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
2,
2,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
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
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
12,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
22,
34
],
[
34,
35
],
[
34,
36
],
[
37,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
43
],
[
37,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
44,
48
],
[
22,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
9,
55
],
[
55,
56
]
]
| [
"import java.util.*;\nimport java.io.*;\nclass Main{\n public static void main(String[] args){\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(br.readLine());\n int ans = a + (int)Math.pow(a,2) + (int)Math.pow(a,3);\n System.out.println(ans);\n }catch(IOException e){\n System.out.println(e);\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String[] args){\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(br.readLine());\n int ans = a + (int)Math.pow(a,2) + (int)Math.pow(a,3);\n System.out.println(ans);\n }catch(IOException e){\n System.out.println(e);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(br.readLine());\n int ans = a + (int)Math.pow(a,2) + (int)Math.pow(a,3);\n System.out.println(ans);\n }catch(IOException e){\n System.out.println(e);\n }\n }",
"main",
"{\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(br.readLine());\n int ans = a + (int)Math.pow(a,2) + (int)Math.pow(a,3);\n System.out.println(ans);\n }catch(IOException e){\n System.out.println(e);\n }\n }",
"try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(br.readLine());\n int ans = a + (int)Math.pow(a,2) + (int)Math.pow(a,3);\n System.out.println(ans);\n }catch(IOException e){\n System.out.println(e);\n }",
"catch(IOException e){\n System.out.println(e);\n }",
"IOException e",
"{\n System.out.println(e);\n }",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(br.readLine());\n int ans = a + (int)Math.pow(a,2) + (int)Math.pow(a,3);\n System.out.println(ans);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int a = Integer.parseInt(br.readLine());",
"a",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"int ans = a + (int)Math.pow(a,2) + (int)Math.pow(a,3);",
"ans",
"a + (int)Math.pow(a,2) + (int)Math.pow(a,3)",
"a + (int)Math.pow(a,2) + (int)Math.pow(a,3)",
"a",
"(int)Math.pow(a,2)",
"Math.pow",
"Math",
"a",
"2",
"(int)Math.pow(a,3)",
"Math.pow",
"Math",
"a",
"3",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args"
]
| import java.util.*;
import java.io.*;
class Main{
public static void main(String[] args){
try{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(br.readLine());
int ans = a + (int)Math.pow(a,2) + (int)Math.pow(a,3);
System.out.println(ans);
}catch(IOException e){
System.out.println(e);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
39,
5
],
[
39,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
]
| [
"\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint line = Integer.parseInt(sc.nextLine());\n\t\tSystem.out.println(line + line * line + line * line * line);\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\tint line = Integer.parseInt(sc.nextLine());\n\t\tSystem.out.println(line + line * line + line * line * line);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint line = Integer.parseInt(sc.nextLine());\n\t\tSystem.out.println(line + line * line + line * line * line);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint line = Integer.parseInt(sc.nextLine());\n\t\tSystem.out.println(line + line * line + line * line * line);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int line = Integer.parseInt(sc.nextLine());",
"line",
"Integer.parseInt(sc.nextLine())",
"Integer.parseInt",
"Integer",
"sc.nextLine()",
"sc.nextLine",
"sc",
"System.out.println(line + line * line + line * line * line)",
"System.out.println",
"System.out",
"System",
"System.out",
"line + line * line + line * line * line",
"line + line * line + line * line * line",
"line",
"line * line",
"line",
"line",
"line * line * line",
"line * line * line",
"line",
"line",
"line",
"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 line = Integer.parseInt(sc.nextLine());\n\t\tSystem.out.println(line + line * line + line * line * line);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint line = Integer.parseInt(sc.nextLine());\n\t\tSystem.out.println(line + line * line + line * line * line);\n\t}\n}",
"Main"
]
|
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int line = Integer.parseInt(sc.nextLine());
System.out.println(line + line * line + line * line * line);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
39,
8
],
[
39,
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
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
9,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
]
| [
"/*\n------------------------------|بسم الله الرحمن الرحيم|------------------------------//\n------------\"IN THE NAME OF ALLAH, THE MOST GRACIUOS, THE MOST MERCIFUL\"-------------//\n__________________________________ShahnawazShaikh_____________________________________\n*/\nimport java.io.*;\nimport java.util.*;\npublic class Main{\n\tpublic static void main(String[] x) throws java.lang.Exception{\n\tScanner sc=new Scanner(System.in);\n short a=sc.nextShort();\n System.out.println(a+a*a+a*a*a);\n\t\n\n\t}\n\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] x) throws java.lang.Exception{\n\tScanner sc=new Scanner(System.in);\n short a=sc.nextShort();\n System.out.println(a+a*a+a*a*a);\n\t\n\n\t}\n\n}",
"Main",
"public static void main(String[] x) throws java.lang.Exception{\n\tScanner sc=new Scanner(System.in);\n short a=sc.nextShort();\n System.out.println(a+a*a+a*a*a);\n\t\n\n\t}",
"main",
"{\n\tScanner sc=new Scanner(System.in);\n short a=sc.nextShort();\n System.out.println(a+a*a+a*a*a);\n\t\n\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"short a=sc.nextShort();",
"a",
"sc.nextShort()",
"sc.nextShort",
"sc",
"System.out.println(a+a*a+a*a*a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a+a*a+a*a*a",
"a+a*a+a*a*a",
"a",
"a*a",
"a",
"a",
"a*a*a",
"a*a*a",
"a",
"a",
"a",
"String[] x",
"x",
"public class Main{\n\tpublic static void main(String[] x) throws java.lang.Exception{\n\tScanner sc=new Scanner(System.in);\n short a=sc.nextShort();\n System.out.println(a+a*a+a*a*a);\n\t\n\n\t}\n\n}",
"public class Main{\n\tpublic static void main(String[] x) throws java.lang.Exception{\n\tScanner sc=new Scanner(System.in);\n short a=sc.nextShort();\n System.out.println(a+a*a+a*a*a);\n\t\n\n\t}\n\n}",
"Main"
]
| /*
------------------------------|بسم الله الرحمن الرحيم|------------------------------//
------------"IN THE NAME OF ALLAH, THE MOST GRACIUOS, THE MOST MERCIFUL"-------------//
__________________________________ShahnawazShaikh_____________________________________
*/
import java.io.*;
import java.util.*;
public class Main{
public static void main(String[] x) throws java.lang.Exception{
Scanner sc=new Scanner(System.in);
short a=sc.nextShort();
System.out.println(a+a*a+a*a*a);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
39,
5
],
[
39,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
]
| [
"import java.io.*;\npublic class Main{\n public static void main(String[] args)throws IOException{\n BufferedReader b = new BufferedReader(new InputStreamReader(System.in));\n\tint a=Integer.parseInt(b.readLine());\n System.out.println(a+a*a+a*a*a);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[] args)throws IOException{\n BufferedReader b = new BufferedReader(new InputStreamReader(System.in));\n\tint a=Integer.parseInt(b.readLine());\n System.out.println(a+a*a+a*a*a);\n }\n}",
"Main",
"public static void main(String[] args)throws IOException{\n BufferedReader b = new BufferedReader(new InputStreamReader(System.in));\n\tint a=Integer.parseInt(b.readLine());\n System.out.println(a+a*a+a*a*a);\n }",
"main",
"{\n BufferedReader b = new BufferedReader(new InputStreamReader(System.in));\n\tint a=Integer.parseInt(b.readLine());\n System.out.println(a+a*a+a*a*a);\n }",
"BufferedReader b = new BufferedReader(new InputStreamReader(System.in));",
"b",
"new BufferedReader(new InputStreamReader(System.in))",
"int a=Integer.parseInt(b.readLine());",
"a",
"Integer.parseInt(b.readLine())",
"Integer.parseInt",
"Integer",
"b.readLine()",
"b.readLine",
"b",
"System.out.println(a+a*a+a*a*a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a+a*a+a*a*a",
"a+a*a+a*a*a",
"a",
"a*a",
"a",
"a",
"a*a*a",
"a*a*a",
"a",
"a",
"a",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args)throws IOException{\n BufferedReader b = new BufferedReader(new InputStreamReader(System.in));\n\tint a=Integer.parseInt(b.readLine());\n System.out.println(a+a*a+a*a*a);\n }\n}",
"public class Main{\n public static void main(String[] args)throws IOException{\n BufferedReader b = new BufferedReader(new InputStreamReader(System.in));\n\tint a=Integer.parseInt(b.readLine());\n System.out.println(a+a*a+a*a*a);\n }\n}",
"Main"
]
| import java.io.*;
public class Main{
public static void main(String[] args)throws IOException{
BufferedReader b = new BufferedReader(new InputStreamReader(System.in));
int a=Integer.parseInt(b.readLine());
System.out.println(a+a*a+a*a*a);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
2,
17,
17,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
17,
12,
13,
30,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
12,
13,
30,
4,
18,
20,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
60,
5
],
[
60,
6
],
[
6,
7
],
[
6,
8
],
[
60,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
11,
13
],
[
60,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
16,
18
],
[
60,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
21,
23
],
[
60,
24
],
[
24,
25
],
[
24,
26
],
[
60,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
41,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
47,
47
],
[
47,
48
],
[
47,
49
],
[
47,
50
],
[
60,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
51,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
]
| [
"import java.util.*;\n \npublic class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = (int)1e9 + 7;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tint len = (int)1e7;\n\t\n\t\n\tvoid doIt() {\n\t\tint a = sc.nextInt();\n\t\tSystem.out.println(a + a * a + a * a * a);\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n \n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = (int)1e9 + 7;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tint len = (int)1e7;\n\t\n\t\n\tvoid doIt() {\n\t\tint a = sc.nextInt();\n\t\tSystem.out.println(a + a * a + a * a * a);\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n \n}",
"Main",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final int MOD = (int)1e9 + 7;",
"MOD",
"(int)1e9 + 7",
"(int)1e9",
"7",
"final int MAX = Integer.MAX_VALUE;",
"MAX",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"final long LMAX = Long.MAX_VALUE;",
"LMAX",
"Long.MAX_VALUE",
"Long",
"Long.MAX_VALUE",
"int len = (int)1e7;",
"len",
"(int)1e7",
"void doIt() {\n\t\tint a = sc.nextInt();\n\t\tSystem.out.println(a + a * a + a * a * a);\n\t}",
"doIt",
"{\n\t\tint a = sc.nextInt();\n\t\tSystem.out.println(a + a * a + a * a * a);\n\t}",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(a + a * a + a * a * a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + a * a + a * a * a",
"a + a * a + a * a * a",
"a",
"a * a",
"a",
"a",
"a * a * a",
"a * a * a",
"a",
"a",
"a",
"public static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}",
"main",
"{\n\t\tnew Main().doIt();\n\t}",
"new Main().doIt()",
"new Main().doIt",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = (int)1e9 + 7;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tint len = (int)1e7;\n\t\n\t\n\tvoid doIt() {\n\t\tint a = sc.nextInt();\n\t\tSystem.out.println(a + a * a + a * a * a);\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n \n}",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = (int)1e9 + 7;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tint len = (int)1e7;\n\t\n\t\n\tvoid doIt() {\n\t\tint a = sc.nextInt();\n\t\tSystem.out.println(a + a * a + a * a * a);\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n \n}",
"Main"
]
| import java.util.*;
public class Main {
Scanner sc = new Scanner(System.in);
final int MOD = (int)1e9 + 7;
final int MAX = Integer.MAX_VALUE;
final long LMAX = Long.MAX_VALUE;
int len = (int)1e7;
void doIt() {
int a = sc.nextInt();
System.out.println(a + a * a + a * a * a);
}
public static void main(String[] args) {
new Main().doIt();
}
} |
[
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,
2,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
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,
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,
0,
13,
17,
29,
13,
12,
13,
30,
0,
13,
17,
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
],
[
156,
14
],
[
156,
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
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
31,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
36,
40
],
[
17,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
15,
47
],
[
47,
48
],
[
156,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
49,
53
],
[
53,
54
],
[
49,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
49,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
64,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
74,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
63,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
49,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
96,
97
],
[
49,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
105,
106
],
[
49,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
114,
115
],
[
49,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
123,
124
],
[
49,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
127,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
131,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
127,
144
],
[
144,
145
],
[
144,
146
],
[
127,
147
],
[
147,
148
],
[
49,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
0,
155
],
[
155,
156
],
[
155,
157
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\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 public 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 public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public float nextFloat() {\n return Float.parseFloat(next());\n }\n\n public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n st = null;\n return str;\n }\n\n public void resetST() {\n st = null;\n }\n }\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n int a=sc.nextInt();\n long sum = (long) (a+ Math.pow(a,2)+Math.pow(a,3));\n System.out.println(sum);\n\t// write your code here\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 static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n public 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 public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public float nextFloat() {\n return Float.parseFloat(next());\n }\n\n public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n st = null;\n return str;\n }\n\n public void resetST() {\n st = null;\n }\n }\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n int a=sc.nextInt();\n long sum = (long) (a+ Math.pow(a,2)+Math.pow(a,3));\n System.out.println(sum);\n\t// write your code here\n }\n}",
"Main",
"public static void main(String[] args) {\n FastReader sc = new FastReader();\n int a=sc.nextInt();\n long sum = (long) (a+ Math.pow(a,2)+Math.pow(a,3));\n System.out.println(sum);\n\t// write your code here\n }",
"main",
"{\n FastReader sc = new FastReader();\n int a=sc.nextInt();\n long sum = (long) (a+ Math.pow(a,2)+Math.pow(a,3));\n System.out.println(sum);\n\t// write your code here\n }",
"FastReader sc = new FastReader();",
"sc",
"new FastReader()",
"int a=sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long sum = (long) (a+ Math.pow(a,2)+Math.pow(a,3));",
"sum",
"(long) (a+ Math.pow(a,2)+Math.pow(a,3))",
"a+ Math.pow(a,2)+Math.pow(a,3)",
"a",
"Math.pow(a,2)",
"Math.pow",
"Math",
"a",
"2",
"Math.pow(a,3)",
"Math.pow",
"Math",
"a",
"3",
"System.out.println(sum)",
"System.out.println",
"System.out",
"System",
"System.out",
"sum",
"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 public 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 public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public float nextFloat() {\n return Float.parseFloat(next());\n }\n\n public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n st = null;\n return str;\n }\n\n public void resetST() {\n st = null;\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))",
"public 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",
"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 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",
"public float nextFloat() {\n return Float.parseFloat(next());\n }",
"nextFloat",
"{\n return Float.parseFloat(next());\n }",
"return Float.parseFloat(next());",
"Float.parseFloat(next())",
"Float.parseFloat",
"Float",
"next()",
"next",
"public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n st = null;\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n st = null;\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",
"st = null",
"st",
"null",
"return str;",
"str",
"public void resetST() {\n st = null;\n }",
"resetST",
"{\n st = null;\n }",
"st = null",
"st",
"null",
"public class Main {\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 public 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 public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public float nextFloat() {\n return Float.parseFloat(next());\n }\n\n public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n st = null;\n return str;\n }\n\n public void resetST() {\n st = null;\n }\n }\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n int a=sc.nextInt();\n long sum = (long) (a+ Math.pow(a,2)+Math.pow(a,3));\n System.out.println(sum);\n\t// write your code here\n }\n}",
"public class Main {\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 public 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 public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public float nextFloat() {\n return Float.parseFloat(next());\n }\n\n public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n st = null;\n return str;\n }\n\n public void resetST() {\n st = null;\n }\n }\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n int a=sc.nextInt();\n long sum = (long) (a+ Math.pow(a,2)+Math.pow(a,3));\n System.out.println(sum);\n\t// write your code here\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
static class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new InputStreamReader(System.in));
}
public String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException 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 float nextFloat() {
return Float.parseFloat(next());
}
public String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
st = null;
return str;
}
public void resetST() {
st = null;
}
}
public static void main(String[] args) {
FastReader sc = new FastReader();
int a=sc.nextInt();
long sum = (long) (a+ Math.pow(a,2)+Math.pow(a,3));
System.out.println(sum);
// write your code here
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
39,
5
],
[
39,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
20,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
26,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
]
| [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n \n int result = a + a*a + a*a*a;\n \n System.out.print(result);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n \n int result = a + a*a + a*a*a;\n \n System.out.print(result);\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n \n int result = a + a*a + a*a*a;\n \n System.out.print(result);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n \n int result = a + a*a + a*a*a;\n \n System.out.print(result);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int result = a + a*a + a*a*a;",
"result",
"a + a*a + a*a*a",
"a + a*a + a*a*a",
"a",
"a*a",
"a",
"a",
"a*a*a",
"a*a*a",
"a",
"a",
"a",
"System.out.print(result)",
"System.out.print",
"System.out",
"System",
"System.out",
"result",
"String args[]",
"args",
"public class Main{\n\tpublic static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n \n int result = a + a*a + a*a*a;\n \n System.out.print(result);\n }\n}",
"public class Main{\n\tpublic static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n \n int result = a + a*a + a*a*a;\n \n System.out.print(result);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int result = a + a*a + a*a*a;
System.out.print(result);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
17,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
2,
2,
2,
13,
13,
13,
2,
2,
13,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
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
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
156,
20
],
[
156,
21
],
[
21,
22
],
[
21,
23
],
[
156,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
27,
34
],
[
34,
35
],
[
34,
36
],
[
27,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
37,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
42,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
52,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
27,
62
],
[
62,
63
],
[
63,
64
],
[
25,
65
],
[
65,
66
],
[
156,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
67,
71
],
[
71,
72
],
[
67,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
67,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
82,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
92,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
81,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
67,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
114,
115
],
[
67,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
123,
124
],
[
67,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
132,
133
],
[
67,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
136,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
140,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
136,
153
],
[
153,
154
],
[
0,
155
],
[
155,
156
],
[
155,
157
]
]
| [
"import java.io.*;\nimport java.io.InputStreamReader; \nimport java.util.Scanner; \nimport java.util.StringTokenizer; \nimport java.util.*;\nimport java.math.*;\npublic class Main \n{ \n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader()\n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next()\n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n static long[] ans=new long[100001];\n public static void main (String[] args) throws java.lang.Exception {\n FastReader sc=new FastReader();\n PrintWriter pw=new PrintWriter(System.out);\n \tint t=1;//sc.nextInt();\n while (t-- > 0){\n int l=sc.nextInt();\n pw.println((l*l)+(l)+(l*l*l));\n }\n pw.close();\n}\n}\n\n ",
"import java.io.*;",
"io.*",
"java",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main \n{ \n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader()\n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next()\n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n static long[] ans=new long[100001];\n public static void main (String[] args) throws java.lang.Exception {\n FastReader sc=new FastReader();\n PrintWriter pw=new PrintWriter(System.out);\n \tint t=1;//sc.nextInt();\n while (t-- > 0){\n int l=sc.nextInt();\n pw.println((l*l)+(l)+(l*l*l));\n }\n pw.close();\n}\n}",
"Main",
"static long[] ans=new long[100001];",
"ans",
"new long[100001]",
"100001",
"public static void main (String[] args) throws java.lang.Exception {\n FastReader sc=new FastReader();\n PrintWriter pw=new PrintWriter(System.out);\n \tint t=1;//sc.nextInt();\n while (t-- > 0){\n int l=sc.nextInt();\n pw.println((l*l)+(l)+(l*l*l));\n }\n pw.close();\n}",
"main",
"{\n FastReader sc=new FastReader();\n PrintWriter pw=new PrintWriter(System.out);\n \tint t=1;//sc.nextInt();\n while (t-- > 0){\n int l=sc.nextInt();\n pw.println((l*l)+(l)+(l*l*l));\n }\n pw.close();\n}",
"FastReader sc=new FastReader();",
"sc",
"new FastReader()",
"PrintWriter pw=new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"int t=1;",
"t",
"1",
"while (t-- > 0){\n int l=sc.nextInt();\n pw.println((l*l)+(l)+(l*l*l));\n }",
"t-- > 0",
"t--",
"t",
"0",
"{\n int l=sc.nextInt();\n pw.println((l*l)+(l)+(l*l*l));\n }",
"int l=sc.nextInt();",
"l",
"sc.nextInt()",
"sc.nextInt",
"sc",
"pw.println((l*l)+(l)+(l*l*l))",
"pw.println",
"pw",
"(l*l)+(l)+(l*l*l)",
"(l*l)+(l)+(l*l*l)",
"(l*l)",
"l",
"l",
"(l)",
"(l*l*l)",
"l*l*l",
"l",
"l",
"l",
"pw.close()",
"pw.close",
"pw",
"String[] args",
"args",
"static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader()\n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next()\n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader()\n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n }",
"FastReader",
"{ \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n }",
"br = new BufferedReader(new\n InputStreamReader(System.in))",
"br",
"new BufferedReader(new\n InputStreamReader(System.in))",
"String next()\n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }",
"next",
"{ \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }",
"while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{ \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n }",
"try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n }",
"catch (IOException e) \n { \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 { \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 { \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 { \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 { \n String str = \"\"; \n try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }",
"nextLine",
"{ \n String str = \"\"; \n try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }",
"String str = \"\";",
"str",
"\"\"",
"try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n }",
"catch (IOException e) \n { \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 static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader()\n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next()\n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n static long[] ans=new long[100001];\n public static void main (String[] args) throws java.lang.Exception {\n FastReader sc=new FastReader();\n PrintWriter pw=new PrintWriter(System.out);\n \tint t=1;//sc.nextInt();\n while (t-- > 0){\n int l=sc.nextInt();\n pw.println((l*l)+(l)+(l*l*l));\n }\n pw.close();\n}\n}",
"public class Main \n{ \n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader()\n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next()\n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n static long[] ans=new long[100001];\n public static void main (String[] args) throws java.lang.Exception {\n FastReader sc=new FastReader();\n PrintWriter pw=new PrintWriter(System.out);\n \tint t=1;//sc.nextInt();\n while (t-- > 0){\n int l=sc.nextInt();\n pw.println((l*l)+(l)+(l*l*l));\n }\n pw.close();\n}\n}",
"Main"
]
| import java.io.*;
import java.io.InputStreamReader;
import java.util.Scanner;
import java.util.StringTokenizer;
import java.util.*;
import java.math.*;
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.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;
}
}
static long[] ans=new long[100001];
public static void main (String[] args) throws java.lang.Exception {
FastReader sc=new FastReader();
PrintWriter pw=new PrintWriter(System.out);
int t=1;//sc.nextInt();
while (t-- > 0){
int l=sc.nextInt();
pw.println((l*l)+(l)+(l*l*l));
}
pw.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
57,
8
],
[
57,
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
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
11,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
36,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
41,
45
],
[
34,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
50
],
[
11,
51
],
[
51,
52
],
[
52,
53
],
[
9,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
]
| [
"import java.io.*;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n public static void main (String [] args) throws IOException {\n BufferedReader f = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n //--------------------------START CODING HERE-----------------------------\n\n String line= f.readLine();\n\n int DA = Integer.parseInt(line);\n\n System.out.print((int)(Math.pow(DA,3)+Math.pow(DA,2)+Math.pow(DA,1)));\n\n out.close();\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 BufferedReader f = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n //--------------------------START CODING HERE-----------------------------\n\n String line= f.readLine();\n\n int DA = Integer.parseInt(line);\n\n System.out.print((int)(Math.pow(DA,3)+Math.pow(DA,2)+Math.pow(DA,1)));\n\n out.close();\n }\n}",
"Main",
"public static void main (String [] args) throws IOException {\n BufferedReader f = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n //--------------------------START CODING HERE-----------------------------\n\n String line= f.readLine();\n\n int DA = Integer.parseInt(line);\n\n System.out.print((int)(Math.pow(DA,3)+Math.pow(DA,2)+Math.pow(DA,1)));\n\n out.close();\n }",
"main",
"{\n BufferedReader f = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n //--------------------------START CODING HERE-----------------------------\n\n String line= f.readLine();\n\n int DA = Integer.parseInt(line);\n\n System.out.print((int)(Math.pow(DA,3)+Math.pow(DA,2)+Math.pow(DA,1)));\n\n out.close();\n }",
"BufferedReader f = new BufferedReader(new InputStreamReader(System.in));",
"f",
"new BufferedReader(new InputStreamReader(System.in))",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"String line= f.readLine();",
"line",
"f.readLine()",
"f.readLine",
"f",
"int DA = Integer.parseInt(line);",
"DA",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"System.out.print((int)(Math.pow(DA,3)+Math.pow(DA,2)+Math.pow(DA,1)))",
"System.out.print",
"System.out",
"System",
"System.out",
"(int)(Math.pow(DA,3)+Math.pow(DA,2)+Math.pow(DA,1))",
"Math.pow(DA,3)+Math.pow(DA,2)+Math.pow(DA,1)",
"Math.pow(DA,3)",
"Math.pow",
"Math",
"DA",
"3",
"Math.pow(DA,2)",
"Math.pow",
"Math",
"DA",
"2",
"Math.pow(DA,1)",
"Math.pow",
"Math",
"DA",
"1",
"out.close()",
"out.close",
"out",
"String [] args",
"args",
"public class Main {\n\n public static void main (String [] args) throws IOException {\n BufferedReader f = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n //--------------------------START CODING HERE-----------------------------\n\n String line= f.readLine();\n\n int DA = Integer.parseInt(line);\n\n System.out.print((int)(Math.pow(DA,3)+Math.pow(DA,2)+Math.pow(DA,1)));\n\n out.close();\n }\n}",
"public class Main {\n\n public static void main (String [] args) throws IOException {\n BufferedReader f = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n //--------------------------START CODING HERE-----------------------------\n\n String line= f.readLine();\n\n int DA = Integer.parseInt(line);\n\n System.out.print((int)(Math.pow(DA,3)+Math.pow(DA,2)+Math.pow(DA,1)));\n\n out.close();\n }\n}",
"Main"
]
| import java.io.*;
import java.util.StringTokenizer;
public class Main {
public static void main (String [] args) throws IOException {
BufferedReader f = new BufferedReader(new InputStreamReader(System.in));
PrintWriter out = new PrintWriter(System.out);
//--------------------------START CODING HERE-----------------------------
String line= f.readLine();
int DA = Integer.parseInt(line);
System.out.print((int)(Math.pow(DA,3)+Math.pow(DA,2)+Math.pow(DA,1)));
out.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
30,
29,
18,
13,
40,
13,
30,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
40,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
37,
20,
29,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
38,
5,
13,
30,
30,
4,
18,
13,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
7,
12
],
[
12,
13
],
[
12,
14
],
[
7,
15
],
[
15,
16
],
[
15,
17
],
[
7,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
35,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
41,
41
],
[
41,
42
],
[
41,
43
],
[
41,
44
],
[
20,
45
],
[
45,
46
],
[
46,
47
],
[
18,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
50,
57
],
[
57,
58
],
[
57,
59
],
[
50,
61
],
[
61,
62
],
[
61,
63
],
[
50,
64
],
[
64,
65
],
[
64,
66
],
[
50,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
70,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
81,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
77,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
99,
100
],
[
100,
101
],
[
69,
102
],
[
102,
103
],
[
50,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
107,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
50,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
128,
129
],
[
128,
130
],
[
120,
131
],
[
131,
132
],
[
50,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
137,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
143,
145
],
[
136,
146
],
[
146,
147
],
[
135,
148
],
[
148,
149
],
[
149,
150
],
[
50,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
154,
158
],
[
158,
159
],
[
153,
160
],
[
160,
161
],
[
160,
162
],
[
153,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
153,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
167,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
172,
175
],
[
171,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
153,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
50,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
187,
191
],
[
191,
192
],
[
186,
193
],
[
193,
194
],
[
193,
195
],
[
186,
196
],
[
196,
197
],
[
196,
198
],
[
186,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
186,
203
],
[
203,
204
],
[
204,
205
],
[
204,
206
],
[
203,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
186,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
216,
220
],
[
220,
221
],
[
220,
222
],
[
215,
223
],
[
223,
224
],
[
224,
225
],
[
186,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
231,
232
],
[
231,
233
],
[
230,
234
],
[
234,
235
],
[
234,
236
],
[
229,
237
],
[
237,
238
],
[
238,
239
],
[
238,
240
],
[
237,
241
],
[
241,
242
],
[
241,
243
],
[
243,
244
],
[
243,
245
],
[
229,
246
],
[
246,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
247,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
246,
256
],
[
256,
257
],
[
257,
258
],
[
258,
259
],
[
258,
260
],
[
260,
261
],
[
258,
262
],
[
246,
263
],
[
263,
264
],
[
264,
265
],
[
228,
266
],
[
266,
267
],
[
266,
268
],
[
268,
269
],
[
50,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
272,
277
],
[
277,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
281,
283
],
[
278,
284
],
[
284,
285
],
[
284,
286
],
[
286,
287
],
[
286,
288
],
[
277,
289
],
[
289,
290
],
[
272,
291
],
[
291,
292
],
[
50,
293
],
[
293,
294
],
[
293,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
298,
299
],
[
297,
300
],
[
300,
301
],
[
50,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
305,
309
],
[
309,
310
],
[
310,
311
],
[
311,
312
],
[
50,
313
]
]
| [
"import java.io.*;\nimport java.util.*;\nclass Main{\n\tstatic final long MOD = 1_000_000_007; // 10^9+7\n\tstatic final int MAX = 2_147_483_646; // intMax \n\tstatic final int INF = 1_000_000_000; // 10^9 \n\tpublic static void main(String[] args) throws Exception{\n\t\thayami saori = new hayami();\n\t\tint n = saori.saori_hayami();\n\t\tSystem.out.println(n+n*n+n*n*n);\n\t\tsaori.close();\n\t}\n}\n\nclass hayami implements Closeable {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] hayami = new byte[1024];\n\tprivate int Hayami = 0;\n\tprivate int saori = 0;\n\tprivate boolean HayamiSaori() {\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\tprivate int SaoriHayami() { \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}\n\tprivate static boolean hayami_saori(int hayami) { \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}\n\tpublic boolean hayamisaori() { \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}\n\tpublic String nextHayami() {\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}\n\tpublic long saorihayami() {//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}\n\tpublic int saori_hayami() {//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}\n\tpublic double Hayamin() { //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}\n\tpublic void close() {\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }\n \n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tstatic final long MOD = 1_000_000_007; // 10^9+7\n\tstatic final int MAX = 2_147_483_646; // intMax \n\tstatic final int INF = 1_000_000_000; // 10^9 \n\tpublic static void main(String[] args) throws Exception{\n\t\thayami saori = new hayami();\n\t\tint n = saori.saori_hayami();\n\t\tSystem.out.println(n+n*n+n*n*n);\n\t\tsaori.close();\n\t}\n}",
"Main",
"static final long MOD = 1_000_000_007; // 10^9+7",
"MOD",
"1_000_000_007",
"static final int MAX = 2_147_483_646; // intMax ",
"MAX",
"2_147_483_646",
"static final int INF = 1_000_000_000; // 10^9 ",
"INF",
"1_000_000_000",
"public static void main(String[] args) throws Exception{\n\t\thayami saori = new hayami();\n\t\tint n = saori.saori_hayami();\n\t\tSystem.out.println(n+n*n+n*n*n);\n\t\tsaori.close();\n\t}",
"main",
"{\n\t\thayami saori = new hayami();\n\t\tint n = saori.saori_hayami();\n\t\tSystem.out.println(n+n*n+n*n*n);\n\t\tsaori.close();\n\t}",
"hayami saori = new hayami();",
"saori",
"new hayami()",
"int n = saori.saori_hayami();",
"n",
"saori.saori_hayami()",
"saori.saori_hayami",
"saori",
"System.out.println(n+n*n+n*n*n)",
"System.out.println",
"System.out",
"System",
"System.out",
"n+n*n+n*n*n",
"n+n*n+n*n*n",
"n",
"n*n",
"n",
"n",
"n*n*n",
"n*n*n",
"n",
"n",
"n",
"saori.close()",
"saori.close",
"saori",
"String[] args",
"args",
"class hayami implements Closeable {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] hayami = new byte[1024];\n\tprivate int Hayami = 0;\n\tprivate int saori = 0;\n\tprivate boolean HayamiSaori() {\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\tprivate int SaoriHayami() { \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}\n\tprivate static boolean hayami_saori(int hayami) { \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}\n\tpublic boolean hayamisaori() { \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}\n\tpublic String nextHayami() {\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}\n\tpublic long saorihayami() {//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}\n\tpublic int saori_hayami() {//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}\n\tpublic double Hayamin() { //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}\n\tpublic void close() {\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }\n \n}",
"hayami",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] hayami = new byte[1024];",
"hayami",
"new byte[1024]",
"1024",
"private int Hayami = 0;",
"Hayami",
"0",
"private int saori = 0;",
"saori",
"0",
"private boolean HayamiSaori() {\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"HayamiSaori",
"{\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"if (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}",
"Hayami < saori",
"Hayami",
"saori",
"{\n\t\t\treturn true;\n\t\t}",
"return true;",
"true",
"{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}",
"Hayami = 0",
"Hayami",
"0",
"try {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"IOException e",
"{\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t}",
"saori = in.read(hayami)",
"saori",
"in.read(hayami)",
"in.read",
"in",
"hayami",
"if (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}",
"saori <= 0",
"saori",
"0",
"{\n\t\t\t\treturn false;\n\t\t\t}",
"return false;",
"false",
"return true;",
"true",
"private int SaoriHayami() { \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}",
"SaoriHayami",
"{ \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}",
"if (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }",
"HayamiSaori()",
"HayamiSaori",
"{\n return hayami[Hayami++];\n }",
"return hayami[Hayami++];",
"hayami[Hayami++]",
"hayami",
"Hayami++",
"Hayami",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"private static boolean hayami_saori(int hayami) { \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}",
"hayami_saori",
"{ \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}",
"return 33 <= hayami && hayami <= 126;",
"33 <= hayami && hayami <= 126",
"33 <= hayami",
"33",
"hayami",
"hayami <= 126",
"hayami",
"126",
"int hayami",
"hayami",
"public boolean hayamisaori() { \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}",
"hayamisaori",
"{ \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}",
"while(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++;",
"HayamiSaori() && !hayami_saori(hayami[Hayami])",
"HayamiSaori()",
"HayamiSaori",
"!hayami_saori(hayami[Hayami])",
"hayami_saori(hayami[Hayami])",
"hayami_saori",
"hayami[Hayami]",
"hayami",
"Hayami",
"Hayami++",
"Hayami",
"return HayamiSaori();",
"HayamiSaori()",
"HayamiSaori",
"public String nextHayami() {\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}",
"nextHayami",
"{\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}",
"if (!hayamisaori()) throw new NoSuchElementException();",
"!hayamisaori()",
"hayamisaori()",
"hayamisaori",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder hayamin = new StringBuilder();",
"hayamin",
"new StringBuilder()",
"int saori = SaoriHayami();",
"saori",
"SaoriHayami()",
"SaoriHayami",
"while(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"hayami_saori(saori)",
"hayami_saori",
"saori",
"{\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"hayamin.appendCodePoint(saori)",
"hayamin.appendCodePoint",
"hayamin",
"saori",
"saori = SaoriHayami()",
"saori",
"SaoriHayami()",
"SaoriHayami",
"return hayamin.toString();",
"hayamin.toString()",
"hayamin.toString",
"hayamin",
"public long saorihayami() {//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}",
"saorihayami",
"{//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}",
"if (!hayamisaori()) throw new NoSuchElementException();",
"!hayamisaori()",
"hayamisaori()",
"hayamisaori",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long hayami = 0;",
"hayami",
"0",
"boolean misao = false;",
"misao",
"false",
"int saori = SaoriHayami();",
"saori",
"SaoriHayami()",
"SaoriHayami",
"if (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"saori == '-'",
"saori",
"'-'",
"{\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"misao = true",
"misao",
"true",
"saori = SaoriHayami()",
"saori",
"SaoriHayami()",
"SaoriHayami",
"if (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}",
"saori < '0' || '9' < saori",
"saori < '0'",
"saori",
"'0'",
"'9' < saori",
"'9'",
"saori",
"{\n\t\t\tthrow new NumberFormatException();\n\t\t}",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"true",
"{\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"if ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"'0' <= saori && saori <= '9'",
"'0' <= saori",
"'0'",
"saori",
"saori <= '9'",
"saori",
"'9'",
"{\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}",
"hayami *= 10",
"hayami",
"10",
"hayami += saori - '0'",
"hayami",
"saori - '0'",
"saori",
"'0'",
"if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"saori == -1 || !hayami_saori(saori)",
"saori == -1",
"saori",
"-1",
"1",
"!hayami_saori(saori)",
"hayami_saori(saori)",
"hayami_saori",
"saori",
"{\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}",
"return misao ? -hayami : hayami;",
"misao ? -hayami : hayami",
"misao",
"-hayami",
"hayami",
"hayami",
"{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"throw new NumberFormatException();",
"new NumberFormatException()",
"saori = SaoriHayami()",
"saori",
"SaoriHayami()",
"SaoriHayami",
"public int saori_hayami() {//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}",
"saori_hayami",
"{//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}",
"long hayami = saorihayami();",
"hayami",
"saorihayami()",
"saorihayami",
"if (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();",
"hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE",
"hayami < Integer.MIN_VALUE",
"hayami",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"hayami > Integer.MAX_VALUE",
"hayami",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"throw new NumberFormatException();",
"new NumberFormatException()",
"return (int) hayami;",
"(int) hayami",
"public double Hayamin() { //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}",
"Hayamin",
"{ //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}",
"return Double.parseDouble(nextHayami());",
"Double.parseDouble(nextHayami())",
"Double.parseDouble",
"Double",
"nextHayami()",
"nextHayami",
"public void close() {\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }",
"close",
"{\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }",
"try {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}",
"catch (IOException e) {\n\t\t}",
"IOException e",
"{\n\t\t}",
"{\n\t\t\tin.close();\n\t\t}",
"in.close()",
"in.close",
"in",
"Closeable"
]
| import java.io.*;
import java.util.*;
class Main{
static final long MOD = 1_000_000_007; // 10^9+7
static final int MAX = 2_147_483_646; // intMax
static final int INF = 1_000_000_000; // 10^9
public static void main(String[] args) throws Exception{
hayami saori = new hayami();
int n = saori.saori_hayami();
System.out.println(n+n*n+n*n*n);
saori.close();
}
}
class hayami implements Closeable {
private final InputStream in = System.in;
private final byte[] hayami = new byte[1024];
private int Hayami = 0;
private int saori = 0;
private boolean HayamiSaori() {
if (Hayami < saori) {
return true;
}else{
Hayami = 0;
try {
saori = in.read(hayami);
} catch (IOException e) {
e.printStackTrace();
}
if (saori <= 0) {
return false;
}
}
return true;
}
private int SaoriHayami() {
if (HayamiSaori()) {
return hayami[Hayami++];
}else{
return -1;
}
}
private static boolean hayami_saori(int hayami) {
return 33 <= hayami && hayami <= 126;
}
public boolean hayamisaori() {
while(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();
}
public String nextHayami() {
if (!hayamisaori()) throw new NoSuchElementException();
StringBuilder hayamin = new StringBuilder();
int saori = SaoriHayami();
while(hayami_saori(saori)) {
hayamin.appendCodePoint(saori);
saori = SaoriHayami();
}
return hayamin.toString();
}
public long saorihayami() {//nextLong
if (!hayamisaori()) throw new NoSuchElementException();
long hayami = 0;
boolean misao = false;
int saori = SaoriHayami();
if (saori == '-') {
misao = true;
saori = SaoriHayami();
}
if (saori < '0' || '9' < saori) {
throw new NumberFormatException();
}
while(true){
if ('0' <= saori && saori <= '9') {
hayami *= 10;
hayami += saori - '0';
}else if(saori == -1 || !hayami_saori(saori)){
return misao ? -hayami : hayami;
}else{
throw new NumberFormatException();
}
saori = SaoriHayami();
}
}
public int saori_hayami() {//nextInt
long hayami = saorihayami();
if (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();
return (int) hayami;
}
public double Hayamin() { //nextDouble
return Double.parseDouble(nextHayami());
}
public void close() {
try {
in.close();
} catch (IOException e) {
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
0,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
42,
5
],
[
42,
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
],
[
23,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
]
| [
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint calc = 0;\n\t\tcalc = a + (a * a) + (a * a * a);\n\t\tSystem.out.println(calc);\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\t\tint a = sc.nextInt();\n\t\tint calc = 0;\n\t\tcalc = a + (a * a) + (a * a * a);\n\t\tSystem.out.println(calc);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint calc = 0;\n\t\tcalc = a + (a * a) + (a * a * a);\n\t\tSystem.out.println(calc);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint calc = 0;\n\t\tcalc = a + (a * a) + (a * a * a);\n\t\tSystem.out.println(calc);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int calc = 0;",
"calc",
"0",
"calc = a + (a * a) + (a * a * a)",
"calc",
"a + (a * a) + (a * a * a)",
"a + (a * a) + (a * a * a)",
"a",
"(a * a)",
"a",
"a",
"(a * a * a)",
"a * a * a",
"a",
"a",
"a",
"System.out.println(calc)",
"System.out.println",
"System.out",
"System",
"System.out",
"calc",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint calc = 0;\n\t\tcalc = a + (a * a) + (a * a * a);\n\t\tSystem.out.println(calc);\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint calc = 0;\n\t\tcalc = a + (a * a) + (a * a * a);\n\t\tSystem.out.println(calc);\n }\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int calc = 0;
calc = a + (a * a) + (a * a * a);
System.out.println(calc);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
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
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
23,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
6,
33
],
[
33,
34
]
]
| [
"import java.util.Scanner;\n\nfinal class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner std = new Scanner(System.in);\n\t\tint a = std.nextInt();\n \tSystem.out.println(a + a*a + a*a*a);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"final class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner std = new Scanner(System.in);\n\t\tint a = std.nextInt();\n \tSystem.out.println(a + a*a + a*a*a);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner std = new Scanner(System.in);\n\t\tint a = std.nextInt();\n \tSystem.out.println(a + a*a + a*a*a);\n\t}",
"main",
"{\n\t\tScanner std = new Scanner(System.in);\n\t\tint a = std.nextInt();\n \tSystem.out.println(a + a*a + a*a*a);\n\t}",
"Scanner std = new Scanner(System.in);",
"std",
"new Scanner(System.in)",
"int a = std.nextInt();",
"a",
"std.nextInt()",
"std.nextInt",
"std",
"System.out.println(a + a*a + a*a*a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + a*a + a*a*a",
"a + a*a + a*a*a",
"a",
"a*a",
"a",
"a",
"a*a*a",
"a*a*a",
"a",
"a",
"a",
"String[] args",
"args"
]
| import java.util.Scanner;
final class Main {
public static void main(String[] args) {
Scanner std = new Scanner(System.in);
int a = std.nextInt();
System.out.println(a + a*a + a*a*a);
}
}
|
[
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,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
4,
18,
18,
13,
13,
13,
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
],
[
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
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
14,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
12,
42
],
[
42,
43
]
]
| [
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\nclass Main\n{\n public static void main(String args[])throws IOException\n {\n Scanner obj=new Scanner(System.in);\n int a=obj.nextInt();\n int s=a+(a*a)+(a*a*a);\n System.out.println(s);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n public static void main(String args[])throws IOException\n {\n Scanner obj=new Scanner(System.in);\n int a=obj.nextInt();\n int s=a+(a*a)+(a*a*a);\n System.out.println(s);\n }\n}",
"Main",
"public static void main(String args[])throws IOException\n {\n Scanner obj=new Scanner(System.in);\n int a=obj.nextInt();\n int s=a+(a*a)+(a*a*a);\n System.out.println(s);\n }",
"main",
"{\n Scanner obj=new Scanner(System.in);\n int a=obj.nextInt();\n int s=a+(a*a)+(a*a*a);\n System.out.println(s);\n }",
"Scanner obj=new Scanner(System.in);",
"obj",
"new Scanner(System.in)",
"int a=obj.nextInt();",
"a",
"obj.nextInt()",
"obj.nextInt",
"obj",
"int s=a+(a*a)+(a*a*a);",
"s",
"a+(a*a)+(a*a*a)",
"a+(a*a)+(a*a*a)",
"a",
"(a*a)",
"a",
"a",
"(a*a*a)",
"a*a*a",
"a",
"a",
"a",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String args[]",
"args"
]
| import java.util.*;
import java.lang.*;
import java.io.*;
class Main
{
public static void main(String args[])throws IOException
{
Scanner obj=new Scanner(System.in);
int a=obj.nextInt();
int s=a+(a*a)+(a*a*a);
System.out.println(s);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
41,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
50,
8
],
[
50,
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
],
[
23,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
25,
29
],
[
23,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
30,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
11,
44
],
[
44,
45
],
[
45,
46
],
[
9,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
]
| [
"import java.util.Scanner;\nimport java.lang.Math;\n\npublic class Main{\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int num = scan.nextInt();\n double exp = num+Math.pow(num,2)+Math.pow(num,3);\n int result = (int)exp;\n System.out.println(result);\n scan.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.lang.Math;",
"Math",
"java.lang",
"public class Main{\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int num = scan.nextInt();\n double exp = num+Math.pow(num,2)+Math.pow(num,3);\n int result = (int)exp;\n System.out.println(result);\n scan.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int num = scan.nextInt();\n double exp = num+Math.pow(num,2)+Math.pow(num,3);\n int result = (int)exp;\n System.out.println(result);\n scan.close();\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int num = scan.nextInt();\n double exp = num+Math.pow(num,2)+Math.pow(num,3);\n int result = (int)exp;\n System.out.println(result);\n scan.close();\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int num = scan.nextInt();",
"num",
"scan.nextInt()",
"scan.nextInt",
"scan",
"double exp = num+Math.pow(num,2)+Math.pow(num,3);",
"exp",
"num+Math.pow(num,2)+Math.pow(num,3)",
"num+Math.pow(num,2)+Math.pow(num,3)",
"num",
"Math.pow(num,2)",
"Math.pow",
"Math",
"num",
"2",
"Math.pow(num,3)",
"Math.pow",
"Math",
"num",
"3",
"int result = (int)exp;",
"result",
"(int)exp",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int num = scan.nextInt();\n double exp = num+Math.pow(num,2)+Math.pow(num,3);\n int result = (int)exp;\n System.out.println(result);\n scan.close();\n }\n}",
"public class Main{\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int num = scan.nextInt();\n double exp = num+Math.pow(num,2)+Math.pow(num,3);\n int result = (int)exp;\n System.out.println(result);\n scan.close();\n }\n}",
"Main"
]
| import java.util.Scanner;
import java.lang.Math;
public class Main{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int num = scan.nextInt();
double exp = num+Math.pow(num,2)+Math.pow(num,3);
int result = (int)exp;
System.out.println(result);
scan.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
7,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
12,
18
],
[
18,
19
],
[
7,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
34,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
40,
40
],
[
40,
41
],
[
40,
42
],
[
40,
43
]
]
| [
"import java.util.*;\nimport static java.lang.Math.*;\n\nclass Main {\n final Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n private void run() {\n int a = sc.nextInt();\n System.out.println(a + a*a + a*a*a);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"class Main {\n final Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n private void run() {\n int a = sc.nextInt();\n System.out.println(a + a*a + a*a*a);\n }\n}",
"Main",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) {\n new Main().run();\n }",
"main",
"{\n new Main().run();\n }",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"private void run() {\n int a = sc.nextInt();\n System.out.println(a + a*a + a*a*a);\n }",
"run",
"{\n int a = sc.nextInt();\n System.out.println(a + a*a + a*a*a);\n }",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(a + a*a + a*a*a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + a*a + a*a*a",
"a + a*a + a*a*a",
"a",
"a*a",
"a",
"a",
"a*a*a",
"a*a*a",
"a",
"a",
"a"
]
| import java.util.*;
import static java.lang.Math.*;
class Main {
final Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
new Main().run();
}
private void run() {
int a = sc.nextInt();
System.out.println(a + a*a + a*a*a);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
39,
5
],
[
39,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
20,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
26,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int ans = num + num * num + num * num *num;\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int ans = num + num * num + num * num *num;\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int ans = num + num * num + num * num *num;\n System.out.println(ans);\n }",
"main",
"{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int ans = num + num * num + num * num *num;\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int num = sc.nextInt();",
"num",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int ans = num + num * num + num * num *num;",
"ans",
"num + num * num + num * num *num",
"num + num * num + num * num *num",
"num",
"num * num",
"num",
"num",
"num * num *num",
"num * num *num",
"num",
"num",
"num",
"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) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int ans = num + num * num + num * num *num;\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int ans = num + num * num + num * num *num;\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner sc = new Scanner(System.in);
int num = sc.nextInt();
int ans = num + num * num + num * num *num;
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
4,
18,
4,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
54,
8
],
[
54,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
13,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
13,
28
],
[
28,
29
],
[
28,
30
],
[
13,
31
],
[
31,
32
],
[
31,
33
],
[
13,
34
],
[
34,
35
],
[
34,
36
],
[
13,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
44,
50
],
[
9,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
]
| [
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)) {\n\t\t\tString data = scanner.nextLine();\n\n\t\t\tdouble a = Double.parseDouble(data);\n\n\t\t\tBigDecimal b1 = new BigDecimal(String.valueOf(Math.pow(a, 1)));\n\t\t\tBigDecimal b2 = new BigDecimal(String.valueOf(Math.pow(a, 2)));\n\t\t\tBigDecimal b3 = new BigDecimal(String.valueOf(Math.pow(a, 3)));\n\n\t\t\tSystem.out.println(b1.add(b2).add(b3).longValue());\n\t\t}\n\t}\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)) {\n\t\t\tString data = scanner.nextLine();\n\n\t\t\tdouble a = Double.parseDouble(data);\n\n\t\t\tBigDecimal b1 = new BigDecimal(String.valueOf(Math.pow(a, 1)));\n\t\t\tBigDecimal b2 = new BigDecimal(String.valueOf(Math.pow(a, 2)));\n\t\t\tBigDecimal b3 = new BigDecimal(String.valueOf(Math.pow(a, 3)));\n\n\t\t\tSystem.out.println(b1.add(b2).add(b3).longValue());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)) {\n\t\t\tString data = scanner.nextLine();\n\n\t\t\tdouble a = Double.parseDouble(data);\n\n\t\t\tBigDecimal b1 = new BigDecimal(String.valueOf(Math.pow(a, 1)));\n\t\t\tBigDecimal b2 = new BigDecimal(String.valueOf(Math.pow(a, 2)));\n\t\t\tBigDecimal b3 = new BigDecimal(String.valueOf(Math.pow(a, 3)));\n\n\t\t\tSystem.out.println(b1.add(b2).add(b3).longValue());\n\t\t}\n\t}",
"main",
"{\n\t\ttry(Scanner scanner = new Scanner(System.in)) {\n\t\t\tString data = scanner.nextLine();\n\n\t\t\tdouble a = Double.parseDouble(data);\n\n\t\t\tBigDecimal b1 = new BigDecimal(String.valueOf(Math.pow(a, 1)));\n\t\t\tBigDecimal b2 = new BigDecimal(String.valueOf(Math.pow(a, 2)));\n\t\t\tBigDecimal b3 = new BigDecimal(String.valueOf(Math.pow(a, 3)));\n\n\t\t\tSystem.out.println(b1.add(b2).add(b3).longValue());\n\t\t}\n\t}",
"try(Scanner scanner = new Scanner(System.in)) {\n\t\t\tString data = scanner.nextLine();\n\n\t\t\tdouble a = Double.parseDouble(data);\n\n\t\t\tBigDecimal b1 = new BigDecimal(String.valueOf(Math.pow(a, 1)));\n\t\t\tBigDecimal b2 = new BigDecimal(String.valueOf(Math.pow(a, 2)));\n\t\t\tBigDecimal b3 = new BigDecimal(String.valueOf(Math.pow(a, 3)));\n\n\t\t\tSystem.out.println(b1.add(b2).add(b3).longValue());\n\t\t}",
"{\n\t\t\tString data = scanner.nextLine();\n\n\t\t\tdouble a = Double.parseDouble(data);\n\n\t\t\tBigDecimal b1 = new BigDecimal(String.valueOf(Math.pow(a, 1)));\n\t\t\tBigDecimal b2 = new BigDecimal(String.valueOf(Math.pow(a, 2)));\n\t\t\tBigDecimal b3 = new BigDecimal(String.valueOf(Math.pow(a, 3)));\n\n\t\t\tSystem.out.println(b1.add(b2).add(b3).longValue());\n\t\t}",
"Scanner scanner = new Scanner(System.in)",
"Scanner scanner = new Scanner(System.in)",
"new Scanner(System.in)",
"String data = scanner.nextLine();",
"data",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"double a = Double.parseDouble(data);",
"a",
"Double.parseDouble(data)",
"Double.parseDouble",
"Double",
"data",
"BigDecimal b1 = new BigDecimal(String.valueOf(Math.pow(a, 1)));",
"b1",
"new BigDecimal(String.valueOf(Math.pow(a, 1)))",
"BigDecimal b2 = new BigDecimal(String.valueOf(Math.pow(a, 2)));",
"b2",
"new BigDecimal(String.valueOf(Math.pow(a, 2)))",
"BigDecimal b3 = new BigDecimal(String.valueOf(Math.pow(a, 3)));",
"b3",
"new BigDecimal(String.valueOf(Math.pow(a, 3)))",
"System.out.println(b1.add(b2).add(b3).longValue())",
"System.out.println",
"System.out",
"System",
"System.out",
"b1.add(b2).add(b3).longValue()",
"b1.add(b2).add(b3).longValue",
"b1.add(b2).add(b3)",
"b1.add(b2).add",
"b1.add(b2)",
"b1.add",
"b1",
"b2",
"b3",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)) {\n\t\t\tString data = scanner.nextLine();\n\n\t\t\tdouble a = Double.parseDouble(data);\n\n\t\t\tBigDecimal b1 = new BigDecimal(String.valueOf(Math.pow(a, 1)));\n\t\t\tBigDecimal b2 = new BigDecimal(String.valueOf(Math.pow(a, 2)));\n\t\t\tBigDecimal b3 = new BigDecimal(String.valueOf(Math.pow(a, 3)));\n\n\t\t\tSystem.out.println(b1.add(b2).add(b3).longValue());\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)) {\n\t\t\tString data = scanner.nextLine();\n\n\t\t\tdouble a = Double.parseDouble(data);\n\n\t\t\tBigDecimal b1 = new BigDecimal(String.valueOf(Math.pow(a, 1)));\n\t\t\tBigDecimal b2 = new BigDecimal(String.valueOf(Math.pow(a, 2)));\n\t\t\tBigDecimal b3 = new BigDecimal(String.valueOf(Math.pow(a, 3)));\n\n\t\t\tSystem.out.println(b1.add(b2).add(b3).longValue());\n\t\t}\n\t}\n}",
"Main"
]
| import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try(Scanner scanner = new Scanner(System.in)) {
String data = scanner.nextLine();
double a = Double.parseDouble(data);
BigDecimal b1 = new BigDecimal(String.valueOf(Math.pow(a, 1)));
BigDecimal b2 = new BigDecimal(String.valueOf(Math.pow(a, 2)));
BigDecimal b3 = new BigDecimal(String.valueOf(Math.pow(a, 3)));
System.out.println(b1.add(b2).add(b3).longValue());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
4,
18,
13,
13,
23,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
88,
17
],
[
88,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
20,
31
],
[
31,
32
],
[
31,
33
],
[
20,
34
],
[
34,
35
],
[
34,
36
],
[
20,
37
],
[
37,
38
],
[
37,
39
],
[
20,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
40,
45
],
[
20,
46
],
[
46,
47
],
[
47,
48
],
[
18,
49
],
[
49,
50
],
[
88,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
62,
63
],
[
55,
64
],
[
64,
65
],
[
64,
66
],
[
67,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
73,
73
],
[
73,
74
],
[
73,
75
],
[
73,
76
],
[
55,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
53,
81
],
[
81,
82
],
[
53,
83
],
[
83,
84
],
[
53,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\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 A solver = new A();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class A {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int a = Integer.parseInt(in.next());\n int ans = a + a * a + a * a * a;\n\n // 出力\n out.println(ans);\n\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n A solver = new A();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class A {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int a = Integer.parseInt(in.next());\n int ans = a + a * a + a * a * a;\n\n // 出力\n out.println(ans);\n\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n A solver = new A();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n A solver = new A();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"Scanner in = new Scanner(inputStream);",
"in",
"new Scanner(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"A solver = new A();",
"solver",
"new A()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class A {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int a = Integer.parseInt(in.next());\n int ans = a + a * a + a * a * a;\n\n // 出力\n out.println(ans);\n\n }\n\n }",
"A",
"public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int a = Integer.parseInt(in.next());\n int ans = a + a * a + a * a * a;\n\n // 出力\n out.println(ans);\n\n }",
"solve",
"{\n // 入力\n int a = Integer.parseInt(in.next());\n int ans = a + a * a + a * a * a;\n\n // 出力\n out.println(ans);\n\n }",
"int a = Integer.parseInt(in.next());",
"a",
"Integer.parseInt(in.next())",
"Integer.parseInt",
"Integer",
"in.next()",
"in.next",
"in",
"int ans = a + a * a + a * a * a;",
"ans",
"a + a * a + a * a * a",
"a + a * a + a * a * a",
"a",
"a * a",
"a",
"a",
"a * a * a",
"a * a * a",
"a",
"a",
"a",
"out.println(ans)",
"out.println",
"out",
"ans",
"int testNumber",
"testNumber",
"Scanner in",
"in",
"PrintWriter out",
"out",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n A solver = new A();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class A {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int a = Integer.parseInt(in.next());\n int ans = a + a * a + a * a * a;\n\n // 出力\n out.println(ans);\n\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n A solver = new A();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class A {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int a = Integer.parseInt(in.next());\n int ans = a + a * a + a * a * a;\n\n // 出力\n out.println(ans);\n\n }\n\n }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*/
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);
A solver = new A();
solver.solve(1, in, out);
out.close();
}
static class A {
public void solve(int testNumber, Scanner in, PrintWriter out) {
// 入力
int a = Integer.parseInt(in.next());
int ans = a + a * a + a * a * a;
// 出力
out.println(ans);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
13,
13,
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
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
26,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
26,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
26,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
51,
51
],
[
51,
52
],
[
51,
53
],
[
51,
54
],
[
24,
55
],
[
55,
56
]
]
| [
"import java.util.Scanner;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Comparator;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.*;\nclass Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = a * a;\n int c = b * a;\n System.out.println(a + b + c);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Comparator;",
"Comparator",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = a * a;\n int c = b * a;\n System.out.println(a + b + c);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = a * a;\n int c = b * a;\n System.out.println(a + b + c);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = a * a;\n int c = b * a;\n System.out.println(a + b + c);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int b = a * a;",
"b",
"a * a",
"a",
"a",
"int c = b * a;",
"c",
"b * a",
"b",
"a",
"System.out.println(a + b + c)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + b + c",
"a + b + c",
"a",
"b",
"c",
"String[] args",
"args"
]
| import java.util.Scanner;
import java.util.List;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Arrays;
import java.util.Collections;
import java.util.*;
class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = a * a;
int c = b * a;
System.out.println(a + b + c);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
17,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
4,
13,
4,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
13,
18,
13,
13,
30,
29,
13,
29,
40,
17,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
13,
18,
13,
13,
30,
0,
13,
4,
13,
0,
13,
17,
29,
18,
13,
40,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
13,
18,
13,
13,
30,
0,
13,
4,
13,
0,
13,
17,
29,
18,
13,
40,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
13,
18,
13,
13,
30,
0,
13,
4,
13,
0,
13,
17,
29,
18,
13,
40,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
20,
30,
29,
4,
18,
4,
18,
13,
17,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
17,
30,
41,
13,
4,
13,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
17,
30,
41,
13,
4,
13,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
17,
30,
41,
13,
4,
13,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
17,
30,
41,
13,
4,
13,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
12,
13,
30,
14,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
14,
13,
4,
18,
18,
13,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
520,
14
],
[
520,
15
],
[
15,
16
],
[
520,
17
],
[
17,
18
],
[
17,
19
],
[
520,
20
],
[
20,
21
],
[
520,
22
],
[
22,
23
],
[
520,
24
],
[
24,
25
],
[
520,
26
],
[
26,
27
],
[
520,
28
],
[
28,
29
],
[
520,
30
],
[
30,
31
],
[
520,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
34,
42
],
[
42,
43
],
[
42,
44
],
[
45,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
51,
51
],
[
51,
52
],
[
51,
53
],
[
51,
54
],
[
32,
55
],
[
55,
56
],
[
520,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
60,
70
],
[
70,
71
],
[
71,
72
],
[
60,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
79,
80
],
[
79,
81
],
[
75,
82
],
[
82,
83
],
[
83,
84
],
[
59,
85
],
[
85,
86
],
[
86,
87
],
[
57,
88
],
[
88,
89
],
[
57,
90
],
[
90,
91
],
[
520,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
97,
99
],
[
94,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
94,
104
],
[
104,
105
],
[
92,
106
],
[
106,
107
],
[
520,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
114,
115
],
[
114,
116
],
[
110,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
124,
126
],
[
117,
127
],
[
127,
128
],
[
128,
129
],
[
117,
130
],
[
131,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
132,
136
],
[
136,
137
],
[
136,
138
],
[
110,
139
],
[
139,
140
],
[
108,
141
],
[
141,
142
],
[
520,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
149,
150
],
[
150,
151
],
[
145,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
152,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
159,
161
],
[
152,
162
],
[
162,
163
],
[
163,
164
],
[
152,
165
],
[
166,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
167,
171
],
[
171,
172
],
[
172,
173
],
[
171,
174
],
[
145,
175
],
[
175,
176
],
[
143,
177
],
[
177,
178
],
[
520,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
183,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
189,
191
],
[
182,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
192,
197
],
[
197,
198
],
[
197,
199
],
[
181,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
520,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
209,
213
],
[
213,
214
],
[
213,
215
],
[
215,
216
],
[
215,
217
],
[
208,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
218,
223
],
[
223,
224
],
[
223,
225
],
[
207,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
229,
230
],
[
520,
231
],
[
231,
232
],
[
231,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
235,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
241,
243
],
[
234,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
244,
249
],
[
249,
250
],
[
249,
251
],
[
233,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
255,
256
],
[
520,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
260,
261
],
[
261,
262
],
[
261,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
263,
267
],
[
267,
268
],
[
260,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
273,
274
],
[
274,
275
],
[
271,
276
],
[
520,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
283,
287
],
[
287,
288
],
[
280,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
289,
294
],
[
294,
295
],
[
294,
296
],
[
297,
298
],
[
297,
299
],
[
289,
300
],
[
300,
301
],
[
301,
302
],
[
302,
303
],
[
302,
304
],
[
300,
305
],
[
305,
306
],
[
305,
307
],
[
307,
308
],
[
307,
309
],
[
300,
310
],
[
310,
311
],
[
311,
312
],
[
300,
313
],
[
314,
314
],
[
314,
315
],
[
315,
316
],
[
316,
317
],
[
316,
318
],
[
315,
319
],
[
319,
320
],
[
320,
321
],
[
319,
322
],
[
322,
323
],
[
322,
324
],
[
289,
325
],
[
325,
326
],
[
520,
327
],
[
327,
328
],
[
327,
329
],
[
329,
330
],
[
330,
331
],
[
331,
332
],
[
331,
333
],
[
333,
334
],
[
334,
335
],
[
335,
336
],
[
333,
337
],
[
337,
338
],
[
330,
339
],
[
339,
340
],
[
340,
341
],
[
340,
342
],
[
342,
343
],
[
339,
344
],
[
344,
345
],
[
344,
346
],
[
347,
348
],
[
347,
349
],
[
339,
350
],
[
350,
351
],
[
351,
352
],
[
352,
353
],
[
352,
354
],
[
350,
355
],
[
355,
356
],
[
355,
357
],
[
357,
358
],
[
357,
359
],
[
350,
360
],
[
360,
361
],
[
361,
362
],
[
350,
363
],
[
364,
364
],
[
364,
365
],
[
365,
366
],
[
366,
367
],
[
366,
368
],
[
365,
369
],
[
369,
370
],
[
370,
371
],
[
369,
372
],
[
372,
373
],
[
372,
374
],
[
339,
375
],
[
375,
376
],
[
520,
377
],
[
377,
378
],
[
377,
379
],
[
379,
380
],
[
380,
381
],
[
381,
382
],
[
381,
383
],
[
383,
384
],
[
384,
385
],
[
385,
386
],
[
383,
387
],
[
387,
388
],
[
380,
389
],
[
389,
390
],
[
390,
391
],
[
390,
392
],
[
392,
393
],
[
389,
394
],
[
394,
395
],
[
394,
396
],
[
397,
398
],
[
397,
399
],
[
389,
400
],
[
400,
401
],
[
401,
402
],
[
402,
403
],
[
402,
404
],
[
400,
405
],
[
405,
406
],
[
405,
407
],
[
407,
408
],
[
407,
409
],
[
400,
410
],
[
410,
411
],
[
411,
412
],
[
400,
413
],
[
414,
414
],
[
414,
415
],
[
415,
416
],
[
416,
417
],
[
416,
418
],
[
415,
419
],
[
419,
420
],
[
420,
421
],
[
419,
422
],
[
422,
423
],
[
422,
424
],
[
389,
425
],
[
425,
426
],
[
520,
427
],
[
427,
428
],
[
427,
429
],
[
429,
430
],
[
430,
431
],
[
431,
432
],
[
431,
433
],
[
433,
434
],
[
434,
435
],
[
435,
436
],
[
433,
437
],
[
437,
438
],
[
430,
439
],
[
439,
440
],
[
440,
441
],
[
440,
442
],
[
442,
443
],
[
439,
444
],
[
444,
445
],
[
444,
446
],
[
447,
448
],
[
447,
449
],
[
439,
450
],
[
450,
451
],
[
451,
452
],
[
452,
453
],
[
452,
454
],
[
450,
455
],
[
455,
456
],
[
455,
457
],
[
457,
458
],
[
457,
459
],
[
450,
460
],
[
460,
461
],
[
461,
462
],
[
450,
463
],
[
464,
464
],
[
464,
465
],
[
465,
466
],
[
466,
467
],
[
466,
468
],
[
465,
469
],
[
469,
470
],
[
470,
471
],
[
469,
472
],
[
472,
473
],
[
472,
474
],
[
439,
475
],
[
475,
476
],
[
520,
477
],
[
477,
478
],
[
477,
479
],
[
479,
480
],
[
480,
481
],
[
481,
482
],
[
482,
483
],
[
482,
484
],
[
480,
485
],
[
477,
486
],
[
486,
487
],
[
520,
488
],
[
488,
489
],
[
488,
490
],
[
490,
491
],
[
491,
492
],
[
492,
493
],
[
493,
494
],
[
493,
495
],
[
520,
496
],
[
496,
497
],
[
496,
498
],
[
498,
499
],
[
499,
500
],
[
499,
501
],
[
501,
502
],
[
502,
503
],
[
503,
504
],
[
503,
505
],
[
501,
506
],
[
496,
507
],
[
507,
508
],
[
520,
509
],
[
509,
510
],
[
509,
511
],
[
511,
512
],
[
512,
513
],
[
512,
514
],
[
514,
515
],
[
515,
516
],
[
516,
517
],
[
516,
518
],
[
0,
519
],
[
519,
520
],
[
519,
521
]
]
| [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Arrays;\n\npublic class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\tstatic int[] read_line_int;\n\tstatic int read_line_int_ptr;\n\tstatic long[] read_line_long;\n\tstatic int read_line_long_ptr;\n\tstatic String[] read_line;\n\tstatic int read_line_ptr;\n\t//static field here\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint a = readInt();\n\t\tprint(a+a*a+a*a*a);\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static int readInt() {\n\t\tif(read_line_int==null||read_line_int_ptr==read_line_int.length) {\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}\n\t\treturn read_line_int[read_line_int_ptr++];\n\t}\n\tprivate static long readLong() {\n\t\tif(read_line_long==null||read_line_long_ptr==read_line_long.length) {\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}\n\t\treturn read_line_long[read_line_long_ptr++];\n\t}\n\tprivate static String readString() {\n\t\tif(read_line==null||read_line_int_ptr==read_line.length) {\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}\n\t\treturn read_line[read_line_ptr++];\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static long[] readLineLong(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\tstatic int[] read_line_int;\n\tstatic int read_line_int_ptr;\n\tstatic long[] read_line_long;\n\tstatic int read_line_long_ptr;\n\tstatic String[] read_line;\n\tstatic int read_line_ptr;\n\t//static field here\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint a = readInt();\n\t\tprint(a+a*a+a*a*a);\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static int readInt() {\n\t\tif(read_line_int==null||read_line_int_ptr==read_line_int.length) {\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}\n\t\treturn read_line_int[read_line_int_ptr++];\n\t}\n\tprivate static long readLong() {\n\t\tif(read_line_long==null||read_line_long_ptr==read_line_long.length) {\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}\n\t\treturn read_line_long[read_line_long_ptr++];\n\t}\n\tprivate static String readString() {\n\t\tif(read_line==null||read_line_int_ptr==read_line.length) {\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}\n\t\treturn read_line[read_line_ptr++];\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static long[] readLineLong(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n}",
"Main",
"static BufferedReader reader;",
"reader",
"final static boolean MODE_DEBUG = false;",
"MODE_DEBUG",
"false",
"static int[] read_line_int;",
"read_line_int",
"static int read_line_int_ptr;",
"read_line_int_ptr",
"static long[] read_line_long;",
"read_line_long",
"static int read_line_long_ptr;",
"read_line_long_ptr",
"static String[] read_line;",
"read_line",
"static int read_line_ptr;",
"read_line_ptr",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint a = readInt();\n\t\tprint(a+a*a+a*a*a);\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint a = readInt();\n\t\tprint(a+a*a+a*a*a);\n\t}",
"reader = new BufferedReader(new InputStreamReader(System.in))",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"int a = readInt();",
"a",
"readInt()",
"readInt",
"print(a+a*a+a*a*a)",
"print",
"a+a*a+a*a*a",
"a+a*a+a*a*a",
"a",
"a*a",
"a",
"a",
"a*a*a",
"a*a*a",
"a",
"a",
"a",
"String[] args",
"args",
"private static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}",
"arraySearch",
"{\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}",
"for(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<heystack.length",
"i",
"heystack.length",
"heystack",
"heystack.length",
"i++",
"i++",
"i",
"{\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}",
"if(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}",
"needle.equals(heystack[i])",
"needle.equals",
"needle",
"heystack[i]",
"heystack",
"i",
"{\n\t\t\t\treturn i;\n\t\t\t}",
"return i;",
"i",
"return -1;",
"-1",
"1",
"T needle",
"needle",
"T[] heystack",
"heystack",
"private static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}",
"sort",
"{\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}",
"int[] copy = array_copy(base);",
"copy",
"array_copy(base)",
"array_copy",
"base",
"Arrays.sort(copy)",
"Arrays.sort",
"Arrays",
"copy",
"return copy;",
"copy",
"int[] base",
"base",
"private static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}",
"array_copy",
"{\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}",
"int[] copy = new int[base.length];",
"copy",
"new int[base.length]",
"base.length",
"base",
"base.length",
"for(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<base.length",
"i",
"base.length",
"base",
"base.length",
"i++",
"i++",
"i",
"{\n\t\t\tcopy[i] = base[i];\n\t\t}",
"{\n\t\t\tcopy[i] = base[i];\n\t\t}",
"copy[i] = base[i]",
"copy[i]",
"copy",
"i",
"base[i]",
"base",
"i",
"return copy;",
"copy",
"int[] base",
"base",
"private static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}",
"asArray",
"{\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}",
"int[] intlist = new int[ints.size()];",
"intlist",
"new int[ints.size()]",
"ints.size()",
"ints.size",
"ints",
"for(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<intlist.length",
"i",
"intlist.length",
"intlist",
"intlist.length",
"i++",
"i++",
"i",
"{\n\t\t\tintlist[i] = ints.get(i);\n\t\t}",
"{\n\t\t\tintlist[i] = ints.get(i);\n\t\t}",
"intlist[i] = ints.get(i)",
"intlist[i]",
"intlist",
"i",
"ints.get(i)",
"ints.get",
"ints",
"i",
"return intlist;",
"intlist",
"ArrayList<Integer> ints",
"ints",
"private static int readInt() {\n\t\tif(read_line_int==null||read_line_int_ptr==read_line_int.length) {\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}\n\t\treturn read_line_int[read_line_int_ptr++];\n\t}",
"readInt",
"{\n\t\tif(read_line_int==null||read_line_int_ptr==read_line_int.length) {\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}\n\t\treturn read_line_int[read_line_int_ptr++];\n\t}",
"if(read_line_int==null||read_line_int_ptr==read_line_int.length) {\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}",
"read_line_int==null||read_line_int_ptr==read_line_int.length",
"read_line_int==null",
"read_line_int",
"null",
"read_line_int_ptr==read_line_int.length",
"read_line_int_ptr",
"read_line_int.length",
"read_line_int",
"read_line_int.length",
"{\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}",
"read_line_int = readLineInt()",
"read_line_int",
"readLineInt()",
"readLineInt",
"read_line_int_ptr=0",
"read_line_int_ptr",
"0",
"return read_line_int[read_line_int_ptr++];",
"read_line_int[read_line_int_ptr++]",
"read_line_int",
"read_line_int_ptr++",
"read_line_int_ptr",
"private static long readLong() {\n\t\tif(read_line_long==null||read_line_long_ptr==read_line_long.length) {\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}\n\t\treturn read_line_long[read_line_long_ptr++];\n\t}",
"readLong",
"{\n\t\tif(read_line_long==null||read_line_long_ptr==read_line_long.length) {\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}\n\t\treturn read_line_long[read_line_long_ptr++];\n\t}",
"if(read_line_long==null||read_line_long_ptr==read_line_long.length) {\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}",
"read_line_long==null||read_line_long_ptr==read_line_long.length",
"read_line_long==null",
"read_line_long",
"null",
"read_line_long_ptr==read_line_long.length",
"read_line_long_ptr",
"read_line_long.length",
"read_line_long",
"read_line_long.length",
"{\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}",
"read_line_long = readLineLong()",
"read_line_long",
"readLineLong()",
"readLineLong",
"read_line_long_ptr=0",
"read_line_long_ptr",
"0",
"return read_line_long[read_line_long_ptr++];",
"read_line_long[read_line_long_ptr++]",
"read_line_long",
"read_line_long_ptr++",
"read_line_long_ptr",
"private static String readString() {\n\t\tif(read_line==null||read_line_int_ptr==read_line.length) {\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}\n\t\treturn read_line[read_line_ptr++];\n\t}",
"readString",
"{\n\t\tif(read_line==null||read_line_int_ptr==read_line.length) {\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}\n\t\treturn read_line[read_line_ptr++];\n\t}",
"if(read_line==null||read_line_int_ptr==read_line.length) {\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}",
"read_line==null||read_line_int_ptr==read_line.length",
"read_line==null",
"read_line",
"null",
"read_line_int_ptr==read_line.length",
"read_line_int_ptr",
"read_line.length",
"read_line",
"read_line.length",
"{\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}",
"read_line = readLine()",
"read_line",
"readLine()",
"readLine",
"read_line_ptr=0",
"read_line_ptr",
"0",
"return read_line[read_line_ptr++];",
"read_line[read_line_ptr++]",
"read_line",
"read_line_ptr++",
"read_line_ptr",
"private static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}",
"readLine",
"{\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}",
"try{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}",
"catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return new String[]{e.getMessage()};",
"new String[]{e.getMessage()}",
"{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}",
"return reader.readLine().split(\" \");",
"reader.readLine().split(\" \")",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\" \"",
"private static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"readLineInt",
"{\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"try{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return null;",
"null",
"{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}",
"String[] s = readLine();",
"s",
"readLine()",
"readLine",
"int[] ints = new int[s.length];",
"ints",
"new int[s.length]",
"s.length",
"s",
"s.length",
"for(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<ints.length",
"i",
"ints.length",
"ints",
"ints.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}",
"{\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}",
"ints[i] = Integer.parseInt(s[i])",
"ints[i]",
"ints",
"i",
"Integer.parseInt(s[i])",
"Integer.parseInt",
"Integer",
"s[i]",
"s",
"i",
"return ints;",
"ints",
"private static long[] readLineLong(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"readLineLong",
"{\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"try{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return null;",
"null",
"{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}",
"String[] s = readLine();",
"s",
"readLine()",
"readLine",
"long[] ints = new long[s.length];",
"ints",
"new long[s.length]",
"s.length",
"s",
"s.length",
"for(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<ints.length",
"i",
"ints.length",
"ints",
"ints.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}",
"{\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}",
"ints[i] = Long.parseLong(s[i])",
"ints[i]",
"ints",
"i",
"Long.parseLong(s[i])",
"Long.parseLong",
"Long",
"s[i]",
"s",
"i",
"return ints;",
"ints",
"private static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"readLineByte",
"{\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"try{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return null;",
"null",
"{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}",
"String[] s = readLine();",
"s",
"readLine()",
"readLine",
"byte[] bytes = new byte[s.length];",
"bytes",
"new byte[s.length]",
"s.length",
"s",
"s.length",
"for(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<bytes.length",
"i",
"bytes.length",
"bytes",
"bytes.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}",
"{\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}",
"bytes[i] = Byte.parseByte(s[i])",
"bytes[i]",
"bytes",
"i",
"Byte.parseByte(s[i])",
"Byte.parseByte",
"Byte",
"s[i]",
"s",
"i",
"return bytes;",
"bytes",
"private static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"readLineChar",
"{\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"try{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return null;",
"null",
"{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}",
"String[] s = readLine();",
"s",
"readLine()",
"readLine",
"char[] chars = new char[s.length];",
"chars",
"new char[s.length]",
"s.length",
"s",
"s.length",
"for(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<chars.length",
"i",
"chars.length",
"chars",
"chars.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}",
"{\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}",
"chars[i] = (char)Integer.parseInt(s[i])",
"chars[i]",
"chars",
"i",
"(char)Integer.parseInt(s[i])",
"Integer.parseInt",
"Integer",
"s[i]",
"s",
"i",
"return chars;",
"chars",
"private static void print(Object o){\n\t\tSystem.out.println(o);\n\t}",
"print",
"{\n\t\tSystem.out.println(o);\n\t}",
"System.out.println(o)",
"System.out.println",
"System.out",
"System",
"System.out",
"o",
"Object o",
"o",
"private static void print(){\n\t\tSystem.out.println();\n\t}",
"print",
"{\n\t\tSystem.out.println();\n\t}",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"private static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}",
"printd",
"{\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}",
"if(MODE_DEBUG)System.err.println(o);",
"MODE_DEBUG",
"System.err.println(o)",
"System.err.println",
"System.err",
"System",
"System.err",
"o",
"Object o",
"o",
"private static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}",
"printd",
"{\n\t\tif(MODE_DEBUG)System.err.println();\n\t}",
"if(MODE_DEBUG)System.err.println();",
"MODE_DEBUG",
"System.err.println()",
"System.err.println",
"System.err",
"System",
"System.err",
"public class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\tstatic int[] read_line_int;\n\tstatic int read_line_int_ptr;\n\tstatic long[] read_line_long;\n\tstatic int read_line_long_ptr;\n\tstatic String[] read_line;\n\tstatic int read_line_ptr;\n\t//static field here\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint a = readInt();\n\t\tprint(a+a*a+a*a*a);\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static int readInt() {\n\t\tif(read_line_int==null||read_line_int_ptr==read_line_int.length) {\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}\n\t\treturn read_line_int[read_line_int_ptr++];\n\t}\n\tprivate static long readLong() {\n\t\tif(read_line_long==null||read_line_long_ptr==read_line_long.length) {\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}\n\t\treturn read_line_long[read_line_long_ptr++];\n\t}\n\tprivate static String readString() {\n\t\tif(read_line==null||read_line_int_ptr==read_line.length) {\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}\n\t\treturn read_line[read_line_ptr++];\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static long[] readLineLong(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n}",
"public class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\tstatic int[] read_line_int;\n\tstatic int read_line_int_ptr;\n\tstatic long[] read_line_long;\n\tstatic int read_line_long_ptr;\n\tstatic String[] read_line;\n\tstatic int read_line_ptr;\n\t//static field here\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint a = readInt();\n\t\tprint(a+a*a+a*a*a);\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static int readInt() {\n\t\tif(read_line_int==null||read_line_int_ptr==read_line_int.length) {\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}\n\t\treturn read_line_int[read_line_int_ptr++];\n\t}\n\tprivate static long readLong() {\n\t\tif(read_line_long==null||read_line_long_ptr==read_line_long.length) {\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}\n\t\treturn read_line_long[read_line_long_ptr++];\n\t}\n\tprivate static String readString() {\n\t\tif(read_line==null||read_line_int_ptr==read_line.length) {\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}\n\t\treturn read_line[read_line_ptr++];\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static long[] readLineLong(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
public class Main {
static BufferedReader reader;
final static boolean MODE_DEBUG = false;
static int[] read_line_int;
static int read_line_int_ptr;
static long[] read_line_long;
static int read_line_long_ptr;
static String[] read_line;
static int read_line_ptr;
//static field here
public static void main(String[] args) {
// TODO Auto-generated method stub
reader = new BufferedReader(new InputStreamReader(System.in));
//code here
int a = readInt();
print(a+a*a+a*a*a);
}
//functions here
//note that all methods should be STATIC
private static <T> int arraySearch(T needle, T[] heystack) {
for(int i=0;i<heystack.length;i++) {
if(needle.equals(heystack[i])) {
return i;
}
}
return -1;
}
private static int[] sort(int[] base) {
int[] copy = array_copy(base);
Arrays.sort(copy);
return copy;
}
private static int[] array_copy(int[] base) {
int[] copy = new int[base.length];
for(int i=0;i<base.length;i++) {
copy[i] = base[i];
}
return copy;
}
private static int[] asArray(ArrayList<Integer> ints) {
int[] intlist = new int[ints.size()];
for(int i=0;i<intlist.length;i++) {
intlist[i] = ints.get(i);
}
return intlist;
}
private static int readInt() {
if(read_line_int==null||read_line_int_ptr==read_line_int.length) {
read_line_int = readLineInt();
read_line_int_ptr=0;
}
return read_line_int[read_line_int_ptr++];
}
private static long readLong() {
if(read_line_long==null||read_line_long_ptr==read_line_long.length) {
read_line_long = readLineLong();
read_line_long_ptr=0;
}
return read_line_long[read_line_long_ptr++];
}
private static String readString() {
if(read_line==null||read_line_int_ptr==read_line.length) {
read_line = readLine();
read_line_ptr=0;
}
return read_line[read_line_ptr++];
}
private static String[] readLine(){
try{
return reader.readLine().split(" ");
}catch(Exception e){
e.printStackTrace();
return new String[]{e.getMessage()};
}
}
private static int[] readLineInt(){
try{
String[] s = readLine();
int[] ints = new int[s.length];
for(int i=0;i<ints.length;i++) {
ints[i] = Integer.parseInt(s[i]);
}
return ints;
}catch(Exception e){
e.printStackTrace();
return null;
}
}
private static long[] readLineLong(){
try{
String[] s = readLine();
long[] ints = new long[s.length];
for(int i=0;i<ints.length;i++) {
ints[i] = Long.parseLong(s[i]);
}
return ints;
}catch(Exception e){
e.printStackTrace();
return null;
}
}
private static byte[] readLineByte(){
try{
String[] s = readLine();
byte[] bytes = new byte[s.length];
for(int i=0;i<bytes.length;i++) {
bytes[i] = Byte.parseByte(s[i]);
}
return bytes;
}catch(Exception e){
e.printStackTrace();
return null;
}
}
private static char[] readLineChar(){
try{
String[] s = readLine();
char[] chars = new char[s.length];
for(int i=0;i<chars.length;i++) {
chars[i] = (char)Integer.parseInt(s[i]);
}
return chars;
}catch(Exception e){
e.printStackTrace();
return null;
}
}
private static void print(Object o){
System.out.println(o);
}
private static void print(){
System.out.println();
}
private static void printd(Object o){
if(MODE_DEBUG)System.err.println(o);
}
private static void printd(){
if(MODE_DEBUG)System.err.println();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
39,
5
],
[
39,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
20,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
]
| [
"import java.util.*;\npublic class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t Scanner s=new Scanner(System.in);\n\t int t=s.nextInt();\n\t int ans=t+(t*t)+(t*t*t);\n\t System.out.println(ans);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t Scanner s=new Scanner(System.in);\n\t int t=s.nextInt();\n\t int ans=t+(t*t)+(t*t*t);\n\t System.out.println(ans);\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t Scanner s=new Scanner(System.in);\n\t int t=s.nextInt();\n\t int ans=t+(t*t)+(t*t*t);\n\t System.out.println(ans);\n\t}",
"main",
"{\n\t Scanner s=new Scanner(System.in);\n\t int t=s.nextInt();\n\t int ans=t+(t*t)+(t*t*t);\n\t System.out.println(ans);\n\t}",
"Scanner s=new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int t=s.nextInt();",
"t",
"s.nextInt()",
"s.nextInt",
"s",
"int ans=t+(t*t)+(t*t*t);",
"ans",
"t+(t*t)+(t*t*t)",
"t+(t*t)+(t*t*t)",
"t",
"(t*t)",
"t",
"t",
"(t*t*t)",
"t*t*t",
"t",
"t",
"t",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t Scanner s=new Scanner(System.in);\n\t int t=s.nextInt();\n\t int ans=t+(t*t)+(t*t*t);\n\t System.out.println(ans);\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t Scanner s=new Scanner(System.in);\n\t int t=s.nextInt();\n\t int ans=t+(t*t)+(t*t*t);\n\t System.out.println(ans);\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main
{
public static void main(String[] args)
{
Scanner s=new Scanner(System.in);
int t=s.nextInt();
int ans=t+(t*t)+(t*t*t);
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
20,
41,
13,
12,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
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
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
291,
23
],
[
291,
24
],
[
24,
25
],
[
291,
26
],
[
26,
27
],
[
291,
28
],
[
28,
29
],
[
28,
30
],
[
291,
31
],
[
31,
32
],
[
291,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
35,
44
],
[
44,
45
],
[
33,
46
],
[
46,
47
],
[
291,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
50,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
50,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
65,
75
],
[
75,
76
],
[
76,
77
],
[
65,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
85,
87
],
[
79,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
50,
92
],
[
92,
93
],
[
48,
94
],
[
94,
95
],
[
291,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
98,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
98,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
120,
122
],
[
113,
123
],
[
123,
124
],
[
124,
125
],
[
113,
126
],
[
127,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
130,
133
],
[
133,
134
],
[
133,
135
],
[
127,
136
],
[
136,
137
],
[
137,
138
],
[
136,
139
],
[
98,
140
],
[
140,
141
],
[
96,
142
],
[
142,
143
],
[
291,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
146,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
157,
160
],
[
146,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
161,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
168,
170
],
[
161,
171
],
[
171,
172
],
[
172,
173
],
[
161,
174
],
[
175,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
178,
181
],
[
181,
182
],
[
181,
183
],
[
175,
184
],
[
184,
185
],
[
185,
186
],
[
184,
187
],
[
146,
188
],
[
188,
189
],
[
144,
190
],
[
190,
191
],
[
291,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
194,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
201,
202
],
[
194,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
203,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
203,
213
],
[
213,
214
],
[
214,
215
],
[
203,
216
],
[
217,
217
],
[
217,
218
],
[
218,
219
],
[
219,
220
],
[
218,
221
],
[
221,
222
],
[
222,
223
],
[
221,
224
],
[
194,
225
],
[
225,
226
],
[
192,
227
],
[
227,
228
],
[
291,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
231,
235
],
[
235,
236
],
[
235,
237
],
[
231,
238
],
[
238,
239
],
[
238,
240
],
[
240,
241
],
[
241,
242
],
[
240,
243
],
[
243,
244
],
[
244,
245
],
[
231,
246
],
[
246,
247
],
[
246,
248
],
[
249,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
251,
253
],
[
249,
254
],
[
254,
255
],
[
255,
256
],
[
255,
257
],
[
254,
258
],
[
231,
259
],
[
259,
260
],
[
260,
261
],
[
261,
262
],
[
261,
263
],
[
259,
264
],
[
229,
265
],
[
265,
266
],
[
291,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
267,
271
],
[
271,
272
],
[
267,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
276,
277
],
[
277,
278
],
[
277,
279
],
[
276,
280
],
[
275,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
281,
285
],
[
273,
286
],
[
286,
287
],
[
273,
288
],
[
288,
289
],
[
0,
290
],
[
290,
291
],
[
290,
292
]
]
| [
"/* package codechef; // don't place package name! */\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\nimport java.util.*;\nimport java.lang.*;\nimport java.util.*;\nimport java.io.*;\n/* Name of the class has to be \"Main\" only if the class is public. */\npublic class Main\n{\n \n\t\t\n\t int \tgetint(BufferedReader sc) throws java.lang.Exception\n\t\t{\n\t//\t String ss=sc.readLine();\n\t \tint a= Integer.parseInt(sc.readLine());\n\t \treturn a;\n\t\t}\n\t ArrayList<Integer> getlistint(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Integer> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tint a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Float> getlistfl(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Float> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tfloat a=Float.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Long> getlist(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Long> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tlong a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Character> getlistchar(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Character> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t// String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<s.length();i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \t//char[] a=ss[i].toCharArray();\n\t\t \tres.add(s.charAt(i));\n\t\t }\n\t \n\t\t return res;\n\t }\n\n\t static int n;\n\t static int b[];\n\t static StringBuffer ans = new StringBuffer(\"\");\n\t static BufferedReader bf;\n\t static class Pair{\n\t char val;int cnt;\n\t Pair(char val,int cnt)\n\t {\n\t this.val=val;\n\t this.cnt=cnt;\n\t }\n\t }\n\n\t \n\t public static void main(String[] args) throws Exception \n\t {\n\t \tMain pra=new Main();\n\t \t//Scanner sc = new Scanner(System.in);\n\t // int tc;\n\t \tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t //\tScanner in=new Scanner(System.in);\n\t\t long t=Long.parseLong(br.readLine());\n\t\t \n\t\t long res=t+(t*t)+(t*t*t);\n\t\t System.out.println(res);\n\t\t// long max=Long.MAX_VALUE;\n\t\t/* while(t-->0){\n\t\t \t//int num=Integer.parseInt(br.readLine());\n\t\t ArrayList<Character> li=pra.getlistchar(br);\n\t\t ArrayList<Character> li2=pra.getlistchar(br);\n\t\t int res=0;\n\t\t for(int i=0;i<li2.size();i++)\n\t\t {\n\t\t\t if(li.contains(li2.get(i)))\n\t\t\t\t res++;\n\t\t }\n\t\t \n\t\t System.out.println(res);\n\t\t \n\t }*/\n\t\t // \n\t \n\t \n\t }\n\t }\n\t \n\t \t\n\t \t\n\t \t\n",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n \n\t\t\n\t int \tgetint(BufferedReader sc) throws java.lang.Exception\n\t\t{\n\t//\t String ss=sc.readLine();\n\t \tint a= Integer.parseInt(sc.readLine());\n\t \treturn a;\n\t\t}\n\t ArrayList<Integer> getlistint(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Integer> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tint a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Float> getlistfl(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Float> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tfloat a=Float.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Long> getlist(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Long> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tlong a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Character> getlistchar(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Character> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t// String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<s.length();i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \t//char[] a=ss[i].toCharArray();\n\t\t \tres.add(s.charAt(i));\n\t\t }\n\t \n\t\t return res;\n\t }\n\n\t static int n;\n\t static int b[];\n\t static StringBuffer ans = new StringBuffer(\"\");\n\t static BufferedReader bf;\n\t static class Pair{\n\t char val;int cnt;\n\t Pair(char val,int cnt)\n\t {\n\t this.val=val;\n\t this.cnt=cnt;\n\t }\n\t }\n\n\t \n\t public static void main(String[] args) throws Exception \n\t {\n\t \tMain pra=new Main();\n\t \t//Scanner sc = new Scanner(System.in);\n\t // int tc;\n\t \tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t //\tScanner in=new Scanner(System.in);\n\t\t long t=Long.parseLong(br.readLine());\n\t\t \n\t\t long res=t+(t*t)+(t*t*t);\n\t\t System.out.println(res);\n\t\t// long max=Long.MAX_VALUE;\n\t\t/* while(t-->0){\n\t\t \t//int num=Integer.parseInt(br.readLine());\n\t\t ArrayList<Character> li=pra.getlistchar(br);\n\t\t ArrayList<Character> li2=pra.getlistchar(br);\n\t\t int res=0;\n\t\t for(int i=0;i<li2.size();i++)\n\t\t {\n\t\t\t if(li.contains(li2.get(i)))\n\t\t\t\t res++;\n\t\t }\n\t\t \n\t\t System.out.println(res);\n\t\t \n\t }*/\n\t\t // \n\t \n\t \n\t }\n\t }",
"Main",
"static int n;",
"n",
"static int b[];",
"b",
"static StringBuffer ans = new StringBuffer(\"\");",
"ans",
"new StringBuffer(\"\")",
"static BufferedReader bf;",
"bf",
"int \tgetint(BufferedReader sc) throws java.lang.Exception\n\t\t{\n\t//\t String ss=sc.readLine();\n\t \tint a= Integer.parseInt(sc.readLine());\n\t \treturn a;\n\t\t}",
"getint",
"{\n\t//\t String ss=sc.readLine();\n\t \tint a= Integer.parseInt(sc.readLine());\n\t \treturn a;\n\t\t}",
"int a= Integer.parseInt(sc.readLine());",
"a",
"Integer.parseInt(sc.readLine())",
"Integer.parseInt",
"Integer",
"sc.readLine()",
"sc.readLine",
"sc",
"return a;",
"a",
"BufferedReader sc",
"sc",
"ArrayList<Integer> getlistint(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Integer> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tint a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }",
"getlistint",
"{\n\t\t ArrayList<Integer> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tint a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }",
"ArrayList<Integer> res=new ArrayList<>();",
"res",
"new ArrayList<>()",
"String s=sc.readLine();",
"s",
"sc.readLine()",
"sc.readLine",
"sc",
"String[] ss=s.split(\" \");",
"ss",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tint a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<ss.length",
"i",
"ss.length",
"ss",
"ss.length",
"i++",
"i++",
"i",
"{\n\t\t\t// String ss=sc.readLine();\n\t\t \tint a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }",
"{\n\t\t\t// String ss=sc.readLine();\n\t\t \tint a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }",
"int a=Integer.valueOf(ss[i]);",
"a",
"Integer.valueOf(ss[i])",
"Integer.valueOf",
"Integer",
"ss[i]",
"ss",
"i",
"res.add(a)",
"res.add",
"res",
"a",
"return res;",
"res",
"BufferedReader sc",
"sc",
"ArrayList<Float> getlistfl(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Float> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tfloat a=Float.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }",
"getlistfl",
"{\n\t\t ArrayList<Float> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tfloat a=Float.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }",
"ArrayList<Float> res=new ArrayList<>();",
"res",
"new ArrayList<>()",
"String s=sc.readLine();",
"s",
"sc.readLine()",
"sc.readLine",
"sc",
"String[] ss=s.split(\" \");",
"ss",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tfloat a=Float.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<ss.length",
"i",
"ss.length",
"ss",
"ss.length",
"i++",
"i++",
"i",
"{\n\t\t\t// String ss=sc.readLine();\n\t\t \tfloat a=Float.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }",
"{\n\t\t\t// String ss=sc.readLine();\n\t\t \tfloat a=Float.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }",
"float a=Float.valueOf(ss[i]);",
"a",
"Float.valueOf(ss[i])",
"Float.valueOf",
"Float",
"ss[i]",
"ss",
"i",
"res.add(a)",
"res.add",
"res",
"a",
"return res;",
"res",
"BufferedReader sc",
"sc",
"ArrayList<Long> getlist(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Long> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tlong a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }",
"getlist",
"{\n\t\t ArrayList<Long> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tlong a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }",
"ArrayList<Long> res=new ArrayList<>();",
"res",
"new ArrayList<>()",
"String s=sc.readLine();",
"s",
"sc.readLine()",
"sc.readLine",
"sc",
"String[] ss=s.split(\" \");",
"ss",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tlong a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<ss.length",
"i",
"ss.length",
"ss",
"ss.length",
"i++",
"i++",
"i",
"{\n\t\t\t// String ss=sc.readLine();\n\t\t \tlong a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }",
"{\n\t\t\t// String ss=sc.readLine();\n\t\t \tlong a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }",
"long a=Integer.valueOf(ss[i]);",
"a",
"Integer.valueOf(ss[i])",
"Integer.valueOf",
"Integer",
"ss[i]",
"ss",
"i",
"res.add(a)",
"res.add",
"res",
"a",
"return res;",
"res",
"BufferedReader sc",
"sc",
"ArrayList<Character> getlistchar(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Character> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t// String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<s.length();i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \t//char[] a=ss[i].toCharArray();\n\t\t \tres.add(s.charAt(i));\n\t\t }\n\t \n\t\t return res;\n\t }",
"getlistchar",
"{\n\t\t ArrayList<Character> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t// String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<s.length();i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \t//char[] a=ss[i].toCharArray();\n\t\t \tres.add(s.charAt(i));\n\t\t }\n\t \n\t\t return res;\n\t }",
"ArrayList<Character> res=new ArrayList<>();",
"res",
"new ArrayList<>()",
"String s=sc.readLine();",
"s",
"sc.readLine()",
"sc.readLine",
"sc",
"for(int i=0;i<s.length();i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \t//char[] a=ss[i].toCharArray();\n\t\t \tres.add(s.charAt(i));\n\t\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n\t\t\t// String ss=sc.readLine();\n\t\t \t//char[] a=ss[i].toCharArray();\n\t\t \tres.add(s.charAt(i));\n\t\t }",
"{\n\t\t\t// String ss=sc.readLine();\n\t\t \t//char[] a=ss[i].toCharArray();\n\t\t \tres.add(s.charAt(i));\n\t\t }",
"res.add(s.charAt(i))",
"res.add",
"res",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"return res;",
"res",
"BufferedReader sc",
"sc",
"public static void main(String[] args) throws Exception \n\t {\n\t \tMain pra=new Main();\n\t \t//Scanner sc = new Scanner(System.in);\n\t // int tc;\n\t \tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t //\tScanner in=new Scanner(System.in);\n\t\t long t=Long.parseLong(br.readLine());\n\t\t \n\t\t long res=t+(t*t)+(t*t*t);\n\t\t System.out.println(res);\n\t\t// long max=Long.MAX_VALUE;\n\t\t/* while(t-->0){\n\t\t \t//int num=Integer.parseInt(br.readLine());\n\t\t ArrayList<Character> li=pra.getlistchar(br);\n\t\t ArrayList<Character> li2=pra.getlistchar(br);\n\t\t int res=0;\n\t\t for(int i=0;i<li2.size();i++)\n\t\t {\n\t\t\t if(li.contains(li2.get(i)))\n\t\t\t\t res++;\n\t\t }\n\t\t \n\t\t System.out.println(res);\n\t\t \n\t }*/\n\t\t // \n\t \n\t \n\t }",
"main",
"{\n\t \tMain pra=new Main();\n\t \t//Scanner sc = new Scanner(System.in);\n\t // int tc;\n\t \tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t //\tScanner in=new Scanner(System.in);\n\t\t long t=Long.parseLong(br.readLine());\n\t\t \n\t\t long res=t+(t*t)+(t*t*t);\n\t\t System.out.println(res);\n\t\t// long max=Long.MAX_VALUE;\n\t\t/* while(t-->0){\n\t\t \t//int num=Integer.parseInt(br.readLine());\n\t\t ArrayList<Character> li=pra.getlistchar(br);\n\t\t ArrayList<Character> li2=pra.getlistchar(br);\n\t\t int res=0;\n\t\t for(int i=0;i<li2.size();i++)\n\t\t {\n\t\t\t if(li.contains(li2.get(i)))\n\t\t\t\t res++;\n\t\t }\n\t\t \n\t\t System.out.println(res);\n\t\t \n\t }*/\n\t\t // \n\t \n\t \n\t }",
"Main pra=new Main();",
"pra",
"new Main()",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"long t=Long.parseLong(br.readLine());",
"t",
"Long.parseLong(br.readLine())",
"Long.parseLong",
"Long",
"br.readLine()",
"br.readLine",
"br",
"long res=t+(t*t)+(t*t*t);",
"res",
"t+(t*t)+(t*t*t)",
"t+(t*t)+(t*t*t)",
"t",
"(t*t)",
"t",
"t",
"(t*t*t)",
"t*t*t",
"t",
"t",
"t",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String[] args",
"args",
"static class Pair{\n\t char val;int cnt;\n\t Pair(char val,int cnt)\n\t {\n\t this.val=val;\n\t this.cnt=cnt;\n\t }\n\t }",
"Pair",
"char val;",
"val",
"int cnt;",
"cnt",
"Pair(char val,int cnt)\n\t {\n\t this.val=val;\n\t this.cnt=cnt;\n\t }",
"Pair",
"{\n\t this.val=val;\n\t this.cnt=cnt;\n\t }",
"this.val=val",
"this.val",
"this",
"this.val",
"val",
"this.cnt=cnt",
"this.cnt",
"this",
"this.cnt",
"cnt",
"char val",
"val",
"int cnt",
"cnt",
"public class Main\n{\n \n\t\t\n\t int \tgetint(BufferedReader sc) throws java.lang.Exception\n\t\t{\n\t//\t String ss=sc.readLine();\n\t \tint a= Integer.parseInt(sc.readLine());\n\t \treturn a;\n\t\t}\n\t ArrayList<Integer> getlistint(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Integer> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tint a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Float> getlistfl(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Float> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tfloat a=Float.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Long> getlist(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Long> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tlong a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Character> getlistchar(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Character> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t// String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<s.length();i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \t//char[] a=ss[i].toCharArray();\n\t\t \tres.add(s.charAt(i));\n\t\t }\n\t \n\t\t return res;\n\t }\n\n\t static int n;\n\t static int b[];\n\t static StringBuffer ans = new StringBuffer(\"\");\n\t static BufferedReader bf;\n\t static class Pair{\n\t char val;int cnt;\n\t Pair(char val,int cnt)\n\t {\n\t this.val=val;\n\t this.cnt=cnt;\n\t }\n\t }\n\n\t \n\t public static void main(String[] args) throws Exception \n\t {\n\t \tMain pra=new Main();\n\t \t//Scanner sc = new Scanner(System.in);\n\t // int tc;\n\t \tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t //\tScanner in=new Scanner(System.in);\n\t\t long t=Long.parseLong(br.readLine());\n\t\t \n\t\t long res=t+(t*t)+(t*t*t);\n\t\t System.out.println(res);\n\t\t// long max=Long.MAX_VALUE;\n\t\t/* while(t-->0){\n\t\t \t//int num=Integer.parseInt(br.readLine());\n\t\t ArrayList<Character> li=pra.getlistchar(br);\n\t\t ArrayList<Character> li2=pra.getlistchar(br);\n\t\t int res=0;\n\t\t for(int i=0;i<li2.size();i++)\n\t\t {\n\t\t\t if(li.contains(li2.get(i)))\n\t\t\t\t res++;\n\t\t }\n\t\t \n\t\t System.out.println(res);\n\t\t \n\t }*/\n\t\t // \n\t \n\t \n\t }\n\t }",
"public class Main\n{\n \n\t\t\n\t int \tgetint(BufferedReader sc) throws java.lang.Exception\n\t\t{\n\t//\t String ss=sc.readLine();\n\t \tint a= Integer.parseInt(sc.readLine());\n\t \treturn a;\n\t\t}\n\t ArrayList<Integer> getlistint(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Integer> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tint a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Float> getlistfl(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Float> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tfloat a=Float.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Long> getlist(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Long> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<ss.length;i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \tlong a=Integer.valueOf(ss[i]);\n\t\t \tres.add(a);\n\t\t }\n\t \n\t\t return res;\n\t }\n\t ArrayList<Character> getlistchar(BufferedReader sc) throws java.lang.Exception\n\t {\n\t\t ArrayList<Character> res=new ArrayList<>();\n\t\t \n\t\t String s=sc.readLine();\n\t\t// String[] ss=s.split(\" \");\n\t\t\n\t\t for(int i=0;i<s.length();i++)\n\t\t {\n\t\t\t// String ss=sc.readLine();\n\t\t \t//char[] a=ss[i].toCharArray();\n\t\t \tres.add(s.charAt(i));\n\t\t }\n\t \n\t\t return res;\n\t }\n\n\t static int n;\n\t static int b[];\n\t static StringBuffer ans = new StringBuffer(\"\");\n\t static BufferedReader bf;\n\t static class Pair{\n\t char val;int cnt;\n\t Pair(char val,int cnt)\n\t {\n\t this.val=val;\n\t this.cnt=cnt;\n\t }\n\t }\n\n\t \n\t public static void main(String[] args) throws Exception \n\t {\n\t \tMain pra=new Main();\n\t \t//Scanner sc = new Scanner(System.in);\n\t // int tc;\n\t \tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t //\tScanner in=new Scanner(System.in);\n\t\t long t=Long.parseLong(br.readLine());\n\t\t \n\t\t long res=t+(t*t)+(t*t*t);\n\t\t System.out.println(res);\n\t\t// long max=Long.MAX_VALUE;\n\t\t/* while(t-->0){\n\t\t \t//int num=Integer.parseInt(br.readLine());\n\t\t ArrayList<Character> li=pra.getlistchar(br);\n\t\t ArrayList<Character> li2=pra.getlistchar(br);\n\t\t int res=0;\n\t\t for(int i=0;i<li2.size();i++)\n\t\t {\n\t\t\t if(li.contains(li2.get(i)))\n\t\t\t\t res++;\n\t\t }\n\t\t \n\t\t System.out.println(res);\n\t\t \n\t }*/\n\t\t // \n\t \n\t \n\t }\n\t }",
"Main"
]
| /* package codechef; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.*;
import java.lang.*;
import java.util.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
public class Main
{
int getint(BufferedReader sc) throws java.lang.Exception
{
// String ss=sc.readLine();
int a= Integer.parseInt(sc.readLine());
return a;
}
ArrayList<Integer> getlistint(BufferedReader sc) throws java.lang.Exception
{
ArrayList<Integer> res=new ArrayList<>();
String s=sc.readLine();
String[] ss=s.split(" ");
for(int i=0;i<ss.length;i++)
{
// String ss=sc.readLine();
int a=Integer.valueOf(ss[i]);
res.add(a);
}
return res;
}
ArrayList<Float> getlistfl(BufferedReader sc) throws java.lang.Exception
{
ArrayList<Float> res=new ArrayList<>();
String s=sc.readLine();
String[] ss=s.split(" ");
for(int i=0;i<ss.length;i++)
{
// String ss=sc.readLine();
float a=Float.valueOf(ss[i]);
res.add(a);
}
return res;
}
ArrayList<Long> getlist(BufferedReader sc) throws java.lang.Exception
{
ArrayList<Long> res=new ArrayList<>();
String s=sc.readLine();
String[] ss=s.split(" ");
for(int i=0;i<ss.length;i++)
{
// String ss=sc.readLine();
long a=Integer.valueOf(ss[i]);
res.add(a);
}
return res;
}
ArrayList<Character> getlistchar(BufferedReader sc) throws java.lang.Exception
{
ArrayList<Character> res=new ArrayList<>();
String s=sc.readLine();
// String[] ss=s.split(" ");
for(int i=0;i<s.length();i++)
{
// String ss=sc.readLine();
//char[] a=ss[i].toCharArray();
res.add(s.charAt(i));
}
return res;
}
static int n;
static int b[];
static StringBuffer ans = new StringBuffer("");
static BufferedReader bf;
static class Pair{
char val;int cnt;
Pair(char val,int cnt)
{
this.val=val;
this.cnt=cnt;
}
}
public static void main(String[] args) throws Exception
{
Main pra=new Main();
//Scanner sc = new Scanner(System.in);
// int tc;
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
// Scanner in=new Scanner(System.in);
long t=Long.parseLong(br.readLine());
long res=t+(t*t)+(t*t*t);
System.out.println(res);
// long max=Long.MAX_VALUE;
/* while(t-->0){
//int num=Integer.parseInt(br.readLine());
ArrayList<Character> li=pra.getlistchar(br);
ArrayList<Character> li2=pra.getlistchar(br);
int res=0;
for(int i=0;i<li2.size();i++)
{
if(li.contains(li2.get(i)))
res++;
}
System.out.println(res);
}*/
//
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
12,
13,
30,
4,
18,
20,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
42,
5
],
[
42,
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
],
[
17,
22
],
[
23,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
42,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
]
| [
"import java.util.*;\npublic class Main {\n public void solve() {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n System.out.println(a+a*a+a*a*a);\n\n }\n\n public static void main(String[] args) {\n new Main().solve();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public void solve() {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n System.out.println(a+a*a+a*a*a);\n\n }\n\n public static void main(String[] args) {\n new Main().solve();\n }\n}",
"Main",
"public void solve() {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n System.out.println(a+a*a+a*a*a);\n\n }",
"solve",
"{\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n System.out.println(a+a*a+a*a*a);\n\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"System.out.println(a+a*a+a*a*a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a+a*a+a*a*a",
"a+a*a+a*a*a",
"a",
"a*a",
"a",
"a",
"a*a*a",
"a*a*a",
"a",
"a",
"a",
"public static void main(String[] args) {\n new Main().solve();\n }",
"main",
"{\n new Main().solve();\n }",
"new Main().solve()",
"new Main().solve",
"new Main()",
"String[] args",
"args",
"public class Main {\n public void solve() {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n System.out.println(a+a*a+a*a*a);\n\n }\n\n public static void main(String[] args) {\n new Main().solve();\n }\n}",
"public class Main {\n public void solve() {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n System.out.println(a+a*a+a*a*a);\n\n }\n\n public static void main(String[] args) {\n new Main().solve();\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public void solve() {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
System.out.println(a+a*a+a*a*a);
}
public static void main(String[] args) {
new Main().solve();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
41,
8
],
[
41,
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
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
28,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
33,
37
],
[
9,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
]
| [
"import java.lang.*;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int num = scan.nextInt();\n\n System.out.println((int)(num + Math.pow(num, 2) + Math.pow(num, 3)));\n }\n}",
"import java.lang.*;",
"lang.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int num = scan.nextInt();\n\n System.out.println((int)(num + Math.pow(num, 2) + Math.pow(num, 3)));\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int num = scan.nextInt();\n\n System.out.println((int)(num + Math.pow(num, 2) + Math.pow(num, 3)));\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n\n int num = scan.nextInt();\n\n System.out.println((int)(num + Math.pow(num, 2) + Math.pow(num, 3)));\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int num = scan.nextInt();",
"num",
"scan.nextInt()",
"scan.nextInt",
"scan",
"System.out.println((int)(num + Math.pow(num, 2) + Math.pow(num, 3)))",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)(num + Math.pow(num, 2) + Math.pow(num, 3))",
"num + Math.pow(num, 2) + Math.pow(num, 3)",
"num",
"Math.pow(num, 2)",
"Math.pow",
"Math",
"num",
"2",
"Math.pow(num, 3)",
"Math.pow",
"Math",
"num",
"3",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int num = scan.nextInt();\n\n System.out.println((int)(num + Math.pow(num, 2) + Math.pow(num, 3)));\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int num = scan.nextInt();\n\n System.out.println((int)(num + Math.pow(num, 2) + Math.pow(num, 3)));\n }\n}",
"Main"
]
| import java.lang.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int num = scan.nextInt();
System.out.println((int)(num + Math.pow(num, 2) + Math.pow(num, 3)));
}
}
|
[
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,
13,
41,
13,
2,
13,
13,
41,
13,
2,
2,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
52,
11
],
[
52,
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
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
14,
33
],
[
33,
34
],
[
33,
35
],
[
36,
36
],
[
36,
37
],
[
36,
38
],
[
36,
39
],
[
14,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
14,
46
],
[
46,
47
],
[
47,
48
],
[
12,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
]
| [
"\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n\n public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception{\n\n\tScanner sc=new Scanner(System.in);\n\tint a=sc.nextInt();\n\tint b= a*a;\n\tint c= b*a;\n\tint d=a+b+c;\n\t\n\tSystem.out.println(d);\n sc.close();\n\t}\n\n}\n\n\t\n",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception{\n\n\tScanner sc=new Scanner(System.in);\n\tint a=sc.nextInt();\n\tint b= a*a;\n\tint c= b*a;\n\tint d=a+b+c;\n\t\n\tSystem.out.println(d);\n sc.close();\n\t}\n\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception{\n\n\tScanner sc=new Scanner(System.in);\n\tint a=sc.nextInt();\n\tint b= a*a;\n\tint c= b*a;\n\tint d=a+b+c;\n\t\n\tSystem.out.println(d);\n sc.close();\n\t}",
"main",
"{\n\n\tScanner sc=new Scanner(System.in);\n\tint a=sc.nextInt();\n\tint b= a*a;\n\tint c= b*a;\n\tint d=a+b+c;\n\t\n\tSystem.out.println(d);\n sc.close();\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a=sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b= a*a;",
"b",
"a*a",
"a",
"a",
"int c= b*a;",
"c",
"b*a",
"b",
"a",
"int d=a+b+c;",
"d",
"a+b+c",
"a+b+c",
"a",
"b",
"c",
"System.out.println(d)",
"System.out.println",
"System.out",
"System",
"System.out",
"d",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception{\n\n\tScanner sc=new Scanner(System.in);\n\tint a=sc.nextInt();\n\tint b= a*a;\n\tint c= b*a;\n\tint d=a+b+c;\n\t\n\tSystem.out.println(d);\n sc.close();\n\t}\n\n}",
"public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception{\n\n\tScanner sc=new Scanner(System.in);\n\tint a=sc.nextInt();\n\tint b= a*a;\n\tint c= b*a;\n\tint d=a+b+c;\n\t\n\tSystem.out.println(d);\n sc.close();\n\t}\n\n}",
"Main"
]
|
import java.util.*;
import java.lang.*;
import java.io.*;
public class Main
{
public static void main (String[] args) throws java.lang.Exception{
Scanner sc=new Scanner(System.in);
int a=sc.nextInt();
int b= a*a;
int c= b*a;
int d=a+b+c;
System.out.println(d);
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
31,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tscan.close();\n\n\t\tif (a <= 10) {\n\t\t\tSystem.out.println(a + (a * a) + (a * a * a));\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\t\tint a = scan.nextInt();\n\t\tscan.close();\n\n\t\tif (a <= 10) {\n\t\t\tSystem.out.println(a + (a * a) + (a * a * a));\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tscan.close();\n\n\t\tif (a <= 10) {\n\t\t\tSystem.out.println(a + (a * a) + (a * a * a));\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tscan.close();\n\n\t\tif (a <= 10) {\n\t\t\tSystem.out.println(a + (a * a) + (a * a * a));\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"scan.close()",
"scan.close",
"scan",
"if (a <= 10) {\n\t\t\tSystem.out.println(a + (a * a) + (a * a * a));\n\t\t}",
"a <= 10",
"a",
"10",
"{\n\t\t\tSystem.out.println(a + (a * a) + (a * a * a));\n\t\t}",
"System.out.println(a + (a * a) + (a * a * a))",
"System.out.println",
"System.out",
"System",
"System.out",
"a + (a * a) + (a * a * a)",
"a + (a * a) + (a * a * a)",
"a",
"(a * a)",
"a",
"a",
"(a * a * a)",
"a * a * a",
"a",
"a",
"a",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tscan.close();\n\n\t\tif (a <= 10) {\n\t\t\tSystem.out.println(a + (a * a) + (a * a * a));\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\t\tint a = scan.nextInt();\n\t\tscan.close();\n\n\t\tif (a <= 10) {\n\t\t\tSystem.out.println(a + (a * a) + (a * a * a));\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 a = scan.nextInt();
scan.close();
if (a <= 10) {
System.out.println(a + (a * a) + (a * a * a));
}
}
} |
[
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,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
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
],
[
48,
11
],
[
48,
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
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
35,
35
],
[
35,
36
],
[
35,
37
],
[
35,
38
],
[
14,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
12,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
]
| [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(reader.readLine());\n long result = a + a * a + a * a * a;\n System.out.println(result);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(reader.readLine());\n long result = a + a * a + a * a * a;\n System.out.println(result);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(reader.readLine());\n long result = a + a * a + a * a * a;\n System.out.println(result);\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(reader.readLine());\n long result = a + a * a + a * a * a;\n System.out.println(result);\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"int a = Integer.parseInt(reader.readLine());",
"a",
"Integer.parseInt(reader.readLine())",
"Integer.parseInt",
"Integer",
"reader.readLine()",
"reader.readLine",
"reader",
"long result = a + a * a + a * a * a;",
"result",
"a + a * a + a * a * a",
"a + a * a + a * a * a",
"a",
"a * a",
"a",
"a",
"a * a * a",
"a * a * a",
"a",
"a",
"a",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(reader.readLine());\n long result = a + a * a + a * a * a;\n System.out.println(result);\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(reader.readLine());\n long result = a + a * a + a * a * a;\n System.out.println(result);\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(reader.readLine());
long result = a + a * a + a * a * a;
System.out.println(result);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
13,
2,
2,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
29,
17,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
95,
8
],
[
95,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
11,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
9,
25
],
[
25,
26
],
[
95,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
33,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
50,
51
],
[
29,
52
],
[
52,
53
],
[
27,
54
],
[
54,
55
],
[
27,
56
],
[
56,
57
],
[
95,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
62,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
80,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
82,
86
],
[
80,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
87,
91
],
[
62,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
]
| [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Object o = run();\n if (o != null)\n System.out.println();\n }\n\n private static ArrayList<Integer> nScan(Scanner sc, int n) {\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n al.add(sc.nextInt());\n }\n return al;\n }\n\n private static Object run() {\n try (Scanner sc = new Scanner(System.in);) {\n int a = sc.nextInt();\n //int a = sc.nextInt();\n //int y = sc.nextInt();\n //int t = sc.next();\n //ArrayList<Integer> x = nScan(sc, n);\n //ArrayList<Integer> y = nScan(sc, n);\n //ArrayList<String> s = nScan(sc, n);\n //for (int i = 0; i < ?; i++) {\n //\n //}\n System.out.println((int)Math.floor(a + Math.pow(a,2) + Math.pow(a,3)));\n return null;\n }\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Object o = run();\n if (o != null)\n System.out.println();\n }\n\n private static ArrayList<Integer> nScan(Scanner sc, int n) {\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n al.add(sc.nextInt());\n }\n return al;\n }\n\n private static Object run() {\n try (Scanner sc = new Scanner(System.in);) {\n int a = sc.nextInt();\n //int a = sc.nextInt();\n //int y = sc.nextInt();\n //int t = sc.next();\n //ArrayList<Integer> x = nScan(sc, n);\n //ArrayList<Integer> y = nScan(sc, n);\n //ArrayList<String> s = nScan(sc, n);\n //for (int i = 0; i < ?; i++) {\n //\n //}\n System.out.println((int)Math.floor(a + Math.pow(a,2) + Math.pow(a,3)));\n return null;\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Object o = run();\n if (o != null)\n System.out.println();\n }",
"main",
"{\n Object o = run();\n if (o != null)\n System.out.println();\n }",
"Object o = run();",
"o",
"run()",
"run",
"if (o != null)\n System.out.println();",
"o != null",
"o",
"null",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"private static ArrayList<Integer> nScan(Scanner sc, int n) {\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n al.add(sc.nextInt());\n }\n return al;\n }",
"nScan",
"{\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n al.add(sc.nextInt());\n }\n return al;\n }",
"ArrayList<Integer> al = new ArrayList<>();",
"al",
"new ArrayList<>()",
"for (int i = 0; i < n; i++) {\n al.add(sc.nextInt());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n al.add(sc.nextInt());\n }",
"{\n al.add(sc.nextInt());\n }",
"al.add(sc.nextInt())",
"al.add",
"al",
"sc.nextInt()",
"sc.nextInt",
"sc",
"return al;",
"al",
"Scanner sc",
"sc",
"int n",
"n",
"private static Object run() {\n try (Scanner sc = new Scanner(System.in);) {\n int a = sc.nextInt();\n //int a = sc.nextInt();\n //int y = sc.nextInt();\n //int t = sc.next();\n //ArrayList<Integer> x = nScan(sc, n);\n //ArrayList<Integer> y = nScan(sc, n);\n //ArrayList<String> s = nScan(sc, n);\n //for (int i = 0; i < ?; i++) {\n //\n //}\n System.out.println((int)Math.floor(a + Math.pow(a,2) + Math.pow(a,3)));\n return null;\n }\n }",
"run",
"{\n try (Scanner sc = new Scanner(System.in);) {\n int a = sc.nextInt();\n //int a = sc.nextInt();\n //int y = sc.nextInt();\n //int t = sc.next();\n //ArrayList<Integer> x = nScan(sc, n);\n //ArrayList<Integer> y = nScan(sc, n);\n //ArrayList<String> s = nScan(sc, n);\n //for (int i = 0; i < ?; i++) {\n //\n //}\n System.out.println((int)Math.floor(a + Math.pow(a,2) + Math.pow(a,3)));\n return null;\n }\n }",
"try (Scanner sc = new Scanner(System.in);) {\n int a = sc.nextInt();\n //int a = sc.nextInt();\n //int y = sc.nextInt();\n //int t = sc.next();\n //ArrayList<Integer> x = nScan(sc, n);\n //ArrayList<Integer> y = nScan(sc, n);\n //ArrayList<String> s = nScan(sc, n);\n //for (int i = 0; i < ?; i++) {\n //\n //}\n System.out.println((int)Math.floor(a + Math.pow(a,2) + Math.pow(a,3)));\n return null;\n }",
"{\n int a = sc.nextInt();\n //int a = sc.nextInt();\n //int y = sc.nextInt();\n //int t = sc.next();\n //ArrayList<Integer> x = nScan(sc, n);\n //ArrayList<Integer> y = nScan(sc, n);\n //ArrayList<String> s = nScan(sc, n);\n //for (int i = 0; i < ?; i++) {\n //\n //}\n System.out.println((int)Math.floor(a + Math.pow(a,2) + Math.pow(a,3)));\n return null;\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println((int)Math.floor(a + Math.pow(a,2) + Math.pow(a,3)))",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)Math.floor(a + Math.pow(a,2) + Math.pow(a,3))",
"Math.floor",
"Math",
"a + Math.pow(a,2) + Math.pow(a,3)",
"a + Math.pow(a,2) + Math.pow(a,3)",
"a",
"Math.pow(a,2)",
"Math.pow",
"Math",
"a",
"2",
"Math.pow(a,3)",
"Math.pow",
"Math",
"a",
"3",
"return null;",
"null",
"public class Main {\n public static void main(String[] args) {\n Object o = run();\n if (o != null)\n System.out.println();\n }\n\n private static ArrayList<Integer> nScan(Scanner sc, int n) {\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n al.add(sc.nextInt());\n }\n return al;\n }\n\n private static Object run() {\n try (Scanner sc = new Scanner(System.in);) {\n int a = sc.nextInt();\n //int a = sc.nextInt();\n //int y = sc.nextInt();\n //int t = sc.next();\n //ArrayList<Integer> x = nScan(sc, n);\n //ArrayList<Integer> y = nScan(sc, n);\n //ArrayList<String> s = nScan(sc, n);\n //for (int i = 0; i < ?; i++) {\n //\n //}\n System.out.println((int)Math.floor(a + Math.pow(a,2) + Math.pow(a,3)));\n return null;\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Object o = run();\n if (o != null)\n System.out.println();\n }\n\n private static ArrayList<Integer> nScan(Scanner sc, int n) {\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n al.add(sc.nextInt());\n }\n return al;\n }\n\n private static Object run() {\n try (Scanner sc = new Scanner(System.in);) {\n int a = sc.nextInt();\n //int a = sc.nextInt();\n //int y = sc.nextInt();\n //int t = sc.next();\n //ArrayList<Integer> x = nScan(sc, n);\n //ArrayList<Integer> y = nScan(sc, n);\n //ArrayList<String> s = nScan(sc, n);\n //for (int i = 0; i < ?; i++) {\n //\n //}\n System.out.println((int)Math.floor(a + Math.pow(a,2) + Math.pow(a,3)));\n return null;\n }\n }\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Object o = run();
if (o != null)
System.out.println();
}
private static ArrayList<Integer> nScan(Scanner sc, int n) {
ArrayList<Integer> al = new ArrayList<>();
for (int i = 0; i < n; i++) {
al.add(sc.nextInt());
}
return al;
}
private static Object run() {
try (Scanner sc = new Scanner(System.in);) {
int a = sc.nextInt();
//int a = sc.nextInt();
//int y = sc.nextInt();
//int t = sc.next();
//ArrayList<Integer> x = nScan(sc, n);
//ArrayList<Integer> y = nScan(sc, n);
//ArrayList<String> s = nScan(sc, n);
//for (int i = 0; i < ?; i++) {
//
//}
System.out.println((int)Math.floor(a + Math.pow(a,2) + Math.pow(a,3)));
return null;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
0,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
24,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
30,
30
],
[
30,
31
],
[
30,
32
],
[
30,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
]
| [
"import java.util.Scanner;\n\npublic class Main\n{\n public static void main(String[] args)\n {\n int a,ans;\n Scanner scanner = new Scanner(System.in);\n \n a = scanner.nextInt();\n ans = a + a*a + a*a*a;\n \n System.out.println(ans);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n public static void main(String[] args)\n {\n int a,ans;\n Scanner scanner = new Scanner(System.in);\n \n a = scanner.nextInt();\n ans = a + a*a + a*a*a;\n \n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args)\n {\n int a,ans;\n Scanner scanner = new Scanner(System.in);\n \n a = scanner.nextInt();\n ans = a + a*a + a*a*a;\n \n System.out.println(ans);\n }",
"main",
"{\n int a,ans;\n Scanner scanner = new Scanner(System.in);\n \n a = scanner.nextInt();\n ans = a + a*a + a*a*a;\n \n System.out.println(ans);\n }",
"int a",
"a",
"ans;",
"ans",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"a = scanner.nextInt()",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"ans = a + a*a + a*a*a",
"ans",
"a + a*a + a*a*a",
"a + a*a + a*a*a",
"a",
"a*a",
"a",
"a",
"a*a*a",
"a*a*a",
"a",
"a",
"a",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main\n{\n public static void main(String[] args)\n {\n int a,ans;\n Scanner scanner = new Scanner(System.in);\n \n a = scanner.nextInt();\n ans = a + a*a + a*a*a;\n \n System.out.println(ans);\n }\n}",
"public class Main\n{\n public static void main(String[] args)\n {\n int a,ans;\n Scanner scanner = new Scanner(System.in);\n \n a = scanner.nextInt();\n ans = a + a*a + a*a*a;\n \n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
int a,ans;
Scanner scanner = new Scanner(System.in);
a = scanner.nextInt();
ans = a + a*a + a*a*a;
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
49,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
35,
39
],
[
11,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
9,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
]
| [
"import java.util.*;\npublic class Main{\n\tpublic static final Scanner sc = new Scanner(System.in);\n \tpublic static void main(String[] args){\n \tint n = sc.nextInt();\n \tlong ans = 0;\n \tfor (int i=1; i<=3; i++){\n \tans += Math.pow(n, i);\n }\n \tSystem.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static final Scanner sc = new Scanner(System.in);\n \tpublic static void main(String[] args){\n \tint n = sc.nextInt();\n \tlong ans = 0;\n \tfor (int i=1; i<=3; i++){\n \tans += Math.pow(n, i);\n }\n \tSystem.out.println(ans);\n }\n}",
"Main",
"public static final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args){\n \tint n = sc.nextInt();\n \tlong ans = 0;\n \tfor (int i=1; i<=3; i++){\n \tans += Math.pow(n, i);\n }\n \tSystem.out.println(ans);\n }",
"main",
"{\n \tint n = sc.nextInt();\n \tlong ans = 0;\n \tfor (int i=1; i<=3; i++){\n \tans += Math.pow(n, i);\n }\n \tSystem.out.println(ans);\n }",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long ans = 0;",
"ans",
"0",
"for (int i=1; i<=3; i++){\n \tans += Math.pow(n, i);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=3",
"i",
"3",
"i++",
"i++",
"i",
"{\n \tans += Math.pow(n, i);\n }",
"{\n \tans += Math.pow(n, i);\n }",
"ans += Math.pow(n, i)",
"ans",
"Math.pow(n, i)",
"Math.pow",
"Math",
"n",
"i",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main{\n\tpublic static final Scanner sc = new Scanner(System.in);\n \tpublic static void main(String[] args){\n \tint n = sc.nextInt();\n \tlong ans = 0;\n \tfor (int i=1; i<=3; i++){\n \tans += Math.pow(n, i);\n }\n \tSystem.out.println(ans);\n }\n}",
"public class Main{\n\tpublic static final Scanner sc = new Scanner(System.in);\n \tpublic static void main(String[] args){\n \tint n = sc.nextInt();\n \tlong ans = 0;\n \tfor (int i=1; i<=3; i++){\n \tans += Math.pow(n, i);\n }\n \tSystem.out.println(ans);\n }\n}",
"Main"
]
| import java.util.*;
public class Main{
public static final Scanner sc = new Scanner(System.in);
public static void main(String[] args){
int n = sc.nextInt();
long ans = 0;
for (int i=1; i<=3; i++){
ans += Math.pow(n, i);
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
39,
5
],
[
39,
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
],
[
17,
22
],
[
23,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
]
| [
"import java.util.Scanner;\n\n// ABC172-\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\n\t\tSystem.out.println(a + a * a + a * a * a);\n\t\tsc.close();\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 sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\n\t\tSystem.out.println(a + a * a + a * a * a);\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\n\t\tSystem.out.println(a + a * a + a * a * a);\n\t\tsc.close();\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\n\t\tSystem.out.println(a + a * a + a * a * a);\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(a + a * a + a * a * a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + a * a + a * a * a",
"a + a * a + a * a * a",
"a",
"a * a",
"a",
"a",
"a * a * a",
"a * a * a",
"a",
"a",
"a",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\n\t\tSystem.out.println(a + a * a + a * a * a);\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\n\t\tSystem.out.println(a + a * a + a * a * a);\n\t\tsc.close();\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
// ABC172-
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextInt();
System.out.println(a + a * a + a * a * a);
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
41,
5
],
[
41,
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
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
22,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
27,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
6,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int res = (int) ((int) a + Math.pow(a, 2) + Math.pow(a, 3));\n System.out.println(res);\n\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int res = (int) ((int) a + Math.pow(a, 2) + Math.pow(a, 3));\n System.out.println(res);\n\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int res = (int) ((int) a + Math.pow(a, 2) + Math.pow(a, 3));\n System.out.println(res);\n\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int res = (int) ((int) a + Math.pow(a, 2) + Math.pow(a, 3));\n System.out.println(res);\n\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int a = in.nextInt();",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"int res = (int) ((int) a + Math.pow(a, 2) + Math.pow(a, 3));",
"res",
"(int) ((int) a + Math.pow(a, 2) + Math.pow(a, 3))",
"(int) a + Math.pow(a, 2) + Math.pow(a, 3)",
"(int) a",
"Math.pow(a, 2)",
"Math.pow",
"Math",
"a",
"2",
"Math.pow(a, 3)",
"Math.pow",
"Math",
"a",
"3",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int res = (int) ((int) a + Math.pow(a, 2) + Math.pow(a, 3));\n System.out.println(res);\n\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int res = (int) ((int) a + Math.pow(a, 2) + Math.pow(a, 3));\n System.out.println(res);\n\n }\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a = in.nextInt();
int res = (int) ((int) a + Math.pow(a, 2) + Math.pow(a, 3));
System.out.println(res);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
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
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
23,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
6,
33
],
[
33,
34
]
]
| [
"import java.util.*;\n\nclass Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \tint num = sc.nextInt();\n \tSystem.out.println(num+num*num+num*num*num);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \tint num = sc.nextInt();\n \tSystem.out.println(num+num*num+num*num*num);\n }\n}",
"Main",
"public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \tint num = sc.nextInt();\n \tSystem.out.println(num+num*num+num*num*num);\n }",
"main",
"{\n \tScanner sc = new Scanner(System.in);\n \tint num = sc.nextInt();\n \tSystem.out.println(num+num*num+num*num*num);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int num = sc.nextInt();",
"num",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(num+num*num+num*num*num)",
"System.out.println",
"System.out",
"System",
"System.out",
"num+num*num+num*num*num",
"num+num*num+num*num*num",
"num",
"num*num",
"num",
"num",
"num*num*num",
"num*num*num",
"num",
"num",
"num",
"String[] args",
"args"
]
| import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int num = sc.nextInt();
System.out.println(num+num*num+num*num*num);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
17,
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,
41,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
29,
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,
41,
13,
2,
18,
13,
13,
17,
41,
13,
40,
17,
42,
2,
13,
13,
30,
41,
13,
2,
2,
13,
13,
17,
14,
2,
18,
13,
13,
13,
0,
13,
2,
13,
17,
30,
0,
13,
13,
0,
13,
2,
13,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
2,
18,
13,
13,
17,
41,
13,
40,
17,
42,
2,
13,
13,
30,
41,
13,
2,
2,
13,
13,
17,
14,
2,
18,
18,
13,
13,
13,
13,
30,
0,
13,
13,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
2,
13,
13,
13,
0,
13,
17,
29,
2,
13,
13,
23,
13,
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,
17,
42,
2,
13,
17,
30,
0,
13,
2,
13,
17,
40,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
4,
18,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
4,
18,
13,
4,
13,
4,
18,
13,
4,
18,
13,
12,
13,
30,
4,
18,
20,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
13,
0,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
18,
36,
13,
18,
13,
13,
29,
2,
18,
36,
13,
18,
13,
13,
29,
2,
18,
36,
13,
18,
13,
13,
23,
13,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
393,
11
],
[
393,
12
],
[
12,
13
],
[
393,
14
],
[
14,
15
],
[
393,
16
],
[
16,
17
],
[
393,
18
],
[
18,
19
],
[
18,
20
],
[
393,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
24,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
34,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
23,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
393,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
51,
67
],
[
67,
68
],
[
393,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
393,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
393,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
94,
95
],
[
393,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
98,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
98,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
117,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
125,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
133,
135
],
[
125,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
136,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
142,
144
],
[
98,
145
],
[
145,
146
],
[
96,
147
],
[
147,
148
],
[
96,
149
],
[
149,
150
],
[
393,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
153,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
159,
163
],
[
153,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
153,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
168,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
175,
179
],
[
172,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
182,
186
],
[
181,
187
],
[
180,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
188,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
194,
196
],
[
180,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
199,
201
],
[
153,
202
],
[
202,
203
],
[
151,
204
],
[
204,
205
],
[
151,
206
],
[
206,
207
],
[
393,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
210,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
214,
218
],
[
218,
219
],
[
219,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
220,
224
],
[
219,
225
],
[
225,
226
],
[
225,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
227,
231
],
[
218,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
234,
238
],
[
218,
239
],
[
239,
240
],
[
239,
241
],
[
210,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
208,
246
],
[
246,
247
],
[
208,
248
],
[
248,
249
],
[
393,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
253,
257
],
[
257,
258
],
[
252,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
260,
263
],
[
263,
264
],
[
263,
265
],
[
250,
266
],
[
266,
267
],
[
250,
268
],
[
268,
269
],
[
393,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
272,
276
],
[
276,
277
],
[
277,
278
],
[
277,
279
],
[
276,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
283,
285
],
[
280,
286
],
[
286,
287
],
[
272,
288
],
[
288,
289
],
[
270,
290
],
[
290,
291
],
[
393,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
295,
296
],
[
295,
297
],
[
297,
298
],
[
294,
299
],
[
299,
300
],
[
300,
301
],
[
299,
302
],
[
303,
303
],
[
303,
304
],
[
303,
305
],
[
305,
306
],
[
305,
307
],
[
303,
308
],
[
309,
309
],
[
309,
310
],
[
309,
311
],
[
309,
312
],
[
393,
313
],
[
313,
314
],
[
313,
315
],
[
315,
316
],
[
316,
317
],
[
316,
318
],
[
315,
319
],
[
319,
320
],
[
319,
321
],
[
315,
322
],
[
322,
323
],
[
322,
324
],
[
324,
325
],
[
325,
326
],
[
315,
327
],
[
327,
328
],
[
315,
329
],
[
329,
330
],
[
330,
331
],
[
315,
332
],
[
332,
333
],
[
333,
334
],
[
393,
335
],
[
335,
336
],
[
335,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
335,
341
],
[
341,
342
],
[
393,
343
],
[
343,
344
],
[
343,
345
],
[
345,
346
],
[
343,
347
],
[
347,
348
],
[
343,
349
],
[
349,
350
],
[
349,
351
],
[
351,
352
],
[
352,
353
],
[
352,
354
],
[
351,
355
],
[
355,
356
],
[
355,
357
],
[
349,
358
],
[
358,
359
],
[
349,
360
],
[
360,
361
],
[
343,
362
],
[
362,
363
],
[
362,
364
],
[
364,
365
],
[
365,
366
],
[
366,
367
],
[
367,
368
],
[
367,
369
],
[
366,
370
],
[
370,
371
],
[
370,
372
],
[
365,
373
],
[
373,
374
],
[
374,
375
],
[
375,
376
],
[
375,
377
],
[
374,
378
],
[
378,
379
],
[
378,
380
],
[
364,
381
],
[
381,
382
],
[
382,
383
],
[
383,
384
],
[
383,
385
],
[
382,
386
],
[
386,
387
],
[
386,
388
],
[
362,
389
],
[
389,
390
],
[
343,
391
],
[
0,
392
],
[
392,
393
],
[
392,
394
]
]
| [
"import java.io.*;\nimport java.util.*;\nimport java.lang.*;\npublic class Main {\n\tPrintWriter out;\n StringTokenizer st;\n BufferedReader br;\n \t\n \tclass Pair implements Comparable<Pair>\n\t{\n\t int f;\n\t int s;\n \n\t Pair(int t, int r) {\n\t f = t;\n\t s = r;\n\t }\n\t public int compareTo(Pair p)\n\t {\n\t \tif(this.f!=p.f)\n\t \t\treturn this.f-p.f;\n \n\t \treturn this.s-p.s;\n\t }\n \t}\n // \tclass Sort implements Comparator<String> \n\t// { \n\t// public int compare(String a, String b) \n\t// { \n\t// \treturn (a+b).compareTo(b+a);\n\t// } \n\t// }\n \n\tString ns() {\n while (st == null || !st.hasMoreElements()) {\n \n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n String nextLine() throws Exception {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n throw new Exception(e.toString());\n }\n return str;\n }\n \n int nextInt() {\n return Integer.parseInt(ns());\n }\n \n long nextLong() {\n return Long.parseLong(ns());\n }\n \n double nextDouble() {\n return Double.parseDouble(ns());\n }\n\t\n\tint upperBound(long a[],long key)\n\t{\n\t\tint l=0,r=a.length-1;\n\t\tint i=-1;\n \n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid]<key)\n\t\t\t\tl=mid+1;\n \n\t\t\telse{\n\t\t\t\ti=mid;\t\n\t\t\t\tr=mid-1;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}\n\tint lowerBound(Pair[] a , long key)\n\t{\n\t\tint l = 0, r = a.length- 1;\n\t\tint i = -1;\n \t\n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid].f<key)\n\t\t\t{\n\t\t\t\ti=mid;\n\t\t\t\tl=mid+1;\t\n\t\t\t}\n \n\t\t\telse\n\t\t\t\tr=mid-1;\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}\n \n\tlong power(long x,long y)\n\t{\n\t long ans=1;\n\t \n\t while(y!=0)\n\t {\n\t if(y%2==1) ans=(ans*x)%mod;\n\t x=(x*x)%mod;\n\t y/=2;\n\t }\n\t return ans%mod;\n\t}\n\t\n \n\tint mod= 1000000007;\n\tlong gcd(long x ,long y)\n\t{\n\t\tif(y==0)\n\t\t\treturn x;\n\t\treturn gcd(y,x%y);\n\t}\n \n\t// ArrayList a[];\n\t// int vis[],cnt=0;\n\t// void dfs(int ver)\n\t// {\n\t// \tArrayList<Integer> l=a[ver];\n\t// \tif(l.size()==1)\n\t// \t\tcnt++;\n\t// \tfor(int v:l)\n\t// \t{\n\t// \t\tif(vis[v]==0){\n\t// \t\t\tvis[v]=vis[ver]+1;\n\t// \t\t\tdfs(v);\n\t// \t\t}\n\t// \t}\n\t// }\n \n \tint countSetBits(long n) \n { \n int count = 0; \n while (n > 0) { \n n &= (n - 1); \n count++; \n } \n return count; \n }\n\n\tvoid solve() throws IOException{\n\t\tint n = nextInt();\n\t\tout.println(n + n * n + n * n * n);\n\t}\n \n \n\t\n void run() throws IOException {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n long s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n \n\t\tout.close();\n\t}\n \n\tpublic static void main(String args[]) throws IOException {\n\t\tnew Main().run();\n\t}\n \n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main {\n\tPrintWriter out;\n StringTokenizer st;\n BufferedReader br;\n \t\n \tclass Pair implements Comparable<Pair>\n\t{\n\t int f;\n\t int s;\n \n\t Pair(int t, int r) {\n\t f = t;\n\t s = r;\n\t }\n\t public int compareTo(Pair p)\n\t {\n\t \tif(this.f!=p.f)\n\t \t\treturn this.f-p.f;\n \n\t \treturn this.s-p.s;\n\t }\n \t}\n // \tclass Sort implements Comparator<String> \n\t// { \n\t// public int compare(String a, String b) \n\t// { \n\t// \treturn (a+b).compareTo(b+a);\n\t// } \n\t// }\n \n\tString ns() {\n while (st == null || !st.hasMoreElements()) {\n \n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n String nextLine() throws Exception {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n throw new Exception(e.toString());\n }\n return str;\n }\n \n int nextInt() {\n return Integer.parseInt(ns());\n }\n \n long nextLong() {\n return Long.parseLong(ns());\n }\n \n double nextDouble() {\n return Double.parseDouble(ns());\n }\n\t\n\tint upperBound(long a[],long key)\n\t{\n\t\tint l=0,r=a.length-1;\n\t\tint i=-1;\n \n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid]<key)\n\t\t\t\tl=mid+1;\n \n\t\t\telse{\n\t\t\t\ti=mid;\t\n\t\t\t\tr=mid-1;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}\n\tint lowerBound(Pair[] a , long key)\n\t{\n\t\tint l = 0, r = a.length- 1;\n\t\tint i = -1;\n \t\n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid].f<key)\n\t\t\t{\n\t\t\t\ti=mid;\n\t\t\t\tl=mid+1;\t\n\t\t\t}\n \n\t\t\telse\n\t\t\t\tr=mid-1;\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}\n \n\tlong power(long x,long y)\n\t{\n\t long ans=1;\n\t \n\t while(y!=0)\n\t {\n\t if(y%2==1) ans=(ans*x)%mod;\n\t x=(x*x)%mod;\n\t y/=2;\n\t }\n\t return ans%mod;\n\t}\n\t\n \n\tint mod= 1000000007;\n\tlong gcd(long x ,long y)\n\t{\n\t\tif(y==0)\n\t\t\treturn x;\n\t\treturn gcd(y,x%y);\n\t}\n \n\t// ArrayList a[];\n\t// int vis[],cnt=0;\n\t// void dfs(int ver)\n\t// {\n\t// \tArrayList<Integer> l=a[ver];\n\t// \tif(l.size()==1)\n\t// \t\tcnt++;\n\t// \tfor(int v:l)\n\t// \t{\n\t// \t\tif(vis[v]==0){\n\t// \t\t\tvis[v]=vis[ver]+1;\n\t// \t\t\tdfs(v);\n\t// \t\t}\n\t// \t}\n\t// }\n \n \tint countSetBits(long n) \n { \n int count = 0; \n while (n > 0) { \n n &= (n - 1); \n count++; \n } \n return count; \n }\n\n\tvoid solve() throws IOException{\n\t\tint n = nextInt();\n\t\tout.println(n + n * n + n * n * n);\n\t}\n \n \n\t\n void run() throws IOException {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n long s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n \n\t\tout.close();\n\t}\n \n\tpublic static void main(String args[]) throws IOException {\n\t\tnew Main().run();\n\t}\n \n}",
"Main",
"PrintWriter out;",
"out",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"int mod= 1000000007;",
"mod",
"1000000007",
"String ns() {\n while (st == null || !st.hasMoreElements()) {\n \n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"ns",
"{\n while (st == null || !st.hasMoreElements()) {\n \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 \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 \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",
"String nextLine() throws Exception {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n throw new Exception(e.toString());\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n throw new Exception(e.toString());\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = br.readLine();\n } catch (IOException e) {\n throw new Exception(e.toString());\n }",
"catch (IOException e) {\n throw new Exception(e.toString());\n }",
"IOException e",
"{\n throw new Exception(e.toString());\n }",
"throw new Exception(e.toString());",
"new Exception(e.toString())",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"int nextInt() {\n return Integer.parseInt(ns());\n }",
"nextInt",
"{\n return Integer.parseInt(ns());\n }",
"return Integer.parseInt(ns());",
"Integer.parseInt(ns())",
"Integer.parseInt",
"Integer",
"ns()",
"ns",
"long nextLong() {\n return Long.parseLong(ns());\n }",
"nextLong",
"{\n return Long.parseLong(ns());\n }",
"return Long.parseLong(ns());",
"Long.parseLong(ns())",
"Long.parseLong",
"Long",
"ns()",
"ns",
"double nextDouble() {\n return Double.parseDouble(ns());\n }",
"nextDouble",
"{\n return Double.parseDouble(ns());\n }",
"return Double.parseDouble(ns());",
"Double.parseDouble(ns())",
"Double.parseDouble",
"Double",
"ns()",
"ns",
"int upperBound(long a[],long key)\n\t{\n\t\tint l=0,r=a.length-1;\n\t\tint i=-1;\n \n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid]<key)\n\t\t\t\tl=mid+1;\n \n\t\t\telse{\n\t\t\t\ti=mid;\t\n\t\t\t\tr=mid-1;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}",
"upperBound",
"{\n\t\tint l=0,r=a.length-1;\n\t\tint i=-1;\n \n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid]<key)\n\t\t\t\tl=mid+1;\n \n\t\t\telse{\n\t\t\t\ti=mid;\t\n\t\t\t\tr=mid-1;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}",
"int l=0",
"l",
"0",
"r=a.length-1;",
"r",
"a.length-1",
"a.length",
"a",
"a.length",
"1",
"int i=-1;",
"i",
"-1",
"1",
"while(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid]<key)\n\t\t\t\tl=mid+1;\n \n\t\t\telse{\n\t\t\t\ti=mid;\t\n\t\t\t\tr=mid-1;\n\t\t\t}\n\t\t\t\n\t\t}",
"l<=r",
"l",
"r",
"{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid]<key)\n\t\t\t\tl=mid+1;\n \n\t\t\telse{\n\t\t\t\ti=mid;\t\n\t\t\t\tr=mid-1;\n\t\t\t}\n\t\t\t\n\t\t}",
"int mid=(l+r)/2;",
"mid",
"(l+r)/2",
"(l+r)",
"l",
"r",
"2",
"if(a[mid]<key)\n\t\t\t\tl=mid+1;\n \n\t\t\telse{\n\t\t\t\ti=mid;\t\n\t\t\t\tr=mid-1;\n\t\t\t}",
"a[mid]<key",
"a[mid]",
"a",
"mid",
"key",
"l=mid+1",
"l",
"mid+1",
"mid",
"1",
"{\n\t\t\t\ti=mid;\t\n\t\t\t\tr=mid-1;\n\t\t\t}",
"i=mid",
"i",
"mid",
"r=mid-1",
"r",
"mid-1",
"mid",
"1",
"return i;",
"i",
"long a[]",
"a",
"long key",
"key",
"int lowerBound(Pair[] a , long key)\n\t{\n\t\tint l = 0, r = a.length- 1;\n\t\tint i = -1;\n \t\n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid].f<key)\n\t\t\t{\n\t\t\t\ti=mid;\n\t\t\t\tl=mid+1;\t\n\t\t\t}\n \n\t\t\telse\n\t\t\t\tr=mid-1;\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}",
"lowerBound",
"{\n\t\tint l = 0, r = a.length- 1;\n\t\tint i = -1;\n \t\n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid].f<key)\n\t\t\t{\n\t\t\t\ti=mid;\n\t\t\t\tl=mid+1;\t\n\t\t\t}\n \n\t\t\telse\n\t\t\t\tr=mid-1;\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}",
"int l = 0",
"l",
"0",
"r = a.length- 1;",
"r",
"a.length- 1",
"a.length",
"a",
"a.length",
"1",
"int i = -1;",
"i",
"-1",
"1",
"while(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid].f<key)\n\t\t\t{\n\t\t\t\ti=mid;\n\t\t\t\tl=mid+1;\t\n\t\t\t}\n \n\t\t\telse\n\t\t\t\tr=mid-1;\n\t\t\t\n\t\t}",
"l<=r",
"l",
"r",
"{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid].f<key)\n\t\t\t{\n\t\t\t\ti=mid;\n\t\t\t\tl=mid+1;\t\n\t\t\t}\n \n\t\t\telse\n\t\t\t\tr=mid-1;\n\t\t\t\n\t\t}",
"int mid=(l+r)/2;",
"mid",
"(l+r)/2",
"(l+r)",
"l",
"r",
"2",
"if(a[mid].f<key)\n\t\t\t{\n\t\t\t\ti=mid;\n\t\t\t\tl=mid+1;\t\n\t\t\t}\n \n\t\t\telse\n\t\t\t\tr=mid-1;",
"a[mid].f<key",
"a[mid].f",
"a[mid]",
"a",
"mid",
"a[mid].f",
"key",
"{\n\t\t\t\ti=mid;\n\t\t\t\tl=mid+1;\t\n\t\t\t}",
"i=mid",
"i",
"mid",
"l=mid+1",
"l",
"mid+1",
"mid",
"1",
"r=mid-1",
"r",
"mid-1",
"mid",
"1",
"return i;",
"i",
"Pair[] a",
"a",
"long key",
"key",
"long power(long x,long y)\n\t{\n\t long ans=1;\n\t \n\t while(y!=0)\n\t {\n\t if(y%2==1) ans=(ans*x)%mod;\n\t x=(x*x)%mod;\n\t y/=2;\n\t }\n\t return ans%mod;\n\t}",
"power",
"{\n\t long ans=1;\n\t \n\t while(y!=0)\n\t {\n\t if(y%2==1) ans=(ans*x)%mod;\n\t x=(x*x)%mod;\n\t y/=2;\n\t }\n\t return ans%mod;\n\t}",
"long ans=1;",
"ans",
"1",
"while(y!=0)\n\t {\n\t if(y%2==1) ans=(ans*x)%mod;\n\t x=(x*x)%mod;\n\t y/=2;\n\t }",
"y!=0",
"y",
"0",
"{\n\t if(y%2==1) ans=(ans*x)%mod;\n\t x=(x*x)%mod;\n\t y/=2;\n\t }",
"if(y%2==1) ans=(ans*x)%mod;",
"y%2==1",
"y%2",
"y",
"2",
"1",
"ans=(ans*x)%mod",
"ans",
"(ans*x)%mod",
"(ans*x)",
"ans",
"x",
"mod",
"x=(x*x)%mod",
"x",
"(x*x)%mod",
"(x*x)",
"x",
"x",
"mod",
"y/=2",
"y",
"2",
"return ans%mod;",
"ans%mod",
"ans",
"mod",
"long x",
"x",
"long y",
"y",
"long gcd(long x ,long y)\n\t{\n\t\tif(y==0)\n\t\t\treturn x;\n\t\treturn gcd(y,x%y);\n\t}",
"gcd",
"{\n\t\tif(y==0)\n\t\t\treturn x;\n\t\treturn gcd(y,x%y);\n\t}",
"if(y==0)\n\t\t\treturn x;",
"y==0",
"y",
"0",
"return x;",
"x",
"return gcd(y,x%y);",
"gcd(y,x%y)",
"gcd",
"y",
"x%y",
"x",
"y",
"long x",
"x",
"long y",
"y",
"int countSetBits(long n) \n { \n int count = 0; \n while (n > 0) { \n n &= (n - 1); \n count++; \n } \n return count; \n }",
"countSetBits",
"{ \n int count = 0; \n while (n > 0) { \n n &= (n - 1); \n count++; \n } \n return count; \n }",
"int count = 0;",
"count",
"0",
"while (n > 0) { \n n &= (n - 1); \n count++; \n }",
"n > 0",
"n",
"0",
"{ \n n &= (n - 1); \n count++; \n }",
"n &= (n - 1)",
"n",
"(n - 1)",
"n",
"1",
"count++",
"count",
"return count;",
"count",
"long n",
"n",
"void solve() throws IOException{\n\t\tint n = nextInt();\n\t\tout.println(n + n * n + n * n * n);\n\t}",
"solve",
"{\n\t\tint n = nextInt();\n\t\tout.println(n + n * n + n * n * n);\n\t}",
"int n = nextInt();",
"n",
"nextInt()",
"nextInt",
"out.println(n + n * n + n * n * n)",
"out.println",
"out",
"n + n * n + n * n * n",
"n + n * n + n * n * n",
"n",
"n * n",
"n",
"n",
"n * n * n",
"n * n * n",
"n",
"n",
"n",
"void run() throws IOException {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n long s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n \n\t\tout.close();\n\t}",
"run",
"{\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n long s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n \n\t\tout.close();\n\t}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"long s = System.currentTimeMillis();",
"s",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"solve()",
"solve",
"out.flush()",
"out.flush",
"out",
"out.close()",
"out.close",
"out",
"public static void main(String args[]) throws IOException {\n\t\tnew Main().run();\n\t}",
"main",
"{\n\t\tnew Main().run();\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String args[]",
"args",
"class Pair implements Comparable<Pair>\n\t{\n\t int f;\n\t int s;\n \n\t Pair(int t, int r) {\n\t f = t;\n\t s = r;\n\t }\n\t public int compareTo(Pair p)\n\t {\n\t \tif(this.f!=p.f)\n\t \t\treturn this.f-p.f;\n \n\t \treturn this.s-p.s;\n\t }\n \t}",
"Pair",
"int f;",
"f",
"int s;",
"s",
"Pair(int t, int r) {\n\t f = t;\n\t s = r;\n\t }",
"Pair",
"{\n\t f = t;\n\t s = r;\n\t }",
"f = t",
"f",
"t",
"s = r",
"s",
"r",
"int t",
"t",
"int r",
"r",
"public int compareTo(Pair p)\n\t {\n\t \tif(this.f!=p.f)\n\t \t\treturn this.f-p.f;\n \n\t \treturn this.s-p.s;\n\t }",
"compareTo",
"{\n\t \tif(this.f!=p.f)\n\t \t\treturn this.f-p.f;\n \n\t \treturn this.s-p.s;\n\t }",
"if(this.f!=p.f)\n\t \t\treturn this.f-p.f;",
"this.f!=p.f",
"this.f",
"this",
"this.f",
"p.f",
"p",
"p.f",
"return this.f-p.f;",
"this.f-p.f",
"this.f",
"this",
"this.f",
"p.f",
"p",
"p.f",
"return this.s-p.s;",
"this.s-p.s",
"this.s",
"this",
"this.s",
"p.s",
"p",
"p.s",
"Pair p",
"p",
"Comparable",
"public class Main {\n\tPrintWriter out;\n StringTokenizer st;\n BufferedReader br;\n \t\n \tclass Pair implements Comparable<Pair>\n\t{\n\t int f;\n\t int s;\n \n\t Pair(int t, int r) {\n\t f = t;\n\t s = r;\n\t }\n\t public int compareTo(Pair p)\n\t {\n\t \tif(this.f!=p.f)\n\t \t\treturn this.f-p.f;\n \n\t \treturn this.s-p.s;\n\t }\n \t}\n // \tclass Sort implements Comparator<String> \n\t// { \n\t// public int compare(String a, String b) \n\t// { \n\t// \treturn (a+b).compareTo(b+a);\n\t// } \n\t// }\n \n\tString ns() {\n while (st == null || !st.hasMoreElements()) {\n \n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n String nextLine() throws Exception {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n throw new Exception(e.toString());\n }\n return str;\n }\n \n int nextInt() {\n return Integer.parseInt(ns());\n }\n \n long nextLong() {\n return Long.parseLong(ns());\n }\n \n double nextDouble() {\n return Double.parseDouble(ns());\n }\n\t\n\tint upperBound(long a[],long key)\n\t{\n\t\tint l=0,r=a.length-1;\n\t\tint i=-1;\n \n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid]<key)\n\t\t\t\tl=mid+1;\n \n\t\t\telse{\n\t\t\t\ti=mid;\t\n\t\t\t\tr=mid-1;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}\n\tint lowerBound(Pair[] a , long key)\n\t{\n\t\tint l = 0, r = a.length- 1;\n\t\tint i = -1;\n \t\n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid].f<key)\n\t\t\t{\n\t\t\t\ti=mid;\n\t\t\t\tl=mid+1;\t\n\t\t\t}\n \n\t\t\telse\n\t\t\t\tr=mid-1;\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}\n \n\tlong power(long x,long y)\n\t{\n\t long ans=1;\n\t \n\t while(y!=0)\n\t {\n\t if(y%2==1) ans=(ans*x)%mod;\n\t x=(x*x)%mod;\n\t y/=2;\n\t }\n\t return ans%mod;\n\t}\n\t\n \n\tint mod= 1000000007;\n\tlong gcd(long x ,long y)\n\t{\n\t\tif(y==0)\n\t\t\treturn x;\n\t\treturn gcd(y,x%y);\n\t}\n \n\t// ArrayList a[];\n\t// int vis[],cnt=0;\n\t// void dfs(int ver)\n\t// {\n\t// \tArrayList<Integer> l=a[ver];\n\t// \tif(l.size()==1)\n\t// \t\tcnt++;\n\t// \tfor(int v:l)\n\t// \t{\n\t// \t\tif(vis[v]==0){\n\t// \t\t\tvis[v]=vis[ver]+1;\n\t// \t\t\tdfs(v);\n\t// \t\t}\n\t// \t}\n\t// }\n \n \tint countSetBits(long n) \n { \n int count = 0; \n while (n > 0) { \n n &= (n - 1); \n count++; \n } \n return count; \n }\n\n\tvoid solve() throws IOException{\n\t\tint n = nextInt();\n\t\tout.println(n + n * n + n * n * n);\n\t}\n \n \n\t\n void run() throws IOException {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n long s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n \n\t\tout.close();\n\t}\n \n\tpublic static void main(String args[]) throws IOException {\n\t\tnew Main().run();\n\t}\n \n}",
"public class Main {\n\tPrintWriter out;\n StringTokenizer st;\n BufferedReader br;\n \t\n \tclass Pair implements Comparable<Pair>\n\t{\n\t int f;\n\t int s;\n \n\t Pair(int t, int r) {\n\t f = t;\n\t s = r;\n\t }\n\t public int compareTo(Pair p)\n\t {\n\t \tif(this.f!=p.f)\n\t \t\treturn this.f-p.f;\n \n\t \treturn this.s-p.s;\n\t }\n \t}\n // \tclass Sort implements Comparator<String> \n\t// { \n\t// public int compare(String a, String b) \n\t// { \n\t// \treturn (a+b).compareTo(b+a);\n\t// } \n\t// }\n \n\tString ns() {\n while (st == null || !st.hasMoreElements()) {\n \n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n String nextLine() throws Exception {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n throw new Exception(e.toString());\n }\n return str;\n }\n \n int nextInt() {\n return Integer.parseInt(ns());\n }\n \n long nextLong() {\n return Long.parseLong(ns());\n }\n \n double nextDouble() {\n return Double.parseDouble(ns());\n }\n\t\n\tint upperBound(long a[],long key)\n\t{\n\t\tint l=0,r=a.length-1;\n\t\tint i=-1;\n \n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid]<key)\n\t\t\t\tl=mid+1;\n \n\t\t\telse{\n\t\t\t\ti=mid;\t\n\t\t\t\tr=mid-1;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}\n\tint lowerBound(Pair[] a , long key)\n\t{\n\t\tint l = 0, r = a.length- 1;\n\t\tint i = -1;\n \t\n\t\twhile(l<=r)\n\t\t{\n\t\t\tint mid=(l+r)/2;\n \n\t\t\tif(a[mid].f<key)\n\t\t\t{\n\t\t\t\ti=mid;\n\t\t\t\tl=mid+1;\t\n\t\t\t}\n \n\t\t\telse\n\t\t\t\tr=mid-1;\n\t\t\t\n\t\t}\n\t\treturn i;\n\t}\n \n\tlong power(long x,long y)\n\t{\n\t long ans=1;\n\t \n\t while(y!=0)\n\t {\n\t if(y%2==1) ans=(ans*x)%mod;\n\t x=(x*x)%mod;\n\t y/=2;\n\t }\n\t return ans%mod;\n\t}\n\t\n \n\tint mod= 1000000007;\n\tlong gcd(long x ,long y)\n\t{\n\t\tif(y==0)\n\t\t\treturn x;\n\t\treturn gcd(y,x%y);\n\t}\n \n\t// ArrayList a[];\n\t// int vis[],cnt=0;\n\t// void dfs(int ver)\n\t// {\n\t// \tArrayList<Integer> l=a[ver];\n\t// \tif(l.size()==1)\n\t// \t\tcnt++;\n\t// \tfor(int v:l)\n\t// \t{\n\t// \t\tif(vis[v]==0){\n\t// \t\t\tvis[v]=vis[ver]+1;\n\t// \t\t\tdfs(v);\n\t// \t\t}\n\t// \t}\n\t// }\n \n \tint countSetBits(long n) \n { \n int count = 0; \n while (n > 0) { \n n &= (n - 1); \n count++; \n } \n return count; \n }\n\n\tvoid solve() throws IOException{\n\t\tint n = nextInt();\n\t\tout.println(n + n * n + n * n * n);\n\t}\n \n \n\t\n void run() throws IOException {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n long s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n \n\t\tout.close();\n\t}\n \n\tpublic static void main(String args[]) throws IOException {\n\t\tnew Main().run();\n\t}\n \n}",
"Main"
]
| import java.io.*;
import java.util.*;
import java.lang.*;
public class Main {
PrintWriter out;
StringTokenizer st;
BufferedReader br;
class Pair implements Comparable<Pair>
{
int f;
int s;
Pair(int t, int r) {
f = t;
s = r;
}
public int compareTo(Pair p)
{
if(this.f!=p.f)
return this.f-p.f;
return this.s-p.s;
}
}
// class Sort implements Comparator<String>
// {
// public int compare(String a, String b)
// {
// return (a+b).compareTo(b+a);
// }
// }
String ns() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
String nextLine() throws Exception {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
throw new Exception(e.toString());
}
return str;
}
int nextInt() {
return Integer.parseInt(ns());
}
long nextLong() {
return Long.parseLong(ns());
}
double nextDouble() {
return Double.parseDouble(ns());
}
int upperBound(long a[],long key)
{
int l=0,r=a.length-1;
int i=-1;
while(l<=r)
{
int mid=(l+r)/2;
if(a[mid]<key)
l=mid+1;
else{
i=mid;
r=mid-1;
}
}
return i;
}
int lowerBound(Pair[] a , long key)
{
int l = 0, r = a.length- 1;
int i = -1;
while(l<=r)
{
int mid=(l+r)/2;
if(a[mid].f<key)
{
i=mid;
l=mid+1;
}
else
r=mid-1;
}
return i;
}
long power(long x,long y)
{
long ans=1;
while(y!=0)
{
if(y%2==1) ans=(ans*x)%mod;
x=(x*x)%mod;
y/=2;
}
return ans%mod;
}
int mod= 1000000007;
long gcd(long x ,long y)
{
if(y==0)
return x;
return gcd(y,x%y);
}
// ArrayList a[];
// int vis[],cnt=0;
// void dfs(int ver)
// {
// ArrayList<Integer> l=a[ver];
// if(l.size()==1)
// cnt++;
// for(int v:l)
// {
// if(vis[v]==0){
// vis[v]=vis[ver]+1;
// dfs(v);
// }
// }
// }
int countSetBits(long n)
{
int count = 0;
while (n > 0) {
n &= (n - 1);
count++;
}
return count;
}
void solve() throws IOException{
int n = nextInt();
out.println(n + n * n + n * n * n);
}
void run() throws IOException {
br = new BufferedReader(new InputStreamReader(System.in));
out = new PrintWriter(System.out);
long s = System.currentTimeMillis();
solve();
out.flush();
out.close();
}
public static void main(String args[]) throws IOException {
new Main().run();
}
}
|
[
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,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
4,
18,
18,
13,
13,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
136,
14
],
[
136,
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
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
35,
35
],
[
35,
36
],
[
35,
37
],
[
35,
38
],
[
17,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
15,
45
],
[
45,
46
],
[
136,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
47,
51
],
[
51,
52
],
[
47,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
47,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
62,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
72,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
61,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
47,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
94,
95
],
[
47,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
103,
104
],
[
47,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
112,
113
],
[
47,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
120,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
116,
133
],
[
133,
134
],
[
0,
135
],
[
135,
136
],
[
135,
137
]
]
| [
"\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.*;\n\npublic class Main {\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n 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 in = new FastReader();\n int a = in.nextInt();\n int sol = a + a*a + a*a*a;\n System.out.println(sol);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n 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 in = new FastReader();\n int a = in.nextInt();\n int sol = a + a*a + a*a*a;\n System.out.println(sol);\n }\n}",
"Main",
"public static void main(String[] args) {\n FastReader in = new FastReader();\n int a = in.nextInt();\n int sol = a + a*a + a*a*a;\n System.out.println(sol);\n }",
"main",
"{\n FastReader in = new FastReader();\n int a = in.nextInt();\n int sol = a + a*a + a*a*a;\n System.out.println(sol);\n }",
"FastReader in = new FastReader();",
"in",
"new FastReader()",
"int a = in.nextInt();",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"int sol = a + a*a + a*a*a;",
"sol",
"a + a*a + a*a*a",
"a + a*a + a*a*a",
"a",
"a*a",
"a",
"a",
"a*a*a",
"a*a*a",
"a",
"a",
"a",
"System.out.println(sol)",
"System.out.println",
"System.out",
"System",
"System.out",
"sol",
"String[] args",
"args",
"static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n 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\n InputStreamReader(System.in));\n }",
"FastReader",
"{\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }",
"br = new BufferedReader(new\n InputStreamReader(System.in))",
"br",
"new BufferedReader(new\n 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 class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n 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 in = new FastReader();\n int a = in.nextInt();\n int sol = a + a*a + a*a*a;\n System.out.println(sol);\n }\n}",
"public class Main {\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n 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 in = new FastReader();\n int a = in.nextInt();\n int sol = a + a*a + a*a*a;\n System.out.println(sol);\n }\n}",
"Main"
]
|
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
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.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 in = new FastReader();
int a = in.nextInt();
int sol = a + a*a + a*a*a;
System.out.println(sol);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
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
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
35,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint a = sc.nextInt();\n\t\tint sum =0;\n for(int i=1;i<=3;i++){\n \t sum += Math.pow(a, i); \t\n }\n\t\t// 出力\n\t\tSystem.out.println(sum);\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\t// 整数の入力\n\t\tint a = sc.nextInt();\n\t\tint sum =0;\n for(int i=1;i<=3;i++){\n \t sum += Math.pow(a, i); \t\n }\n\t\t// 出力\n\t\tSystem.out.println(sum);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint a = sc.nextInt();\n\t\tint sum =0;\n for(int i=1;i<=3;i++){\n \t sum += Math.pow(a, i); \t\n }\n\t\t// 出力\n\t\tSystem.out.println(sum);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint a = sc.nextInt();\n\t\tint sum =0;\n for(int i=1;i<=3;i++){\n \t sum += Math.pow(a, i); \t\n }\n\t\t// 出力\n\t\tSystem.out.println(sum);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int sum =0;",
"sum",
"0",
"for(int i=1;i<=3;i++){\n \t sum += Math.pow(a, i); \t\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=3",
"i",
"3",
"i++",
"i++",
"i",
"{\n \t sum += Math.pow(a, i); \t\n }",
"{\n \t sum += Math.pow(a, i); \t\n }",
"sum += Math.pow(a, i)",
"sum",
"Math.pow(a, i)",
"Math.pow",
"Math",
"a",
"i",
"System.out.println(sum)",
"System.out.println",
"System.out",
"System",
"System.out",
"sum",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint a = sc.nextInt();\n\t\tint sum =0;\n for(int i=1;i<=3;i++){\n \t sum += Math.pow(a, i); \t\n }\n\t\t// 出力\n\t\tSystem.out.println(sum);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint a = sc.nextInt();\n\t\tint sum =0;\n for(int i=1;i<=3;i++){\n \t sum += Math.pow(a, i); \t\n }\n\t\t// 出力\n\t\tSystem.out.println(sum);\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
// 整数の入力
int a = sc.nextInt();
int sum =0;
for(int i=1;i<=3;i++){
sum += Math.pow(a, i);
}
// 出力
System.out.println(sum);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
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
],
[
42,
8
],
[
42,
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
],
[
23,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
11,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
9,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
]
| [
"import java.util.*;\nimport java.lang.Math;\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int ans = a + a*a + a*a*a;\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) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int ans = a + a*a + a*a*a;\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int ans = a + a*a + a*a*a;\n System.out.println(ans);\n }",
"main",
"{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int ans = a + a*a + a*a*a;\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int ans = a + a*a + a*a*a;",
"ans",
"a + a*a + a*a*a",
"a + a*a + a*a*a",
"a",
"a*a",
"a",
"a",
"a*a*a",
"a*a*a",
"a",
"a",
"a",
"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) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int ans = a + a*a + a*a*a;\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int ans = a + a*a + a*a*a;\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.*;
import java.lang.Math;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int ans = a + a*a + a*a*a;
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
20,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
23,
13,
12,
13,
30,
14,
2,
13,
4,
18,
13,
30,
29,
8,
2,
13,
17,
17,
17,
14,
2,
18,
18,
18,
13,
13,
13,
13,
17,
30,
29,
18,
18,
18,
13,
13,
13,
13,
14,
2,
4,
18,
13,
13,
17,
30,
0,
18,
18,
18,
13,
13,
13,
13,
4,
18,
13,
4,
13,
2,
13,
18,
13,
13,
13,
13,
2,
13,
17,
13,
2,
13,
17,
4,
13,
13,
13,
13,
2,
13,
17,
13,
13,
30,
0,
18,
18,
18,
13,
13,
13,
13,
4,
18,
13,
4,
13,
2,
13,
18,
13,
13,
13,
13,
2,
13,
17,
2,
13,
17,
13,
4,
13,
13,
13,
13,
2,
13,
17,
13,
13,
29,
18,
18,
18,
13,
13,
13,
13,
23,
13,
23,
13,
23,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
13,
0,
13,
13,
23,
13,
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
],
[
13,
17
],
[
17,
18
],
[
13,
19
],
[
19,
20
],
[
19,
21
],
[
13,
22
],
[
22,
23
],
[
22,
24
],
[
13,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
27,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
51,
55
],
[
44,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
56,
60
],
[
25,
61
],
[
61,
62
],
[
13,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
66,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
74,
79
],
[
65,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
82,
88
],
[
81,
89
],
[
80,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
92,
98
],
[
65,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
100,
105
],
[
99,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
108,
114
],
[
107,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
122,
124
],
[
118,
125
],
[
118,
126
],
[
118,
127
],
[
127,
128
],
[
127,
129
],
[
118,
130
],
[
118,
131
],
[
131,
132
],
[
131,
133
],
[
115,
134
],
[
134,
135
],
[
134,
136
],
[
134,
137
],
[
134,
138
],
[
134,
139
],
[
139,
140
],
[
139,
141
],
[
134,
142
],
[
134,
143
],
[
99,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
146,
152
],
[
145,
153
],
[
153,
154
],
[
154,
155
],
[
153,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
160,
162
],
[
156,
163
],
[
156,
164
],
[
156,
165
],
[
165,
166
],
[
165,
167
],
[
156,
168
],
[
168,
169
],
[
168,
170
],
[
156,
171
],
[
153,
172
],
[
172,
173
],
[
172,
174
],
[
172,
175
],
[
172,
176
],
[
172,
177
],
[
177,
178
],
[
177,
179
],
[
172,
180
],
[
172,
181
],
[
65,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
184,
188
],
[
183,
189
],
[
63,
190
],
[
190,
191
],
[
63,
192
],
[
192,
193
],
[
63,
194
],
[
194,
195
],
[
63,
196
],
[
196,
197
],
[
63,
198
],
[
198,
199
],
[
63,
200
],
[
200,
201
],
[
0,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
202,
206
],
[
206,
207
],
[
202,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
210,
214
],
[
214,
215
],
[
214,
216
],
[
208,
217
],
[
217,
218
],
[
208,
219
],
[
219,
220
]
]
| [
"import java.util.*;\nimport java.io.*;\nimport java.math.BigDecimal; \nimport java.math.BigInteger; \nclass Main\n{\n\tstatic boolean visited[];\n\tstatic long dp[][][];\n\tstatic long MOD=1000000007L;\n\tstatic Hashtable<String , Long>hash=new Hashtable<>();\n\tpublic static void main(String args[]) throws java.lang.Exception\n\t{\n\t\tBufferedReader inp = new BufferedReader (new InputStreamReader(System.in));\n\t\tlong n=Long.parseLong(inp.readLine());\n\t\tSystem.out.println((int)(Math.pow(n,1)+Math.pow(n,2)+Math.pow(n,3)));\n\t\t\n\n\n\t}\n\tstatic long get(long x, String s, long arr[], int i,int a, int b)\n\t{\n\t\tif(i==s.length()){return x==0?1:2;}\n\t\t// String ss=i+\" \"+x;\n\t\t// if(hash.containsKey(ss)){return hash.get(ss);}\n\t\tif(dp[i][a][b]!=0){return dp[i][a][b];}\n\t\tif(s.charAt(i)=='1')\n\t\t{\n\t\t\t\tdp[i][a][b]=Math.max(get(x^arr[i],s,arr,i+1,a,b+1),get(x,s,arr,i+1,a,b));\n\t\t}\n\t\telse{\n\t\tdp[i][a][b]=Math.min(get(x^arr[i],s,arr,i+1,a+1,b),get(x,s,arr,i+1,a,b));}\n\t\treturn dp[i][a][b];\n\t}\n\n\t\t// System.out.println(a);\n\t\t\n\t\n\t// static long get(int i,int pre, int n, int arr[],boolean visited[])\n\t// {\n\t// \tif(i==n){return 1;}\n\t// \tlong ans=0;\n\t// \tif(dp[i][pre]!=-1){return dp[i][pre];}\n\t// \tif(arr[i]==1)\n\t// \t{\n\t// \t\tfor(int k=pre+1;k<=n;k++)\n\t// \t\t{\n\t// \t\t\tif(!visited[k])\n\t// \t\t\t{\n\t// \t\t\t\tvisited[k]=true;\n\t// \t\t\t\tans=(ans%MOD+get(i+1,k,n,arr,visited)%MOD)%MOD;\n\t// \t\t\t\tvisited[k]=false;\n\t// \t\t\t}\n\t// \t\t}\n\t// \t\tdp[i][pre]=ans;\n\t// \t\treturn ans;\n\t// \t}\n\t// \tfor(int k=1;k<pre;k++)\n\t// \t{\n\t// \t\tif(!visited[k])\n\t// \t\t{\n\t// \t\t\tvisited[k]=true;\n\t// \t\t\tans=(ans%MOD+get(i+1,k,n,arr,visited)%MOD)%MOD;\n\t// \t\t\tvisited[k]=false;\n\t// \t\t}\n\t// \t}\n\t// \tdp[i][pre]=ans;\n\t// \treturn ans;\n\n\t// }\n\t// static long getall(int gg[], long arr[][], int i, int g)\n\t// {\n\t// \tif(i==arr.length)\n\t// \t{\n\t// \t\tlong ans=0;\n\t// \t\tfor(int j=0;j<=g;j++)\n\t// \t\t{\n\t// \t\t\tArrayList<Integer>arr1=new ArrayList<>();\n\t// \t\t\tfor(int k=0;k<gg.length;k++)\n\t// \t\t\t{\n\t// \t\t\t\tif(gg[k]==j){arr1.add(k);}\n\t// \t\t\t}\n\t// \t\t\tfor(int k=0;k<arr1.size()-1;k++)\n\t// \t\t\t{\n\t// \t\t\t\tfor(int l=k+1;l<arr1.size();l++)\n\t// \t\t\t\t{\n\t// \t\t\t\t\tans+=arr[arr1.get(k)][arr1.get(l)];\n\t// \t\t\t\t}\n\t// \t\t\t}\n\t// \t\t}\n\t// \t\treturn ans;\n\t// \t}\n\t// \tString s=Arrays.toString(gg);\n\t// \t// if(hash.containsKey(s)){return hash.get(s);}\n\t// \tif(dp[i][g]!=0){return dp[i][g];}\n\t// \tgg[i]=g+1;\n\t// \tlong max=getall(gg,arr,i+1,g+1);\n\t// \tfor(int k=0;k<=g;k++)\n\t// \t{\n\t// \t\tgg[i]=k;\n\t// \t\tmax=Math.max(getall(gg,arr,i+1,g),max);\n\t// \t}\n\t// \tdp[i][g]=max;\n\t// \t// hash.put(s,max);\n\t// \treturn max;\n\t// }\n\t// static boolean prime(long n)\n\t// {\n\t// \tif(n==1){return false;}\n // if (n <= 3) \n // return true; \n \n // if (n % 2 == 0 || n % 3 == 0) \n // return false; \n \n // for (int i = 5; i * i <= n; i = i + 6) \n // if (n % i == 0 || n % (i + 2) == 0) \n // return false; \n \n // return true; \n\t// }\n\t// static int[] gg(String y){\n\t// \tint a[]=new int[y.length()];\n\t// \tfor(int i=0;i<y.length();i++)\n\t// \t{\n\t// \t\ta[i]=(int)y.charAt(i)-(int)'0';\n\t// \t}\n\t// \treturn a;\n\t// }\n\t// static long get(int a[], int d, int sum, int tight, int i)\n\t// {\n\t// \tif(i==a.length){if(sum%d==0){return 1;}return 0;}\n\t// \t// if(dp[i][sum][tight]!=-1){return dp[i][sum][tight];}\n\t// \t// String s=i+\" \"+sum+\" \"+tight;\n\t// \tif(dp[i][sum][tight]!=-1){return dp[i][sum][tight];}\n\t// \tlong ans=0;\n\t\t\n\t// \tint limit=(tight==0?9:a[i]);\n\t// \t\tfor(int j=0;j<=limit;j++)\n\t// \t\t{\n\t// \t\t\tint newt=(a[i]==j?tight:0);\n\n\t// \t\t\tans=(ans%MOD+get(a,d,(sum+j)%d,newt,i+1)%MOD)%MOD;\n\t// \t\t}\n\t// \t\tdp[i][sum%d][tight]=ans;\n\t// \t\t// hash.put(s,ans);\n\t// \t\treturn ans;\t\n\t// }\n\n\n\t\n\t// static long bfs(int src, ArrayList<ArrayList<Integer>>arr)\n\t// {\n\t// \tQueue<Pair>q=new LinkedList<>();\n\t// \tq.add(new Pair(src,1,1));\n\t// \tvisited[src]=true;\n\t// \tlong ans=0;\n\t// \twhile(q.size()!=0)\n\t// \t{\n\t// \t\tans=0;\n\t// \t\tint size=q.size();\n\t// \t\tfor(int j=0;j<size;j++)\n\t// \t\t{\n\t// \t\t\tPair t=q.poll();\n\t// \t\t\tans=(ans%MOD+(t.b%MOD+t.c%MOD)%MOD)%MOD;\n\t// \t\t\tfor(Integer node:arr.get(t.a))\n\t// \t\t\t{\n\t// \t\t\t\tif(!visited[node])\n\t// \t\t\t\t{\n\t// \t\t\t\t\tvisited[node]=true;\n\t// \t\t\t\t\tq.add(new Pair(node,t.b+t.c,t.b));\n\t// \t\t\t\t}\n\t// \t\t\t}\n\t// \t\t}\n\t// \t}\n\t// \treturn ans%MOD;\n\t// }\n}\nclass Pair\n{\n\t\n\tlong a;\n\tlong b;\n\tPair(long f, long h)\n\t{\n\t\t\n\t\ta=f;\n\t\tb=h;\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"class Main\n{\n\tstatic boolean visited[];\n\tstatic long dp[][][];\n\tstatic long MOD=1000000007L;\n\tstatic Hashtable<String , Long>hash=new Hashtable<>();\n\tpublic static void main(String args[]) throws java.lang.Exception\n\t{\n\t\tBufferedReader inp = new BufferedReader (new InputStreamReader(System.in));\n\t\tlong n=Long.parseLong(inp.readLine());\n\t\tSystem.out.println((int)(Math.pow(n,1)+Math.pow(n,2)+Math.pow(n,3)));\n\t\t\n\n\n\t}\n\tstatic long get(long x, String s, long arr[], int i,int a, int b)\n\t{\n\t\tif(i==s.length()){return x==0?1:2;}\n\t\t// String ss=i+\" \"+x;\n\t\t// if(hash.containsKey(ss)){return hash.get(ss);}\n\t\tif(dp[i][a][b]!=0){return dp[i][a][b];}\n\t\tif(s.charAt(i)=='1')\n\t\t{\n\t\t\t\tdp[i][a][b]=Math.max(get(x^arr[i],s,arr,i+1,a,b+1),get(x,s,arr,i+1,a,b));\n\t\t}\n\t\telse{\n\t\tdp[i][a][b]=Math.min(get(x^arr[i],s,arr,i+1,a+1,b),get(x,s,arr,i+1,a,b));}\n\t\treturn dp[i][a][b];\n\t}\n\n\t\t// System.out.println(a);\n\t\t\n\t\n\t// static long get(int i,int pre, int n, int arr[],boolean visited[])\n\t// {\n\t// \tif(i==n){return 1;}\n\t// \tlong ans=0;\n\t// \tif(dp[i][pre]!=-1){return dp[i][pre];}\n\t// \tif(arr[i]==1)\n\t// \t{\n\t// \t\tfor(int k=pre+1;k<=n;k++)\n\t// \t\t{\n\t// \t\t\tif(!visited[k])\n\t// \t\t\t{\n\t// \t\t\t\tvisited[k]=true;\n\t// \t\t\t\tans=(ans%MOD+get(i+1,k,n,arr,visited)%MOD)%MOD;\n\t// \t\t\t\tvisited[k]=false;\n\t// \t\t\t}\n\t// \t\t}\n\t// \t\tdp[i][pre]=ans;\n\t// \t\treturn ans;\n\t// \t}\n\t// \tfor(int k=1;k<pre;k++)\n\t// \t{\n\t// \t\tif(!visited[k])\n\t// \t\t{\n\t// \t\t\tvisited[k]=true;\n\t// \t\t\tans=(ans%MOD+get(i+1,k,n,arr,visited)%MOD)%MOD;\n\t// \t\t\tvisited[k]=false;\n\t// \t\t}\n\t// \t}\n\t// \tdp[i][pre]=ans;\n\t// \treturn ans;\n\n\t// }\n\t// static long getall(int gg[], long arr[][], int i, int g)\n\t// {\n\t// \tif(i==arr.length)\n\t// \t{\n\t// \t\tlong ans=0;\n\t// \t\tfor(int j=0;j<=g;j++)\n\t// \t\t{\n\t// \t\t\tArrayList<Integer>arr1=new ArrayList<>();\n\t// \t\t\tfor(int k=0;k<gg.length;k++)\n\t// \t\t\t{\n\t// \t\t\t\tif(gg[k]==j){arr1.add(k);}\n\t// \t\t\t}\n\t// \t\t\tfor(int k=0;k<arr1.size()-1;k++)\n\t// \t\t\t{\n\t// \t\t\t\tfor(int l=k+1;l<arr1.size();l++)\n\t// \t\t\t\t{\n\t// \t\t\t\t\tans+=arr[arr1.get(k)][arr1.get(l)];\n\t// \t\t\t\t}\n\t// \t\t\t}\n\t// \t\t}\n\t// \t\treturn ans;\n\t// \t}\n\t// \tString s=Arrays.toString(gg);\n\t// \t// if(hash.containsKey(s)){return hash.get(s);}\n\t// \tif(dp[i][g]!=0){return dp[i][g];}\n\t// \tgg[i]=g+1;\n\t// \tlong max=getall(gg,arr,i+1,g+1);\n\t// \tfor(int k=0;k<=g;k++)\n\t// \t{\n\t// \t\tgg[i]=k;\n\t// \t\tmax=Math.max(getall(gg,arr,i+1,g),max);\n\t// \t}\n\t// \tdp[i][g]=max;\n\t// \t// hash.put(s,max);\n\t// \treturn max;\n\t// }\n\t// static boolean prime(long n)\n\t// {\n\t// \tif(n==1){return false;}\n // if (n <= 3) \n // return true; \n \n // if (n % 2 == 0 || n % 3 == 0) \n // return false; \n \n // for (int i = 5; i * i <= n; i = i + 6) \n // if (n % i == 0 || n % (i + 2) == 0) \n // return false; \n \n // return true; \n\t// }\n\t// static int[] gg(String y){\n\t// \tint a[]=new int[y.length()];\n\t// \tfor(int i=0;i<y.length();i++)\n\t// \t{\n\t// \t\ta[i]=(int)y.charAt(i)-(int)'0';\n\t// \t}\n\t// \treturn a;\n\t// }\n\t// static long get(int a[], int d, int sum, int tight, int i)\n\t// {\n\t// \tif(i==a.length){if(sum%d==0){return 1;}return 0;}\n\t// \t// if(dp[i][sum][tight]!=-1){return dp[i][sum][tight];}\n\t// \t// String s=i+\" \"+sum+\" \"+tight;\n\t// \tif(dp[i][sum][tight]!=-1){return dp[i][sum][tight];}\n\t// \tlong ans=0;\n\t\t\n\t// \tint limit=(tight==0?9:a[i]);\n\t// \t\tfor(int j=0;j<=limit;j++)\n\t// \t\t{\n\t// \t\t\tint newt=(a[i]==j?tight:0);\n\n\t// \t\t\tans=(ans%MOD+get(a,d,(sum+j)%d,newt,i+1)%MOD)%MOD;\n\t// \t\t}\n\t// \t\tdp[i][sum%d][tight]=ans;\n\t// \t\t// hash.put(s,ans);\n\t// \t\treturn ans;\t\n\t// }\n\n\n\t\n\t// static long bfs(int src, ArrayList<ArrayList<Integer>>arr)\n\t// {\n\t// \tQueue<Pair>q=new LinkedList<>();\n\t// \tq.add(new Pair(src,1,1));\n\t// \tvisited[src]=true;\n\t// \tlong ans=0;\n\t// \twhile(q.size()!=0)\n\t// \t{\n\t// \t\tans=0;\n\t// \t\tint size=q.size();\n\t// \t\tfor(int j=0;j<size;j++)\n\t// \t\t{\n\t// \t\t\tPair t=q.poll();\n\t// \t\t\tans=(ans%MOD+(t.b%MOD+t.c%MOD)%MOD)%MOD;\n\t// \t\t\tfor(Integer node:arr.get(t.a))\n\t// \t\t\t{\n\t// \t\t\t\tif(!visited[node])\n\t// \t\t\t\t{\n\t// \t\t\t\t\tvisited[node]=true;\n\t// \t\t\t\t\tq.add(new Pair(node,t.b+t.c,t.b));\n\t// \t\t\t\t}\n\t// \t\t\t}\n\t// \t\t}\n\t// \t}\n\t// \treturn ans%MOD;\n\t// }\n}",
"Main",
"static boolean visited[];",
"visited",
"static long dp[][][];",
"dp",
"static long MOD=1000000007L;",
"MOD",
"1000000007L",
"static Hashtable<String , Long>hash=new Hashtable<>();",
"hash",
"new Hashtable<>()",
"public static void main(String args[]) throws java.lang.Exception\n\t{\n\t\tBufferedReader inp = new BufferedReader (new InputStreamReader(System.in));\n\t\tlong n=Long.parseLong(inp.readLine());\n\t\tSystem.out.println((int)(Math.pow(n,1)+Math.pow(n,2)+Math.pow(n,3)));\n\t\t\n\n\n\t}",
"main",
"{\n\t\tBufferedReader inp = new BufferedReader (new InputStreamReader(System.in));\n\t\tlong n=Long.parseLong(inp.readLine());\n\t\tSystem.out.println((int)(Math.pow(n,1)+Math.pow(n,2)+Math.pow(n,3)));\n\t\t\n\n\n\t}",
"BufferedReader inp = new BufferedReader (new InputStreamReader(System.in));",
"inp",
"new BufferedReader (new InputStreamReader(System.in))",
"long n=Long.parseLong(inp.readLine());",
"n",
"Long.parseLong(inp.readLine())",
"Long.parseLong",
"Long",
"inp.readLine()",
"inp.readLine",
"inp",
"System.out.println((int)(Math.pow(n,1)+Math.pow(n,2)+Math.pow(n,3)))",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)(Math.pow(n,1)+Math.pow(n,2)+Math.pow(n,3))",
"Math.pow(n,1)+Math.pow(n,2)+Math.pow(n,3)",
"Math.pow(n,1)",
"Math.pow",
"Math",
"n",
"1",
"Math.pow(n,2)",
"Math.pow",
"Math",
"n",
"2",
"Math.pow(n,3)",
"Math.pow",
"Math",
"n",
"3",
"String args[]",
"args",
"static long get(long x, String s, long arr[], int i,int a, int b)\n\t{\n\t\tif(i==s.length()){return x==0?1:2;}\n\t\t// String ss=i+\" \"+x;\n\t\t// if(hash.containsKey(ss)){return hash.get(ss);}\n\t\tif(dp[i][a][b]!=0){return dp[i][a][b];}\n\t\tif(s.charAt(i)=='1')\n\t\t{\n\t\t\t\tdp[i][a][b]=Math.max(get(x^arr[i],s,arr,i+1,a,b+1),get(x,s,arr,i+1,a,b));\n\t\t}\n\t\telse{\n\t\tdp[i][a][b]=Math.min(get(x^arr[i],s,arr,i+1,a+1,b),get(x,s,arr,i+1,a,b));}\n\t\treturn dp[i][a][b];\n\t}",
"get",
"{\n\t\tif(i==s.length()){return x==0?1:2;}\n\t\t// String ss=i+\" \"+x;\n\t\t// if(hash.containsKey(ss)){return hash.get(ss);}\n\t\tif(dp[i][a][b]!=0){return dp[i][a][b];}\n\t\tif(s.charAt(i)=='1')\n\t\t{\n\t\t\t\tdp[i][a][b]=Math.max(get(x^arr[i],s,arr,i+1,a,b+1),get(x,s,arr,i+1,a,b));\n\t\t}\n\t\telse{\n\t\tdp[i][a][b]=Math.min(get(x^arr[i],s,arr,i+1,a+1,b),get(x,s,arr,i+1,a,b));}\n\t\treturn dp[i][a][b];\n\t}",
"if(i==s.length()){return x==0?1:2;}",
"i==s.length()",
"i",
"s.length()",
"s.length",
"s",
"{return x==0?1:2;}",
"return x==0?1:2;",
"x==0?1:2",
"x==0",
"x",
"0",
"1",
"2",
"if(dp[i][a][b]!=0){return dp[i][a][b];}",
"dp[i][a][b]!=0",
"dp[i][a][b]",
"dp[i][a]",
"dp[i]",
"dp",
"i",
"a",
"b",
"0",
"{return dp[i][a][b];}",
"return dp[i][a][b];",
"dp[i][a][b]",
"dp[i][a]",
"dp[i]",
"dp",
"i",
"a",
"b",
"if(s.charAt(i)=='1')\n\t\t{\n\t\t\t\tdp[i][a][b]=Math.max(get(x^arr[i],s,arr,i+1,a,b+1),get(x,s,arr,i+1,a,b));\n\t\t}\n\t\telse{\n\t\tdp[i][a][b]=Math.min(get(x^arr[i],s,arr,i+1,a+1,b),get(x,s,arr,i+1,a,b));}",
"s.charAt(i)=='1'",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"'1'",
"{\n\t\t\t\tdp[i][a][b]=Math.max(get(x^arr[i],s,arr,i+1,a,b+1),get(x,s,arr,i+1,a,b));\n\t\t}",
"dp[i][a][b]=Math.max(get(x^arr[i],s,arr,i+1,a,b+1),get(x,s,arr,i+1,a,b))",
"dp[i][a][b]",
"dp[i][a]",
"dp[i]",
"dp",
"i",
"a",
"b",
"Math.max(get(x^arr[i],s,arr,i+1,a,b+1),get(x,s,arr,i+1,a,b))",
"Math.max",
"Math",
"get(x^arr[i],s,arr,i+1,a,b+1)",
"get",
"x^arr[i]",
"x",
"arr[i]",
"arr",
"i",
"s",
"arr",
"i+1",
"i",
"1",
"a",
"b+1",
"b",
"1",
"get(x,s,arr,i+1,a,b)",
"get",
"x",
"s",
"arr",
"i+1",
"i",
"1",
"a",
"b",
"{\n\t\tdp[i][a][b]=Math.min(get(x^arr[i],s,arr,i+1,a+1,b),get(x,s,arr,i+1,a,b));}",
"dp[i][a][b]=Math.min(get(x^arr[i],s,arr,i+1,a+1,b),get(x,s,arr,i+1,a,b))",
"dp[i][a][b]",
"dp[i][a]",
"dp[i]",
"dp",
"i",
"a",
"b",
"Math.min(get(x^arr[i],s,arr,i+1,a+1,b),get(x,s,arr,i+1,a,b))",
"Math.min",
"Math",
"get(x^arr[i],s,arr,i+1,a+1,b)",
"get",
"x^arr[i]",
"x",
"arr[i]",
"arr",
"i",
"s",
"arr",
"i+1",
"i",
"1",
"a+1",
"a",
"1",
"b",
"get(x,s,arr,i+1,a,b)",
"get",
"x",
"s",
"arr",
"i+1",
"i",
"1",
"a",
"b",
"return dp[i][a][b];",
"dp[i][a][b]",
"dp[i][a]",
"dp[i]",
"dp",
"i",
"a",
"b",
"long x",
"x",
"String s",
"s",
"long arr[]",
"arr",
"int i",
"i",
"int a",
"a",
"int b",
"b",
"class Pair\n{\n\t\n\tlong a;\n\tlong b;\n\tPair(long f, long h)\n\t{\n\t\t\n\t\ta=f;\n\t\tb=h;\n\t}\n}",
"Pair",
"long a;",
"a",
"long b;",
"b",
"Pair(long f, long h)\n\t{\n\t\t\n\t\ta=f;\n\t\tb=h;\n\t}",
"Pair",
"{\n\t\t\n\t\ta=f;\n\t\tb=h;\n\t}",
"a=f",
"a",
"f",
"b=h",
"b",
"h",
"long f",
"f",
"long h",
"h"
]
| import java.util.*;
import java.io.*;
import java.math.BigDecimal;
import java.math.BigInteger;
class Main
{
static boolean visited[];
static long dp[][][];
static long MOD=1000000007L;
static Hashtable<String , Long>hash=new Hashtable<>();
public static void main(String args[]) throws java.lang.Exception
{
BufferedReader inp = new BufferedReader (new InputStreamReader(System.in));
long n=Long.parseLong(inp.readLine());
System.out.println((int)(Math.pow(n,1)+Math.pow(n,2)+Math.pow(n,3)));
}
static long get(long x, String s, long arr[], int i,int a, int b)
{
if(i==s.length()){return x==0?1:2;}
// String ss=i+" "+x;
// if(hash.containsKey(ss)){return hash.get(ss);}
if(dp[i][a][b]!=0){return dp[i][a][b];}
if(s.charAt(i)=='1')
{
dp[i][a][b]=Math.max(get(x^arr[i],s,arr,i+1,a,b+1),get(x,s,arr,i+1,a,b));
}
else{
dp[i][a][b]=Math.min(get(x^arr[i],s,arr,i+1,a+1,b),get(x,s,arr,i+1,a,b));}
return dp[i][a][b];
}
// System.out.println(a);
// static long get(int i,int pre, int n, int arr[],boolean visited[])
// {
// if(i==n){return 1;}
// long ans=0;
// if(dp[i][pre]!=-1){return dp[i][pre];}
// if(arr[i]==1)
// {
// for(int k=pre+1;k<=n;k++)
// {
// if(!visited[k])
// {
// visited[k]=true;
// ans=(ans%MOD+get(i+1,k,n,arr,visited)%MOD)%MOD;
// visited[k]=false;
// }
// }
// dp[i][pre]=ans;
// return ans;
// }
// for(int k=1;k<pre;k++)
// {
// if(!visited[k])
// {
// visited[k]=true;
// ans=(ans%MOD+get(i+1,k,n,arr,visited)%MOD)%MOD;
// visited[k]=false;
// }
// }
// dp[i][pre]=ans;
// return ans;
// }
// static long getall(int gg[], long arr[][], int i, int g)
// {
// if(i==arr.length)
// {
// long ans=0;
// for(int j=0;j<=g;j++)
// {
// ArrayList<Integer>arr1=new ArrayList<>();
// for(int k=0;k<gg.length;k++)
// {
// if(gg[k]==j){arr1.add(k);}
// }
// for(int k=0;k<arr1.size()-1;k++)
// {
// for(int l=k+1;l<arr1.size();l++)
// {
// ans+=arr[arr1.get(k)][arr1.get(l)];
// }
// }
// }
// return ans;
// }
// String s=Arrays.toString(gg);
// // if(hash.containsKey(s)){return hash.get(s);}
// if(dp[i][g]!=0){return dp[i][g];}
// gg[i]=g+1;
// long max=getall(gg,arr,i+1,g+1);
// for(int k=0;k<=g;k++)
// {
// gg[i]=k;
// max=Math.max(getall(gg,arr,i+1,g),max);
// }
// dp[i][g]=max;
// // hash.put(s,max);
// return max;
// }
// static boolean prime(long n)
// {
// if(n==1){return false;}
// if (n <= 3)
// return true;
// if (n % 2 == 0 || n % 3 == 0)
// return false;
// for (int i = 5; i * i <= n; i = i + 6)
// if (n % i == 0 || n % (i + 2) == 0)
// return false;
// return true;
// }
// static int[] gg(String y){
// int a[]=new int[y.length()];
// for(int i=0;i<y.length();i++)
// {
// a[i]=(int)y.charAt(i)-(int)'0';
// }
// return a;
// }
// static long get(int a[], int d, int sum, int tight, int i)
// {
// if(i==a.length){if(sum%d==0){return 1;}return 0;}
// // if(dp[i][sum][tight]!=-1){return dp[i][sum][tight];}
// // String s=i+" "+sum+" "+tight;
// if(dp[i][sum][tight]!=-1){return dp[i][sum][tight];}
// long ans=0;
// int limit=(tight==0?9:a[i]);
// for(int j=0;j<=limit;j++)
// {
// int newt=(a[i]==j?tight:0);
// ans=(ans%MOD+get(a,d,(sum+j)%d,newt,i+1)%MOD)%MOD;
// }
// dp[i][sum%d][tight]=ans;
// // hash.put(s,ans);
// return ans;
// }
// static long bfs(int src, ArrayList<ArrayList<Integer>>arr)
// {
// Queue<Pair>q=new LinkedList<>();
// q.add(new Pair(src,1,1));
// visited[src]=true;
// long ans=0;
// while(q.size()!=0)
// {
// ans=0;
// int size=q.size();
// for(int j=0;j<size;j++)
// {
// Pair t=q.poll();
// ans=(ans%MOD+(t.b%MOD+t.c%MOD)%MOD)%MOD;
// for(Integer node:arr.get(t.a))
// {
// if(!visited[node])
// {
// visited[node]=true;
// q.add(new Pair(node,t.b+t.c,t.b));
// }
// }
// }
// }
// return ans%MOD;
// }
}
class Pair
{
long a;
long b;
Pair(long f, long h)
{
a=f;
b=h;
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
29,
2,
2,
2,
13,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
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
],
[
60,
11
],
[
60,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
16,
22
],
[
12,
23
],
[
23,
24
],
[
12,
25
],
[
25,
26
],
[
60,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
29,
38
],
[
38,
39
],
[
38,
40
],
[
41,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
29,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
27,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
]
| [
"import 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. */\n\n\n\npublic class Main\n{\n \n \n static int mod(int a, int m) \n{ \n return (a%m + m) % m; \n}\n \n \npublic static void main (String[] args) throws java.lang.Exception\n{Scanner scn = new Scanner(System.in) ;\n\nint n = scn.nextInt() ;\n\nint ans = (n) + (n *n) + (n*n*n) ;\n\nSystem.out.println(ans) ;\n\n \n}\n}\n\n\n\n\n \n ",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n \n \n static int mod(int a, int m) \n{ \n return (a%m + m) % m; \n}\n \n \npublic static void main (String[] args) throws java.lang.Exception\n{Scanner scn = new Scanner(System.in) ;\n\nint n = scn.nextInt() ;\n\nint ans = (n) + (n *n) + (n*n*n) ;\n\nSystem.out.println(ans) ;\n\n \n}\n}",
"Main",
"static int mod(int a, int m) \n{ \n return (a%m + m) % m; \n}",
"mod",
"{ \n return (a%m + m) % m; \n}",
"return (a%m + m) % m;",
"(a%m + m) % m",
"(a%m + m)",
"a%m",
"a",
"m",
"m",
"m",
"int a",
"a",
"int m",
"m",
"public static void main (String[] args) throws java.lang.Exception\n{Scanner scn = new Scanner(System.in) ;\n\nint n = scn.nextInt() ;\n\nint ans = (n) + (n *n) + (n*n*n) ;\n\nSystem.out.println(ans) ;\n\n \n}",
"main",
"{Scanner scn = new Scanner(System.in) ;\n\nint n = scn.nextInt() ;\n\nint ans = (n) + (n *n) + (n*n*n) ;\n\nSystem.out.println(ans) ;\n\n \n}",
"Scanner scn = new Scanner(System.in) ;",
"scn",
"new Scanner(System.in)",
"int n = scn.nextInt() ;",
"n",
"scn.nextInt()",
"scn.nextInt",
"scn",
"int ans = (n) + (n *n) + (n*n*n) ;",
"ans",
"(n) + (n *n) + (n*n*n)",
"(n) + (n *n) + (n*n*n)",
"(n)",
"(n *n)",
"n",
"n",
"(n*n*n)",
"n*n*n",
"n",
"n",
"n",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main\n{\n \n \n static int mod(int a, int m) \n{ \n return (a%m + m) % m; \n}\n \n \npublic static void main (String[] args) throws java.lang.Exception\n{Scanner scn = new Scanner(System.in) ;\n\nint n = scn.nextInt() ;\n\nint ans = (n) + (n *n) + (n*n*n) ;\n\nSystem.out.println(ans) ;\n\n \n}\n}",
"public class Main\n{\n \n \n static int mod(int a, int m) \n{ \n return (a%m + m) % m; \n}\n \n \npublic static void main (String[] args) throws java.lang.Exception\n{Scanner scn = new Scanner(System.in) ;\n\nint n = scn.nextInt() ;\n\nint ans = (n) + (n *n) + (n*n*n) ;\n\nSystem.out.println(ans) ;\n\n \n}\n}",
"Main"
]
| 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 int mod(int a, int m)
{
return (a%m + m) % m;
}
public static void main (String[] args) throws java.lang.Exception
{Scanner scn = new Scanner(System.in) ;
int n = scn.nextInt() ;
int ans = (n) + (n *n) + (n*n*n) ;
System.out.println(ans) ;
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
2,
13,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
42,
5
],
[
42,
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
],
[
25,
25
],
[
25,
26
],
[
25,
27
],
[
25,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
35,
35
],
[
35,
36
],
[
35,
37
],
[
35,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
]
| [
"import java.util.*;\npublic class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int x = a*a;\n int y = a*a*a;\n System.out.println(a+x+y);\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 = sc.nextInt();\n int x = a*a;\n int y = a*a*a;\n System.out.println(a+x+y);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int x = a*a;\n int y = a*a*a;\n System.out.println(a+x+y);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int x = a*a;\n int y = a*a*a;\n System.out.println(a+x+y);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x = a*a;",
"x",
"a*a",
"a",
"a",
"int y = a*a*a;",
"y",
"a*a*a",
"a*a*a",
"a",
"a",
"a",
"System.out.println(a+x+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"a+x+y",
"a+x+y",
"a",
"x",
"y",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int x = a*a;\n int y = a*a*a;\n System.out.println(a+x+y);\n }\n}",
"public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int x = a*a;\n int y = a*a*a;\n System.out.println(a+x+y);\n }\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int x = a*a;
int y = a*a*a;
System.out.println(a+x+y);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
18,
20,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
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
],
[
11,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
14,
19
],
[
20,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
26,
29
],
[
6,
30
],
[
30,
31
]
]
| [
"import java.util.*;class Main{public static void main(String[] a){int i=new Scanner(System.in).nextInt();System.out.println(i+i*i+i*i*i);}}",
"import java.util.*;",
"util.*",
"java",
"class Main{public static void main(String[] a){int i=new Scanner(System.in).nextInt();System.out.println(i+i*i+i*i*i);}}",
"Main",
"public static void main(String[] a){int i=new Scanner(System.in).nextInt();System.out.println(i+i*i+i*i*i);}",
"main",
"{int i=new Scanner(System.in).nextInt();System.out.println(i+i*i+i*i*i);}",
"int i=new Scanner(System.in).nextInt();",
"i",
"new Scanner(System.in).nextInt()",
"new Scanner(System.in).nextInt",
"new Scanner(System.in)",
"System.out.println(i+i*i+i*i*i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i+i*i+i*i*i",
"i+i*i+i*i*i",
"i",
"i*i",
"i",
"i",
"i*i*i",
"i*i*i",
"i",
"i",
"i",
"String[] a",
"a"
]
| import java.util.*;class Main{public static void main(String[] a){int i=new Scanner(System.in).nextInt();System.out.println(i+i*i+i*i*i);}} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
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
],
[
20,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
6,
36
],
[
36,
37
]
]
| [
"import java.util.*; \nclass Main\n{\npublic static void main(String args[]) \n{\nScanner sc = new Scanner(System.in); \nint a = sc.nextInt(); \nlong total = a+(a*a)+(a*a*a); \nSystem.out.print(total);\n}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main\n{\npublic static void main(String args[]) \n{\nScanner sc = new Scanner(System.in); \nint a = sc.nextInt(); \nlong total = a+(a*a)+(a*a*a); \nSystem.out.print(total);\n}\n}",
"Main",
"public static void main(String args[]) \n{\nScanner sc = new Scanner(System.in); \nint a = sc.nextInt(); \nlong total = a+(a*a)+(a*a*a); \nSystem.out.print(total);\n}",
"main",
"{\nScanner sc = new Scanner(System.in); \nint a = sc.nextInt(); \nlong total = a+(a*a)+(a*a*a); \nSystem.out.print(total);\n}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long total = a+(a*a)+(a*a*a);",
"total",
"a+(a*a)+(a*a*a)",
"a+(a*a)+(a*a*a)",
"a",
"(a*a)",
"a",
"a",
"(a*a*a)",
"a*a*a",
"a",
"a",
"a",
"System.out.print(total)",
"System.out.print",
"System.out",
"System",
"System.out",
"total",
"String args[]",
"args"
]
| import java.util.*;
class Main
{
public static void main(String args[])
{
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
long total = a+(a*a)+(a*a*a);
System.out.print(total);
}
}
|
[
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,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
123,
11
],
[
123,
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
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
14,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
12,
42
],
[
42,
43
],
[
123,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
55,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
60,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
54,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
44,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
82,
83
],
[
44,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
96,
97
],
[
96,
98
],
[
91,
99
],
[
99,
100
],
[
100,
101
],
[
91,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
107,
108
],
[
86,
109
],
[
109,
110
],
[
84,
111
],
[
111,
112
],
[
44,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
120,
121
],
[
0,
122
],
[
122,
123
],
[
122,
124
]
]
| [
"/* package codechef; // don't place package name! */\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n/* Name of the class has to be \"Main\" only if the class is public. */\npublic class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\tFastScanner sc=new FastScanner();\n\t\tint t=sc.nextInt();\n\tlong ans=t+ t*t + t*t*t;\n\tSystem.out.println(ans);\n\t\t\n\t\t\n\t}\n\t\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\tFastScanner sc=new FastScanner();\n\t\tint t=sc.nextInt();\n\tlong ans=t+ t*t + t*t*t;\n\tSystem.out.println(ans);\n\t\t\n\t\t\n\t}\n\t\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n}\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\tFastScanner sc=new FastScanner();\n\t\tint t=sc.nextInt();\n\tlong ans=t+ t*t + t*t*t;\n\tSystem.out.println(ans);\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\t// your code goes here\n\t\tFastScanner sc=new FastScanner();\n\t\tint t=sc.nextInt();\n\tlong ans=t+ t*t + t*t*t;\n\tSystem.out.println(ans);\n\t\t\n\t\t\n\t}",
"FastScanner sc=new FastScanner();",
"sc",
"new FastScanner()",
"int t=sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long ans=t+ t*t + t*t*t;",
"ans",
"t+ t*t + t*t*t",
"t+ t*t + t*t*t",
"t",
"t*t",
"t",
"t",
"t*t*t",
"t*t*t",
"t",
"t",
"t",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"static class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n}",
"FastScanner",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"String next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"while (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"try {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t}",
"st=new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"int[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}",
"readArray",
"{\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}",
"int[] a=new int[n];",
"a",
"new int[n]",
"n",
"for (int i=0; i<n; i++) a[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=nextInt();",
"a[i]=nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\tFastScanner sc=new FastScanner();\n\t\tint t=sc.nextInt();\n\tlong ans=t+ t*t + t*t*t;\n\tSystem.out.println(ans);\n\t\t\n\t\t\n\t}\n\t\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n}\n}",
"public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\tFastScanner sc=new FastScanner();\n\t\tint t=sc.nextInt();\n\tlong ans=t+ t*t + t*t*t;\n\tSystem.out.println(ans);\n\t\t\n\t\t\n\t}\n\t\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n}\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
{
public static void main (String[] args) throws java.lang.Exception
{
// your code goes here
FastScanner sc=new FastScanner();
int t=sc.nextInt();
long ans=t+ t*t + t*t*t;
System.out.println(ans);
}
static class FastScanner {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer("");
String next() {
while (!st.hasMoreTokens())
try {
st=new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
int[] readArray(int n) {
int[] a=new int[n];
for (int i=0; i<n; i++) a[i]=nextInt();
return a;
}
long nextLong() {
return Long.parseLong(next());
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
36,
5
],
[
36,
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
],
[
17,
22
],
[
23,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
6,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tint k = sc.nextInt();\n System.out.println(k+k*k+k*k*k);\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\t// スペース区切りの整数の入力\n\t\tint k = sc.nextInt();\n System.out.println(k+k*k+k*k*k);\n}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tint k = sc.nextInt();\n System.out.println(k+k*k+k*k*k);\n}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tint k = sc.nextInt();\n System.out.println(k+k*k+k*k*k);\n}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int k = sc.nextInt();",
"k",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(k+k*k+k*k*k)",
"System.out.println",
"System.out",
"System",
"System.out",
"k+k*k+k*k*k",
"k+k*k+k*k*k",
"k",
"k*k",
"k",
"k",
"k*k*k",
"k*k*k",
"k",
"k",
"k",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tint k = sc.nextInt();\n System.out.println(k+k*k+k*k*k);\n}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tint k = sc.nextInt();\n System.out.println(k+k*k+k*k*k);\n}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
// スペース区切りの整数の入力
int k = sc.nextInt();
System.out.println(k+k*k+k*k*k);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
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
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
35,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
]
| [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int result = 0;\n for(int i = 1;i < 4;i++){\n \tresult += Math.pow(a,i);\n \t}\n System.out.println(result);\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 int a = scanner.nextInt();\n int result = 0;\n for(int i = 1;i < 4;i++){\n \tresult += Math.pow(a,i);\n \t}\n System.out.println(result);\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int result = 0;\n for(int i = 1;i < 4;i++){\n \tresult += Math.pow(a,i);\n \t}\n System.out.println(result);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int result = 0;\n for(int i = 1;i < 4;i++){\n \tresult += Math.pow(a,i);\n \t}\n System.out.println(result);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int result = 0;",
"result",
"0",
"for(int i = 1;i < 4;i++){\n \tresult += Math.pow(a,i);\n \t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < 4",
"i",
"4",
"i++",
"i++",
"i",
"{\n \tresult += Math.pow(a,i);\n \t}",
"{\n \tresult += Math.pow(a,i);\n \t}",
"result += Math.pow(a,i)",
"result",
"Math.pow(a,i)",
"Math.pow",
"Math",
"a",
"i",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String args[]",
"args",
"public class Main{\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int result = 0;\n for(int i = 1;i < 4;i++){\n \tresult += Math.pow(a,i);\n \t}\n System.out.println(result);\n }\n}",
"public class Main{\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int result = 0;\n for(int i = 1;i < 4;i++){\n \tresult += Math.pow(a,i);\n \t}\n System.out.println(result);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String args[]){
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int result = 0;
for(int i = 1;i < 4;i++){
result += Math.pow(a,i);
}
System.out.println(result);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
39,
8
],
[
39,
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
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
9,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
]
| [
"import java.util.*;\nimport java.io.PrintWriter;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong a=sc.nextLong();\n\t\tSystem.out.println(a+a*a+a*a*a);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong a=sc.nextLong();\n\t\tSystem.out.println(a+a*a+a*a*a);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong a=sc.nextLong();\n\t\tSystem.out.println(a+a*a+a*a*a);\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong a=sc.nextLong();\n\t\tSystem.out.println(a+a*a+a*a*a);\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a=sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"System.out.println(a+a*a+a*a*a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a+a*a+a*a*a",
"a+a*a+a*a*a",
"a",
"a*a",
"a",
"a",
"a*a*a",
"a*a*a",
"a",
"a",
"a",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong a=sc.nextLong();\n\t\tSystem.out.println(a+a*a+a*a*a);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong a=sc.nextLong();\n\t\tSystem.out.println(a+a*a+a*a*a);\n\t}\n}",
"Main"
]
| import java.util.*;
import java.io.PrintWriter;
public class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
long a=sc.nextLong();
System.out.println(a+a*a+a*a*a);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
2,
2,
13,
4,
18,
13,
13,
17,
4,
18,
13,
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
],
[
47,
8
],
[
47,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
28,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
33,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
9,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
]
| [
"\nimport java.util.*;\nimport java.io.*;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=Integer.valueOf(br.readLine());\n\t\tint ans=(int)(n+Math.pow(n, 2)+Math.pow(n, 3));\n\t\tSystem.out.println(ans);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=Integer.valueOf(br.readLine());\n\t\tint ans=(int)(n+Math.pow(n, 2)+Math.pow(n, 3));\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=Integer.valueOf(br.readLine());\n\t\tint ans=(int)(n+Math.pow(n, 2)+Math.pow(n, 3));\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=Integer.valueOf(br.readLine());\n\t\tint ans=(int)(n+Math.pow(n, 2)+Math.pow(n, 3));\n\t\tSystem.out.println(ans);\n\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int n=Integer.valueOf(br.readLine());",
"n",
"Integer.valueOf(br.readLine())",
"Integer.valueOf",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"int ans=(int)(n+Math.pow(n, 2)+Math.pow(n, 3));",
"ans",
"(int)(n+Math.pow(n, 2)+Math.pow(n, 3))",
"n+Math.pow(n, 2)+Math.pow(n, 3)",
"n",
"Math.pow(n, 2)",
"Math.pow",
"Math",
"n",
"2",
"Math.pow(n, 3)",
"Math.pow",
"Math",
"n",
"3",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=Integer.valueOf(br.readLine());\n\t\tint ans=(int)(n+Math.pow(n, 2)+Math.pow(n, 3));\n\t\tSystem.out.println(ans);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=Integer.valueOf(br.readLine());\n\t\tint ans=(int)(n+Math.pow(n, 2)+Math.pow(n, 3));\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main"
]
|
import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
// TODO Auto-generated method stub
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int n=Integer.valueOf(br.readLine());
int ans=(int)(n+Math.pow(n, 2)+Math.pow(n, 3));
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
38,
5
],
[
38,
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
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
25,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
30,
34
],
[
6,
35
],
[
35,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextInt();\n System.out.println((int)(a + Math.pow(a,2) + Math.pow(a,3)));\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 double a = sc.nextInt();\n System.out.println((int)(a + Math.pow(a,2) + Math.pow(a,3)));\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextInt();\n System.out.println((int)(a + Math.pow(a,2) + Math.pow(a,3)));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n double a = sc.nextInt();\n System.out.println((int)(a + Math.pow(a,2) + Math.pow(a,3)));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println((int)(a + Math.pow(a,2) + Math.pow(a,3)))",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)(a + Math.pow(a,2) + Math.pow(a,3))",
"a + Math.pow(a,2) + Math.pow(a,3)",
"a",
"Math.pow(a,2)",
"Math.pow",
"Math",
"a",
"2",
"Math.pow(a,3)",
"Math.pow",
"Math",
"a",
"3",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextInt();\n System.out.println((int)(a + Math.pow(a,2) + Math.pow(a,3)));\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextInt();\n System.out.println((int)(a + Math.pow(a,2) + Math.pow(a,3)));\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double a = sc.nextInt();
System.out.println((int)(a + Math.pow(a,2) + Math.pow(a,3)));
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
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
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
140,
17
],
[
140,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
36,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
20,
46
],
[
46,
47
],
[
47,
48
],
[
18,
49
],
[
49,
50
],
[
140,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
51,
55
],
[
55,
56
],
[
51,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
51,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
66,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
76,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
65,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
51,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
98,
99
],
[
51,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
107,
108
],
[
51,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
113,
116
],
[
116,
117
],
[
51,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
124,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
120,
137
],
[
137,
138
],
[
0,
139
],
[
139,
140
],
[
139,
141
]
]
| [
"\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n\tpublic static void main(String args[]) throws Exception {\n\t\tMyScanner sc = new MyScanner();\n\t\tPrintWriter pr = new PrintWriter(System.out);\n\n\n\n\t\t\tint n = sc.nextInt();\n\t\t\t\n\t\t\tpr.println(n + (n * n) + (n * n * n));\n\n\t\tpr.close();\n\t}\n\n\tpublic static class MyScanner {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\n\t\tpublic MyScanner() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tString next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n\tpublic static void main(String args[]) throws Exception {\n\t\tMyScanner sc = new MyScanner();\n\t\tPrintWriter pr = new PrintWriter(System.out);\n\n\n\n\t\t\tint n = sc.nextInt();\n\t\t\t\n\t\t\tpr.println(n + (n * n) + (n * n * n));\n\n\t\tpr.close();\n\t}\n\n\tpublic static class MyScanner {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\n\t\tpublic MyScanner() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tString next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]) throws Exception {\n\t\tMyScanner sc = new MyScanner();\n\t\tPrintWriter pr = new PrintWriter(System.out);\n\n\n\n\t\t\tint n = sc.nextInt();\n\t\t\t\n\t\t\tpr.println(n + (n * n) + (n * n * n));\n\n\t\tpr.close();\n\t}",
"main",
"{\n\t\tMyScanner sc = new MyScanner();\n\t\tPrintWriter pr = new PrintWriter(System.out);\n\n\n\n\t\t\tint n = sc.nextInt();\n\t\t\t\n\t\t\tpr.println(n + (n * n) + (n * n * n));\n\n\t\tpr.close();\n\t}",
"MyScanner sc = new MyScanner();",
"sc",
"new MyScanner()",
"PrintWriter pr = new PrintWriter(System.out);",
"pr",
"new PrintWriter(System.out)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"pr.println(n + (n * n) + (n * n * n))",
"pr.println",
"pr",
"n + (n * n) + (n * n * n)",
"n + (n * n) + (n * n * n)",
"n",
"(n * n)",
"n",
"n",
"(n * n * n)",
"n * n * n",
"n",
"n",
"n",
"pr.close()",
"pr.close",
"pr",
"String args[]",
"args",
"public static class MyScanner {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\n\t\tpublic MyScanner() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tString next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\t}",
"MyScanner",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public MyScanner() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}",
"MyScanner",
"{\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"while (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}",
"try {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t}",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"nextDouble",
"{\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}",
"nextLine",
"{\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}",
"String str = \"\";",
"str",
"\"\"",
"try {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"IOException e",
"{\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\tstr = br.readLine();\n\t\t\t}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n\n\tpublic static void main(String args[]) throws Exception {\n\t\tMyScanner sc = new MyScanner();\n\t\tPrintWriter pr = new PrintWriter(System.out);\n\n\n\n\t\t\tint n = sc.nextInt();\n\t\t\t\n\t\t\tpr.println(n + (n * n) + (n * n * n));\n\n\t\tpr.close();\n\t}\n\n\tpublic static class MyScanner {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\n\t\tpublic MyScanner() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tString next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String args[]) throws Exception {\n\t\tMyScanner sc = new MyScanner();\n\t\tPrintWriter pr = new PrintWriter(System.out);\n\n\n\n\t\t\tint n = sc.nextInt();\n\t\t\t\n\t\t\tpr.println(n + (n * n) + (n * n * n));\n\n\t\tpr.close();\n\t}\n\n\tpublic static class MyScanner {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\n\t\tpublic MyScanner() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tString next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\t}\n}",
"Main"
]
|
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.StringTokenizer;
public class Main {
public static void main(String args[]) throws Exception {
MyScanner sc = new MyScanner();
PrintWriter pr = new PrintWriter(System.out);
int n = sc.nextInt();
pr.println(n + (n * n) + (n * n * n));
pr.close();
}
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,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
41,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
24,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
]
| [
"\nimport java.util.Scanner;\n\n// Problema atcoder\n\npublic class Main {\n\n\n\tpublic static void main(String args[]) {\n\t\t\n\t\tString s;\n\t\tint n;\n\t\t\n\t\t\n\t\t\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tn = input.nextInt();\n\t\t\n\t\tlong total = n + (n*n) + (n*n*n);\n\t\t\n\t\t\n\t input.close();\n\t \n\t\tSystem.out.println( total);\n\t\n}\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\n\tpublic static void main(String args[]) {\n\t\t\n\t\tString s;\n\t\tint n;\n\t\t\n\t\t\n\t\t\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tn = input.nextInt();\n\t\t\n\t\tlong total = n + (n*n) + (n*n*n);\n\t\t\n\t\t\n\t input.close();\n\t \n\t\tSystem.out.println( total);\n\t\n}\n}",
"Main",
"public static void main(String args[]) {\n\t\t\n\t\tString s;\n\t\tint n;\n\t\t\n\t\t\n\t\t\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tn = input.nextInt();\n\t\t\n\t\tlong total = n + (n*n) + (n*n*n);\n\t\t\n\t\t\n\t input.close();\n\t \n\t\tSystem.out.println( total);\n\t\n}",
"main",
"{\n\t\t\n\t\tString s;\n\t\tint n;\n\t\t\n\t\t\n\t\t\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tn = input.nextInt();\n\t\t\n\t\tlong total = n + (n*n) + (n*n*n);\n\t\t\n\t\t\n\t input.close();\n\t \n\t\tSystem.out.println( total);\n\t\n}",
"String s;",
"s",
"int n;",
"n",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"n = input.nextInt()",
"n",
"input.nextInt()",
"input.nextInt",
"input",
"long total = n + (n*n) + (n*n*n);",
"total",
"n + (n*n) + (n*n*n)",
"n + (n*n) + (n*n*n)",
"n",
"(n*n)",
"n",
"n",
"(n*n*n)",
"n*n*n",
"n",
"n",
"n",
"input.close()",
"input.close",
"input",
"System.out.println( total)",
"System.out.println",
"System.out",
"System",
"System.out",
"total",
"String args[]",
"args",
"public class Main {\n\n\n\tpublic static void main(String args[]) {\n\t\t\n\t\tString s;\n\t\tint n;\n\t\t\n\t\t\n\t\t\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tn = input.nextInt();\n\t\t\n\t\tlong total = n + (n*n) + (n*n*n);\n\t\t\n\t\t\n\t input.close();\n\t \n\t\tSystem.out.println( total);\n\t\n}\n}",
"public class Main {\n\n\n\tpublic static void main(String args[]) {\n\t\t\n\t\tString s;\n\t\tint n;\n\t\t\n\t\t\n\t\t\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tn = input.nextInt();\n\t\t\n\t\tlong total = n + (n*n) + (n*n*n);\n\t\t\n\t\t\n\t input.close();\n\t \n\t\tSystem.out.println( total);\n\t\n}\n}",
"Main"
]
|
import java.util.Scanner;
// Problema atcoder
public class Main {
public static void main(String args[]) {
String s;
int n;
Scanner input = new Scanner(System.in);
n = input.nextInt();
long total = n + (n*n) + (n*n*n);
input.close();
System.out.println( total);
}
}
|
[
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,
41,
13,
2,
17,
17,
12,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
2,
2,
13,
4,
18,
13,
13,
17,
13,
4,
18,
13,
13,
17,
13,
23,
13,
23,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
17,
0,
13,
2,
13,
13,
14,
2,
13,
17,
29,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
2,
2,
2,
13,
13,
13,
13,
13,
0,
13,
2,
13,
17,
0,
13,
2,
2,
13,
13,
13,
29,
13,
23,
13,
23,
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,
4,
18,
13,
12,
13,
30,
4,
18,
13,
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,
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
],
[
396,
35
],
[
396,
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
],
[
396,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
69,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
78,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
88,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
90,
94
],
[
90,
95
],
[
88,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
96,
100
],
[
96,
101
],
[
76,
102
],
[
102,
103
],
[
76,
104
],
[
104,
105
],
[
76,
106
],
[
106,
107
],
[
396,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
112,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
118,
120
],
[
112,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
125,
126
],
[
112,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
127,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
137
],
[
132,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
142,
148
],
[
141,
149
],
[
131,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
152,
154
],
[
131,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
157,
161
],
[
112,
162
],
[
162,
163
],
[
110,
164
],
[
164,
165
],
[
110,
166
],
[
166,
167
],
[
110,
168
],
[
168,
169
],
[
396,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
170,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
174,
180
],
[
180,
181
],
[
170,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
185,
189
],
[
182,
190
],
[
190,
191
],
[
170,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
170,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
201,
204
],
[
198,
205
],
[
205,
206
],
[
396,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
207,
211
],
[
211,
212
],
[
211,
213
],
[
207,
215
],
[
215,
216
],
[
207,
217
],
[
217,
218
],
[
207,
219
],
[
219,
220
],
[
207,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
224,
228
],
[
221,
229
],
[
229,
230
],
[
207,
231
],
[
231,
232
],
[
231,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
234,
239
],
[
239,
240
],
[
240,
241
],
[
233,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
242,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
246,
250
],
[
250,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
254,
255
],
[
250,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
260,
261
],
[
259,
262
],
[
246,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
263,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
233,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
207,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
278,
283
],
[
283,
284
],
[
284,
285
],
[
284,
286
],
[
283,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
278,
292
],
[
292,
293
],
[
292,
294
],
[
278,
295
],
[
295,
296
],
[
296,
297
],
[
296,
298
],
[
295,
299
],
[
299,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
299,
304
],
[
304,
305
],
[
304,
306
],
[
306,
307
],
[
278,
308
],
[
308,
309
],
[
308,
310
],
[
278,
311
],
[
311,
312
],
[
312,
313
],
[
313,
314
],
[
313,
315
],
[
311,
316
],
[
316,
317
],
[
317,
318
],
[
318,
319
],
[
319,
320
],
[
319,
321
],
[
318,
322
],
[
322,
323
],
[
322,
324
],
[
317,
325
],
[
325,
326
],
[
326,
327
],
[
316,
328
],
[
328,
329
],
[
328,
330
],
[
316,
331
],
[
331,
332
],
[
331,
333
],
[
333,
334
],
[
333,
335
],
[
316,
336
],
[
336,
337
],
[
336,
338
],
[
338,
339
],
[
278,
340
],
[
340,
341
],
[
341,
342
],
[
341,
343
],
[
207,
344
],
[
344,
345
],
[
344,
346
],
[
346,
347
],
[
347,
348
],
[
348,
349
],
[
348,
350
],
[
347,
351
],
[
351,
352
],
[
352,
353
],
[
353,
354
],
[
354,
355
],
[
353,
356
],
[
346,
357
],
[
357,
358
],
[
358,
359
],
[
358,
360
],
[
344,
361
],
[
361,
362
],
[
207,
363
],
[
363,
364
],
[
363,
365
],
[
365,
366
],
[
366,
367
],
[
370,
368
],
[
380,
369
],
[
377,
370
],
[
370,
371
],
[
371,
372
],
[
371,
373
],
[
370,
374
],
[
374,
375
],
[
374,
376
],
[
377,
377
],
[
377,
378
],
[
377,
379
],
[
380,
380
],
[
380,
381
],
[
380,
382
],
[
370,
383
],
[
383,
384
],
[
383,
385
],
[
385,
386
],
[
363,
387
],
[
387,
388
],
[
207,
389
],
[
389,
390
],
[
389,
391
],
[
391,
392
],
[
391,
393
],
[
393,
394
],
[
0,
395
],
[
395,
396
],
[
395,
397
]
]
| [
"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 ACalc solver = new ACalc();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACalc {\n int IINF = (int) 1e9 + 331;\n\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n long n = in.nextInt();\n out.println(n + _F.powLLP(n, 2, IINF) + _F.powLLP(n, 3, IINF));\n }\n\n }\n\n static class _F {\n public static long powLLP(long x, long y, long p) {\n long res = 1;\n x = x % p;\n if (x == 0) return 0;\n while (y > 0) {\n if ((y & 1) == 1) {\n res = (res % p * x % p) % p;\n }\n y = y >> 1;\n x = (x * x) % p;\n }\n return res;\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 close() {\n writer.close();\n }\n\n public void println(long i) {\n writer.println(i);\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",
"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 ACalc solver = new ACalc();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACalc {\n int IINF = (int) 1e9 + 331;\n\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n long n = in.nextInt();\n out.println(n + _F.powLLP(n, 2, IINF) + _F.powLLP(n, 3, IINF));\n }\n\n }\n\n static class _F {\n public static long powLLP(long x, long y, long p) {\n long res = 1;\n x = x % p;\n if (x == 0) return 0;\n while (y > 0) {\n if ((y & 1) == 1) {\n res = (res % p * x % p) % p;\n }\n y = y >> 1;\n x = (x * x) % p;\n }\n return res;\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 close() {\n writer.close();\n }\n\n public void println(long i) {\n writer.println(i);\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}",
"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 ACalc solver = new ACalc();\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 ACalc solver = new ACalc();\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)",
"ACalc solver = new ACalc();",
"solver",
"new ACalc()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class ACalc {\n int IINF = (int) 1e9 + 331;\n\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n long n = in.nextInt();\n out.println(n + _F.powLLP(n, 2, IINF) + _F.powLLP(n, 3, IINF));\n }\n\n }",
"ACalc",
"int IINF = (int) 1e9 + 331;",
"IINF",
"(int) 1e9 + 331",
"(int) 1e9",
"331",
"public void solve(int testNumber, InputReader in, OutputWriter out) {\n long n = in.nextInt();\n out.println(n + _F.powLLP(n, 2, IINF) + _F.powLLP(n, 3, IINF));\n }",
"solve",
"{\n long n = in.nextInt();\n out.println(n + _F.powLLP(n, 2, IINF) + _F.powLLP(n, 3, IINF));\n }",
"long n = in.nextInt();",
"n",
"in.nextInt()",
"in.nextInt",
"in",
"out.println(n + _F.powLLP(n, 2, IINF) + _F.powLLP(n, 3, IINF))",
"out.println",
"out",
"n + _F.powLLP(n, 2, IINF) + _F.powLLP(n, 3, IINF)",
"n + _F.powLLP(n, 2, IINF) + _F.powLLP(n, 3, IINF)",
"n",
"_F.powLLP(n, 2, IINF)",
"_F.powLLP",
"_F",
"n",
"2",
"IINF",
"_F.powLLP(n, 3, IINF)",
"_F.powLLP",
"_F",
"n",
"3",
"IINF",
"int testNumber",
"testNumber",
"InputReader in",
"in",
"OutputWriter out",
"out",
"static class _F {\n public static long powLLP(long x, long y, long p) {\n long res = 1;\n x = x % p;\n if (x == 0) return 0;\n while (y > 0) {\n if ((y & 1) == 1) {\n res = (res % p * x % p) % p;\n }\n y = y >> 1;\n x = (x * x) % p;\n }\n return res;\n }\n\n }",
"_F",
"public static long powLLP(long x, long y, long p) {\n long res = 1;\n x = x % p;\n if (x == 0) return 0;\n while (y > 0) {\n if ((y & 1) == 1) {\n res = (res % p * x % p) % p;\n }\n y = y >> 1;\n x = (x * x) % p;\n }\n return res;\n }",
"powLLP",
"{\n long res = 1;\n x = x % p;\n if (x == 0) return 0;\n while (y > 0) {\n if ((y & 1) == 1) {\n res = (res % p * x % p) % p;\n }\n y = y >> 1;\n x = (x * x) % p;\n }\n return res;\n }",
"long res = 1;",
"res",
"1",
"x = x % p",
"x",
"x % p",
"x",
"p",
"if (x == 0) return 0;",
"x == 0",
"x",
"0",
"return 0;",
"0",
"while (y > 0) {\n if ((y & 1) == 1) {\n res = (res % p * x % p) % p;\n }\n y = y >> 1;\n x = (x * x) % p;\n }",
"y > 0",
"y",
"0",
"{\n if ((y & 1) == 1) {\n res = (res % p * x % p) % p;\n }\n y = y >> 1;\n x = (x * x) % p;\n }",
"if ((y & 1) == 1) {\n res = (res % p * x % p) % p;\n }",
"(y & 1) == 1",
"(y & 1)",
"y",
"1",
"1",
"{\n res = (res % p * x % p) % p;\n }",
"res = (res % p * x % p) % p",
"res",
"(res % p * x % p) % p",
"(res % p * x % p)",
"res % p * x",
"res % p",
"res",
"p",
"x",
"p",
"p",
"y = y >> 1",
"y",
"y >> 1",
"y",
"1",
"x = (x * x) % p",
"x",
"(x * x) % p",
"(x * x)",
"x",
"x",
"p",
"return res;",
"res",
"long x",
"x",
"long y",
"y",
"long p",
"p",
"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 close() {\n writer.close();\n }\n\n public void println(long i) {\n writer.println(i);\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 close() {\n writer.close();\n }",
"close",
"{\n writer.close();\n }",
"writer.close()",
"writer.close",
"writer",
"public void println(long i) {\n writer.println(i);\n }",
"println",
"{\n writer.println(i);\n }",
"writer.println(i)",
"writer.println",
"writer",
"i",
"long i",
"i",
"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",
"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 ACalc solver = new ACalc();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACalc {\n int IINF = (int) 1e9 + 331;\n\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n long n = in.nextInt();\n out.println(n + _F.powLLP(n, 2, IINF) + _F.powLLP(n, 3, IINF));\n }\n\n }\n\n static class _F {\n public static long powLLP(long x, long y, long p) {\n long res = 1;\n x = x % p;\n if (x == 0) return 0;\n while (y > 0) {\n if ((y & 1) == 1) {\n res = (res % p * x % p) % p;\n }\n y = y >> 1;\n x = (x * x) % p;\n }\n return res;\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 close() {\n writer.close();\n }\n\n public void println(long i) {\n writer.println(i);\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}",
"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 ACalc solver = new ACalc();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACalc {\n int IINF = (int) 1e9 + 331;\n\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n long n = in.nextInt();\n out.println(n + _F.powLLP(n, 2, IINF) + _F.powLLP(n, 3, IINF));\n }\n\n }\n\n static class _F {\n public static long powLLP(long x, long y, long p) {\n long res = 1;\n x = x % p;\n if (x == 0) return 0;\n while (y > 0) {\n if ((y & 1) == 1) {\n res = (res % p * x % p) % p;\n }\n y = y >> 1;\n x = (x * x) % p;\n }\n return res;\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 close() {\n writer.close();\n }\n\n public void println(long i) {\n writer.println(i);\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}",
"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);
ACalc solver = new ACalc();
solver.solve(1, in, out);
out.close();
}
static class ACalc {
int IINF = (int) 1e9 + 331;
public void solve(int testNumber, InputReader in, OutputWriter out) {
long n = in.nextInt();
out.println(n + _F.powLLP(n, 2, IINF) + _F.powLLP(n, 3, IINF));
}
}
static class _F {
public static long powLLP(long x, long y, long p) {
long res = 1;
x = x % p;
if (x == 0) return 0;
while (y > 0) {
if ((y & 1) == 1) {
res = (res % p * x % p) % p;
}
y = y >> 1;
x = (x * x) % p;
}
return res;
}
}
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 close() {
writer.close();
}
public void println(long i) {
writer.println(i);
}
}
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);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
4,
13,
41,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
93,
8
],
[
93,
9
],
[
9,
10
],
[
93,
11
],
[
11,
12
],
[
93,
13
],
[
13,
14
],
[
93,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
17,
25
],
[
25,
26
],
[
25,
27
],
[
28,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
34,
34
],
[
34,
35
],
[
34,
36
],
[
34,
37
],
[
17,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
15,
44
],
[
44,
45
],
[
93,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
93,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
93,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
93,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
76,
85
],
[
85,
86
],
[
85,
87
],
[
75,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
]
| [
"import java.util.*; \nimport java.io.*;\n\npublic class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n int a = nextInt();\n\n int ans = a + a*a + a*a*a;\n \n System.out.println(ans);\n\n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n int a = nextInt();\n\n int ans = a + a*a + a*a*a;\n \n System.out.println(ans);\n\n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"Main",
"static StringTokenizer st;",
"st",
"static BufferedReader br;",
"br",
"static PrintWriter out;",
"out",
"public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n int a = nextInt();\n\n int ans = a + a*a + a*a*a;\n \n System.out.println(ans);\n\n }",
"main",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n\n int a = nextInt();\n\n int ans = a + a*a + a*a*a;\n \n System.out.println(ans);\n\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int a = nextInt();",
"a",
"nextInt()",
"nextInt",
"int ans = a + a*a + a*a*a;",
"ans",
"a + a*a + a*a*a",
"a + a*a + a*a*a",
"a",
"a*a",
"a",
"a",
"a*a*a",
"a*a*a",
"a",
"a",
"a",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine().trim())",
"st",
"new StringTokenizer(br.readLine().trim())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n int a = nextInt();\n\n int ans = a + a*a + a*a*a;\n \n System.out.println(ans);\n\n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n int a = nextInt();\n\n int ans = a + a*a + a*a*a;\n \n System.out.println(ans);\n\n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
static StringTokenizer st;
static BufferedReader br;
static PrintWriter out;
public static void main(String[] args) throws IOException {
br = new BufferedReader(new InputStreamReader(System.in));
int a = nextInt();
int ans = a + a*a + a*a*a;
System.out.println(ans);
}
public static int nextInt() throws IOException {
return Integer.parseInt(next());
}
public static long nextLong() throws IOException {
return Long.parseLong(next());
}
public static double nextDouble() throws IOException {
return Double.parseDouble(next());
}
static String next() throws IOException {
while (st == null || !st.hasMoreTokens())
st = new StringTokenizer(br.readLine().trim());
return st.nextToken();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
0,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
41,
13,
20,
4,
18,
13,
13,
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
],
[
55,
8
],
[
55,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
11,
39
],
[
39,
40
],
[
39,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
11,
46
],
[
46,
47
],
[
47,
48
],
[
11,
49
],
[
49,
50
],
[
50,
51
],
[
9,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
]
| [
"import java.io.PrintWriter;\nimport java.util.Scanner;\n\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 result = 0;\n\n result = a + (a * a) + (a * a * a);\n\n PrintWriter out = new PrintWriter(System.out);\n out.println(result);\n\n sc.close();\n out.flush();\n }\n}",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = Integer.parseInt(sc.next());\n int result = 0;\n\n result = a + (a * a) + (a * a * a);\n\n PrintWriter out = new PrintWriter(System.out);\n out.println(result);\n\n sc.close();\n out.flush();\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 result = 0;\n\n result = a + (a * a) + (a * a * a);\n\n PrintWriter out = new PrintWriter(System.out);\n out.println(result);\n\n sc.close();\n out.flush();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int a = Integer.parseInt(sc.next());\n int result = 0;\n\n result = a + (a * a) + (a * a * a);\n\n PrintWriter out = new PrintWriter(System.out);\n out.println(result);\n\n sc.close();\n out.flush();\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 result = 0;",
"result",
"0",
"result = a + (a * a) + (a * a * a)",
"result",
"a + (a * a) + (a * a * a)",
"a + (a * a) + (a * a * a)",
"a",
"(a * a)",
"a",
"a",
"(a * a * a)",
"a * a * a",
"a",
"a",
"a",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"out.println(result)",
"out.println",
"out",
"result",
"sc.close()",
"sc.close",
"sc",
"out.flush()",
"out.flush",
"out",
"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 result = 0;\n\n result = a + (a * a) + (a * a * a);\n\n PrintWriter out = new PrintWriter(System.out);\n out.println(result);\n\n sc.close();\n out.flush();\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 result = 0;\n\n result = a + (a * a) + (a * a * a);\n\n PrintWriter out = new PrintWriter(System.out);\n out.println(result);\n\n sc.close();\n out.flush();\n }\n}",
"Main"
]
| import java.io.PrintWriter;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = Integer.parseInt(sc.next());
int result = 0;
result = a + (a * a) + (a * a * a);
PrintWriter out = new PrintWriter(System.out);
out.println(result);
sc.close();
out.flush();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
2,
13,
13,
13,
41,
13,
2,
2,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
45,
5
],
[
45,
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
],
[
25,
25
],
[
25,
26
],
[
25,
27
],
[
25,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
]
| [
"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\t\tint a=scan.nextInt();\n\t\tint a2=a*a;\n\t\tint a3=a*a*a;\n\t\tint sum=a+a2+a3;\n\t\tSystem.out.println(sum);\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\t\tint a=scan.nextInt();\n\t\tint a2=a*a;\n\t\tint a3=a*a*a;\n\t\tint sum=a+a2+a3;\n\t\tSystem.out.println(sum);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan =new Scanner(System.in);\n\t\tint a=scan.nextInt();\n\t\tint a2=a*a;\n\t\tint a3=a*a*a;\n\t\tint sum=a+a2+a3;\n\t\tSystem.out.println(sum);\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan =new Scanner(System.in);\n\t\tint a=scan.nextInt();\n\t\tint a2=a*a;\n\t\tint a3=a*a*a;\n\t\tint sum=a+a2+a3;\n\t\tSystem.out.println(sum);\n\t}",
"Scanner scan =new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a=scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int a2=a*a;",
"a2",
"a*a",
"a",
"a",
"int a3=a*a*a;",
"a3",
"a*a*a",
"a*a*a",
"a",
"a",
"a",
"int sum=a+a2+a3;",
"sum",
"a+a2+a3",
"a+a2+a3",
"a",
"a2",
"a3",
"System.out.println(sum)",
"System.out.println",
"System.out",
"System",
"System.out",
"sum",
"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\t\tint a=scan.nextInt();\n\t\tint a2=a*a;\n\t\tint a3=a*a*a;\n\t\tint sum=a+a2+a3;\n\t\tSystem.out.println(sum);\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\t\tint a=scan.nextInt();\n\t\tint a2=a*a;\n\t\tint a3=a*a*a;\n\t\tint sum=a+a2+a3;\n\t\tSystem.out.println(sum);\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 a=scan.nextInt();
int a2=a*a;
int a3=a*a*a;
int sum=a+a2+a3;
System.out.println(sum);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
51,
17
],
[
51,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
20,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
18,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
]
| [
"import java.io.*;\nimport java.util.*;\nimport java.text.*;\nimport java.math.*;\nimport java.util.regex.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num = sc.nextInt();\n\t\tint ans = num + (num*num) + (num*num*num);\n\t\tSystem.out.println(ans);\n\t}\n\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.text.*;",
"text.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.util.regex.*;",
"regex.*",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num = sc.nextInt();\n\t\tint ans = num + (num*num) + (num*num*num);\n\t\tSystem.out.println(ans);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num = sc.nextInt();\n\t\tint ans = num + (num*num) + (num*num*num);\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num = sc.nextInt();\n\t\tint ans = num + (num*num) + (num*num*num);\n\t\tSystem.out.println(ans);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int num = sc.nextInt();",
"num",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int ans = num + (num*num) + (num*num*num);",
"ans",
"num + (num*num) + (num*num*num)",
"num + (num*num) + (num*num*num)",
"num",
"(num*num)",
"num",
"num",
"(num*num*num)",
"num*num*num",
"num",
"num",
"num",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num = sc.nextInt();\n\t\tint ans = num + (num*num) + (num*num*num);\n\t\tSystem.out.println(ans);\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num = sc.nextInt();\n\t\tint ans = num + (num*num) + (num*num*num);\n\t\tSystem.out.println(ans);\n\t}\n\n}",
"Main"
]
| import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int num = sc.nextInt();
int ans = num + (num*num) + (num*num*num);
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
2,
13,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
42,
5
],
[
42,
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
],
[
25,
25
],
[
25,
26
],
[
25,
27
],
[
25,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint a = sc.nextInt();\n\t\t// スペース区切りの整数の入力\n\t\tint b = a * a;\n\t\tint c = a * a * a;\n\t\t// 出力\n\t\tSystem.out.println((a+b+c));\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\t// 整数の入力\n\t\tint a = sc.nextInt();\n\t\t// スペース区切りの整数の入力\n\t\tint b = a * a;\n\t\tint c = a * a * a;\n\t\t// 出力\n\t\tSystem.out.println((a+b+c));\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint a = sc.nextInt();\n\t\t// スペース区切りの整数の入力\n\t\tint b = a * a;\n\t\tint c = a * a * a;\n\t\t// 出力\n\t\tSystem.out.println((a+b+c));\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint a = sc.nextInt();\n\t\t// スペース区切りの整数の入力\n\t\tint b = a * a;\n\t\tint c = a * a * a;\n\t\t// 出力\n\t\tSystem.out.println((a+b+c));\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = a * a;",
"b",
"a * a",
"a",
"a",
"int c = a * a * a;",
"c",
"a * a * a",
"a * a * a",
"a",
"a",
"a",
"System.out.println((a+b+c))",
"System.out.println",
"System.out",
"System",
"System.out",
"(a+b+c)",
"a+b+c",
"a",
"b",
"c",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint a = sc.nextInt();\n\t\t// スペース区切りの整数の入力\n\t\tint b = a * a;\n\t\tint c = a * a * a;\n\t\t// 出力\n\t\tSystem.out.println((a+b+c));\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint a = sc.nextInt();\n\t\t// スペース区切りの整数の入力\n\t\tint b = a * a;\n\t\tint c = a * a * a;\n\t\t// 出力\n\t\tSystem.out.println((a+b+c));\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
// 整数の入力
int a = sc.nextInt();
// スペース区切りの整数の入力
int b = a * a;
int c = a * a * a;
// 出力
System.out.println((a+b+c));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
23,
13,
12,
13,
30,
14,
2,
4,
18,
13,
17,
30,
29,
17,
41,
13,
20,
29,
4,
18,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
17,
0,
13,
2,
13,
13,
14,
2,
13,
17,
30,
0,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
14,
2,
13,
17,
29,
17,
14,
2,
13,
17,
30,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
0,
13,
13,
0,
13,
2,
13,
17,
30,
0,
13,
13,
40,
13,
29,
13,
30,
0,
13,
4,
13,
13,
13,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
0,
13,
4,
13,
13,
13,
0,
13,
2,
13,
17,
30,
0,
13,
4,
13,
13,
13,
40,
13,
29,
4,
13,
13,
13,
23,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
182,
8
],
[
182,
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
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
9,
36
],
[
36,
37
],
[
182,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
42,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
40,
50
],
[
50,
51
],
[
50,
52
],
[
40,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
38,
59
],
[
59,
60
],
[
182,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
63,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
63,
80
],
[
80,
81
],
[
61,
82
],
[
82,
83
],
[
61,
84
],
[
84,
85
],
[
182,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
88,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
108,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
120,
122
],
[
108,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
127,
128
],
[
102,
129
],
[
129,
130
],
[
98,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
134,
136
],
[
134,
137
],
[
131,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
138,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
144,
148
],
[
143,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
152,
154
],
[
152,
155
],
[
149,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
158,
160
],
[
143,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
164,
166
],
[
164,
167
],
[
161,
168
],
[
168,
169
],
[
131,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
171,
174
],
[
86,
175
],
[
175,
176
],
[
86,
177
],
[
177,
178
],
[
86,
179
],
[
179,
180
],
[
0,
181
],
[
181,
182
],
[
181,
183
]
]
| [
"\n\nimport java.io.IOException;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a = scan.nextInt();\n\n\t\tSystem.out.println(a + a * a + a * a * a);\n\t}\n\n\t//***********************以下共通関数************************************************\n\t/**\n\t * 文字列を反転して返す\n\t * @param pStr 文字列\n\t * @return 反転した文字列\n\t */\n\tpublic static String myReverse(String pStr) {\n\t\tif (pStr.length() < 1) {\n\t\t\treturn \"\";\n\t\t}\n\n\t\tStringBuffer sb = new StringBuffer(pStr);\n\t\treturn sb.reverse().toString();\n\t}\n\n\t/**\n\t * 余りを求める。\n\t * @param a\n\t * @param b\n\t * @return 余り。余りがマイナスの時はプラスで返す。\n\t */\n\tpublic static long myMod(long a, long b) {\n\t\tlong ret = 0;\n\n\t\tret = a % b;\n\n\t\tif (ret < 0) {\n\t\t\tret += b;\n\t\t}\n\n\t\treturn ret;\n\t}\n\n\t/**\n\t * 乗数を求める ※mod対応\n\t * @param kisu 基数\n\t * @param josu 乗数\n\t * @param primeNumMod_0 法 mod値 使わない場合は「0」\n\t * @return\n\t */\n\tpublic static long myPowWithMod(long kisu, long josu, long primeNumMod_0) {\n\n\t\tlong ans = 1;\n\n\t\t//乗数が0の場合→1\n\t\tif (josu == 0)\n\t\t\treturn 1;\n\n\t\tif (primeNumMod_0 == 0) {\n\t\t\t//modを使わないとき\n\n\t\t\twhile (josu > 0) {\n\n\t\t\t\tif (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= kisu;\n\t\t\t\t\tjosu = josu / 2;\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= kisu;\n\t\t\t\t\tjosu--;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn ans;\n\n\t\t} else {\n\t\t\t//modを使うとき\n\n\t\t\t//初めに桁を落とす\n\t\t\tkisu = myMod(kisu, primeNumMod_0);\n\n\t\t\twhile (josu > 0) {\n\n\t\t\t\tif (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu = josu / 2;\n\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu--;\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn myMod(ans, primeNumMod_0);\n\n\t\t}\n\n\t}\n\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a = scan.nextInt();\n\n\t\tSystem.out.println(a + a * a + a * a * a);\n\t}\n\n\t//***********************以下共通関数************************************************\n\t/**\n\t * 文字列を反転して返す\n\t * @param pStr 文字列\n\t * @return 反転した文字列\n\t */\n\tpublic static String myReverse(String pStr) {\n\t\tif (pStr.length() < 1) {\n\t\t\treturn \"\";\n\t\t}\n\n\t\tStringBuffer sb = new StringBuffer(pStr);\n\t\treturn sb.reverse().toString();\n\t}\n\n\t/**\n\t * 余りを求める。\n\t * @param a\n\t * @param b\n\t * @return 余り。余りがマイナスの時はプラスで返す。\n\t */\n\tpublic static long myMod(long a, long b) {\n\t\tlong ret = 0;\n\n\t\tret = a % b;\n\n\t\tif (ret < 0) {\n\t\t\tret += b;\n\t\t}\n\n\t\treturn ret;\n\t}\n\n\t/**\n\t * 乗数を求める ※mod対応\n\t * @param kisu 基数\n\t * @param josu 乗数\n\t * @param primeNumMod_0 法 mod値 使わない場合は「0」\n\t * @return\n\t */\n\tpublic static long myPowWithMod(long kisu, long josu, long primeNumMod_0) {\n\n\t\tlong ans = 1;\n\n\t\t//乗数が0の場合→1\n\t\tif (josu == 0)\n\t\t\treturn 1;\n\n\t\tif (primeNumMod_0 == 0) {\n\t\t\t//modを使わないとき\n\n\t\t\twhile (josu > 0) {\n\n\t\t\t\tif (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= kisu;\n\t\t\t\t\tjosu = josu / 2;\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= kisu;\n\t\t\t\t\tjosu--;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn ans;\n\n\t\t} else {\n\t\t\t//modを使うとき\n\n\t\t\t//初めに桁を落とす\n\t\t\tkisu = myMod(kisu, primeNumMod_0);\n\n\t\t\twhile (josu > 0) {\n\n\t\t\t\tif (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu = josu / 2;\n\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu--;\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn myMod(ans, primeNumMod_0);\n\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a = scan.nextInt();\n\n\t\tSystem.out.println(a + a * a + a * a * a);\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a = scan.nextInt();\n\n\t\tSystem.out.println(a + a * a + a * a * a);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"System.out.println(a + a * a + a * a * a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + a * a + a * a * a",
"a + a * a + a * a * a",
"a",
"a * a",
"a",
"a",
"a * a * a",
"a * a * a",
"a",
"a",
"a",
"String[] args",
"args",
"/**\n\t * 文字列を反転して返す\n\t * @param pStr 文字列\n\t * @return 反転した文字列\n\t */\n\tpublic static String myReverse(String pStr) {\n\t\tif (pStr.length() < 1) {\n\t\t\treturn \"\";\n\t\t}\n\n\t\tStringBuffer sb = new StringBuffer(pStr);\n\t\treturn sb.reverse().toString();\n\t}",
"myReverse",
"{\n\t\tif (pStr.length() < 1) {\n\t\t\treturn \"\";\n\t\t}\n\n\t\tStringBuffer sb = new StringBuffer(pStr);\n\t\treturn sb.reverse().toString();\n\t}",
"if (pStr.length() < 1) {\n\t\t\treturn \"\";\n\t\t}",
"pStr.length() < 1",
"pStr.length()",
"pStr.length",
"pStr",
"1",
"{\n\t\t\treturn \"\";\n\t\t}",
"return \"\";",
"\"\"",
"StringBuffer sb = new StringBuffer(pStr);",
"sb",
"new StringBuffer(pStr)",
"return sb.reverse().toString();",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"String pStr",
"pStr",
"/**\n\t * 余りを求める。\n\t * @param a\n\t * @param b\n\t * @return 余り。余りがマイナスの時はプラスで返す。\n\t */\n\tpublic static long myMod(long a, long b) {\n\t\tlong ret = 0;\n\n\t\tret = a % b;\n\n\t\tif (ret < 0) {\n\t\t\tret += b;\n\t\t}\n\n\t\treturn ret;\n\t}",
"myMod",
"{\n\t\tlong ret = 0;\n\n\t\tret = a % b;\n\n\t\tif (ret < 0) {\n\t\t\tret += b;\n\t\t}\n\n\t\treturn ret;\n\t}",
"long ret = 0;",
"ret",
"0",
"ret = a % b",
"ret",
"a % b",
"a",
"b",
"if (ret < 0) {\n\t\t\tret += b;\n\t\t}",
"ret < 0",
"ret",
"0",
"{\n\t\t\tret += b;\n\t\t}",
"ret += b",
"ret",
"b",
"return ret;",
"ret",
"long a",
"a",
"long b",
"b",
"/**\n\t * 乗数を求める ※mod対応\n\t * @param kisu 基数\n\t * @param josu 乗数\n\t * @param primeNumMod_0 法 mod値 使わない場合は「0」\n\t * @return\n\t */\n\tpublic static long myPowWithMod(long kisu, long josu, long primeNumMod_0) {\n\n\t\tlong ans = 1;\n\n\t\t//乗数が0の場合→1\n\t\tif (josu == 0)\n\t\t\treturn 1;\n\n\t\tif (primeNumMod_0 == 0) {\n\t\t\t//modを使わないとき\n\n\t\t\twhile (josu > 0) {\n\n\t\t\t\tif (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= kisu;\n\t\t\t\t\tjosu = josu / 2;\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= kisu;\n\t\t\t\t\tjosu--;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn ans;\n\n\t\t} else {\n\t\t\t//modを使うとき\n\n\t\t\t//初めに桁を落とす\n\t\t\tkisu = myMod(kisu, primeNumMod_0);\n\n\t\t\twhile (josu > 0) {\n\n\t\t\t\tif (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu = josu / 2;\n\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu--;\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn myMod(ans, primeNumMod_0);\n\n\t\t}\n\n\t}",
"myPowWithMod",
"{\n\n\t\tlong ans = 1;\n\n\t\t//乗数が0の場合→1\n\t\tif (josu == 0)\n\t\t\treturn 1;\n\n\t\tif (primeNumMod_0 == 0) {\n\t\t\t//modを使わないとき\n\n\t\t\twhile (josu > 0) {\n\n\t\t\t\tif (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= kisu;\n\t\t\t\t\tjosu = josu / 2;\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= kisu;\n\t\t\t\t\tjosu--;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn ans;\n\n\t\t} else {\n\t\t\t//modを使うとき\n\n\t\t\t//初めに桁を落とす\n\t\t\tkisu = myMod(kisu, primeNumMod_0);\n\n\t\t\twhile (josu > 0) {\n\n\t\t\t\tif (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu = josu / 2;\n\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu--;\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn myMod(ans, primeNumMod_0);\n\n\t\t}\n\n\t}",
"long ans = 1;",
"ans",
"1",
"if (josu == 0)\n\t\t\treturn 1;",
"josu == 0",
"josu",
"0",
"return 1;",
"1",
"if (primeNumMod_0 == 0) {\n\t\t\t//modを使わないとき\n\n\t\t\twhile (josu > 0) {\n\n\t\t\t\tif (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= kisu;\n\t\t\t\t\tjosu = josu / 2;\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= kisu;\n\t\t\t\t\tjosu--;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn ans;\n\n\t\t} else {\n\t\t\t//modを使うとき\n\n\t\t\t//初めに桁を落とす\n\t\t\tkisu = myMod(kisu, primeNumMod_0);\n\n\t\t\twhile (josu > 0) {\n\n\t\t\t\tif (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu = josu / 2;\n\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu--;\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn myMod(ans, primeNumMod_0);\n\n\t\t}",
"primeNumMod_0 == 0",
"primeNumMod_0",
"0",
"{\n\t\t\t//modを使わないとき\n\n\t\t\twhile (josu > 0) {\n\n\t\t\t\tif (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= kisu;\n\t\t\t\t\tjosu = josu / 2;\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= kisu;\n\t\t\t\t\tjosu--;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn ans;\n\n\t\t}",
"while (josu > 0) {\n\n\t\t\t\tif (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= kisu;\n\t\t\t\t\tjosu = josu / 2;\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= kisu;\n\t\t\t\t\tjosu--;\n\t\t\t\t}\n\t\t\t}",
"josu > 0",
"josu",
"0",
"{\n\n\t\t\t\tif (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= kisu;\n\t\t\t\t\tjosu = josu / 2;\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= kisu;\n\t\t\t\t\tjosu--;\n\t\t\t\t}\n\t\t\t}",
"if (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= kisu;\n\t\t\t\t\tjosu = josu / 2;\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= kisu;\n\t\t\t\t\tjosu--;\n\t\t\t\t}",
"josu % 2 == 0",
"josu % 2",
"josu",
"2",
"0",
"{\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= kisu;\n\t\t\t\t\tjosu = josu / 2;\n\t\t\t\t}",
"kisu *= kisu",
"kisu",
"kisu",
"josu = josu / 2",
"josu",
"josu / 2",
"josu",
"2",
"{\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= kisu;\n\t\t\t\t\tjosu--;\n\t\t\t\t}",
"ans *= kisu",
"ans",
"kisu",
"josu--",
"josu",
"return ans;",
"ans",
"{\n\t\t\t//modを使うとき\n\n\t\t\t//初めに桁を落とす\n\t\t\tkisu = myMod(kisu, primeNumMod_0);\n\n\t\t\twhile (josu > 0) {\n\n\t\t\t\tif (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu = josu / 2;\n\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu--;\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn myMod(ans, primeNumMod_0);\n\n\t\t}",
"kisu = myMod(kisu, primeNumMod_0)",
"kisu",
"myMod(kisu, primeNumMod_0)",
"myMod",
"kisu",
"primeNumMod_0",
"while (josu > 0) {\n\n\t\t\t\tif (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu = josu / 2;\n\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu--;\n\n\t\t\t\t}\n\t\t\t}",
"josu > 0",
"josu",
"0",
"{\n\n\t\t\t\tif (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu = josu / 2;\n\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu--;\n\n\t\t\t\t}\n\t\t\t}",
"if (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu = josu / 2;\n\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu--;\n\n\t\t\t\t}",
"josu % 2 == 0",
"josu % 2",
"josu",
"2",
"0",
"{\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu = josu / 2;\n\n\t\t\t\t}",
"kisu *= myMod(kisu, primeNumMod_0)",
"kisu",
"myMod(kisu, primeNumMod_0)",
"myMod",
"kisu",
"primeNumMod_0",
"josu = josu / 2",
"josu",
"josu / 2",
"josu",
"2",
"{\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu--;\n\n\t\t\t\t}",
"ans *= myMod(kisu, primeNumMod_0)",
"ans",
"myMod(kisu, primeNumMod_0)",
"myMod",
"kisu",
"primeNumMod_0",
"josu--",
"josu",
"return myMod(ans, primeNumMod_0);",
"myMod(ans, primeNumMod_0)",
"myMod",
"ans",
"primeNumMod_0",
"long kisu",
"kisu",
"long josu",
"josu",
"long primeNumMod_0",
"primeNumMod_0",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a = scan.nextInt();\n\n\t\tSystem.out.println(a + a * a + a * a * a);\n\t}\n\n\t//***********************以下共通関数************************************************\n\t/**\n\t * 文字列を反転して返す\n\t * @param pStr 文字列\n\t * @return 反転した文字列\n\t */\n\tpublic static String myReverse(String pStr) {\n\t\tif (pStr.length() < 1) {\n\t\t\treturn \"\";\n\t\t}\n\n\t\tStringBuffer sb = new StringBuffer(pStr);\n\t\treturn sb.reverse().toString();\n\t}\n\n\t/**\n\t * 余りを求める。\n\t * @param a\n\t * @param b\n\t * @return 余り。余りがマイナスの時はプラスで返す。\n\t */\n\tpublic static long myMod(long a, long b) {\n\t\tlong ret = 0;\n\n\t\tret = a % b;\n\n\t\tif (ret < 0) {\n\t\t\tret += b;\n\t\t}\n\n\t\treturn ret;\n\t}\n\n\t/**\n\t * 乗数を求める ※mod対応\n\t * @param kisu 基数\n\t * @param josu 乗数\n\t * @param primeNumMod_0 法 mod値 使わない場合は「0」\n\t * @return\n\t */\n\tpublic static long myPowWithMod(long kisu, long josu, long primeNumMod_0) {\n\n\t\tlong ans = 1;\n\n\t\t//乗数が0の場合→1\n\t\tif (josu == 0)\n\t\t\treturn 1;\n\n\t\tif (primeNumMod_0 == 0) {\n\t\t\t//modを使わないとき\n\n\t\t\twhile (josu > 0) {\n\n\t\t\t\tif (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= kisu;\n\t\t\t\t\tjosu = josu / 2;\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= kisu;\n\t\t\t\t\tjosu--;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn ans;\n\n\t\t} else {\n\t\t\t//modを使うとき\n\n\t\t\t//初めに桁を落とす\n\t\t\tkisu = myMod(kisu, primeNumMod_0);\n\n\t\t\twhile (josu > 0) {\n\n\t\t\t\tif (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu = josu / 2;\n\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu--;\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn myMod(ans, primeNumMod_0);\n\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a = scan.nextInt();\n\n\t\tSystem.out.println(a + a * a + a * a * a);\n\t}\n\n\t//***********************以下共通関数************************************************\n\t/**\n\t * 文字列を反転して返す\n\t * @param pStr 文字列\n\t * @return 反転した文字列\n\t */\n\tpublic static String myReverse(String pStr) {\n\t\tif (pStr.length() < 1) {\n\t\t\treturn \"\";\n\t\t}\n\n\t\tStringBuffer sb = new StringBuffer(pStr);\n\t\treturn sb.reverse().toString();\n\t}\n\n\t/**\n\t * 余りを求める。\n\t * @param a\n\t * @param b\n\t * @return 余り。余りがマイナスの時はプラスで返す。\n\t */\n\tpublic static long myMod(long a, long b) {\n\t\tlong ret = 0;\n\n\t\tret = a % b;\n\n\t\tif (ret < 0) {\n\t\t\tret += b;\n\t\t}\n\n\t\treturn ret;\n\t}\n\n\t/**\n\t * 乗数を求める ※mod対応\n\t * @param kisu 基数\n\t * @param josu 乗数\n\t * @param primeNumMod_0 法 mod値 使わない場合は「0」\n\t * @return\n\t */\n\tpublic static long myPowWithMod(long kisu, long josu, long primeNumMod_0) {\n\n\t\tlong ans = 1;\n\n\t\t//乗数が0の場合→1\n\t\tif (josu == 0)\n\t\t\treturn 1;\n\n\t\tif (primeNumMod_0 == 0) {\n\t\t\t//modを使わないとき\n\n\t\t\twhile (josu > 0) {\n\n\t\t\t\tif (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= kisu;\n\t\t\t\t\tjosu = josu / 2;\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= kisu;\n\t\t\t\t\tjosu--;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn ans;\n\n\t\t} else {\n\t\t\t//modを使うとき\n\n\t\t\t//初めに桁を落とす\n\t\t\tkisu = myMod(kisu, primeNumMod_0);\n\n\t\t\twhile (josu > 0) {\n\n\t\t\t\tif (josu % 2 == 0) {\n\t\t\t\t\t//累乗が偶数の時\n\n\t\t\t\t\tkisu *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu = josu / 2;\n\n\t\t\t\t} else {\n\t\t\t\t\t//累乗が奇数の時\n\t\t\t\t\tans *= myMod(kisu, primeNumMod_0);\n\t\t\t\t\tjosu--;\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn myMod(ans, primeNumMod_0);\n\n\t\t}\n\n\t}\n\n}",
"Main"
]
|
import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
System.out.println(a + a * a + a * a * a);
}
//***********************以下共通関数************************************************
/**
* 文字列を反転して返す
* @param pStr 文字列
* @return 反転した文字列
*/
public static String myReverse(String pStr) {
if (pStr.length() < 1) {
return "";
}
StringBuffer sb = new StringBuffer(pStr);
return sb.reverse().toString();
}
/**
* 余りを求める。
* @param a
* @param b
* @return 余り。余りがマイナスの時はプラスで返す。
*/
public static long myMod(long a, long b) {
long ret = 0;
ret = a % b;
if (ret < 0) {
ret += b;
}
return ret;
}
/**
* 乗数を求める ※mod対応
* @param kisu 基数
* @param josu 乗数
* @param primeNumMod_0 法 mod値 使わない場合は「0」
* @return
*/
public static long myPowWithMod(long kisu, long josu, long primeNumMod_0) {
long ans = 1;
//乗数が0の場合→1
if (josu == 0)
return 1;
if (primeNumMod_0 == 0) {
//modを使わないとき
while (josu > 0) {
if (josu % 2 == 0) {
//累乗が偶数の時
kisu *= kisu;
josu = josu / 2;
} else {
//累乗が奇数の時
ans *= kisu;
josu--;
}
}
return ans;
} else {
//modを使うとき
//初めに桁を落とす
kisu = myMod(kisu, primeNumMod_0);
while (josu > 0) {
if (josu % 2 == 0) {
//累乗が偶数の時
kisu *= myMod(kisu, primeNumMod_0);
josu = josu / 2;
} else {
//累乗が奇数の時
ans *= myMod(kisu, primeNumMod_0);
josu--;
}
}
return myMod(ans, primeNumMod_0);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
2,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
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
],
[
30,
30
],
[
30,
31
],
[
30,
32
],
[
30,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tint pow2a = a * a;\n\t\tint pow3a = pow2a * a;\n\t\tint ans = a + pow2a + pow3a;\n\n\t\tSystem.out.println(ans);\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\t\tint a = scan.nextInt();\n\t\tint pow2a = a * a;\n\t\tint pow3a = pow2a * a;\n\t\tint ans = a + pow2a + pow3a;\n\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tint pow2a = a * a;\n\t\tint pow3a = pow2a * a;\n\t\tint ans = a + pow2a + pow3a;\n\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tint pow2a = a * a;\n\t\tint pow3a = pow2a * a;\n\t\tint ans = a + pow2a + pow3a;\n\n\t\tSystem.out.println(ans);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int pow2a = a * a;",
"pow2a",
"a * a",
"a",
"a",
"int pow3a = pow2a * a;",
"pow3a",
"pow2a * a",
"pow2a",
"a",
"int ans = a + pow2a + pow3a;",
"ans",
"a + pow2a + pow3a",
"a + pow2a + pow3a",
"a",
"pow2a",
"pow3a",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tint pow2a = a * a;\n\t\tint pow3a = pow2a * a;\n\t\tint ans = a + pow2a + pow3a;\n\n\t\tSystem.out.println(ans);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tint pow2a = a * a;\n\t\tint pow3a = pow2a * a;\n\t\tint ans = a + pow2a + pow3a;\n\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int pow2a = a * a;
int pow3a = pow2a * a;
int ans = a + pow2a + pow3a;
System.out.println(ans);
}
}
|
[
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,
18,
13,
13,
2,
2,
2,
2,
13,
13,
13,
2,
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
],
[
42,
11
],
[
42,
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
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
29,
29
],
[
29,
30
],
[
31,
31
],
[
31,
32
],
[
31,
33
],
[
31,
34
],
[
29,
35
],
[
35,
36
],
[
35,
37
],
[
29,
38
],
[
12,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
]
| [
"import java.util.ArrayList;\nimport java.util.LinkedList;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n \n System.out.println(a*a*a + a*a + a);\n\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.LinkedList;",
"LinkedList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n \n System.out.println(a*a*a + a*a + a);\n\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n \n System.out.println(a*a*a + a*a + a);\n\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n \n System.out.println(a*a*a + a*a + a);\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(a*a*a + a*a + a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*a*a + a*a + a",
"a*a*a + a*a + a",
"a*a*a",
"a*a*a",
"a",
"a",
"a",
"a*a",
"a",
"a",
"a",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n \n System.out.println(a*a*a + a*a + a);\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n \n System.out.println(a*a*a + a*a + a);\n\n }\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.LinkedList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
System.out.println(a*a*a + a*a + a);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
41,
5
],
[
41,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
20,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
22,
26
],
[
20,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
27,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
6,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
]
| [
"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 int sum = n + (int) Math.pow(n, 2) + (int) Math.pow(n, 3);\n System.out.println(sum);\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 sum = n + (int) Math.pow(n, 2) + (int) Math.pow(n, 3);\n System.out.println(sum);\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int sum = n + (int) Math.pow(n, 2) + (int) Math.pow(n, 3);\n System.out.println(sum);\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int sum = n + (int) Math.pow(n, 2) + (int) Math.pow(n, 3);\n System.out.println(sum);\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int sum = n + (int) Math.pow(n, 2) + (int) Math.pow(n, 3);",
"sum",
"n + (int) Math.pow(n, 2) + (int) Math.pow(n, 3)",
"n + (int) Math.pow(n, 2) + (int) Math.pow(n, 3)",
"n",
"(int) Math.pow(n, 2)",
"Math.pow",
"Math",
"n",
"2",
"(int) Math.pow(n, 3)",
"Math.pow",
"Math",
"n",
"3",
"System.out.println(sum)",
"System.out.println",
"System.out",
"System",
"System.out",
"sum",
"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 sum = n + (int) Math.pow(n, 2) + (int) Math.pow(n, 3);\n System.out.println(sum);\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 sum = n + (int) Math.pow(n, 2) + (int) Math.pow(n, 3);\n System.out.println(sum);\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 sum = n + (int) Math.pow(n, 2) + (int) Math.pow(n, 3);
System.out.println(sum);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
2,
2,
17,
17,
17,
17,
41,
13,
20,
17,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
4,
18,
13,
13,
17,
4,
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
],
[
64,
14
],
[
64,
15
],
[
15,
16
],
[
15,
17
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
64,
24
],
[
24,
25
],
[
24,
26
],
[
64,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
41,
42
],
[
31,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
51,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
56,
60
],
[
29,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\npublic class Main {\n\n\tstatic int dp[][] = new int[(1 << 21) + 1][21];\n\tstatic int dist[][] = new int[21][21];\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint a = Integer.parseInt(br.readLine());\n\n\t\tSystem.out.println((int) (a + Math.pow(a, 2) + Math.pow(a, 3)));\n\t}\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.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\n\tstatic int dp[][] = new int[(1 << 21) + 1][21];\n\tstatic int dist[][] = new int[21][21];\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint a = Integer.parseInt(br.readLine());\n\n\t\tSystem.out.println((int) (a + Math.pow(a, 2) + Math.pow(a, 3)));\n\t}\n}",
"Main",
"static int dp[][] = new int[(1 << 21) + 1][21];",
"dp",
"new int[(1 << 21) + 1][21]",
"(1 << 21) + 1",
"(1 << 21)",
"1",
"21",
"1",
"21",
"static int dist[][] = new int[21][21];",
"dist",
"new int[21][21]",
"21",
"21",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint a = Integer.parseInt(br.readLine());\n\n\t\tSystem.out.println((int) (a + Math.pow(a, 2) + Math.pow(a, 3)));\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint a = Integer.parseInt(br.readLine());\n\n\t\tSystem.out.println((int) (a + Math.pow(a, 2) + Math.pow(a, 3)));\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int a = Integer.parseInt(br.readLine());",
"a",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"System.out.println((int) (a + Math.pow(a, 2) + Math.pow(a, 3)))",
"System.out.println",
"System.out",
"System",
"System.out",
"(int) (a + Math.pow(a, 2) + Math.pow(a, 3))",
"a + Math.pow(a, 2) + Math.pow(a, 3)",
"a",
"Math.pow(a, 2)",
"Math.pow",
"Math",
"a",
"2",
"Math.pow(a, 3)",
"Math.pow",
"Math",
"a",
"3",
"String[] args",
"args",
"public class Main {\n\n\tstatic int dp[][] = new int[(1 << 21) + 1][21];\n\tstatic int dist[][] = new int[21][21];\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint a = Integer.parseInt(br.readLine());\n\n\t\tSystem.out.println((int) (a + Math.pow(a, 2) + Math.pow(a, 3)));\n\t}\n}",
"public class Main {\n\n\tstatic int dp[][] = new int[(1 << 21) + 1][21];\n\tstatic int dist[][] = new int[21][21];\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint a = Integer.parseInt(br.readLine());\n\n\t\tSystem.out.println((int) (a + Math.pow(a, 2) + Math.pow(a, 3)));\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
static int dp[][] = new int[(1 << 21) + 1][21];
static int dist[][] = new int[21][21];
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(br.readLine());
System.out.println((int) (a + Math.pow(a, 2) + Math.pow(a, 3)));
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
43,
8
],
[
43,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
11,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
30,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
35,
39
],
[
9,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
]
| [
"import java.util.Scanner;\nimport java.lang.Math;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tint a;\n\t\ta = input.nextInt();\n\t\tSystem.out.println((int)(a + Math.pow(a,2) + Math.pow(a,3)));\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.lang.Math;",
"Math",
"java.lang",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tint a;\n\t\ta = input.nextInt();\n\t\tSystem.out.println((int)(a + Math.pow(a,2) + Math.pow(a,3)));\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tint a;\n\t\ta = input.nextInt();\n\t\tSystem.out.println((int)(a + Math.pow(a,2) + Math.pow(a,3)));\n\t}",
"main",
"{\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tint a;\n\t\ta = input.nextInt();\n\t\tSystem.out.println((int)(a + Math.pow(a,2) + Math.pow(a,3)));\n\t}",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"int a;",
"a",
"a = input.nextInt()",
"a",
"input.nextInt()",
"input.nextInt",
"input",
"System.out.println((int)(a + Math.pow(a,2) + Math.pow(a,3)))",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)(a + Math.pow(a,2) + Math.pow(a,3))",
"a + Math.pow(a,2) + Math.pow(a,3)",
"a",
"Math.pow(a,2)",
"Math.pow",
"Math",
"a",
"2",
"Math.pow(a,3)",
"Math.pow",
"Math",
"a",
"3",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tint a;\n\t\ta = input.nextInt();\n\t\tSystem.out.println((int)(a + Math.pow(a,2) + Math.pow(a,3)));\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tint a;\n\t\ta = input.nextInt();\n\t\tSystem.out.println((int)(a + Math.pow(a,2) + Math.pow(a,3)));\n\t}\n}",
"Main"
]
| import java.util.Scanner;
import java.lang.Math;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int a;
a = input.nextInt();
System.out.println((int)(a + Math.pow(a,2) + Math.pow(a,3)));
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
124,
17
],
[
124,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
36,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
42,
42
],
[
42,
43
],
[
42,
44
],
[
42,
45
],
[
20,
46
],
[
46,
47
],
[
47,
48
],
[
20,
49
],
[
49,
50
],
[
50,
51
],
[
18,
52
],
[
52,
53
],
[
124,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
54,
58
],
[
58,
59
],
[
54,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
54,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
69,
78
],
[
78,
79
],
[
78,
80
],
[
68,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
54,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
92,
93
],
[
54,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
101,
109
],
[
109,
110
],
[
110,
111
],
[
101,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
117,
118
],
[
96,
119
],
[
119,
120
],
[
94,
121
],
[
121,
122
],
[
0,
123
],
[
123,
124
],
[
123,
125
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner();\n PrintWriter out = new PrintWriter(System.out);\n int a = sc.nextInt();\n out.println(a + a * a + a * a * a);\n out.flush();\n out.close();\n }\n\n static class Scanner {\n BufferedReader br;\n StringTokenizer st;\n\n Scanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) throws IOException {\n int[] ans = new int[n];\n for (int i = 0; i < n; i++)\n ans[i] = nextInt();\n return ans;\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner();\n PrintWriter out = new PrintWriter(System.out);\n int a = sc.nextInt();\n out.println(a + a * a + a * a * a);\n out.flush();\n out.close();\n }\n\n static class Scanner {\n BufferedReader br;\n StringTokenizer st;\n\n Scanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) throws IOException {\n int[] ans = new int[n];\n for (int i = 0; i < n; i++)\n ans[i] = nextInt();\n return ans;\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner();\n PrintWriter out = new PrintWriter(System.out);\n int a = sc.nextInt();\n out.println(a + a * a + a * a * a);\n out.flush();\n out.close();\n }",
"main",
"{\n Scanner sc = new Scanner();\n PrintWriter out = new PrintWriter(System.out);\n int a = sc.nextInt();\n out.println(a + a * a + a * a * a);\n out.flush();\n out.close();\n }",
"Scanner sc = new Scanner();",
"sc",
"new Scanner()",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"out.println(a + a * a + a * a * a)",
"out.println",
"out",
"a + a * a + a * a * a",
"a + a * a + a * a * a",
"a",
"a * a",
"a",
"a",
"a * a * a",
"a * a * a",
"a",
"a",
"a",
"out.flush()",
"out.flush",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Scanner {\n BufferedReader br;\n StringTokenizer st;\n\n Scanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) throws IOException {\n int[] ans = new int[n];\n for (int i = 0; i < n; i++)\n ans[i] = nextInt();\n return ans;\n }\n }",
"Scanner",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"Scanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"Scanner",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() throws IOException {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public int[] nextIntArray(int n) throws IOException {\n int[] ans = new int[n];\n for (int i = 0; i < n; i++)\n ans[i] = nextInt();\n return ans;\n }",
"nextIntArray",
"{\n int[] ans = new int[n];\n for (int i = 0; i < n; i++)\n ans[i] = nextInt();\n return ans;\n }",
"int[] ans = new int[n];",
"ans",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n ans[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"ans[i] = nextInt();",
"ans[i] = nextInt()",
"ans[i]",
"ans",
"i",
"nextInt()",
"nextInt",
"return ans;",
"ans",
"int n",
"n",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner();\n PrintWriter out = new PrintWriter(System.out);\n int a = sc.nextInt();\n out.println(a + a * a + a * a * a);\n out.flush();\n out.close();\n }\n\n static class Scanner {\n BufferedReader br;\n StringTokenizer st;\n\n Scanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) throws IOException {\n int[] ans = new int[n];\n for (int i = 0; i < n; i++)\n ans[i] = nextInt();\n return ans;\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner();\n PrintWriter out = new PrintWriter(System.out);\n int a = sc.nextInt();\n out.println(a + a * a + a * a * a);\n out.flush();\n out.close();\n }\n\n static class Scanner {\n BufferedReader br;\n StringTokenizer st;\n\n Scanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) throws IOException {\n int[] ans = new int[n];\n for (int i = 0; i < n; i++)\n ans[i] = nextInt();\n return ans;\n }\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.*;
public class Main {
public static void main(String[] args) throws IOException {
Scanner sc = new Scanner();
PrintWriter out = new PrintWriter(System.out);
int a = sc.nextInt();
out.println(a + a * a + a * a * a);
out.flush();
out.close();
}
static class Scanner {
BufferedReader br;
StringTokenizer st;
Scanner() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() throws IOException {
while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());
return st.nextToken();
}
int nextInt() throws IOException {
return Integer.parseInt(next());
}
public int[] nextIntArray(int n) throws IOException {
int[] ans = new int[n];
for (int i = 0; i < n; i++)
ans[i] = nextInt();
return ans;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
39,
8
],
[
39,
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
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
9,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
]
| [
"import java.util.*;\nimport java.io.*;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner in=new Scanner(System.in);\n\t\tint a=in.nextInt();\n\t\tSystem.out.println(a+(a*a)+(a*a*a));\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner in=new Scanner(System.in);\n\t\tint a=in.nextInt();\n\t\tSystem.out.println(a+(a*a)+(a*a*a));\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner in=new Scanner(System.in);\n\t\tint a=in.nextInt();\n\t\tSystem.out.println(a+(a*a)+(a*a*a));\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner in=new Scanner(System.in);\n\t\tint a=in.nextInt();\n\t\tSystem.out.println(a+(a*a)+(a*a*a));\n\t}",
"Scanner in=new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int a=in.nextInt();",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"System.out.println(a+(a*a)+(a*a*a))",
"System.out.println",
"System.out",
"System",
"System.out",
"a+(a*a)+(a*a*a)",
"a+(a*a)+(a*a*a)",
"a",
"(a*a)",
"a",
"a",
"(a*a*a)",
"a*a*a",
"a",
"a",
"a",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner in=new Scanner(System.in);\n\t\tint a=in.nextInt();\n\t\tSystem.out.println(a+(a*a)+(a*a*a));\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 in=new Scanner(System.in);\n\t\tint a=in.nextInt();\n\t\tSystem.out.println(a+(a*a)+(a*a*a));\n\t}\n\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner in=new Scanner(System.in);
int a=in.nextInt();
System.out.println(a+(a*a)+(a*a*a));
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
36,
5
],
[
36,
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
],
[
17,
22
],
[
23,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
6,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
]
| [
"\nimport java.util.*;\n public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int t = sc.nextInt();\n\n System.out.println(t+(t*t)+(t*t*t));\n \n \n \n \n\n\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 t = sc.nextInt();\n\n System.out.println(t+(t*t)+(t*t*t));\n \n \n \n \n\n\n}\n\n }",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int t = sc.nextInt();\n\n System.out.println(t+(t*t)+(t*t*t));\n \n \n \n \n\n\n}",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int t = sc.nextInt();\n\n System.out.println(t+(t*t)+(t*t*t));\n \n \n \n \n\n\n}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int t = sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(t+(t*t)+(t*t*t))",
"System.out.println",
"System.out",
"System",
"System.out",
"t+(t*t)+(t*t*t)",
"t+(t*t)+(t*t*t)",
"t",
"(t*t)",
"t",
"t",
"(t*t*t)",
"t*t*t",
"t",
"t",
"t",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int t = sc.nextInt();\n\n System.out.println(t+(t*t)+(t*t*t));\n \n \n \n \n\n\n}\n\n }",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int t = sc.nextInt();\n\n System.out.println(t+(t*t)+(t*t*t));\n \n \n \n \n\n\n}\n\n }",
"Main"
]
|
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int t = sc.nextInt();
System.out.println(t+(t*t)+(t*t*t));
}
}
|
[
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,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
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
],
[
42,
11
],
[
42,
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
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
35,
35
],
[
35,
36
],
[
35,
37
],
[
35,
38
],
[
12,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
]
| [
"import java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.Scanner;\n\npublic class Main {\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tSystem.out.println(n+n*n+n*n*n);\n\t}\n\n}",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.HashSet;",
"HashSet",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tSystem.out.println(n+n*n+n*n*n);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tSystem.out.println(n+n*n+n*n*n);\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tSystem.out.println(n+n*n+n*n*n);\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int n = s.nextInt();",
"n",
"s.nextInt()",
"s.nextInt",
"s",
"System.out.println(n+n*n+n*n*n)",
"System.out.println",
"System.out",
"System",
"System.out",
"n+n*n+n*n*n",
"n+n*n+n*n*n",
"n",
"n*n",
"n",
"n",
"n*n*n",
"n*n*n",
"n",
"n",
"n",
"String[] args",
"args",
"public class Main {\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tSystem.out.println(n+n*n+n*n*n);\n\t}\n\n}",
"public class Main {\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tSystem.out.println(n+n*n+n*n*n);\n\t}\n\n}",
"Main"
]
| import java.util.HashMap;
import java.util.HashSet;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int n = s.nextInt();
System.out.println(n+n*n+n*n*n);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
36,
5
],
[
36,
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
],
[
17,
22
],
[
23,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
6,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
]
| [
"import java.util.*;\npublic class Main\n{\n public static void main(String args[])\n {\n Scanner sc=new Scanner(System.in);\n int x=sc.nextInt();\n System.out.println((x)+(x*x)+(x*x*x));\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n public static void main(String args[])\n {\n Scanner sc=new Scanner(System.in);\n int x=sc.nextInt();\n System.out.println((x)+(x*x)+(x*x*x));\n }\n}",
"Main",
"public static void main(String args[])\n {\n Scanner sc=new Scanner(System.in);\n int x=sc.nextInt();\n System.out.println((x)+(x*x)+(x*x*x));\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n int x=sc.nextInt();\n System.out.println((x)+(x*x)+(x*x*x));\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x=sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println((x)+(x*x)+(x*x*x))",
"System.out.println",
"System.out",
"System",
"System.out",
"(x)+(x*x)+(x*x*x)",
"(x)+(x*x)+(x*x*x)",
"(x)",
"(x*x)",
"x",
"x",
"(x*x*x)",
"x*x*x",
"x",
"x",
"x",
"String args[]",
"args",
"public class Main\n{\n public static void main(String args[])\n {\n Scanner sc=new Scanner(System.in);\n int x=sc.nextInt();\n System.out.println((x)+(x*x)+(x*x*x));\n }\n}",
"public class Main\n{\n public static void main(String args[])\n {\n Scanner sc=new Scanner(System.in);\n int x=sc.nextInt();\n System.out.println((x)+(x*x)+(x*x*x));\n }\n}",
"Main"
]
| import java.util.*;
public class Main
{
public static void main(String args[])
{
Scanner sc=new Scanner(System.in);
int x=sc.nextInt();
System.out.println((x)+(x*x)+(x*x*x));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
14,
2,
13,
17,
29,
13,
41,
13,
4,
13,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
29,
2,
13,
13,
29,
2,
2,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
4,
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
],
[
10,
11
],
[
10,
12
],
[
9,
13
],
[
13,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
23,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
29,
39
],
[
39,
40
],
[
41,
41
],
[
41,
42
],
[
41,
43
],
[
41,
44
],
[
6,
45
],
[
45,
46
],
[
6,
47
],
[
47,
48
],
[
4,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
51,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
51,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
70,
74
],
[
69,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
75,
79
],
[
69,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
80,
84
],
[
49,
85
],
[
85,
86
]
]
| [
"import java.util.*;\nclass Main{\n\tint pow(int x,int y){\n\t\tif(y==0)\n\t\t\treturn 1;\n\t\tif(y==1)\n\t\t\treturn x;\n\t\tint temp=pow(x,y/2);\n\t\tif(y%2==0)\n\t\t\treturn temp*temp;\n\t\telse\n\t\t\treturn x*temp*temp;\n\t}\n\tpublic static void main(String[] args){\n\t\tMain obj=new Main();\n\t\tScanner sc=new Scanner(System.in);\n\t\tint a=sc.nextInt();\n\t\tSystem.out.println(obj.pow(a,1)+obj.pow(a,2)+obj.pow(a,3));\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tint pow(int x,int y){\n\t\tif(y==0)\n\t\t\treturn 1;\n\t\tif(y==1)\n\t\t\treturn x;\n\t\tint temp=pow(x,y/2);\n\t\tif(y%2==0)\n\t\t\treturn temp*temp;\n\t\telse\n\t\t\treturn x*temp*temp;\n\t}\n\tpublic static void main(String[] args){\n\t\tMain obj=new Main();\n\t\tScanner sc=new Scanner(System.in);\n\t\tint a=sc.nextInt();\n\t\tSystem.out.println(obj.pow(a,1)+obj.pow(a,2)+obj.pow(a,3));\n\t}\n}",
"Main",
"int pow(int x,int y){\n\t\tif(y==0)\n\t\t\treturn 1;\n\t\tif(y==1)\n\t\t\treturn x;\n\t\tint temp=pow(x,y/2);\n\t\tif(y%2==0)\n\t\t\treturn temp*temp;\n\t\telse\n\t\t\treturn x*temp*temp;\n\t}",
"pow",
"{\n\t\tif(y==0)\n\t\t\treturn 1;\n\t\tif(y==1)\n\t\t\treturn x;\n\t\tint temp=pow(x,y/2);\n\t\tif(y%2==0)\n\t\t\treturn temp*temp;\n\t\telse\n\t\t\treturn x*temp*temp;\n\t}",
"if(y==0)\n\t\t\treturn 1;",
"y==0",
"y",
"0",
"return 1;",
"1",
"if(y==1)\n\t\t\treturn x;",
"y==1",
"y",
"1",
"return x;",
"x",
"int temp=pow(x,y/2);",
"temp",
"pow(x,y/2)",
"pow",
"x",
"y/2",
"y",
"2",
"if(y%2==0)\n\t\t\treturn temp*temp;\n\t\telse\n\t\t\treturn x*temp*temp;",
"y%2==0",
"y%2",
"y",
"2",
"0",
"return temp*temp;",
"temp*temp",
"temp",
"temp",
"return x*temp*temp;",
"x*temp*temp",
"x*temp*temp",
"x",
"temp",
"temp",
"int x",
"x",
"int y",
"y",
"public static void main(String[] args){\n\t\tMain obj=new Main();\n\t\tScanner sc=new Scanner(System.in);\n\t\tint a=sc.nextInt();\n\t\tSystem.out.println(obj.pow(a,1)+obj.pow(a,2)+obj.pow(a,3));\n\t}",
"main",
"{\n\t\tMain obj=new Main();\n\t\tScanner sc=new Scanner(System.in);\n\t\tint a=sc.nextInt();\n\t\tSystem.out.println(obj.pow(a,1)+obj.pow(a,2)+obj.pow(a,3));\n\t}",
"Main obj=new Main();",
"obj",
"new Main()",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a=sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(obj.pow(a,1)+obj.pow(a,2)+obj.pow(a,3))",
"System.out.println",
"System.out",
"System",
"System.out",
"obj.pow(a,1)+obj.pow(a,2)+obj.pow(a,3)",
"obj.pow(a,1)+obj.pow(a,2)+obj.pow(a,3)",
"obj.pow(a,1)",
"obj.pow",
"obj",
"a",
"1",
"obj.pow(a,2)",
"obj.pow",
"obj",
"a",
"2",
"obj.pow(a,3)",
"obj.pow",
"obj",
"a",
"3",
"String[] args",
"args"
]
| import java.util.*;
class Main{
int pow(int x,int y){
if(y==0)
return 1;
if(y==1)
return x;
int temp=pow(x,y/2);
if(y%2==0)
return temp*temp;
else
return x*temp*temp;
}
public static void main(String[] args){
Main obj=new Main();
Scanner sc=new Scanner(System.in);
int a=sc.nextInt();
System.out.println(obj.pow(a,1)+obj.pow(a,2)+obj.pow(a,3));
}
} |
[
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,
4,
18,
18,
13,
13,
2,
2,
13,
2,
13,
13,
2,
2,
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
],
[
45,
11
],
[
45,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
31,
37
],
[
38,
38
],
[
38,
39
],
[
38,
40
],
[
38,
41
],
[
12,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
]
| [
"import java.util.*;\nimport java.util.function.*;\nimport java.math.*;\npublic class Main {\n public static void main(String[] args){\n\t\t\tScanner s = new Scanner(System.in);\n\t\tint N = Integer.valueOf(s.next());\n\t\t\n\t\tSystem.out.println((N + N * N + N * N * N));\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.function.*;",
"function.*",
"java.util",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n public static void main(String[] args){\n\t\t\tScanner s = new Scanner(System.in);\n\t\tint N = Integer.valueOf(s.next());\n\t\t\n\t\tSystem.out.println((N + N * N + N * N * N));\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\t\tScanner s = new Scanner(System.in);\n\t\tint N = Integer.valueOf(s.next());\n\t\t\n\t\tSystem.out.println((N + N * N + N * N * N));\n\t}",
"main",
"{\n\t\t\tScanner s = new Scanner(System.in);\n\t\tint N = Integer.valueOf(s.next());\n\t\t\n\t\tSystem.out.println((N + N * N + N * N * N));\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int N = Integer.valueOf(s.next());",
"N",
"Integer.valueOf(s.next())",
"Integer.valueOf",
"Integer",
"s.next()",
"s.next",
"s",
"System.out.println((N + N * N + N * N * N))",
"System.out.println",
"System.out",
"System",
"System.out",
"(N + N * N + N * N * N)",
"N + N * N + N * N * N",
"N",
"N * N",
"N",
"N",
"N * N * N",
"N * N * N",
"N",
"N",
"N",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n\t\t\tScanner s = new Scanner(System.in);\n\t\tint N = Integer.valueOf(s.next());\n\t\t\n\t\tSystem.out.println((N + N * N + N * N * N));\n\t}\n}",
"public class Main {\n public static void main(String[] args){\n\t\t\tScanner s = new Scanner(System.in);\n\t\tint N = Integer.valueOf(s.next());\n\t\t\n\t\tSystem.out.println((N + N * N + N * N * N));\n\t}\n}",
"Main"
]
| import java.util.*;
import java.util.function.*;
import java.math.*;
public class Main {
public static void main(String[] args){
Scanner s = new Scanner(System.in);
int N = Integer.valueOf(s.next());
System.out.println((N + N * N + N * N * N));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
2,
2,
17,
13,
2,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
37,
8
],
[
37,
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
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
9,
34
],
[
34,
35
],
[
0,
36
],
[
36,
37
],
[
36,
38
]
]
| [
"import java.lang.*;\nimport java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n System.out.println(a*(1+a+a*a));\n }\n}",
"import java.lang.*;",
"lang.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n System.out.println(a*(1+a+a*a));\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n System.out.println(a*(1+a+a*a));\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n System.out.println(a*(1+a+a*a));\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"System.out.println(a*(1+a+a*a))",
"System.out.println",
"System.out",
"System",
"System.out",
"a*(1+a+a*a)",
"a",
"(1+a+a*a)",
"1+a+a*a",
"1",
"a",
"a*a",
"a",
"a",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n System.out.println(a*(1+a+a*a));\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n System.out.println(a*(1+a+a*a));\n }\n}",
"Main"
]
| import java.lang.*;
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
System.out.println(a*(1+a+a*a));
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
2,
13,
13,
2,
2,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
39,
5
],
[
39,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
20,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
26,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
]
| [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n \t\t//入力された値の取得\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\t//計算\n\t\tint answer = a + a * a + a * a * a;\n\t\t//出力\n\t\tSystem.out.println(answer);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n \t\t//入力された値の取得\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\t//計算\n\t\tint answer = a + a * a + a * a * a;\n\t\t//出力\n\t\tSystem.out.println(answer);\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n \t\t//入力された値の取得\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\t//計算\n\t\tint answer = a + a * a + a * a * a;\n\t\t//出力\n\t\tSystem.out.println(answer);\n\t}",
"main",
"{\n \t\t//入力された値の取得\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\t//計算\n\t\tint answer = a + a * a + a * a * a;\n\t\t//出力\n\t\tSystem.out.println(answer);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int answer = a + a * a + a * a * a;",
"answer",
"a + a * a + a * a * a",
"a + a * a + a * a * a",
"a",
"a * a",
"a",
"a",
"a * a * a",
"a * a * a",
"a",
"a",
"a",
"System.out.println(answer)",
"System.out.println",
"System.out",
"System",
"System.out",
"answer",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n \t\t//入力された値の取得\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\t//計算\n\t\tint answer = a + a * a + a * a * a;\n\t\t//出力\n\t\tSystem.out.println(answer);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n \t\t//入力された値の取得\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\t//計算\n\t\tint answer = a + a * a + a * a * a;\n\t\t//出力\n\t\tSystem.out.println(answer);\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
//入力された値の取得
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
//計算
int answer = a + a * a + a * a * a;
//出力
System.out.println(answer);
}
}
|
[
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,
0,
13,
2,
2,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
55,
8
],
[
55,
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
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
31,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
33,
37
],
[
31,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
38,
42
],
[
11,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
11,
49
],
[
49,
50
],
[
50,
51
],
[
9,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
]
| [
"import java.util.Scanner;\nimport java.lang.Math;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String str_scan = scan.nextLine();\n double ans = Double.parseDouble(str_scan);\n double ans_double;\n\n ans_double = ans + Math.pow(ans,2) + Math.pow(ans,3);\n\n System.out.println((int)ans_double);\n scan.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.lang.Math;",
"Math",
"java.lang",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String str_scan = scan.nextLine();\n double ans = Double.parseDouble(str_scan);\n double ans_double;\n\n ans_double = ans + Math.pow(ans,2) + Math.pow(ans,3);\n\n System.out.println((int)ans_double);\n scan.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String str_scan = scan.nextLine();\n double ans = Double.parseDouble(str_scan);\n double ans_double;\n\n ans_double = ans + Math.pow(ans,2) + Math.pow(ans,3);\n\n System.out.println((int)ans_double);\n scan.close();\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n String str_scan = scan.nextLine();\n double ans = Double.parseDouble(str_scan);\n double ans_double;\n\n ans_double = ans + Math.pow(ans,2) + Math.pow(ans,3);\n\n System.out.println((int)ans_double);\n scan.close();\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String str_scan = scan.nextLine();",
"str_scan",
"scan.nextLine()",
"scan.nextLine",
"scan",
"double ans = Double.parseDouble(str_scan);",
"ans",
"Double.parseDouble(str_scan)",
"Double.parseDouble",
"Double",
"str_scan",
"double ans_double;",
"ans_double",
"ans_double = ans + Math.pow(ans,2) + Math.pow(ans,3)",
"ans_double",
"ans + Math.pow(ans,2) + Math.pow(ans,3)",
"ans + Math.pow(ans,2) + Math.pow(ans,3)",
"ans",
"Math.pow(ans,2)",
"Math.pow",
"Math",
"ans",
"2",
"Math.pow(ans,3)",
"Math.pow",
"Math",
"ans",
"3",
"System.out.println((int)ans_double)",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)ans_double",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String str_scan = scan.nextLine();\n double ans = Double.parseDouble(str_scan);\n double ans_double;\n\n ans_double = ans + Math.pow(ans,2) + Math.pow(ans,3);\n\n System.out.println((int)ans_double);\n scan.close();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String str_scan = scan.nextLine();\n double ans = Double.parseDouble(str_scan);\n double ans_double;\n\n ans_double = ans + Math.pow(ans,2) + Math.pow(ans,3);\n\n System.out.println((int)ans_double);\n scan.close();\n }\n}",
"Main"
]
| import java.util.Scanner;
import java.lang.Math;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String str_scan = scan.nextLine();
double ans = Double.parseDouble(str_scan);
double ans_double;
ans_double = ans + Math.pow(ans,2) + Math.pow(ans,3);
System.out.println((int)ans_double);
scan.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
40,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
87,
5
],
[
87,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
22,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
22,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
8,
53
],
[
53,
54
],
[
6,
55
],
[
55,
56
],
[
6,
57
],
[
57,
58
],
[
87,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
61,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
61,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
80,
83
],
[
59,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
]
| [
"import java.util.*;\n\npublic class Main {\n\t\n\t\n\tpublic static int MinorChange(String s ,String t) {\n\t\tint count = 0;\n\t\t\n\t\t char[] arr1 = s.toCharArray();\n\t\t char[] arr2 = t.toCharArray();\n//\t\t \n//\t\t Arrays.sort(arr1);\n//\t\t Arrays.sort(arr2);\n\t\tfor(int i=0,j=0;i<s.length();i++,j++)\n\t\t{\n\t\t\tif(arr1[i]!=arr2[j]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn count;\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner s1 = new Scanner (System.in); \n\t\tString s =s1.next();\n\t\tString t = s1.next();\n\t\tSystem.out.println(MinorChange(s, t));\n\t\t\n\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\t\n\t\n\tpublic static int MinorChange(String s ,String t) {\n\t\tint count = 0;\n\t\t\n\t\t char[] arr1 = s.toCharArray();\n\t\t char[] arr2 = t.toCharArray();\n//\t\t \n//\t\t Arrays.sort(arr1);\n//\t\t Arrays.sort(arr2);\n\t\tfor(int i=0,j=0;i<s.length();i++,j++)\n\t\t{\n\t\t\tif(arr1[i]!=arr2[j]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn count;\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner s1 = new Scanner (System.in); \n\t\tString s =s1.next();\n\t\tString t = s1.next();\n\t\tSystem.out.println(MinorChange(s, t));\n\t\t\n\n\t}\n\n}",
"Main",
"public static int MinorChange(String s ,String t) {\n\t\tint count = 0;\n\t\t\n\t\t char[] arr1 = s.toCharArray();\n\t\t char[] arr2 = t.toCharArray();\n//\t\t \n//\t\t Arrays.sort(arr1);\n//\t\t Arrays.sort(arr2);\n\t\tfor(int i=0,j=0;i<s.length();i++,j++)\n\t\t{\n\t\t\tif(arr1[i]!=arr2[j]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn count;\n\t}",
"MinorChange",
"{\n\t\tint count = 0;\n\t\t\n\t\t char[] arr1 = s.toCharArray();\n\t\t char[] arr2 = t.toCharArray();\n//\t\t \n//\t\t Arrays.sort(arr1);\n//\t\t Arrays.sort(arr2);\n\t\tfor(int i=0,j=0;i<s.length();i++,j++)\n\t\t{\n\t\t\tif(arr1[i]!=arr2[j]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn count;\n\t}",
"int count = 0;",
"count",
"0",
"char[] arr1 = s.toCharArray();",
"arr1",
"s.toCharArray()",
"s.toCharArray",
"s",
"char[] arr2 = t.toCharArray();",
"arr2",
"t.toCharArray()",
"t.toCharArray",
"t",
"for(int i=0,j=0;i<s.length();i++,j++)\n\t\t{\n\t\t\tif(arr1[i]!=arr2[j]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"int i=0,j=0;",
"int i=0",
"i",
"0",
"j=0;",
"j",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++,j++",
"i++",
"i",
"j++",
"j",
"{\n\t\t\tif(arr1[i]!=arr2[j]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(arr1[i]!=arr2[j]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"if(arr1[i]!=arr2[j]) {\n\t\t\t\tcount++;\n\t\t\t}",
"arr1[i]!=arr2[j]",
"arr1[i]",
"arr1",
"i",
"arr2[j]",
"arr2",
"j",
"{\n\t\t\t\tcount++;\n\t\t\t}",
"count++",
"count",
"return count;",
"count",
"String s",
"s",
"String t",
"t",
"public static void main(String[] args) {\n\t\tScanner s1 = new Scanner (System.in); \n\t\tString s =s1.next();\n\t\tString t = s1.next();\n\t\tSystem.out.println(MinorChange(s, t));\n\t\t\n\n\t}",
"main",
"{\n\t\tScanner s1 = new Scanner (System.in); \n\t\tString s =s1.next();\n\t\tString t = s1.next();\n\t\tSystem.out.println(MinorChange(s, t));\n\t\t\n\n\t}",
"Scanner s1 = new Scanner (System.in);",
"s1",
"new Scanner (System.in)",
"String s =s1.next();",
"s",
"s1.next()",
"s1.next",
"s1",
"String t = s1.next();",
"t",
"s1.next()",
"s1.next",
"s1",
"System.out.println(MinorChange(s, t))",
"System.out.println",
"System.out",
"System",
"System.out",
"MinorChange(s, t)",
"MinorChange",
"s",
"t",
"String[] args",
"args",
"public class Main {\n\t\n\t\n\tpublic static int MinorChange(String s ,String t) {\n\t\tint count = 0;\n\t\t\n\t\t char[] arr1 = s.toCharArray();\n\t\t char[] arr2 = t.toCharArray();\n//\t\t \n//\t\t Arrays.sort(arr1);\n//\t\t Arrays.sort(arr2);\n\t\tfor(int i=0,j=0;i<s.length();i++,j++)\n\t\t{\n\t\t\tif(arr1[i]!=arr2[j]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn count;\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner s1 = new Scanner (System.in); \n\t\tString s =s1.next();\n\t\tString t = s1.next();\n\t\tSystem.out.println(MinorChange(s, t));\n\t\t\n\n\t}\n\n}",
"public class Main {\n\t\n\t\n\tpublic static int MinorChange(String s ,String t) {\n\t\tint count = 0;\n\t\t\n\t\t char[] arr1 = s.toCharArray();\n\t\t char[] arr2 = t.toCharArray();\n//\t\t \n//\t\t Arrays.sort(arr1);\n//\t\t Arrays.sort(arr2);\n\t\tfor(int i=0,j=0;i<s.length();i++,j++)\n\t\t{\n\t\t\tif(arr1[i]!=arr2[j]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn count;\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner s1 = new Scanner (System.in); \n\t\tString s =s1.next();\n\t\tString t = s1.next();\n\t\tSystem.out.println(MinorChange(s, t));\n\t\t\n\n\t}\n\n}",
"Main"
]
| import java.util.*;
public class Main {
public static int MinorChange(String s ,String t) {
int count = 0;
char[] arr1 = s.toCharArray();
char[] arr2 = t.toCharArray();
//
// Arrays.sort(arr1);
// Arrays.sort(arr2);
for(int i=0,j=0;i<s.length();i++,j++)
{
if(arr1[i]!=arr2[j]) {
count++;
}
}
return count;
}
public static void main(String[] args) {
Scanner s1 = new Scanner (System.in);
String s =s1.next();
String t = s1.next();
System.out.println(MinorChange(s, t));
}
}
|
[
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,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
79,
14
],
[
79,
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
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
17,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
17,
41
],
[
41,
42
],
[
41,
43
],
[
17,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
44,
54
],
[
54,
55
],
[
55,
56
],
[
44,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
67,
68
],
[
67,
69
],
[
17,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
15,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
]
| [
"import java.util.Scanner;\nimport java.util.LinkedList;\nimport java.util.PriorityQueue;\nimport java.util.Queue;\n\npublic class Main {\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\t\n\t\tchar[] S = s.toCharArray();\n\t\tchar[] T = t.toCharArray();\n\t\t\n\t\tint c = 0;\n\t\t\n \t\tfor(int i = 0; i < s.length(); i++) {\n \t\t\tif(S[i] != T[i]) c += 1;\n\t\t}\n\t\t\n \t\tSystem.out.println(c);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.LinkedList;",
"LinkedList",
"java.util",
"import java.util.PriorityQueue;",
"PriorityQueue",
"java.util",
"import java.util.Queue;",
"Queue",
"java.util",
"public class Main {\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\t\n\t\tchar[] S = s.toCharArray();\n\t\tchar[] T = t.toCharArray();\n\t\t\n\t\tint c = 0;\n\t\t\n \t\tfor(int i = 0; i < s.length(); i++) {\n \t\t\tif(S[i] != T[i]) c += 1;\n\t\t}\n\t\t\n \t\tSystem.out.println(c);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\t\n\t\tchar[] S = s.toCharArray();\n\t\tchar[] T = t.toCharArray();\n\t\t\n\t\tint c = 0;\n\t\t\n \t\tfor(int i = 0; i < s.length(); i++) {\n \t\t\tif(S[i] != T[i]) c += 1;\n\t\t}\n\t\t\n \t\tSystem.out.println(c);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\t\n\t\tchar[] S = s.toCharArray();\n\t\tchar[] T = t.toCharArray();\n\t\t\n\t\tint c = 0;\n\t\t\n \t\tfor(int i = 0; i < s.length(); i++) {\n \t\t\tif(S[i] != T[i]) c += 1;\n\t\t}\n\t\t\n \t\tSystem.out.println(c);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"char[] S = s.toCharArray();",
"S",
"s.toCharArray()",
"s.toCharArray",
"s",
"char[] T = t.toCharArray();",
"T",
"t.toCharArray()",
"t.toCharArray",
"t",
"int c = 0;",
"c",
"0",
"for(int i = 0; i < s.length(); i++) {\n \t\t\tif(S[i] != T[i]) c += 1;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n \t\t\tif(S[i] != T[i]) c += 1;\n\t\t}",
"{\n \t\t\tif(S[i] != T[i]) c += 1;\n\t\t}",
"if(S[i] != T[i]) c += 1;",
"S[i] != T[i]",
"S[i]",
"S",
"i",
"T[i]",
"T",
"i",
"c += 1",
"c",
"1",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String[] args",
"args",
"public class Main {\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\t\n\t\tchar[] S = s.toCharArray();\n\t\tchar[] T = t.toCharArray();\n\t\t\n\t\tint c = 0;\n\t\t\n \t\tfor(int i = 0; i < s.length(); i++) {\n \t\t\tif(S[i] != T[i]) c += 1;\n\t\t}\n\t\t\n \t\tSystem.out.println(c);\n\t}\n}",
"public class Main {\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\t\n\t\tchar[] S = s.toCharArray();\n\t\tchar[] T = t.toCharArray();\n\t\t\n\t\tint c = 0;\n\t\t\n \t\tfor(int i = 0; i < s.length(); i++) {\n \t\t\tif(S[i] != T[i]) c += 1;\n\t\t}\n\t\t\n \t\tSystem.out.println(c);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
import java.util.LinkedList;
import java.util.PriorityQueue;
import java.util.Queue;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
String t = sc.next();
char[] S = s.toCharArray();
char[] T = t.toCharArray();
int c = 0;
for(int i = 0; i < s.length(); i++) {
if(S[i] != T[i]) c += 1;
}
System.out.println(c);
}
} |
[
7,
15,
13,
17,
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,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
4,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
413,
14
],
[
413,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
17,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
17,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
17,
37
],
[
37,
38
],
[
37,
39
],
[
17,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
40,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
56,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
55,
65
],
[
65,
66
],
[
17,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
17,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
74,
75
],
[
75,
76
],
[
17,
77
],
[
77,
78
],
[
78,
79
],
[
15,
80
],
[
80,
81
],
[
413,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
82,
89
],
[
89,
90
],
[
82,
91
],
[
91,
92
],
[
82,
93
],
[
93,
94
],
[
82,
95
],
[
95,
96
],
[
82,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
103,
105
],
[
99,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
109,
111
],
[
82,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
118,
119
],
[
118,
120
],
[
114,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
124,
126
],
[
112,
127
],
[
127,
128
],
[
82,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
136
],
[
136,
137
],
[
136,
138
],
[
131,
139
],
[
139,
140
],
[
131,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
142,
147
],
[
147,
148
],
[
141,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
154
],
[
149,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
155,
160
],
[
131,
161
],
[
161,
162
],
[
82,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
165,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
165,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
173,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
165,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
183,
185
],
[
165,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
165,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
194,
199
],
[
193,
200
],
[
200,
201
],
[
200,
202
],
[
192,
203
],
[
203,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
206,
212
],
[
165,
213
],
[
213,
214
],
[
213,
215
],
[
215,
216
],
[
216,
217
],
[
165,
218
],
[
218,
219
],
[
82,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
222,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
222,
230
],
[
230,
231
],
[
231,
232
],
[
231,
233
],
[
230,
234
],
[
234,
235
],
[
234,
236
],
[
236,
237
],
[
222,
238
],
[
238,
239
],
[
238,
240
],
[
240,
241
],
[
240,
242
],
[
222,
243
],
[
243,
244
],
[
243,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
222,
249
],
[
249,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
254,
255
],
[
251,
256
],
[
250,
257
],
[
257,
258
],
[
257,
259
],
[
249,
260
],
[
260,
261
],
[
261,
262
],
[
261,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
264,
268
],
[
263,
269
],
[
222,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
273,
274
],
[
222,
275
],
[
275,
276
],
[
82,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
279,
283
],
[
283,
284
],
[
283,
285
],
[
279,
286
],
[
286,
287
],
[
286,
288
],
[
288,
289
],
[
279,
290
],
[
290,
291
],
[
291,
292
],
[
291,
293
],
[
290,
294
],
[
294,
295
],
[
294,
296
],
[
296,
297
],
[
279,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
300,
302
],
[
279,
303
],
[
303,
304
],
[
303,
305
],
[
305,
306
],
[
305,
307
],
[
307,
308
],
[
279,
309
],
[
309,
310
],
[
310,
311
],
[
311,
312
],
[
312,
313
],
[
312,
314
],
[
314,
315
],
[
311,
316
],
[
310,
317
],
[
317,
318
],
[
317,
319
],
[
309,
320
],
[
320,
321
],
[
321,
322
],
[
321,
323
],
[
323,
324
],
[
324,
325
],
[
325,
326
],
[
325,
327
],
[
324,
328
],
[
323,
329
],
[
279,
330
],
[
330,
331
],
[
331,
332
],
[
331,
333
],
[
330,
334
],
[
334,
335
],
[
335,
336
],
[
336,
337
],
[
337,
338
],
[
338,
339
],
[
338,
340
],
[
340,
341
],
[
337,
342
],
[
336,
343
],
[
343,
344
],
[
343,
345
],
[
335,
346
],
[
346,
347
],
[
347,
348
],
[
347,
349
],
[
349,
350
],
[
350,
351
],
[
350,
352
],
[
349,
353
],
[
353,
354
],
[
353,
355
],
[
279,
356
],
[
356,
357
],
[
356,
358
],
[
358,
359
],
[
359,
360
],
[
279,
361
],
[
361,
362
],
[
82,
363
],
[
363,
364
],
[
363,
365
],
[
365,
366
],
[
366,
367
],
[
366,
368
],
[
368,
369
],
[
369,
370
],
[
368,
371
],
[
368,
372
],
[
372,
373
],
[
372,
374
],
[
368,
375
],
[
365,
376
],
[
376,
377
],
[
377,
378
],
[
377,
379
],
[
379,
380
],
[
376,
381
],
[
381,
382
],
[
382,
383
],
[
382,
384
],
[
381,
385
],
[
385,
386
],
[
82,
387
],
[
387,
388
],
[
387,
389
],
[
389,
390
],
[
390,
391
],
[
391,
392
],
[
391,
393
],
[
390,
394
],
[
394,
395
],
[
389,
396
],
[
396,
397
],
[
397,
398
],
[
397,
399
],
[
399,
400
],
[
82,
401
],
[
401,
402
],
[
401,
403
],
[
403,
404
],
[
404,
405
],
[
405,
406
],
[
405,
407
],
[
404,
408
],
[
403,
409
],
[
409,
410
],
[
410,
411
],
[
0,
412
],
[
412,
413
],
[
412,
414
]
]
| [
"import java.io.*;\nimport java.math.*;\nimport java.util.*;\nimport java.lang.*;\n\n// import java.text.DecimalFormat; \n// import java.text.DecimalFormatSymbols; \n \n \n// Warning: Printing unwanted or ill-formatted data to output will cause the test cases to fail\n \npublic class Main {\n \n static class Reader \n { \n final private int BUFFER_SIZE = 1 << 16; \n private DataInputStream din; \n private byte[] buffer; \n private int bufferPointer, bytesRead; \n \n public Reader() \n { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public Reader(String file_name) throws IOException \n { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public String readLine() throws IOException \n { \n byte[] buf = new byte[1000001]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n } \n \n public int nextInt() throws IOException \n { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n \n if (neg) \n return -ret; \n return ret; \n } \n \n public long nextLong() throws IOException \n { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n } \n \n public double nextDouble() throws IOException \n { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n \n if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n } \n \n if (neg) \n return -ret; \n return ret; \n } \n \n private void fillBuffer() throws IOException \n { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n } \n \n private byte read() throws IOException \n { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n } \n \n public void close() throws IOException \n { \n if (din == null) \n return; \n din.close(); \n } \n } \n \n\n \n public static void main(String args[] ) throws Exception {\n StringBuffer str = new StringBuffer();\n PrintWriter pw=new PrintWriter(System.out);\n Reader sc = new Reader();\n \n String s = sc.readLine();\n String t = sc.readLine();\n int ans=0;\n for(int i=0;i<s.length();i++){\n if(s.charAt(i)!=t.charAt(i))\n ans++;\n }\n str.append(ans);\n \n pw.println(str.toString());\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}",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main {\n \n static class Reader \n { \n final private int BUFFER_SIZE = 1 << 16; \n private DataInputStream din; \n private byte[] buffer; \n private int bufferPointer, bytesRead; \n \n public Reader() \n { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public Reader(String file_name) throws IOException \n { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public String readLine() throws IOException \n { \n byte[] buf = new byte[1000001]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n } \n \n public int nextInt() throws IOException \n { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n \n if (neg) \n return -ret; \n return ret; \n } \n \n public long nextLong() throws IOException \n { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n } \n \n public double nextDouble() throws IOException \n { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n \n if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n } \n \n if (neg) \n return -ret; \n return ret; \n } \n \n private void fillBuffer() throws IOException \n { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n } \n \n private byte read() throws IOException \n { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n } \n \n public void close() throws IOException \n { \n if (din == null) \n return; \n din.close(); \n } \n } \n \n\n \n public static void main(String args[] ) throws Exception {\n StringBuffer str = new StringBuffer();\n PrintWriter pw=new PrintWriter(System.out);\n Reader sc = new Reader();\n \n String s = sc.readLine();\n String t = sc.readLine();\n int ans=0;\n for(int i=0;i<s.length();i++){\n if(s.charAt(i)!=t.charAt(i))\n ans++;\n }\n str.append(ans);\n \n pw.println(str.toString());\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}",
"Main",
"public static void main(String args[] ) throws Exception {\n StringBuffer str = new StringBuffer();\n PrintWriter pw=new PrintWriter(System.out);\n Reader sc = new Reader();\n \n String s = sc.readLine();\n String t = sc.readLine();\n int ans=0;\n for(int i=0;i<s.length();i++){\n if(s.charAt(i)!=t.charAt(i))\n ans++;\n }\n str.append(ans);\n \n pw.println(str.toString());\n \n pw.close();\n }",
"main",
"{\n StringBuffer str = new StringBuffer();\n PrintWriter pw=new PrintWriter(System.out);\n Reader sc = new Reader();\n \n String s = sc.readLine();\n String t = sc.readLine();\n int ans=0;\n for(int i=0;i<s.length();i++){\n if(s.charAt(i)!=t.charAt(i))\n ans++;\n }\n str.append(ans);\n \n pw.println(str.toString());\n \n pw.close();\n }",
"StringBuffer str = new StringBuffer();",
"str",
"new StringBuffer()",
"PrintWriter pw=new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"Reader sc = new Reader();",
"sc",
"new Reader()",
"String s = sc.readLine();",
"s",
"sc.readLine()",
"sc.readLine",
"sc",
"String t = sc.readLine();",
"t",
"sc.readLine()",
"sc.readLine",
"sc",
"int ans=0;",
"ans",
"0",
"for(int i=0;i<s.length();i++){\n if(s.charAt(i)!=t.charAt(i))\n ans++;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n if(s.charAt(i)!=t.charAt(i))\n ans++;\n }",
"{\n if(s.charAt(i)!=t.charAt(i))\n ans++;\n }",
"if(s.charAt(i)!=t.charAt(i))\n ans++;",
"s.charAt(i)!=t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"ans++",
"ans",
"str.append(ans)",
"str.append",
"str",
"ans",
"pw.println(str.toString())",
"pw.println",
"pw",
"str.toString()",
"str.toString",
"str",
"pw.close()",
"pw.close",
"pw",
"String args[]",
"args",
"static class Reader \n { \n final private int BUFFER_SIZE = 1 << 16; \n private DataInputStream din; \n private byte[] buffer; \n private int bufferPointer, bytesRead; \n \n public Reader() \n { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public Reader(String file_name) throws IOException \n { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public String readLine() throws IOException \n { \n byte[] buf = new byte[1000001]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n } \n \n public int nextInt() throws IOException \n { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n \n if (neg) \n return -ret; \n return ret; \n } \n \n public long nextLong() throws IOException \n { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n } \n \n public double nextDouble() throws IOException \n { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n \n if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n } \n \n if (neg) \n return -ret; \n return ret; \n } \n \n private void fillBuffer() throws IOException \n { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n } \n \n private byte read() throws IOException \n { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n } \n \n public void close() throws IOException \n { \n if (din == null) \n return; \n din.close(); \n } \n }",
"Reader",
"final private int BUFFER_SIZE = 1 << 16;",
"BUFFER_SIZE",
"1 << 16",
"1",
"16",
"private DataInputStream din;",
"din",
"private byte[] buffer;",
"buffer",
"private int bufferPointer",
"bufferPointer",
"bytesRead;",
"bytesRead",
"public Reader() \n { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n }",
"Reader",
"{ \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n }",
"din = new DataInputStream(System.in)",
"din",
"new DataInputStream(System.in)",
"buffer = new byte[BUFFER_SIZE]",
"buffer",
"new byte[BUFFER_SIZE]",
"BUFFER_SIZE",
"bufferPointer = bytesRead = 0",
"bufferPointer",
"bytesRead = 0",
"bytesRead",
"0",
"public Reader(String file_name) throws IOException \n { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n }",
"Reader",
"{ \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n }",
"din = new DataInputStream(new FileInputStream(file_name))",
"din",
"new DataInputStream(new FileInputStream(file_name))",
"buffer = new byte[BUFFER_SIZE]",
"buffer",
"new byte[BUFFER_SIZE]",
"BUFFER_SIZE",
"bufferPointer = bytesRead = 0",
"bufferPointer",
"bytesRead = 0",
"bytesRead",
"0",
"String file_name",
"file_name",
"public String readLine() throws IOException \n { \n byte[] buf = new byte[1000001]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n }",
"readLine",
"{ \n byte[] buf = new byte[1000001]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n }",
"byte[] buf = new byte[1000001];",
"buf",
"new byte[1000001]",
"1000001",
"int cnt = 0",
"cnt",
"0",
"c;",
"c",
"while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n }",
"(c = read()) != -1",
"(c = read())",
"c",
"read()",
"read",
"-1",
"1",
"{ \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n }",
"if (c == '\\n') \n break;",
"c == '\\n'",
"c",
"'\\n'",
"break;",
"buf[cnt++] = (byte) c",
"buf[cnt++]",
"buf",
"cnt++",
"cnt",
"(byte) c",
"return new String(buf, 0, cnt);",
"new String(buf, 0, cnt)",
"public int nextInt() throws IOException \n { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n \n if (neg) \n return -ret; \n return ret; \n }",
"nextInt",
"{ \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n \n if (neg) \n return -ret; \n return ret; \n }",
"int ret = 0;",
"ret",
"0",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ') \n c = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg) \n c = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{ \n ret = ret * 10 + c - '0'; \n }",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (neg) \n return -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"public long nextLong() throws IOException \n { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n }",
"nextLong",
"{ \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n }",
"long ret = 0;",
"ret",
"0",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ') \n c = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg) \n c = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{ \n ret = ret * 10 + c - '0'; \n }",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (neg) \n return -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"public double nextDouble() throws IOException \n { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n \n if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n } \n \n if (neg) \n return -ret; \n return ret; \n }",
"nextDouble",
"{ \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n \n if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n } \n \n if (neg) \n return -ret; \n return ret; \n }",
"double ret = 0",
"ret",
"0",
"div = 1;",
"div",
"1",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ') \n c = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg) \n c = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{ \n ret = ret * 10 + c - '0'; \n }",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n }",
"c == '.'",
"c",
"'.'",
"{ \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n }",
"while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n }",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{ \n ret += (c - '0') / (div *= 10); \n }",
"ret += (c - '0') / (div *= 10)",
"ret",
"(c - '0') / (div *= 10)",
"(c - '0')",
"c",
"'0'",
"(div *= 10)",
"div",
"10",
"if (neg) \n return -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"private void fillBuffer() throws IOException \n { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n }",
"fillBuffer",
"{ \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n }",
"bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE)",
"bytesRead",
"din.read(buffer, bufferPointer = 0, BUFFER_SIZE)",
"din.read",
"din",
"buffer",
"bufferPointer = 0",
"bufferPointer",
"0",
"BUFFER_SIZE",
"if (bytesRead == -1) \n buffer[0] = -1;",
"bytesRead == -1",
"bytesRead",
"-1",
"1",
"buffer[0] = -1",
"buffer[0]",
"buffer",
"0",
"-1",
"1",
"private byte read() throws IOException \n { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n }",
"read",
"{ \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n }",
"if (bufferPointer == bytesRead) \n fillBuffer();",
"bufferPointer == bytesRead",
"bufferPointer",
"bytesRead",
"fillBuffer()",
"fillBuffer",
"return buffer[bufferPointer++];",
"buffer[bufferPointer++]",
"buffer",
"bufferPointer++",
"bufferPointer",
"public void close() throws IOException \n { \n if (din == null) \n return; \n din.close(); \n }",
"close",
"{ \n if (din == null) \n return; \n din.close(); \n }",
"if (din == null) \n return;",
"din == null",
"din",
"null",
"return;",
"din.close()",
"din.close",
"din",
"public class Main {\n \n static class Reader \n { \n final private int BUFFER_SIZE = 1 << 16; \n private DataInputStream din; \n private byte[] buffer; \n private int bufferPointer, bytesRead; \n \n public Reader() \n { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public Reader(String file_name) throws IOException \n { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public String readLine() throws IOException \n { \n byte[] buf = new byte[1000001]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n } \n \n public int nextInt() throws IOException \n { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n \n if (neg) \n return -ret; \n return ret; \n } \n \n public long nextLong() throws IOException \n { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n } \n \n public double nextDouble() throws IOException \n { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n \n if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n } \n \n if (neg) \n return -ret; \n return ret; \n } \n \n private void fillBuffer() throws IOException \n { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n } \n \n private byte read() throws IOException \n { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n } \n \n public void close() throws IOException \n { \n if (din == null) \n return; \n din.close(); \n } \n } \n \n\n \n public static void main(String args[] ) throws Exception {\n StringBuffer str = new StringBuffer();\n PrintWriter pw=new PrintWriter(System.out);\n Reader sc = new Reader();\n \n String s = sc.readLine();\n String t = sc.readLine();\n int ans=0;\n for(int i=0;i<s.length();i++){\n if(s.charAt(i)!=t.charAt(i))\n ans++;\n }\n str.append(ans);\n \n pw.println(str.toString());\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}",
"public class Main {\n \n static class Reader \n { \n final private int BUFFER_SIZE = 1 << 16; \n private DataInputStream din; \n private byte[] buffer; \n private int bufferPointer, bytesRead; \n \n public Reader() \n { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public Reader(String file_name) throws IOException \n { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public String readLine() throws IOException \n { \n byte[] buf = new byte[1000001]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n } \n \n public int nextInt() throws IOException \n { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n \n if (neg) \n return -ret; \n return ret; \n } \n \n public long nextLong() throws IOException \n { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n } \n \n public double nextDouble() throws IOException \n { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n \n if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n } \n \n if (neg) \n return -ret; \n return ret; \n } \n \n private void fillBuffer() throws IOException \n { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n } \n \n private byte read() throws IOException \n { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n } \n \n public void close() throws IOException \n { \n if (din == null) \n return; \n din.close(); \n } \n } \n \n\n \n public static void main(String args[] ) throws Exception {\n StringBuffer str = new StringBuffer();\n PrintWriter pw=new PrintWriter(System.out);\n Reader sc = new Reader();\n \n String s = sc.readLine();\n String t = sc.readLine();\n int ans=0;\n for(int i=0;i<s.length();i++){\n if(s.charAt(i)!=t.charAt(i))\n ans++;\n }\n str.append(ans);\n \n pw.println(str.toString());\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}",
"Main"
]
| import java.io.*;
import java.math.*;
import java.util.*;
import java.lang.*;
// import java.text.DecimalFormat;
// import java.text.DecimalFormatSymbols;
// Warning: Printing unwanted or ill-formatted data to output will cause the test cases to fail
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[1000001]; // line length
int cnt = 0, c;
while ((c = read()) != -1)
{
if (c == '\n')
break;
buf[cnt++] = (byte) c;
}
return new String(buf, 0, cnt);
}
public int nextInt() throws IOException
{
int ret = 0;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do
{
ret = ret * 10 + c - '0';
} while ((c = read()) >= '0' && c <= '9');
if (neg)
return -ret;
return ret;
}
public long nextLong() throws IOException
{
long ret = 0;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do {
ret = ret * 10 + c - '0';
}
while ((c = read()) >= '0' && c <= '9');
if (neg)
return -ret;
return ret;
}
public double nextDouble() throws IOException
{
double ret = 0, div = 1;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do {
ret = ret * 10 + c - '0';
}
while ((c = read()) >= '0' && c <= '9');
if (c == '.')
{
while ((c = read()) >= '0' && c <= '9')
{
ret += (c - '0') / (div *= 10);
}
}
if (neg)
return -ret;
return ret;
}
private void fillBuffer() throws IOException
{
bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);
if (bytesRead == -1)
buffer[0] = -1;
}
private byte read() throws IOException
{
if (bufferPointer == bytesRead)
fillBuffer();
return buffer[bufferPointer++];
}
public void close() throws IOException
{
if (din == null)
return;
din.close();
}
}
public static void main(String args[] ) throws Exception {
StringBuffer str = new StringBuffer();
PrintWriter pw=new PrintWriter(System.out);
Reader sc = new Reader();
String s = sc.readLine();
String t = sc.readLine();
int ans=0;
for(int i=0;i<s.length();i++){
if(s.charAt(i)!=t.charAt(i))
ans++;
}
str.append(ans);
pw.println(str.toString());
pw.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
40,
13,
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
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
59,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
6,
67
],
[
67,
68
]
]
| [
"import java.util.*;\n\nclass Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \tString first = sc.next();\n \tString last = sc.next();\n \t\n \tchar[] fst = first.toCharArray();\n \tchar[] lst = last.toCharArray();\n \tint count = 0;\n \tfor(int i = 0; i < fst.length; i++){\n \tif(fst[i] != lst[i]){\n \tcount++;\n }\n }\n System.out.println(count);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \tString first = sc.next();\n \tString last = sc.next();\n \t\n \tchar[] fst = first.toCharArray();\n \tchar[] lst = last.toCharArray();\n \tint count = 0;\n \tfor(int i = 0; i < fst.length; i++){\n \tif(fst[i] != lst[i]){\n \tcount++;\n }\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \tString first = sc.next();\n \tString last = sc.next();\n \t\n \tchar[] fst = first.toCharArray();\n \tchar[] lst = last.toCharArray();\n \tint count = 0;\n \tfor(int i = 0; i < fst.length; i++){\n \tif(fst[i] != lst[i]){\n \tcount++;\n }\n }\n System.out.println(count);\n }",
"main",
"{\n \tScanner sc = new Scanner(System.in);\n \tString first = sc.next();\n \tString last = sc.next();\n \t\n \tchar[] fst = first.toCharArray();\n \tchar[] lst = last.toCharArray();\n \tint count = 0;\n \tfor(int i = 0; i < fst.length; i++){\n \tif(fst[i] != lst[i]){\n \tcount++;\n }\n }\n System.out.println(count);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String first = sc.next();",
"first",
"sc.next()",
"sc.next",
"sc",
"String last = sc.next();",
"last",
"sc.next()",
"sc.next",
"sc",
"char[] fst = first.toCharArray();",
"fst",
"first.toCharArray()",
"first.toCharArray",
"first",
"char[] lst = last.toCharArray();",
"lst",
"last.toCharArray()",
"last.toCharArray",
"last",
"int count = 0;",
"count",
"0",
"for(int i = 0; i < fst.length; i++){\n \tif(fst[i] != lst[i]){\n \tcount++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < fst.length",
"i",
"fst.length",
"fst",
"fst.length",
"i++",
"i++",
"i",
"{\n \tif(fst[i] != lst[i]){\n \tcount++;\n }\n }",
"{\n \tif(fst[i] != lst[i]){\n \tcount++;\n }\n }",
"if(fst[i] != lst[i]){\n \tcount++;\n }",
"fst[i] != lst[i]",
"fst[i]",
"fst",
"i",
"lst[i]",
"lst",
"i",
"{\n \tcount++;\n }",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args"
]
| import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String first = sc.next();
String last = sc.next();
char[] fst = first.toCharArray();
char[] lst = last.toCharArray();
int count = 0;
for(int i = 0; i < fst.length; i++){
if(fst[i] != lst[i]){
count++;
}
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
41,
13,
4,
18,
13,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
40,
13,
41,
13,
20,
4,
18,
13,
13,
4,
18,
13,
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
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
38,
48
],
[
48,
49
],
[
48,
50
],
[
38,
51
],
[
51,
52
],
[
52,
53
],
[
38,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
65,
66
],
[
11,
67
],
[
67,
68
],
[
67,
69
],
[
11,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
11,
74
],
[
74,
75
],
[
75,
76
],
[
9,
77
],
[
77,
78
]
]
| [
"import java.util.*;\nimport java.io.*;\nclass Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n int cnt = 0;\n char Sc[] = S.toCharArray();\n char Tc[] = T.toCharArray();\n for(int i = 0, len = S.length(); i < len; i++){\n if(Sc[i] != Tc[i]){\n cnt++;\n }\n }\n PrintWriter out = new PrintWriter(System.out);\n out.print(cnt);\n out.flush();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n int cnt = 0;\n char Sc[] = S.toCharArray();\n char Tc[] = T.toCharArray();\n for(int i = 0, len = S.length(); i < len; i++){\n if(Sc[i] != Tc[i]){\n cnt++;\n }\n }\n PrintWriter out = new PrintWriter(System.out);\n out.print(cnt);\n out.flush();\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n int cnt = 0;\n char Sc[] = S.toCharArray();\n char Tc[] = T.toCharArray();\n for(int i = 0, len = S.length(); i < len; i++){\n if(Sc[i] != Tc[i]){\n cnt++;\n }\n }\n PrintWriter out = new PrintWriter(System.out);\n out.print(cnt);\n out.flush();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n int cnt = 0;\n char Sc[] = S.toCharArray();\n char Tc[] = T.toCharArray();\n for(int i = 0, len = S.length(); i < len; i++){\n if(Sc[i] != Tc[i]){\n cnt++;\n }\n }\n PrintWriter out = new PrintWriter(System.out);\n out.print(cnt);\n out.flush();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"String T = sc.next();",
"T",
"sc.next()",
"sc.next",
"sc",
"int cnt = 0;",
"cnt",
"0",
"char Sc[] = S.toCharArray();",
"Sc",
"S.toCharArray()",
"S.toCharArray",
"S",
"char Tc[] = T.toCharArray();",
"Tc",
"T.toCharArray()",
"T.toCharArray",
"T",
"for(int i = 0, len = S.length(); i < len; i++){\n if(Sc[i] != Tc[i]){\n cnt++;\n }\n }",
"int i = 0, len = S.length();",
"int i = 0",
"i",
"0",
"len = S.length();",
"len",
"S.length()",
"S.length",
"S",
"i < len",
"i",
"len",
"i++",
"i++",
"i",
"{\n if(Sc[i] != Tc[i]){\n cnt++;\n }\n }",
"{\n if(Sc[i] != Tc[i]){\n cnt++;\n }\n }",
"if(Sc[i] != Tc[i]){\n cnt++;\n }",
"Sc[i] != Tc[i]",
"Sc[i]",
"Sc",
"i",
"Tc[i]",
"Tc",
"i",
"{\n cnt++;\n }",
"cnt++",
"cnt",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"out.print(cnt)",
"out.print",
"out",
"cnt",
"out.flush()",
"out.flush",
"out",
"String args[]",
"args"
]
| import java.util.*;
import java.io.*;
class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
String S = sc.next();
String T = sc.next();
int cnt = 0;
char Sc[] = S.toCharArray();
char Tc[] = T.toCharArray();
for(int i = 0, len = S.length(); i < len; i++){
if(Sc[i] != Tc[i]){
cnt++;
}
}
PrintWriter out = new PrintWriter(System.out);
out.print(cnt);
out.flush();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
8,
2,
4,
18,
13,
13,
4,
18,
13,
13,
17,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
66,
5
],
[
66,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
46,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
45,
55
],
[
45,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
6,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
]
| [
"//package com.company;\n\nimport java.util.Scanner;\n\npublic class Main{\n\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n String s1=sc.nextLine();\n String s2=sc.nextLine();\n int n=s1.length();\n int ans=0;\n for(int i=0;i<n;++i){\n ans+=s1.charAt(i)!=s2.charAt(i)?1:0;\n }\n System.out.println(ans);\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 s1=sc.nextLine();\n String s2=sc.nextLine();\n int n=s1.length();\n int ans=0;\n for(int i=0;i<n;++i){\n ans+=s1.charAt(i)!=s2.charAt(i)?1:0;\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n String s1=sc.nextLine();\n String s2=sc.nextLine();\n int n=s1.length();\n int ans=0;\n for(int i=0;i<n;++i){\n ans+=s1.charAt(i)!=s2.charAt(i)?1:0;\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n String s1=sc.nextLine();\n String s2=sc.nextLine();\n int n=s1.length();\n int ans=0;\n for(int i=0;i<n;++i){\n ans+=s1.charAt(i)!=s2.charAt(i)?1:0;\n }\n System.out.println(ans);\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s1=sc.nextLine();",
"s1",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String s2=sc.nextLine();",
"s2",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int n=s1.length();",
"n",
"s1.length()",
"s1.length",
"s1",
"int ans=0;",
"ans",
"0",
"for(int i=0;i<n;++i){\n ans+=s1.charAt(i)!=s2.charAt(i)?1:0;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"++i",
"++i",
"i",
"{\n ans+=s1.charAt(i)!=s2.charAt(i)?1:0;\n }",
"{\n ans+=s1.charAt(i)!=s2.charAt(i)?1:0;\n }",
"ans+=s1.charAt(i)!=s2.charAt(i)?1:0",
"ans",
"s1.charAt(i)!=s2.charAt(i)?1:0",
"s1.charAt(i)!=s2.charAt(i)",
"s1.charAt(i)",
"s1.charAt",
"s1",
"i",
"s2.charAt(i)",
"s2.charAt",
"s2",
"i",
"1",
"0",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main{\n\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n String s1=sc.nextLine();\n String s2=sc.nextLine();\n int n=s1.length();\n int ans=0;\n for(int i=0;i<n;++i){\n ans+=s1.charAt(i)!=s2.charAt(i)?1:0;\n }\n System.out.println(ans);\n }\n}",
"public class Main{\n\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n String s1=sc.nextLine();\n String s2=sc.nextLine();\n int n=s1.length();\n int ans=0;\n for(int i=0;i<n;++i){\n ans+=s1.charAt(i)!=s2.charAt(i)?1:0;\n }\n System.out.println(ans);\n }\n}",
"Main"
]
| //package com.company;
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
String s1=sc.nextLine();
String s2=sc.nextLine();
int n=s1.length();
int ans=0;
for(int i=0;i<n;++i){
ans+=s1.charAt(i)!=s2.charAt(i)?1:0;
}
System.out.println(ans);
}
} |
[
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,
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,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
40,
13,
4,
18,
13,
13,
23,
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,
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
],
[
165,
29
],
[
165,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
32,
43
],
[
43,
44
],
[
43,
45
],
[
32,
46
],
[
46,
47
],
[
46,
48
],
[
32,
49
],
[
49,
50
],
[
49,
51
],
[
32,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
52,
56
],
[
52,
57
],
[
32,
58
],
[
58,
59
],
[
59,
60
],
[
30,
61
],
[
61,
62
],
[
165,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
67,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
67,
82
],
[
82,
83
],
[
82,
84
],
[
67,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
85,
95
],
[
95,
96
],
[
96,
97
],
[
85,
98
],
[
99,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
105,
106
],
[
105,
107
],
[
100,
108
],
[
108,
109
],
[
67,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
65,
114
],
[
114,
115
],
[
65,
116
],
[
116,
117
],
[
65,
118
],
[
118,
119
],
[
165,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
120,
124
],
[
124,
125
],
[
120,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
132,
133
],
[
132,
134
],
[
126,
135
],
[
135,
136
],
[
120,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
140,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
150,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
139,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
0,
164
],
[
164,
165
],
[
164,
166
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\nimport java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author AnandOza\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 PrintWriter out = new PrintWriter(outputStream);\n BMinorChange solver = new BMinorChange();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMinorChange {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n char[] s = in.next().toCharArray();\n char[] t = in.next().toCharArray();\n\n int answer = 0;\n for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i])\n answer++;\n }\n\n out.println(answer);\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 }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMinorChange solver = new BMinorChange();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMinorChange {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n char[] s = in.next().toCharArray();\n char[] t = in.next().toCharArray();\n\n int answer = 0;\n for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i])\n answer++;\n }\n\n out.println(answer);\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 }\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 PrintWriter out = new PrintWriter(outputStream);\n BMinorChange solver = new BMinorChange();\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 BMinorChange solver = new BMinorChange();\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)",
"BMinorChange solver = new BMinorChange();",
"solver",
"new BMinorChange()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class BMinorChange {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n char[] s = in.next().toCharArray();\n char[] t = in.next().toCharArray();\n\n int answer = 0;\n for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i])\n answer++;\n }\n\n out.println(answer);\n }\n\n }",
"BMinorChange",
"public void solve(int testNumber, InputReader in, PrintWriter out) {\n char[] s = in.next().toCharArray();\n char[] t = in.next().toCharArray();\n\n int answer = 0;\n for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i])\n answer++;\n }\n\n out.println(answer);\n }",
"solve",
"{\n char[] s = in.next().toCharArray();\n char[] t = in.next().toCharArray();\n\n int answer = 0;\n for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i])\n answer++;\n }\n\n out.println(answer);\n }",
"char[] s = in.next().toCharArray();",
"s",
"in.next().toCharArray()",
"in.next().toCharArray",
"in.next()",
"in.next",
"in",
"char[] t = in.next().toCharArray();",
"t",
"in.next().toCharArray()",
"in.next().toCharArray",
"in.next()",
"in.next",
"in",
"int answer = 0;",
"answer",
"0",
"for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i])\n answer++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length",
"i",
"s.length",
"s",
"s.length",
"i++",
"i++",
"i",
"{\n if (s[i] != t[i])\n answer++;\n }",
"{\n if (s[i] != t[i])\n answer++;\n }",
"if (s[i] != t[i])\n answer++;",
"s[i] != t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"answer++",
"answer",
"out.println(answer)",
"out.println",
"out",
"answer",
"int testNumber",
"testNumber",
"InputReader in",
"in",
"PrintWriter out",
"out",
"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 }",
"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 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 PrintWriter out = new PrintWriter(outputStream);\n BMinorChange solver = new BMinorChange();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMinorChange {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n char[] s = in.next().toCharArray();\n char[] t = in.next().toCharArray();\n\n int answer = 0;\n for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i])\n answer++;\n }\n\n out.println(answer);\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 }\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 PrintWriter out = new PrintWriter(outputStream);\n BMinorChange solver = new BMinorChange();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMinorChange {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n char[] s = in.next().toCharArray();\n char[] t = in.next().toCharArray();\n\n int answer = 0;\n for (int i = 0; i < s.length; i++) {\n if (s[i] != t[i])\n answer++;\n }\n\n out.println(answer);\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 }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.StringTokenizer;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author AnandOza
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
BMinorChange solver = new BMinorChange();
solver.solve(1, in, out);
out.close();
}
static class BMinorChange {
public void solve(int testNumber, InputReader in, PrintWriter out) {
char[] s = in.next().toCharArray();
char[] t = in.next().toCharArray();
int answer = 0;
for (int i = 0; i < s.length; i++) {
if (s[i] != t[i])
answer++;
}
out.println(answer);
}
}
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();
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
40,
4,
18,
2,
4,
18,
13,
13,
17,
2,
4,
18,
13,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
67,
5
],
[
67,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
44,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
50,
55
],
[
40,
56
],
[
56,
57
],
[
8,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
]
| [
"import java.util.Scanner;\n\n/**\n * atcoder2\n */\npublic class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n String T = sc.nextLine();\n int count = 0;\n for(int i = 0; i < S.length(); i++){\n if(!((S.charAt(i)+\"\").equals(T.charAt(i)+\"\")))\n count++;\n }\n System.out.println(count);\n }\n \n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n String T = sc.nextLine();\n int count = 0;\n for(int i = 0; i < S.length(); i++){\n if(!((S.charAt(i)+\"\").equals(T.charAt(i)+\"\")))\n count++;\n }\n System.out.println(count);\n }\n \n}",
"Main",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n String T = sc.nextLine();\n int count = 0;\n for(int i = 0; i < S.length(); i++){\n if(!((S.charAt(i)+\"\").equals(T.charAt(i)+\"\")))\n count++;\n }\n System.out.println(count);\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n String T = sc.nextLine();\n int count = 0;\n for(int i = 0; i < S.length(); i++){\n if(!((S.charAt(i)+\"\").equals(T.charAt(i)+\"\")))\n count++;\n }\n System.out.println(count);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.nextLine();",
"S",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String T = sc.nextLine();",
"T",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int count = 0;",
"count",
"0",
"for(int i = 0; i < S.length(); i++){\n if(!((S.charAt(i)+\"\").equals(T.charAt(i)+\"\")))\n count++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n if(!((S.charAt(i)+\"\").equals(T.charAt(i)+\"\")))\n count++;\n }",
"{\n if(!((S.charAt(i)+\"\").equals(T.charAt(i)+\"\")))\n count++;\n }",
"if(!((S.charAt(i)+\"\").equals(T.charAt(i)+\"\")))\n count++;",
"!((S.charAt(i)+\"\").equals(T.charAt(i)+\"\"))",
"((S.charAt(i)+\"\").equals(T.charAt(i)+\"\"))",
"(S.charAt(i)+\"\").equals",
"(S.charAt(i)+\"\")",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"\"\"",
"T.charAt(i)+\"\"",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"\"\"",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n String T = sc.nextLine();\n int count = 0;\n for(int i = 0; i < S.length(); i++){\n if(!((S.charAt(i)+\"\").equals(T.charAt(i)+\"\")))\n count++;\n }\n System.out.println(count);\n }\n \n}",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n String T = sc.nextLine();\n int count = 0;\n for(int i = 0; i < S.length(); i++){\n if(!((S.charAt(i)+\"\").equals(T.charAt(i)+\"\")))\n count++;\n }\n System.out.println(count);\n }\n \n}",
"Main"
]
| import java.util.Scanner;
/**
* atcoder2
*/
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String S = sc.nextLine();
String T = sc.nextLine();
int count = 0;
for(int i = 0; i < S.length(); i++){
if(!((S.charAt(i)+"").equals(T.charAt(i)+"")))
count++;
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
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
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
28,
38
],
[
38,
39
],
[
39,
40
],
[
28,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
11,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
9,
62
],
[
62,
63
]
]
| [
"import java.util.*;\nimport java.io.*;\n\nclass Main{\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String S = br.readLine();\n String T = br.readLine();\n int ans=0;\n\n for (int i=0; i<S.length(); i++) {\n if (S.charAt(i)!=T.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String S = br.readLine();\n String T = br.readLine();\n int ans=0;\n\n for (int i=0; i<S.length(); i++) {\n if (S.charAt(i)!=T.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n\n }\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String S = br.readLine();\n String T = br.readLine();\n int ans=0;\n\n for (int i=0; i<S.length(); i++) {\n if (S.charAt(i)!=T.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String S = br.readLine();\n String T = br.readLine();\n int ans=0;\n\n for (int i=0; i<S.length(); i++) {\n if (S.charAt(i)!=T.charAt(i)) {\n ans++;\n }\n }\n System.out.println(ans);\n\n }",
"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",
"String T = br.readLine();",
"T",
"br.readLine()",
"br.readLine",
"br",
"int ans=0;",
"ans",
"0",
"for (int i=0; i<S.length(); i++) {\n if (S.charAt(i)!=T.charAt(i)) {\n ans++;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n if (S.charAt(i)!=T.charAt(i)) {\n ans++;\n }\n }",
"{\n if (S.charAt(i)!=T.charAt(i)) {\n ans++;\n }\n }",
"if (S.charAt(i)!=T.charAt(i)) {\n ans++;\n }",
"S.charAt(i)!=T.charAt(i)",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"T.charAt(i)",
"T.charAt",
"T",
"i",
"{\n ans++;\n }",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args"
]
| import java.util.*;
import java.io.*;
class Main{
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String S = br.readLine();
String T = br.readLine();
int ans=0;
for (int i=0; i<S.length(); i++) {
if (S.charAt(i)!=T.charAt(i)) {
ans++;
}
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
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
],
[
67,
8
],
[
67,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
11,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
33,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
46,
56
],
[
56,
57
],
[
11,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
9,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
]
| [
"\nimport java.util.*;\nimport java.io.*;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException {\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\tString t=br.readLine();\n\t\tint ans=0;\n\t\tint n=s.length();\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\t\tif(s.charAt(i)!=t.charAt(i))\n\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine();\n\t\tString t=br.readLine();\n\t\tint ans=0;\n\t\tint n=s.length();\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\t\tif(s.charAt(i)!=t.charAt(i))\n\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\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\tString t=br.readLine();\n\t\tint ans=0;\n\t\tint n=s.length();\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\t\tif(s.charAt(i)!=t.charAt(i))\n\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\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\tString t=br.readLine();\n\t\tint ans=0;\n\t\tint n=s.length();\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\t\tif(s.charAt(i)!=t.charAt(i))\n\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\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",
"String t=br.readLine();",
"t",
"br.readLine()",
"br.readLine",
"br",
"int ans=0;",
"ans",
"0",
"int n=s.length();",
"n",
"s.length()",
"s.length",
"s",
"for(int i=0;i<n;i++)\n\t\t{\n\t\t\tif(s.charAt(i)!=t.charAt(i))\n\t\t\tans++;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tif(s.charAt(i)!=t.charAt(i))\n\t\t\tans++;\n\t\t}",
"{\n\t\t\tif(s.charAt(i)!=t.charAt(i))\n\t\t\tans++;\n\t\t}",
"if(s.charAt(i)!=t.charAt(i))\n\t\t\tans++;",
"s.charAt(i)!=t.charAt(i)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) throws IOException {\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\tString t=br.readLine();\n\t\tint ans=0;\n\t\tint n=s.length();\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\t\tif(s.charAt(i)!=t.charAt(i))\n\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException {\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\tString t=br.readLine();\n\t\tint ans=0;\n\t\tint n=s.length();\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\t\tif(s.charAt(i)!=t.charAt(i))\n\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main"
]
|
import java.util.*;
import java.io.*;
public class Main{
public static void main(String[] args) throws IOException {
// TODO Auto-generated method stub
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String s=br.readLine();
String t=br.readLine();
int ans=0;
int n=s.length();
for(int i=0;i<n;i++)
{
if(s.charAt(i)!=t.charAt(i))
ans++;
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
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
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tchar[] S = s.toCharArray();\n\t\tchar[] T = t.toCharArray();\n\t\tint count = 0;\n\n\t\tfor(int i = 0;i < s.length();i++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tcount += 1;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\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\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tchar[] S = s.toCharArray();\n\t\tchar[] T = t.toCharArray();\n\t\tint count = 0;\n\n\t\tfor(int i = 0;i < s.length();i++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tcount += 1;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tchar[] S = s.toCharArray();\n\t\tchar[] T = t.toCharArray();\n\t\tint count = 0;\n\n\t\tfor(int i = 0;i < s.length();i++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tcount += 1;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tchar[] S = s.toCharArray();\n\t\tchar[] T = t.toCharArray();\n\t\tint count = 0;\n\n\t\tfor(int i = 0;i < s.length();i++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tcount += 1;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String s = scan.next();",
"s",
"scan.next()",
"scan.next",
"scan",
"String t = scan.next();",
"t",
"scan.next()",
"scan.next",
"scan",
"char[] S = s.toCharArray();",
"S",
"s.toCharArray()",
"s.toCharArray",
"s",
"char[] T = t.toCharArray();",
"T",
"t.toCharArray()",
"t.toCharArray",
"t",
"int count = 0;",
"count",
"0",
"for(int i = 0;i < s.length();i++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tcount += 1;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tcount += 1;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tcount += 1;\n\t\t\t}\n\t\t}",
"if(S[i] != T[i]) {\n\t\t\t\tcount += 1;\n\t\t\t}",
"S[i] != T[i]",
"S[i]",
"S",
"i",
"T[i]",
"T",
"i",
"{\n\t\t\t\tcount += 1;\n\t\t\t}",
"count += 1",
"count",
"1",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tchar[] S = s.toCharArray();\n\t\tchar[] T = t.toCharArray();\n\t\tint count = 0;\n\n\t\tfor(int i = 0;i < s.length();i++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tcount += 1;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tchar[] S = s.toCharArray();\n\t\tchar[] T = t.toCharArray();\n\t\tint count = 0;\n\n\t\tfor(int i = 0;i < s.length();i++) {\n\t\t\tif(S[i] != T[i]) {\n\t\t\t\tcount += 1;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String s = scan.next();
String t = scan.next();
char[] S = s.toCharArray();
char[] T = t.toCharArray();
int count = 0;
for(int i = 0;i < s.length();i++) {
if(S[i] != T[i]) {
count += 1;
}
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
4,
18,
18,
13,
13,
18,
13,
13,
30,
30,
40,
13,
4,
18,
18,
13,
13,
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
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
37,
47
],
[
47,
48
],
[
48,
49
],
[
37,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
52,
61
],
[
52,
62
],
[
62,
63
],
[
63,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
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\n\t\tScanner n = new Scanner(System.in);\n\n\t\tString S = n.next();\n\t\tString T = n.next();\n\n\t\tString[] S_list = S.split(\"\");\n\t\tString[] T_list = T.split(\"\");\n\n\n\t\tint count = 0;\n\t\tfor(int i=0;i<S.length();i++) {\n\t\t\tif(S_list[i].equals(T_list[i])) {\n\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String args[]) {\n\n\t\tScanner n = new Scanner(System.in);\n\n\t\tString S = n.next();\n\t\tString T = n.next();\n\n\t\tString[] S_list = S.split(\"\");\n\t\tString[] T_list = T.split(\"\");\n\n\n\t\tint count = 0;\n\t\tfor(int i=0;i<S.length();i++) {\n\t\t\tif(S_list[i].equals(T_list[i])) {\n\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"Main",
"public static void main(String args[]) {\n\n\t\tScanner n = new Scanner(System.in);\n\n\t\tString S = n.next();\n\t\tString T = n.next();\n\n\t\tString[] S_list = S.split(\"\");\n\t\tString[] T_list = T.split(\"\");\n\n\n\t\tint count = 0;\n\t\tfor(int i=0;i<S.length();i++) {\n\t\t\tif(S_list[i].equals(T_list[i])) {\n\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\n\t\tScanner n = new Scanner(System.in);\n\n\t\tString S = n.next();\n\t\tString T = n.next();\n\n\t\tString[] S_list = S.split(\"\");\n\t\tString[] T_list = T.split(\"\");\n\n\n\t\tint count = 0;\n\t\tfor(int i=0;i<S.length();i++) {\n\t\t\tif(S_list[i].equals(T_list[i])) {\n\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"Scanner n = new Scanner(System.in);",
"n",
"new Scanner(System.in)",
"String S = n.next();",
"S",
"n.next()",
"n.next",
"n",
"String T = n.next();",
"T",
"n.next()",
"n.next",
"n",
"String[] S_list = S.split(\"\");",
"S_list",
"S.split(\"\")",
"S.split",
"S",
"\"\"",
"String[] T_list = T.split(\"\");",
"T_list",
"T.split(\"\")",
"T.split",
"T",
"\"\"",
"int count = 0;",
"count",
"0",
"for(int i=0;i<S.length();i++) {\n\t\t\tif(S_list[i].equals(T_list[i])) {\n\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n\t\t\tif(S_list[i].equals(T_list[i])) {\n\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(S_list[i].equals(T_list[i])) {\n\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"if(S_list[i].equals(T_list[i])) {\n\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}",
"S_list[i].equals(T_list[i])",
"S_list[i].equals",
"S_list[i]",
"S_list",
"i",
"T_list[i]",
"T_list",
"i",
"{\n\n\t\t\t}",
"{\n\t\t\t\tcount++;\n\t\t\t}",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) {\n\n\t\tScanner n = new Scanner(System.in);\n\n\t\tString S = n.next();\n\t\tString T = n.next();\n\n\t\tString[] S_list = S.split(\"\");\n\t\tString[] T_list = T.split(\"\");\n\n\n\t\tint count = 0;\n\t\tfor(int i=0;i<S.length();i++) {\n\t\t\tif(S_list[i].equals(T_list[i])) {\n\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) {\n\n\t\tScanner n = new Scanner(System.in);\n\n\t\tString S = n.next();\n\t\tString T = n.next();\n\n\t\tString[] S_list = S.split(\"\");\n\t\tString[] T_list = T.split(\"\");\n\n\n\t\tint count = 0;\n\t\tfor(int i=0;i<S.length();i++) {\n\t\t\tif(S_list[i].equals(T_list[i])) {\n\n\t\t\t}else {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner n = new Scanner(System.in);
String S = n.next();
String T = n.next();
String[] S_list = S.split("");
String[] T_list = T.split("");
int count = 0;
for(int i=0;i<S.length();i++) {
if(S_list[i].equals(T_list[i])) {
}else {
count++;
}
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
41,
13,
17,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
40,
13,
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
],
[
66,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
11,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
34,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
11,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
9,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n static Scanner stdIn = new Scanner(System.in);\n public static void main(String[] args){\n char[] s = stdIn.next().toCharArray();\n char[] t = stdIn.next().toCharArray();\n\n int counter = 0;\n int n = s.length;\n for(int i=0; i<n; i++){\n if(s[i] != t[i])\n counter++;\n }\n\n System.out.println(counter);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n static Scanner stdIn = new Scanner(System.in);\n public static void main(String[] args){\n char[] s = stdIn.next().toCharArray();\n char[] t = stdIn.next().toCharArray();\n\n int counter = 0;\n int n = s.length;\n for(int i=0; i<n; i++){\n if(s[i] != t[i])\n counter++;\n }\n\n System.out.println(counter);\n }\n}",
"Main",
"static Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"public static void main(String[] args){\n char[] s = stdIn.next().toCharArray();\n char[] t = stdIn.next().toCharArray();\n\n int counter = 0;\n int n = s.length;\n for(int i=0; i<n; i++){\n if(s[i] != t[i])\n counter++;\n }\n\n System.out.println(counter);\n }",
"main",
"{\n char[] s = stdIn.next().toCharArray();\n char[] t = stdIn.next().toCharArray();\n\n int counter = 0;\n int n = s.length;\n for(int i=0; i<n; i++){\n if(s[i] != t[i])\n counter++;\n }\n\n System.out.println(counter);\n }",
"char[] s = stdIn.next().toCharArray();",
"s",
"stdIn.next().toCharArray()",
"stdIn.next().toCharArray",
"stdIn.next()",
"stdIn.next",
"stdIn",
"char[] t = stdIn.next().toCharArray();",
"t",
"stdIn.next().toCharArray()",
"stdIn.next().toCharArray",
"stdIn.next()",
"stdIn.next",
"stdIn",
"int counter = 0;",
"counter",
"0",
"int n = s.length;",
"n",
"s.length",
"s",
"s.length",
"for(int i=0; i<n; i++){\n if(s[i] != t[i])\n counter++;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n if(s[i] != t[i])\n counter++;\n }",
"{\n if(s[i] != t[i])\n counter++;\n }",
"if(s[i] != t[i])\n counter++;",
"s[i] != t[i]",
"s[i]",
"s",
"i",
"t[i]",
"t",
"i",
"counter++",
"counter",
"System.out.println(counter)",
"System.out.println",
"System.out",
"System",
"System.out",
"counter",
"String[] args",
"args",
"public class Main {\n static Scanner stdIn = new Scanner(System.in);\n public static void main(String[] args){\n char[] s = stdIn.next().toCharArray();\n char[] t = stdIn.next().toCharArray();\n\n int counter = 0;\n int n = s.length;\n for(int i=0; i<n; i++){\n if(s[i] != t[i])\n counter++;\n }\n\n System.out.println(counter);\n }\n}",
"public class Main {\n static Scanner stdIn = new Scanner(System.in);\n public static void main(String[] args){\n char[] s = stdIn.next().toCharArray();\n char[] t = stdIn.next().toCharArray();\n\n int counter = 0;\n int n = s.length;\n for(int i=0; i<n; i++){\n if(s[i] != t[i])\n counter++;\n }\n\n System.out.println(counter);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
static Scanner stdIn = new Scanner(System.in);
public static void main(String[] args){
char[] s = stdIn.next().toCharArray();
char[] t = stdIn.next().toCharArray();
int counter = 0;
int n = s.length;
for(int i=0; i<n; i++){
if(s[i] != t[i])
counter++;
}
System.out.println(counter);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
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
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
41,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
40,
50
],
[
50,
51
],
[
8,
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\t\n\t\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc= new Scanner(System.in);\n\t\tString n= sc.nextLine();\n\t\t\n\t\tString n2= sc.nextLine();\n\t\tint count=0;\n\t\tfor(int i=0; i<n.length(); i++) {\n\t\t\tif(n.charAt(i)!=n2.charAt(i))\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\t\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc= new Scanner(System.in);\n\t\tString n= sc.nextLine();\n\t\t\n\t\tString n2= sc.nextLine();\n\t\tint count=0;\n\t\tfor(int i=0; i<n.length(); i++) {\n\t\t\tif(n.charAt(i)!=n2.charAt(i))\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\t\tScanner sc= new Scanner(System.in);\n\t\tString n= sc.nextLine();\n\t\t\n\t\tString n2= sc.nextLine();\n\t\tint count=0;\n\t\tfor(int i=0; i<n.length(); i++) {\n\t\t\tif(n.charAt(i)!=n2.charAt(i))\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tScanner sc= new Scanner(System.in);\n\t\tString n= sc.nextLine();\n\t\t\n\t\tString n2= sc.nextLine();\n\t\tint count=0;\n\t\tfor(int i=0; i<n.length(); i++) {\n\t\t\tif(n.charAt(i)!=n2.charAt(i))\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t}",
"Scanner sc= new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String n= sc.nextLine();",
"n",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String n2= sc.nextLine();",
"n2",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int count=0;",
"count",
"0",
"for(int i=0; i<n.length(); i++) {\n\t\t\tif(n.charAt(i)!=n2.charAt(i))\n\t\t\tcount++;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n.length()",
"i",
"n.length()",
"n.length",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tif(n.charAt(i)!=n2.charAt(i))\n\t\t\tcount++;\n\t\t}",
"{\n\t\t\tif(n.charAt(i)!=n2.charAt(i))\n\t\t\tcount++;\n\t\t}",
"if(n.charAt(i)!=n2.charAt(i))\n\t\t\tcount++;",
"n.charAt(i)!=n2.charAt(i)",
"n.charAt(i)",
"n.charAt",
"n",
"i",
"n2.charAt(i)",
"n2.charAt",
"n2",
"i",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\t\n\t\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc= new Scanner(System.in);\n\t\tString n= sc.nextLine();\n\t\t\n\t\tString n2= sc.nextLine();\n\t\tint count=0;\n\t\tfor(int i=0; i<n.length(); i++) {\n\t\t\tif(n.charAt(i)!=n2.charAt(i))\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t}\n}",
"public class Main {\n\t\n\t\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc= new Scanner(System.in);\n\t\tString n= sc.nextLine();\n\t\t\n\t\tString n2= sc.nextLine();\n\t\tint count=0;\n\t\tfor(int i=0; i<n.length(); i++) {\n\t\t\tif(n.charAt(i)!=n2.charAt(i))\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception{
Scanner sc= new Scanner(System.in);
String n= sc.nextLine();
String n2= sc.nextLine();
int count=0;
for(int i=0; i<n.length(); i++) {
if(n.charAt(i)!=n2.charAt(i))
count++;
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
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
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
28,
38
],
[
38,
39
],
[
39,
40
],
[
28,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
11,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
9,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
]
| [
"\n\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString one = br.readLine();\n\t\tString two = br.readLine();\n\t\tint count = 0;\n\t\tfor (int i = 0; i < one.length(); i++) {\n\t\t\tif (one.charAt(i) != two.charAt(i)) {\n\t\t\t\t++count;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString one = br.readLine();\n\t\tString two = br.readLine();\n\t\tint count = 0;\n\t\tfor (int i = 0; i < one.length(); i++) {\n\t\t\tif (one.charAt(i) != two.charAt(i)) {\n\t\t\t\t++count;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString one = br.readLine();\n\t\tString two = br.readLine();\n\t\tint count = 0;\n\t\tfor (int i = 0; i < one.length(); i++) {\n\t\t\tif (one.charAt(i) != two.charAt(i)) {\n\t\t\t\t++count;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString one = br.readLine();\n\t\tString two = br.readLine();\n\t\tint count = 0;\n\t\tfor (int i = 0; i < one.length(); i++) {\n\t\t\tif (one.charAt(i) != two.charAt(i)) {\n\t\t\t\t++count;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String one = br.readLine();",
"one",
"br.readLine()",
"br.readLine",
"br",
"String two = br.readLine();",
"two",
"br.readLine()",
"br.readLine",
"br",
"int count = 0;",
"count",
"0",
"for (int i = 0; i < one.length(); i++) {\n\t\t\tif (one.charAt(i) != two.charAt(i)) {\n\t\t\t\t++count;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < one.length()",
"i",
"one.length()",
"one.length",
"one",
"i++",
"i++",
"i",
"{\n\t\t\tif (one.charAt(i) != two.charAt(i)) {\n\t\t\t\t++count;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (one.charAt(i) != two.charAt(i)) {\n\t\t\t\t++count;\n\t\t\t}\n\t\t}",
"if (one.charAt(i) != two.charAt(i)) {\n\t\t\t\t++count;\n\t\t\t}",
"one.charAt(i) != two.charAt(i)",
"one.charAt(i)",
"one.charAt",
"one",
"i",
"two.charAt(i)",
"two.charAt",
"two",
"i",
"{\n\t\t\t\t++count;\n\t\t\t}",
"++count",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString one = br.readLine();\n\t\tString two = br.readLine();\n\t\tint count = 0;\n\t\tfor (int i = 0; i < one.length(); i++) {\n\t\t\tif (one.charAt(i) != two.charAt(i)) {\n\t\t\t\t++count;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString one = br.readLine();\n\t\tString two = br.readLine();\n\t\tint count = 0;\n\t\tfor (int i = 0; i < one.length(); i++) {\n\t\t\tif (one.charAt(i) != two.charAt(i)) {\n\t\t\t\t++count;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n}",
"Main"
]
|
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String one = br.readLine();
String two = br.readLine();
int count = 0;
for (int i = 0; i < one.length(); i++) {
if (one.charAt(i) != two.charAt(i)) {
++count;
}
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
73,
5
],
[
73,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
59,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
6,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
]
| [
"import java.util.*;\n\npublic class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString s=sc.next();\n\t\tString t=sc.next();\n\t\tchar[] s1=s.toCharArray();\n\t\tchar[] t1=t.toCharArray();\n\t\tint cnt=0;\n\t\tfor(int i=0;i<s1.length;i++)\n\t\t{\n\t\t\tif(s1[i]!=t1[i])\n\t\t\t{\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(cnt);\n\t\tsc.close();\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString s=sc.next();\n\t\tString t=sc.next();\n\t\tchar[] s1=s.toCharArray();\n\t\tchar[] t1=t.toCharArray();\n\t\tint cnt=0;\n\t\tfor(int i=0;i<s1.length;i++)\n\t\t{\n\t\t\tif(s1[i]!=t1[i])\n\t\t\t{\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(cnt);\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString s=sc.next();\n\t\tString t=sc.next();\n\t\tchar[] s1=s.toCharArray();\n\t\tchar[] t1=t.toCharArray();\n\t\tint cnt=0;\n\t\tfor(int i=0;i<s1.length;i++)\n\t\t{\n\t\t\tif(s1[i]!=t1[i])\n\t\t\t{\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(cnt);\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString s=sc.next();\n\t\tString t=sc.next();\n\t\tchar[] s1=s.toCharArray();\n\t\tchar[] t1=t.toCharArray();\n\t\tint cnt=0;\n\t\tfor(int i=0;i<s1.length;i++)\n\t\t{\n\t\t\tif(s1[i]!=t1[i])\n\t\t\t{\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(cnt);\n\t\tsc.close();\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s=sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"String t=sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"char[] s1=s.toCharArray();",
"s1",
"s.toCharArray()",
"s.toCharArray",
"s",
"char[] t1=t.toCharArray();",
"t1",
"t.toCharArray()",
"t.toCharArray",
"t",
"int cnt=0;",
"cnt",
"0",
"for(int i=0;i<s1.length;i++)\n\t\t{\n\t\t\tif(s1[i]!=t1[i])\n\t\t\t{\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s1.length",
"i",
"s1.length",
"s1",
"s1.length",
"i++",
"i++",
"i",
"{\n\t\t\tif(s1[i]!=t1[i])\n\t\t\t{\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(s1[i]!=t1[i])\n\t\t\t{\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t}",
"if(s1[i]!=t1[i])\n\t\t\t{\n\t\t\t\tcnt++;\n\t\t\t}",
"s1[i]!=t1[i]",
"s1[i]",
"s1",
"i",
"t1[i]",
"t1",
"i",
"{\n\t\t\t\tcnt++;\n\t\t\t}",
"cnt++",
"cnt",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString s=sc.next();\n\t\tString t=sc.next();\n\t\tchar[] s1=s.toCharArray();\n\t\tchar[] t1=t.toCharArray();\n\t\tint cnt=0;\n\t\tfor(int i=0;i<s1.length;i++)\n\t\t{\n\t\t\tif(s1[i]!=t1[i])\n\t\t\t{\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(cnt);\n\t\tsc.close();\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString s=sc.next();\n\t\tString t=sc.next();\n\t\tchar[] s1=s.toCharArray();\n\t\tchar[] t1=t.toCharArray();\n\t\tint cnt=0;\n\t\tfor(int i=0;i<s1.length;i++)\n\t\t{\n\t\t\tif(s1[i]!=t1[i])\n\t\t\t{\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(cnt);\n\t\tsc.close();\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main
{
public static void main(String[] args)
{
Scanner sc=new Scanner(System.in);
String s=sc.next();
String t=sc.next();
char[] s1=s.toCharArray();
char[] t1=t.toCharArray();
int cnt=0;
for(int i=0;i<s1.length;i++)
{
if(s1[i]!=t1[i])
{
cnt++;
}
}
System.out.println(cnt);
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
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
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
39,
49
],
[
49,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
6,
57
],
[
57,
58
]
]
| [
"import java.util.*;\n\nclass Main{\n static public void main(String[] args){\n Scanner sc=new Scanner(System.in);\n String str1=sc.nextLine(),str2=sc.nextLine();\n int num=0;\n for(int i=0;i<str1.length();i++)\n if(str1.charAt(i)!=str2.charAt(i))\n num++;\n \n System.out.println(num);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n static public void main(String[] args){\n Scanner sc=new Scanner(System.in);\n String str1=sc.nextLine(),str2=sc.nextLine();\n int num=0;\n for(int i=0;i<str1.length();i++)\n if(str1.charAt(i)!=str2.charAt(i))\n num++;\n \n System.out.println(num);\n }\n}",
"Main",
"static public void main(String[] args){\n Scanner sc=new Scanner(System.in);\n String str1=sc.nextLine(),str2=sc.nextLine();\n int num=0;\n for(int i=0;i<str1.length();i++)\n if(str1.charAt(i)!=str2.charAt(i))\n num++;\n \n System.out.println(num);\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n String str1=sc.nextLine(),str2=sc.nextLine();\n int num=0;\n for(int i=0;i<str1.length();i++)\n if(str1.charAt(i)!=str2.charAt(i))\n num++;\n \n System.out.println(num);\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str1=sc.nextLine()",
"str1",
"sc.nextLine()",
"sc.nextLine",
"sc",
"str2=sc.nextLine();",
"str2",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int num=0;",
"num",
"0",
"for(int i=0;i<str1.length();i++)\n if(str1.charAt(i)!=str2.charAt(i))\n num++;",
"int i=0;",
"int i=0;",
"i",
"0",
"i<str1.length()",
"i",
"str1.length()",
"str1.length",
"str1",
"i++",
"i++",
"i",
"if(str1.charAt(i)!=str2.charAt(i))\n num++;",
"if(str1.charAt(i)!=str2.charAt(i))\n num++;",
"str1.charAt(i)!=str2.charAt(i)",
"str1.charAt(i)",
"str1.charAt",
"str1",
"i",
"str2.charAt(i)",
"str2.charAt",
"str2",
"i",
"num++",
"num",
"System.out.println(num)",
"System.out.println",
"System.out",
"System",
"System.out",
"num",
"String[] args",
"args"
]
| import java.util.*;
class Main{
static public void main(String[] args){
Scanner sc=new Scanner(System.in);
String str1=sc.nextLine(),str2=sc.nextLine();
int num=0;
for(int i=0;i<str1.length();i++)
if(str1.charAt(i)!=str2.charAt(i))
num++;
System.out.println(num);
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.