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 { //クラス名はMain\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int K = in.nextInt();\n int A = K + K*K + K*K*K;\n \n \n System.out.println(A);\n \n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main { //クラス名はMain\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int K = in.nextInt();\n int A = K + K*K + K*K*K;\n \n \n System.out.println(A);\n \n }\n}", "Main", "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int K = in.nextInt();\n int A = K + K*K + K*K*K;\n \n \n System.out.println(A);\n \n }", "main", "{\n Scanner in = new Scanner(System.in);\n int K = in.nextInt();\n int A = K + K*K + K*K*K;\n \n \n System.out.println(A);\n \n }", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int K = in.nextInt();", "K", "in.nextInt()", "in.nextInt", "in", "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 { //クラス名はMain\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int K = in.nextInt();\n int A = K + K*K + K*K*K;\n \n \n System.out.println(A);\n \n }\n}", "public class Main { //クラス名はMain\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int K = in.nextInt();\n int A = K + K*K + K*K*K;\n \n \n System.out.println(A);\n \n }\n}", "Main" ]
import java.util.Scanner; public class Main { //クラス名はMain public static void main(String[] args) { Scanner in = new Scanner(System.in); int K = in.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, 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.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n System.out.println(a+a*a+a*a*a);\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 long a = sc.nextLong();\n System.out.println(a+a*a+a*a*a);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n System.out.println(a+a*a+a*a*a);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n System.out.println(a+a*a+a*a*a);\n }", "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 public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n System.out.println(a+a*a+a*a*a);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n System.out.println(a+a*a+a*a*a);\n }\n}", "Main" ]
import java.util.Scanner; 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, 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 ], [ 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 ], [ 20, 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 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 6, 41 ], [ 41, 42 ], [ 0, 43 ], [ 43, 44 ], [ 43, 45 ] ]
[ "import java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextDouble();\n sc.close();\n\n long ret = (long) (a + Math.pow(a, 2) + Math.pow(a, 3));\n\n System.out.println(ret);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextDouble();\n sc.close();\n\n long ret = (long) (a + Math.pow(a, 2) + Math.pow(a, 3));\n\n System.out.println(ret);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextDouble();\n sc.close();\n\n long ret = (long) (a + Math.pow(a, 2) + Math.pow(a, 3));\n\n System.out.println(ret);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n double a = sc.nextDouble();\n sc.close();\n\n long ret = (long) (a + Math.pow(a, 2) + Math.pow(a, 3));\n\n System.out.println(ret);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "double a = sc.nextDouble();", "a", "sc.nextDouble()", "sc.nextDouble", "sc", "sc.close()", "sc.close", "sc", "long ret = (long) (a + Math.pow(a, 2) + Math.pow(a, 3));", "ret", "(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(ret)", "System.out.println", "System.out", "System", "System.out", "ret", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextDouble();\n sc.close();\n\n long ret = (long) (a + Math.pow(a, 2) + Math.pow(a, 3));\n\n System.out.println(ret);\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextDouble();\n sc.close();\n\n long ret = (long) (a + Math.pow(a, 2) + Math.pow(a, 3));\n\n System.out.println(ret);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double a = sc.nextDouble(); sc.close(); long ret = (long) (a + Math.pow(a, 2) + Math.pow(a, 3)); System.out.println(ret); } }
[ 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;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n Scanner entrada = new Scanner(System.in);\n short numero=entrada.nextShort();\n double calculo= numero+Math.pow(numero,2)+Math.pow(numero,3);\n System.out.println((short)calculo);\n\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n\n Scanner entrada = new Scanner(System.in);\n short numero=entrada.nextShort();\n double calculo= numero+Math.pow(numero,2)+Math.pow(numero,3);\n System.out.println((short)calculo);\n\n }\n}", "Main", "public static void main(String[] args) {\n\n Scanner entrada = new Scanner(System.in);\n short numero=entrada.nextShort();\n double calculo= numero+Math.pow(numero,2)+Math.pow(numero,3);\n System.out.println((short)calculo);\n\n }", "main", "{\n\n Scanner entrada = new Scanner(System.in);\n short numero=entrada.nextShort();\n double calculo= numero+Math.pow(numero,2)+Math.pow(numero,3);\n System.out.println((short)calculo);\n\n }", "Scanner entrada = new Scanner(System.in);", "entrada", "new Scanner(System.in)", "short numero=entrada.nextShort();", "numero", "entrada.nextShort()", "entrada.nextShort", "entrada", "double calculo= numero+Math.pow(numero,2)+Math.pow(numero,3);", "calculo", "numero+Math.pow(numero,2)+Math.pow(numero,3)", "numero+Math.pow(numero,2)+Math.pow(numero,3)", "numero", "Math.pow(numero,2)", "Math.pow", "Math", "numero", "2", "Math.pow(numero,3)", "Math.pow", "Math", "numero", "3", "System.out.println((short)calculo)", "System.out.println", "System.out", "System", "System.out", "(short)calculo", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n\n Scanner entrada = new Scanner(System.in);\n short numero=entrada.nextShort();\n double calculo= numero+Math.pow(numero,2)+Math.pow(numero,3);\n System.out.println((short)calculo);\n\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n\n Scanner entrada = new Scanner(System.in);\n short numero=entrada.nextShort();\n double calculo= numero+Math.pow(numero,2)+Math.pow(numero,3);\n System.out.println((short)calculo);\n\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner entrada = new Scanner(System.in); short numero=entrada.nextShort(); double calculo= numero+Math.pow(numero,2)+Math.pow(numero,3); System.out.println((short)calculo); } }
[ 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, 4, 18, 13, 4, 18, 18, 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 ], [ 53, 11 ], [ 53, 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 ], [ 14, 42 ], [ 42, 43 ], [ 43, 44 ], [ 14, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 12, 50 ], [ 50, 51 ], [ 0, 52 ], [ 52, 53 ], [ 52, 54 ] ]
[ "import java.io.*;\nimport java.util.*;\nimport java.lang.*;\n\npublic class Main\n{\n\tpublic static void main(String args[]) throws java.lang.Exception,FileNotFoundException\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\n\n\t\tint a = sc.nextInt();\n\n\t\tint res = a + a*a + a*a*a;\n\n\t\tSystem.out.println(res);\n\n\t\tsc.close();\n\t\tSystem.out.flush();\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "import java.lang.*;", "lang.*", "java", "public class Main\n{\n\tpublic static void main(String args[]) throws java.lang.Exception,FileNotFoundException\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\n\n\t\tint a = sc.nextInt();\n\n\t\tint res = a + a*a + a*a*a;\n\n\t\tSystem.out.println(res);\n\n\t\tsc.close();\n\t\tSystem.out.flush();\n\t}\n}", "Main", "public static void main(String args[]) throws java.lang.Exception,FileNotFoundException\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\n\n\t\tint a = sc.nextInt();\n\n\t\tint res = a + a*a + a*a*a;\n\n\t\tSystem.out.println(res);\n\n\t\tsc.close();\n\t\tSystem.out.flush();\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\n\t\tint a = sc.nextInt();\n\n\t\tint res = a + a*a + a*a*a;\n\n\t\tSystem.out.println(res);\n\n\t\tsc.close();\n\t\tSystem.out.flush();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int res = a + a*a + a*a*a;", "res", "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(res)", "System.out.println", "System.out", "System", "System.out", "res", "sc.close()", "sc.close", "sc", "System.out.flush()", "System.out.flush", "System.out", "System", "System.out", "String args[]", "args", "public class Main\n{\n\tpublic static void main(String args[]) throws java.lang.Exception,FileNotFoundException\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\n\n\t\tint a = sc.nextInt();\n\n\t\tint res = a + a*a + a*a*a;\n\n\t\tSystem.out.println(res);\n\n\t\tsc.close();\n\t\tSystem.out.flush();\n\t}\n}", "public class Main\n{\n\tpublic static void main(String args[]) throws java.lang.Exception,FileNotFoundException\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\n\n\t\tint a = sc.nextInt();\n\n\t\tint res = a + a*a + a*a*a;\n\n\t\tSystem.out.println(res);\n\n\t\tsc.close();\n\t\tSystem.out.flush();\n\t}\n}", "Main" ]
import java.io.*; import java.util.*; import java.lang.*; public class Main { public static void main(String args[]) throws java.lang.Exception,FileNotFoundException { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int res = a + a*a + a*a*a; System.out.println(res); sc.close(); System.out.flush(); } }
[ 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, 4, 18, 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 ], [ 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 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 6, 39 ], [ 39, 40 ], [ 0, 41 ], [ 41, 42 ], [ 41, 43 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n int ret = a + a*a + a*a*a;\n System.out.println(String.valueOf(ret));\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n int ret = a + a*a + a*a*a;\n System.out.println(String.valueOf(ret));\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n int ret = a + a*a + a*a*a;\n System.out.println(String.valueOf(ret));\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n int ret = a + a*a + a*a*a;\n System.out.println(String.valueOf(ret));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int ret = a + a*a + a*a*a;", "ret", "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(String.valueOf(ret))", "System.out.println", "System.out", "System", "System.out", "String.valueOf(ret)", "String.valueOf", "String", "ret", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n int ret = a + a*a + a*a*a;\n System.out.println(String.valueOf(ret));\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n int ret = a + a*a + a*a*a;\n System.out.println(String.valueOf(ret));\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 ret = a + a*a + a*a*a; System.out.println(String.valueOf(ret)); } }
[ 7, 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 ], [ 44, 8 ], [ 44, 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 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 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 ], [ 9, 41 ], [ 41, 42 ], [ 0, 43 ], [ 43, 44 ], [ 43, 45 ] ]
[ "\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\tint n = Integer.parseInt(br.readLine());\n\t\tSystem.out.println((int) (n + Math.pow(n, 2) + Math.pow(n, 3)));\n\n\t}\n\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\tint n = Integer.parseInt(br.readLine());\n\t\tSystem.out.println((int) (n + Math.pow(n, 2) + Math.pow(n, 3)));\n\n\t}\n\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tSystem.out.println((int) (n + Math.pow(n, 2) + Math.pow(n, 3)));\n\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tSystem.out.println((int) (n + Math.pow(n, 2) + Math.pow(n, 3)));\n\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "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) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tSystem.out.println((int) (n + Math.pow(n, 2) + Math.pow(n, 3)));\n\n\t}\n\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\tint n = Integer.parseInt(br.readLine());\n\t\tSystem.out.println((int) (n + Math.pow(n, 2) + Math.pow(n, 3)));\n\n\t}\n\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)); int n = Integer.parseInt(br.readLine()); System.out.println((int) (n + Math.pow(n, 2) + Math.pow(n, 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, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 2, 2, 13, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 13, 41, 13, 13, 42, 17, 30, 40, 13, 0, 13, 17, 40, 13, 14, 2, 13, 18, 13, 13, 30, 29, 40, 17, 14, 2, 18, 13, 13, 18, 13, 13, 30, 3, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 42, 17, 30, 0, 13, 17, 40, 13, 14, 2, 13, 18, 13, 13, 30, 29, 40, 17, 14, 2, 18, 13, 13, 18, 13, 13, 30, 3, 0, 13, 17, 42, 17, 30, 40, 13, 40, 13, 14, 2, 13, 18, 13, 13, 30, 29, 40, 17, 14, 2, 18, 13, 13, 18, 13, 13, 30, 3, 29, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 18, 13, 13, 2, 4, 18, 13, 13, 13, 23, 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, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 2, 2, 2, 13, 13, 4, 18, 13, 4, 18, 13, 13, 13, 14, 2, 13, 17, 30, 29, 17, 29, 17, 23, 13, 23, 13, 23, 13, 6, 13, 41, 13, 17, 41, 13, 17, 12, 13, 30, 0, 13, 20, 0, 13, 17, 23, 13, 12, 13, 30, 14, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 14, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 29, 4, 18, 13, 29, 4, 18, 13, 17, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 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 ], [ 439, 17 ], [ 439, 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 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 38, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 40, 44 ], [ 38, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 45, 49 ], [ 18, 50 ], [ 50, 51 ], [ 439, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 58, 60 ], [ 54, 61 ], [ 61, 62 ], [ 61, 63 ], [ 54, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 69, 71 ], [ 66, 72 ], [ 72, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 74, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 66, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 89, 90 ], [ 89, 91 ], [ 84, 92 ], [ 92, 93 ], [ 54, 94 ], [ 94, 95 ], [ 52, 96 ], [ 96, 97 ], [ 52, 98 ], [ 98, 99 ], [ 439, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 106, 107 ], [ 106, 108 ], [ 102, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 115, 116 ], [ 111, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 120, 122 ], [ 117, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 111, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 132, 133 ], [ 132, 134 ], [ 127, 135 ], [ 135, 136 ], [ 102, 137 ], [ 137, 138 ], [ 137, 139 ], [ 102, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 142, 145 ], [ 145, 146 ], [ 142, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 150, 152 ], [ 147, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 142, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 162, 163 ], [ 162, 164 ], [ 157, 165 ], [ 165, 166 ], [ 102, 167 ], [ 167, 168 ], [ 100, 169 ], [ 169, 170 ], [ 439, 171 ], [ 171, 172 ], [ 171, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 175, 178 ], [ 178, 179 ], [ 178, 180 ], [ 175, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 182, 185 ], [ 181, 186 ], [ 171, 187 ], [ 187, 188 ], [ 171, 189 ], [ 189, 190 ], [ 439, 191 ], [ 191, 192 ], [ 191, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 197, 198 ], [ 198, 199 ], [ 193, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 202, 204 ], [ 200, 205 ], [ 205, 206 ], [ 205, 207 ], [ 207, 208 ], [ 207, 209 ], [ 200, 210 ], [ 210, 211 ], [ 211, 212 ], [ 200, 213 ], [ 214, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 215, 219 ], [ 219, 220 ], [ 220, 221 ], [ 219, 222 ], [ 193, 223 ], [ 223, 224 ], [ 191, 225 ], [ 225, 226 ], [ 439, 227 ], [ 227, 228 ], [ 227, 229 ], [ 229, 230 ], [ 230, 231 ], [ 230, 232 ], [ 229, 233 ], [ 233, 234 ], [ 234, 235 ], [ 235, 236 ], [ 235, 237 ], [ 233, 238 ], [ 238, 239 ], [ 238, 240 ], [ 240, 241 ], [ 241, 242 ], [ 233, 243 ], [ 243, 244 ], [ 244, 245 ], [ 233, 246 ], [ 247, 247 ], [ 247, 248 ], [ 248, 249 ], [ 248, 250 ], [ 250, 251 ], [ 251, 252 ], [ 252, 253 ], [ 252, 254 ], [ 251, 255 ], [ 255, 256 ], [ 256, 257 ], [ 255, 258 ], [ 258, 259 ], [ 259, 260 ], [ 258, 261 ], [ 250, 262 ], [ 229, 263 ], [ 263, 264 ], [ 264, 265 ], [ 264, 266 ], [ 263, 267 ], [ 267, 268 ], [ 268, 269 ], [ 229, 270 ], [ 270, 271 ], [ 227, 272 ], [ 272, 273 ], [ 227, 274 ], [ 274, 275 ], [ 227, 276 ], [ 276, 277 ], [ 439, 278 ], [ 278, 279 ], [ 278, 280 ], [ 280, 281 ], [ 280, 282 ], [ 278, 283 ], [ 283, 284 ], [ 283, 285 ], [ 278, 286 ], [ 286, 287 ], [ 286, 288 ], [ 288, 289 ], [ 289, 290 ], [ 289, 291 ], [ 288, 292 ], [ 292, 293 ], [ 292, 294 ], [ 286, 295 ], [ 295, 296 ], [ 278, 297 ], [ 297, 298 ], [ 297, 299 ], [ 299, 300 ], [ 300, 301 ], [ 301, 302 ], [ 302, 303 ], [ 302, 304 ], [ 301, 305 ], [ 305, 306 ], [ 306, 307 ], [ 307, 308 ], [ 300, 309 ], [ 309, 310 ], [ 310, 311 ], [ 311, 312 ], [ 311, 313 ], [ 313, 314 ], [ 314, 315 ], [ 310, 316 ], [ 316, 317 ], [ 317, 318 ], [ 317, 319 ], [ 299, 320 ], [ 320, 321 ], [ 321, 322 ], [ 322, 323 ], [ 278, 324 ], [ 324, 325 ], [ 324, 326 ], [ 326, 327 ], [ 327, 328 ], [ 328, 329 ], [ 329, 330 ], [ 329, 331 ], [ 328, 332 ], [ 332, 333 ], [ 333, 334 ], [ 334, 335 ], [ 327, 336 ], [ 336, 337 ], [ 337, 338 ], [ 338, 339 ], [ 338, 340 ], [ 340, 341 ], [ 341, 342 ], [ 337, 343 ], [ 343, 344 ], [ 344, 345 ], [ 345, 346 ], [ 346, 347 ], [ 326, 348 ], [ 348, 349 ], [ 349, 350 ], [ 350, 351 ], [ 349, 352 ], [ 278, 353 ], [ 353, 354 ], [ 353, 355 ], [ 355, 356 ], [ 356, 357 ], [ 357, 358 ], [ 358, 359 ], [ 357, 360 ], [ 360, 361 ], [ 278, 362 ], [ 362, 363 ], [ 362, 364 ], [ 364, 365 ], [ 365, 366 ], [ 366, 367 ], [ 367, 368 ], [ 366, 369 ], [ 369, 370 ], [ 278, 371 ], [ 371, 372 ], [ 371, 373 ], [ 373, 374 ], [ 374, 375 ], [ 375, 376 ], [ 376, 377 ], [ 375, 378 ], [ 378, 379 ], [ 278, 380 ], [ 380, 381 ], [ 380, 382 ], [ 382, 383 ], [ 383, 384 ], [ 383, 385 ], [ 382, 387 ], [ 387, 388 ], [ 388, 389 ], [ 389, 390 ], [ 389, 391 ], [ 387, 392 ], [ 392, 393 ], [ 392, 394 ], [ 387, 395 ], [ 395, 396 ], [ 396, 397 ], [ 387, 398 ], [ 398, 399 ], [ 399, 400 ], [ 400, 401 ], [ 400, 402 ], [ 399, 403 ], [ 403, 404 ], [ 382, 405 ], [ 405, 406 ], [ 380, 407 ], [ 407, 408 ], [ 278, 409 ], [ 409, 410 ], [ 409, 411 ], [ 411, 412 ], [ 412, 413 ], [ 412, 414 ], [ 411, 416 ], [ 416, 417 ], [ 417, 418 ], [ 418, 419 ], [ 418, 420 ], [ 416, 421 ], [ 421, 422 ], [ 421, 423 ], [ 416, 424 ], [ 424, 425 ], [ 425, 426 ], [ 416, 427 ], [ 427, 428 ], [ 428, 429 ], [ 429, 430 ], [ 429, 431 ], [ 428, 432 ], [ 432, 433 ], [ 411, 434 ], [ 434, 435 ], [ 409, 436 ], [ 436, 437 ], [ 0, 438 ], [ 438, 439 ], [ 438, 440 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.*;\n\n\npublic class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n int a = sc.nextInt();\n System.out.print(String.valueOf(a + (int)Math.pow(a,2) + (int)Math.pow(a,3)));\n }\n /**\n\t * 循環の長さを返します。\n\t *\n\t * @param arr\n\t * 数列\n\t * @param startPos\n\t * 循環の開始位置\n\t *\n\t * @return 循環の長さを返します。循環を検出できなかった場合は-1を返します。\n\t */\n\tprivate static int getCycle(int[] arr, int startPos) {\n\t\tint cycle = 0;\n\t\tint a = startPos;\n\t\tint b = startPos;\n\t\twhile (true) {\n\t\t\tcycle++;\n\t\t\ta += 2;\n\t\t\tb++;\n\t\t\tif (a >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn cycle;\n\t}\n /**\n\t * 循環の開始位置を返します。\n\t *\n\t * @param arr\n\t * 数列\n\t *\n\t * @return 循環開始位置。循環を検出できない場合は-1を返します。\n\t */\n\tprivate static int getStartPosition(int[] arr) {\n\t\tint a = 0;\n\t\tint b = 0;\n\t\twhile (true) {\n\t\t\ta += 2;\n\t\t\tb++;\n\t\t\tif (a >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\ta = 0;\n\t\twhile (true) {\n\t\t\ta++;\n\t\t\tb++;\n\t\t\tif (b >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn a;\n\t}\n public static Double calculate(Double base, Double n) {\n return Math.pow(Math.E, Math.log(base)/n);\n }\n\n public static int[] toArray(List<Integer> target) {\n\n final int[] result = new int[target.size()];\n for (int i = 0; i < result.length; i++) {\n result[i] = target.get(i);\n }\n\n return result;\n }\n public static boolean isMultiple (String s, int base, int m) {\n\tint temp = 0;\n\tfor (int i=0; i<s.length(); i++) {\n\t\ttemp = (temp*base+Character.getNumericValue(s.charAt(i)))%m;\n\t}\n\tif (temp==0) {return true;}\n\treturn false;\n}\nstatic class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.*;", "util.*", "java", "public class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n int a = sc.nextInt();\n System.out.print(String.valueOf(a + (int)Math.pow(a,2) + (int)Math.pow(a,3)));\n }\n /**\n\t * 循環の長さを返します。\n\t *\n\t * @param arr\n\t * 数列\n\t * @param startPos\n\t * 循環の開始位置\n\t *\n\t * @return 循環の長さを返します。循環を検出できなかった場合は-1を返します。\n\t */\n\tprivate static int getCycle(int[] arr, int startPos) {\n\t\tint cycle = 0;\n\t\tint a = startPos;\n\t\tint b = startPos;\n\t\twhile (true) {\n\t\t\tcycle++;\n\t\t\ta += 2;\n\t\t\tb++;\n\t\t\tif (a >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn cycle;\n\t}\n /**\n\t * 循環の開始位置を返します。\n\t *\n\t * @param arr\n\t * 数列\n\t *\n\t * @return 循環開始位置。循環を検出できない場合は-1を返します。\n\t */\n\tprivate static int getStartPosition(int[] arr) {\n\t\tint a = 0;\n\t\tint b = 0;\n\t\twhile (true) {\n\t\t\ta += 2;\n\t\t\tb++;\n\t\t\tif (a >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\ta = 0;\n\t\twhile (true) {\n\t\t\ta++;\n\t\t\tb++;\n\t\t\tif (b >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn a;\n\t}\n public static Double calculate(Double base, Double n) {\n return Math.pow(Math.E, Math.log(base)/n);\n }\n\n public static int[] toArray(List<Integer> target) {\n\n final int[] result = new int[target.size()];\n for (int i = 0; i < result.length; i++) {\n result[i] = target.get(i);\n }\n\n return result;\n }\n public static boolean isMultiple (String s, int base, int m) {\n\tint temp = 0;\n\tfor (int i=0; i<s.length(); i++) {\n\t\ttemp = (temp*base+Character.getNumericValue(s.charAt(i)))%m;\n\t}\n\tif (temp==0) {return true;}\n\treturn false;\n}\nstatic class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n}", "Main", "public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n int a = sc.nextInt();\n System.out.print(String.valueOf(a + (int)Math.pow(a,2) + (int)Math.pow(a,3)));\n }", "main", "{\n FastScanner sc = new FastScanner(System.in);\n int a = sc.nextInt();\n System.out.print(String.valueOf(a + (int)Math.pow(a,2) + (int)Math.pow(a,3)));\n }", "FastScanner sc = new FastScanner(System.in);", "sc", "new FastScanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "System.out.print(String.valueOf(a + (int)Math.pow(a,2) + (int)Math.pow(a,3)))", "System.out.print", "System.out", "System", "System.out", "String.valueOf(a + (int)Math.pow(a,2) + (int)Math.pow(a,3))", "String.valueOf", "String", "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", "/**\n\t * 循環の長さを返します。\n\t *\n\t * @param arr\n\t * 数列\n\t * @param startPos\n\t * 循環の開始位置\n\t *\n\t * @return 循環の長さを返します。循環を検出できなかった場合は-1を返します。\n\t */\n\tprivate static int getCycle(int[] arr, int startPos) {\n\t\tint cycle = 0;\n\t\tint a = startPos;\n\t\tint b = startPos;\n\t\twhile (true) {\n\t\t\tcycle++;\n\t\t\ta += 2;\n\t\t\tb++;\n\t\t\tif (a >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn cycle;\n\t}", "getCycle", "{\n\t\tint cycle = 0;\n\t\tint a = startPos;\n\t\tint b = startPos;\n\t\twhile (true) {\n\t\t\tcycle++;\n\t\t\ta += 2;\n\t\t\tb++;\n\t\t\tif (a >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn cycle;\n\t}", "int cycle = 0;", "cycle", "0", "int a = startPos;", "a", "startPos", "int b = startPos;", "b", "startPos", "while (true) {\n\t\t\tcycle++;\n\t\t\ta += 2;\n\t\t\tb++;\n\t\t\tif (a >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tcycle++;\n\t\t\ta += 2;\n\t\t\tb++;\n\t\t\tif (a >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "cycle++", "cycle", "a += 2", "a", "2", "b++", "b", "if (a >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}", "a >= arr.length", "a", "arr.length", "arr", "arr.length", "{\n\t\t\t\treturn -1;\n\t\t\t}", "return -1;", "-1", "1", "if (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}", "arr[a] == arr[b]", "arr[a]", "arr", "a", "arr[b]", "arr", "b", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "return cycle;", "cycle", "int[] arr", "arr", "int startPos", "startPos", "/**\n\t * 循環の開始位置を返します。\n\t *\n\t * @param arr\n\t * 数列\n\t *\n\t * @return 循環開始位置。循環を検出できない場合は-1を返します。\n\t */\n\tprivate static int getStartPosition(int[] arr) {\n\t\tint a = 0;\n\t\tint b = 0;\n\t\twhile (true) {\n\t\t\ta += 2;\n\t\t\tb++;\n\t\t\tif (a >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\ta = 0;\n\t\twhile (true) {\n\t\t\ta++;\n\t\t\tb++;\n\t\t\tif (b >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn a;\n\t}", "getStartPosition", "{\n\t\tint a = 0;\n\t\tint b = 0;\n\t\twhile (true) {\n\t\t\ta += 2;\n\t\t\tb++;\n\t\t\tif (a >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\ta = 0;\n\t\twhile (true) {\n\t\t\ta++;\n\t\t\tb++;\n\t\t\tif (b >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn a;\n\t}", "int a = 0;", "a", "0", "int b = 0;", "b", "0", "while (true) {\n\t\t\ta += 2;\n\t\t\tb++;\n\t\t\tif (a >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "true", "{\n\t\t\ta += 2;\n\t\t\tb++;\n\t\t\tif (a >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "a += 2", "a", "2", "b++", "b", "if (a >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}", "a >= arr.length", "a", "arr.length", "arr", "arr.length", "{\n\t\t\t\treturn -1;\n\t\t\t}", "return -1;", "-1", "1", "if (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}", "arr[a] == arr[b]", "arr[a]", "arr", "a", "arr[b]", "arr", "b", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "a = 0", "a", "0", "while (true) {\n\t\t\ta++;\n\t\t\tb++;\n\t\t\tif (b >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "true", "{\n\t\t\ta++;\n\t\t\tb++;\n\t\t\tif (b >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "a++", "a", "b++", "b", "if (b >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}", "b >= arr.length", "b", "arr.length", "arr", "arr.length", "{\n\t\t\t\treturn -1;\n\t\t\t}", "return -1;", "-1", "1", "if (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}", "arr[a] == arr[b]", "arr[a]", "arr", "a", "arr[b]", "arr", "b", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "return a;", "a", "int[] arr", "arr", "public static Double calculate(Double base, Double n) {\n return Math.pow(Math.E, Math.log(base)/n);\n }", "calculate", "{\n return Math.pow(Math.E, Math.log(base)/n);\n }", "return Math.pow(Math.E, Math.log(base)/n);", "Math.pow(Math.E, Math.log(base)/n)", "Math.pow", "Math", "Math.E", "Math", "Math.E", "Math.log(base)/n", "Math.log(base)", "Math.log", "Math", "base", "n", "Double base", "base", "Double n", "n", "public static int[] toArray(List<Integer> target) {\n\n final int[] result = new int[target.size()];\n for (int i = 0; i < result.length; i++) {\n result[i] = target.get(i);\n }\n\n return result;\n }", "toArray", "{\n\n final int[] result = new int[target.size()];\n for (int i = 0; i < result.length; i++) {\n result[i] = target.get(i);\n }\n\n return result;\n }", "final int[] result = new int[target.size()];", "result", "new int[target.size()]", "target.size()", "target.size", "target", "for (int i = 0; i < result.length; i++) {\n result[i] = target.get(i);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < result.length", "i", "result.length", "result", "result.length", "i++", "i++", "i", "{\n result[i] = target.get(i);\n }", "{\n result[i] = target.get(i);\n }", "result[i] = target.get(i)", "result[i]", "result", "i", "target.get(i)", "target.get", "target", "i", "return result;", "result", "List<Integer> target", "target", "public static boolean isMultiple (String s, int base, int m) {\n\tint temp = 0;\n\tfor (int i=0; i<s.length(); i++) {\n\t\ttemp = (temp*base+Character.getNumericValue(s.charAt(i)))%m;\n\t}\n\tif (temp==0) {return true;}\n\treturn false;\n}", "isMultiple", "{\n\tint temp = 0;\n\tfor (int i=0; i<s.length(); i++) {\n\t\ttemp = (temp*base+Character.getNumericValue(s.charAt(i)))%m;\n\t}\n\tif (temp==0) {return true;}\n\treturn false;\n}", "int temp = 0;", "temp", "0", "for (int i=0; i<s.length(); i++) {\n\t\ttemp = (temp*base+Character.getNumericValue(s.charAt(i)))%m;\n\t}", "int i=0;", "int i=0;", "i", "0", "i<s.length()", "i", "s.length()", "s.length", "s", "i++", "i++", "i", "{\n\t\ttemp = (temp*base+Character.getNumericValue(s.charAt(i)))%m;\n\t}", "{\n\t\ttemp = (temp*base+Character.getNumericValue(s.charAt(i)))%m;\n\t}", "temp = (temp*base+Character.getNumericValue(s.charAt(i)))%m", "temp", "(temp*base+Character.getNumericValue(s.charAt(i)))%m", "(temp*base+Character.getNumericValue(s.charAt(i)))", "temp*base", "temp", "base", "Character.getNumericValue(s.charAt(i))", "Character.getNumericValue", "Character", "s.charAt(i)", "s.charAt", "s", "i", "m", "if (temp==0) {return true;}", "temp==0", "temp", "0", "{return true;}", "return true;", "true", "return false;", "false", "String s", "s", "int base", "base", "int m", "m", "static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }", "FastScanner", "private BufferedReader reader = null;", "reader", "null", "private StringTokenizer tokenizer = null;", "tokenizer", "null", "public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }", "FastScanner", "{\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }", "reader = new BufferedReader(new InputStreamReader(in))", "reader", "new BufferedReader(new InputStreamReader(in))", "tokenizer = null", "tokenizer", "null", "InputStream in", "in", "public String next() {\n if (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 if (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 }", "if (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 String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }", "nextLine", "{\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }", "if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return 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 return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "try {\n return 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 return reader.readLine();\n }", "return reader.readLine();", "reader.readLine()", "reader.readLine", "reader", "return tokenizer.nextToken(\"\\n\");", "tokenizer.nextToken(\"\\n\")", "tokenizer.nextToken", "tokenizer", "\"\\n\"", "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 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 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 int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }", "nextIntArray", "{\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }", "int[] a = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++)\n a[i] = nextInt();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = nextInt();", "a[i] = nextInt()", "a[i]", "a", "i", "nextInt()", "nextInt", "return a;", "a", "int n", "n", "public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }", "nextLongArray", "{\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }", "long[] a = new long[n];", "a", "new long[n]", "n", "for (int i = 0; i < n; i++)\n a[i] = nextLong();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = nextLong();", "a[i] = nextLong()", "a[i]", "a", "i", "nextLong()", "nextLong", "return a;", "a", "int n", "n", "public class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n int a = sc.nextInt();\n System.out.print(String.valueOf(a + (int)Math.pow(a,2) + (int)Math.pow(a,3)));\n }\n /**\n\t * 循環の長さを返します。\n\t *\n\t * @param arr\n\t * 数列\n\t * @param startPos\n\t * 循環の開始位置\n\t *\n\t * @return 循環の長さを返します。循環を検出できなかった場合は-1を返します。\n\t */\n\tprivate static int getCycle(int[] arr, int startPos) {\n\t\tint cycle = 0;\n\t\tint a = startPos;\n\t\tint b = startPos;\n\t\twhile (true) {\n\t\t\tcycle++;\n\t\t\ta += 2;\n\t\t\tb++;\n\t\t\tif (a >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn cycle;\n\t}\n /**\n\t * 循環の開始位置を返します。\n\t *\n\t * @param arr\n\t * 数列\n\t *\n\t * @return 循環開始位置。循環を検出できない場合は-1を返します。\n\t */\n\tprivate static int getStartPosition(int[] arr) {\n\t\tint a = 0;\n\t\tint b = 0;\n\t\twhile (true) {\n\t\t\ta += 2;\n\t\t\tb++;\n\t\t\tif (a >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\ta = 0;\n\t\twhile (true) {\n\t\t\ta++;\n\t\t\tb++;\n\t\t\tif (b >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn a;\n\t}\n public static Double calculate(Double base, Double n) {\n return Math.pow(Math.E, Math.log(base)/n);\n }\n\n public static int[] toArray(List<Integer> target) {\n\n final int[] result = new int[target.size()];\n for (int i = 0; i < result.length; i++) {\n result[i] = target.get(i);\n }\n\n return result;\n }\n public static boolean isMultiple (String s, int base, int m) {\n\tint temp = 0;\n\tfor (int i=0; i<s.length(); i++) {\n\t\ttemp = (temp*base+Character.getNumericValue(s.charAt(i)))%m;\n\t}\n\tif (temp==0) {return true;}\n\treturn false;\n}\nstatic class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n int a = sc.nextInt();\n System.out.print(String.valueOf(a + (int)Math.pow(a,2) + (int)Math.pow(a,3)));\n }\n /**\n\t * 循環の長さを返します。\n\t *\n\t * @param arr\n\t * 数列\n\t * @param startPos\n\t * 循環の開始位置\n\t *\n\t * @return 循環の長さを返します。循環を検出できなかった場合は-1を返します。\n\t */\n\tprivate static int getCycle(int[] arr, int startPos) {\n\t\tint cycle = 0;\n\t\tint a = startPos;\n\t\tint b = startPos;\n\t\twhile (true) {\n\t\t\tcycle++;\n\t\t\ta += 2;\n\t\t\tb++;\n\t\t\tif (a >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn cycle;\n\t}\n /**\n\t * 循環の開始位置を返します。\n\t *\n\t * @param arr\n\t * 数列\n\t *\n\t * @return 循環開始位置。循環を検出できない場合は-1を返します。\n\t */\n\tprivate static int getStartPosition(int[] arr) {\n\t\tint a = 0;\n\t\tint b = 0;\n\t\twhile (true) {\n\t\t\ta += 2;\n\t\t\tb++;\n\t\t\tif (a >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\ta = 0;\n\t\twhile (true) {\n\t\t\ta++;\n\t\t\tb++;\n\t\t\tif (b >= arr.length) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif (arr[a] == arr[b]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn a;\n\t}\n public static Double calculate(Double base, Double n) {\n return Math.pow(Math.E, Math.log(base)/n);\n }\n\n public static int[] toArray(List<Integer> target) {\n\n final int[] result = new int[target.size()];\n for (int i = 0; i < result.length; i++) {\n result[i] = target.get(i);\n }\n\n return result;\n }\n public static boolean isMultiple (String s, int base, int m) {\n\tint temp = 0;\n\tfor (int i=0; i<s.length(); i++) {\n\t\ttemp = (temp*base+Character.getNumericValue(s.charAt(i)))%m;\n\t}\n\tif (temp==0) {return true;}\n\treturn false;\n}\nstatic class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.*; public class Main { public static void main(String[] args) { FastScanner sc = new FastScanner(System.in); int a = sc.nextInt(); System.out.print(String.valueOf(a + (int)Math.pow(a,2) + (int)Math.pow(a,3))); } /** * 循環の長さを返します。 * * @param arr * 数列 * @param startPos * 循環の開始位置 * * @return 循環の長さを返します。循環を検出できなかった場合は-1を返します。 */ private static int getCycle(int[] arr, int startPos) { int cycle = 0; int a = startPos; int b = startPos; while (true) { cycle++; a += 2; b++; if (a >= arr.length) { return -1; } if (arr[a] == arr[b]) { break; } } return cycle; } /** * 循環の開始位置を返します。 * * @param arr * 数列 * * @return 循環開始位置。循環を検出できない場合は-1を返します。 */ private static int getStartPosition(int[] arr) { int a = 0; int b = 0; while (true) { a += 2; b++; if (a >= arr.length) { return -1; } if (arr[a] == arr[b]) { break; } } a = 0; while (true) { a++; b++; if (b >= arr.length) { return -1; } if (arr[a] == arr[b]) { break; } } return a; } public static Double calculate(Double base, Double n) { return Math.pow(Math.E, Math.log(base)/n); } public static int[] toArray(List<Integer> target) { final int[] result = new int[target.size()]; for (int i = 0; i < result.length; i++) { result[i] = target.get(i); } return result; } public static boolean isMultiple (String s, int base, int m) { int temp = 0; for (int i=0; i<s.length(); i++) { temp = (temp*base+Character.getNumericValue(s.charAt(i)))%m; } if (temp==0) {return true;} return false; } static class FastScanner { private BufferedReader reader = null; private StringTokenizer tokenizer = null; public FastScanner(InputStream in) { reader = new BufferedReader(new InputStreamReader(in)); tokenizer = null; } public String next() { if (tokenizer == null || !tokenizer.hasMoreTokens()) { try { tokenizer = new StringTokenizer(reader.readLine()); } catch (IOException e) { throw new RuntimeException(e); } } return tokenizer.nextToken(); } public String nextLine() { if (tokenizer == null || !tokenizer.hasMoreTokens()) { try { return reader.readLine(); } catch (IOException e) { throw new RuntimeException(e); } } return tokenizer.nextToken("\n"); } public long nextLong() { return Long.parseLong(next()); } public int nextInt() { return Integer.parseInt(next()); } public double nextDouble() { return Double.parseDouble(next()); } public int[] nextIntArray(int n) { int[] a = new int[n]; for (int i = 0; i < n; i++) a[i] = nextInt(); return a; } public long[] nextLongArray(int n) { long[] a = new long[n]; for (int i = 0; i < n; i++) a[i] = nextLong(); return a; } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 17, 41, 13, 17, 14, 2, 13, 17, 30, 41, 13, 2, 2, 13, 2, 4, 18, 13, 13, 17, 17, 2, 13, 17, 0, 13, 13, 30, 0, 13, 2, 2, 13, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 29, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 4, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 17, 22 ], [ 22, 23 ], [ 22, 24 ], [ 9, 25 ], [ 25, 26 ], [ 4, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 35, 36 ], [ 29, 37 ], [ 37, 38 ], [ 37, 39 ], [ 29, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 51, 55 ], [ 50, 56 ], [ 47, 57 ], [ 57, 58 ], [ 57, 59 ], [ 44, 60 ], [ 60, 61 ], [ 60, 62 ], [ 40, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 67, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 69, 73 ], [ 67, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 74, 78 ], [ 29, 79 ], [ 79, 80 ], [ 27, 81 ], [ 81, 82 ] ]
[ "import java.util.Scanner;\nclass Main {\n static Scanner scan = new Scanner(System.in);\n public static void main(String[] args) {\n int a = scan.nextInt();\n System.out.println(equationOutput(a));\n }\n\n private static long equationOutput(int a) {\n\n if(a == 0) {\n return 0;\n }\n long sum = 0;\n if(a != 1) {\n long gp = (a * ((long)Math.pow(a, 3) - 1)) / (a - 1);\n sum = gp;\n } else {\n sum = a + (long)Math.pow(a, 2) + (long)Math.pow(a, 3);\n }\n\n return sum;\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n static Scanner scan = new Scanner(System.in);\n public static void main(String[] args) {\n int a = scan.nextInt();\n System.out.println(equationOutput(a));\n }\n\n private static long equationOutput(int a) {\n\n if(a == 0) {\n return 0;\n }\n long sum = 0;\n if(a != 1) {\n long gp = (a * ((long)Math.pow(a, 3) - 1)) / (a - 1);\n sum = gp;\n } else {\n sum = a + (long)Math.pow(a, 2) + (long)Math.pow(a, 3);\n }\n\n return sum;\n }\n}", "Main", "static Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "public static void main(String[] args) {\n int a = scan.nextInt();\n System.out.println(equationOutput(a));\n }", "main", "{\n int a = scan.nextInt();\n System.out.println(equationOutput(a));\n }", "int a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "System.out.println(equationOutput(a))", "System.out.println", "System.out", "System", "System.out", "equationOutput(a)", "equationOutput", "a", "String[] args", "args", "private static long equationOutput(int a) {\n\n if(a == 0) {\n return 0;\n }\n long sum = 0;\n if(a != 1) {\n long gp = (a * ((long)Math.pow(a, 3) - 1)) / (a - 1);\n sum = gp;\n } else {\n sum = a + (long)Math.pow(a, 2) + (long)Math.pow(a, 3);\n }\n\n return sum;\n }", "equationOutput", "{\n\n if(a == 0) {\n return 0;\n }\n long sum = 0;\n if(a != 1) {\n long gp = (a * ((long)Math.pow(a, 3) - 1)) / (a - 1);\n sum = gp;\n } else {\n sum = a + (long)Math.pow(a, 2) + (long)Math.pow(a, 3);\n }\n\n return sum;\n }", "if(a == 0) {\n return 0;\n }", "a == 0", "a", "0", "{\n return 0;\n }", "return 0;", "0", "long sum = 0;", "sum", "0", "if(a != 1) {\n long gp = (a * ((long)Math.pow(a, 3) - 1)) / (a - 1);\n sum = gp;\n } else {\n sum = a + (long)Math.pow(a, 2) + (long)Math.pow(a, 3);\n }", "a != 1", "a", "1", "{\n long gp = (a * ((long)Math.pow(a, 3) - 1)) / (a - 1);\n sum = gp;\n }", "long gp = (a * ((long)Math.pow(a, 3) - 1)) / (a - 1);", "gp", "(a * ((long)Math.pow(a, 3) - 1)) / (a - 1)", "(a * ((long)Math.pow(a, 3) - 1))", "a", "((long)Math.pow(a, 3) - 1)", "(long)Math.pow(a, 3)", "Math.pow", "Math", "a", "3", "1", "(a - 1)", "a", "1", "sum = gp", "sum", "gp", "{\n sum = a + (long)Math.pow(a, 2) + (long)Math.pow(a, 3);\n }", "sum = a + (long)Math.pow(a, 2) + (long)Math.pow(a, 3)", "sum", "a + (long)Math.pow(a, 2) + (long)Math.pow(a, 3)", "a + (long)Math.pow(a, 2) + (long)Math.pow(a, 3)", "a", "(long)Math.pow(a, 2)", "Math.pow", "Math", "a", "2", "(long)Math.pow(a, 3)", "Math.pow", "Math", "a", "3", "return sum;", "sum", "int a", "a" ]
import java.util.Scanner; class Main { static Scanner scan = new Scanner(System.in); public static void main(String[] args) { int a = scan.nextInt(); System.out.println(equationOutput(a)); } private static long equationOutput(int a) { if(a == 0) { return 0; } long sum = 0; if(a != 1) { long gp = (a * ((long)Math.pow(a, 3) - 1)) / (a - 1); sum = gp; } else { sum = a + (long)Math.pow(a, 2) + (long)Math.pow(a, 3); } return sum; } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 2, 4, 18, 13, 17, 17, 17, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 17, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 41, 13, 2, 2, 13, 2, 13, 13, 2, 2, 13, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 14, 2, 13, 4, 18, 13, 13, 4, 18, 13, 13, 30, 4, 18, 13, 13, 4, 18, 13, 2, 13, 13, 4, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 14, 2, 4, 18, 4, 13, 13, 17, 29, 17, 29, 17, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 14, 2, 13, 17, 29, 13, 14, 2, 13, 13, 29, 13, 14, 2, 13, 13, 29, 4, 13, 2, 13, 13, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 2, 2, 13, 13, 4, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 2, 2, 4, 18, 13, 17, 17, 1, 40, 13, 30, 30, 41, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 2, 2, 4, 18, 13, 13, 17, 0, 18, 13, 2, 2, 4, 18, 13, 13, 17, 13, 41, 13, 20, 29, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 17, 14, 2, 13, 17, 29, 13, 30, 41, 13, 4, 13, 13, 2, 13, 17, 14, 2, 2, 13, 17, 17, 30, 29, 2, 13, 13, 30, 29, 2, 2, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 17, 14, 2, 13, 17, 29, 2, 13, 13, 30, 41, 13, 2, 4, 13, 13, 2, 13, 17, 13, 0, 13, 13, 0, 13, 13, 14, 2, 2, 13, 17, 17, 30, 0, 13, 13, 0, 13, 13, 29, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 362, 5 ], [ 362, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 9, 12 ], [ 9, 13 ], [ 8, 14 ], [ 362, 15 ], [ 15, 16 ], [ 15, 17 ], [ 362, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 20, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 27, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 32, 38 ], [ 38, 39 ], [ 38, 40 ], [ 41, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 47, 47 ], [ 47, 48 ], [ 47, 49 ], [ 47, 50 ], [ 32, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 20, 57 ], [ 57, 58 ], [ 58, 59 ], [ 18, 60 ], [ 60, 61 ], [ 362, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 68, 79 ], [ 79, 80 ], [ 80, 81 ], [ 68, 82 ], [ 83, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 84, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 91, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 91, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 102, 107 ], [ 107, 108 ], [ 108, 109 ], [ 107, 110 ], [ 110, 111 ], [ 110, 112 ], [ 64, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 64, 117 ], [ 117, 118 ], [ 62, 119 ], [ 119, 120 ], [ 362, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 125, 131 ], [ 124, 132 ], [ 132, 133 ], [ 124, 134 ], [ 134, 135 ], [ 121, 136 ], [ 136, 137 ], [ 362, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 141, 145 ], [ 145, 146 ], [ 140, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 147, 151 ], [ 151, 152 ], [ 140, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 153, 157 ], [ 157, 158 ], [ 140, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 159, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 166, 167 ], [ 166, 168 ], [ 164, 169 ], [ 140, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 171, 174 ], [ 174, 175 ], [ 174, 176 ], [ 138, 177 ], [ 177, 178 ], [ 138, 179 ], [ 179, 180 ], [ 362, 181 ], [ 181, 182 ], [ 181, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 185, 189 ], [ 189, 190 ], [ 189, 191 ], [ 189, 192 ], [ 181, 193 ], [ 193, 194 ], [ 181, 195 ], [ 195, 196 ], [ 362, 197 ], [ 197, 198 ], [ 197, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 203, 204 ], [ 199, 205 ], [ 205, 206 ], [ 206, 207 ], [ 207, 208 ], [ 207, 209 ], [ 205, 210 ], [ 210, 211 ], [ 210, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 213, 217 ], [ 212, 218 ], [ 205, 219 ], [ 219, 220 ], [ 220, 221 ], [ 205, 222 ], [ 223, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 226, 227 ], [ 226, 228 ], [ 223, 229 ], [ 229, 230 ], [ 230, 231 ], [ 230, 232 ], [ 229, 233 ], [ 233, 234 ], [ 233, 235 ], [ 236, 236 ], [ 236, 237 ], [ 237, 238 ], [ 238, 239 ], [ 236, 240 ], [ 236, 241 ], [ 223, 242 ], [ 242, 243 ], [ 243, 244 ], [ 243, 245 ], [ 246, 246 ], [ 246, 247 ], [ 247, 248 ], [ 248, 249 ], [ 246, 250 ], [ 246, 251 ], [ 242, 252 ], [ 199, 253 ], [ 253, 254 ], [ 253, 255 ], [ 199, 256 ], [ 256, 257 ], [ 197, 258 ], [ 258, 259 ], [ 362, 260 ], [ 260, 261 ], [ 260, 262 ], [ 262, 263 ], [ 263, 264 ], [ 264, 265 ], [ 264, 266 ], [ 263, 267 ], [ 267, 268 ], [ 263, 269 ], [ 269, 270 ], [ 270, 271 ], [ 270, 272 ], [ 269, 273 ], [ 273, 274 ], [ 269, 275 ], [ 275, 276 ], [ 276, 277 ], [ 276, 278 ], [ 278, 279 ], [ 278, 280 ], [ 278, 281 ], [ 281, 282 ], [ 281, 283 ], [ 275, 284 ], [ 284, 285 ], [ 285, 286 ], [ 286, 287 ], [ 286, 288 ], [ 285, 289 ], [ 284, 290 ], [ 290, 291 ], [ 291, 292 ], [ 292, 293 ], [ 292, 294 ], [ 284, 295 ], [ 295, 296 ], [ 296, 297 ], [ 298, 298 ], [ 298, 299 ], [ 298, 300 ], [ 298, 301 ], [ 260, 302 ], [ 302, 303 ], [ 260, 304 ], [ 304, 305 ], [ 362, 306 ], [ 306, 307 ], [ 306, 308 ], [ 308, 309 ], [ 309, 310 ], [ 310, 311 ], [ 310, 312 ], [ 309, 313 ], [ 313, 314 ], [ 309, 315 ], [ 315, 316 ], [ 316, 317 ], [ 316, 318 ], [ 315, 319 ], [ 319, 320 ], [ 320, 321 ], [ 320, 322 ], [ 315, 323 ], [ 323, 324 ], [ 324, 325 ], [ 324, 326 ], [ 326, 327 ], [ 327, 328 ], [ 327, 329 ], [ 327, 330 ], [ 330, 331 ], [ 330, 332 ], [ 326, 333 ], [ 323, 334 ], [ 334, 335 ], [ 334, 336 ], [ 323, 337 ], [ 337, 338 ], [ 337, 339 ], [ 323, 340 ], [ 340, 341 ], [ 341, 342 ], [ 342, 343 ], [ 342, 344 ], [ 341, 345 ], [ 340, 346 ], [ 346, 347 ], [ 347, 348 ], [ 347, 349 ], [ 346, 350 ], [ 350, 351 ], [ 350, 352 ], [ 323, 353 ], [ 353, 354 ], [ 354, 355 ], [ 354, 356 ], [ 306, 357 ], [ 357, 358 ], [ 306, 359 ], [ 359, 360 ], [ 0, 361 ], [ 361, 362 ], [ 361, 363 ] ]
[ "\n\nimport java.util.*;\n/*\nNOTES:\n-more than 10 digits (10^10), use long\n-prefix sum of 1's and -1's to control flow of highlighting a region\n-log(a)/log(b) = log base b of a\n-create a position array if trying to see if elements show up next to each other sequentially\n i.e. elements 1,2,3 are within 3 spots of each other in an array\n arr[scannedInt - 1] = i; (position of i at p[i] in original)\n- use a freq array when counting instances of an element occurring\n- increment the counter first before simulating anything turn-based (two player game)\n\n */\n\npublic class Main {\n static long mod = (long)(Math.pow(10, 9) + 7);\n public static String alpha = \"zabcdefghijklmnopqrstuvwxy\";\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int t =1;\n while (t-- > 0) {\n int a = scan.nextInt();\n long ans = a+a*a+a*a*a;\n System.out.println(ans);\n\n }\n scan.close();\n }\n\n static ArrayList factors(int n ){\n ArrayList<Integer> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }\n\n static boolean isPrime (int n){\n if(factors(n).size() ==2) return true;\n else return false;\n }\n\n\n\n\n\n static int GCD(int a, int b) {\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }\n static int LCM(int a, int b){\n return (a*b)/(GCD(a,b));\n }\n static String rev(String s){\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }\n static long pow(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }\n\n static long powMod(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }\n\n}", "import java.util.*;", "util.*", "java", "public class Main {\n static long mod = (long)(Math.pow(10, 9) + 7);\n public static String alpha = \"zabcdefghijklmnopqrstuvwxy\";\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int t =1;\n while (t-- > 0) {\n int a = scan.nextInt();\n long ans = a+a*a+a*a*a;\n System.out.println(ans);\n\n }\n scan.close();\n }\n\n static ArrayList factors(int n ){\n ArrayList<Integer> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }\n\n static boolean isPrime (int n){\n if(factors(n).size() ==2) return true;\n else return false;\n }\n\n\n\n\n\n static int GCD(int a, int b) {\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }\n static int LCM(int a, int b){\n return (a*b)/(GCD(a,b));\n }\n static String rev(String s){\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }\n static long pow(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }\n\n static long powMod(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }\n\n}", "Main", "static long mod = (long)(Math.pow(10, 9) + 7);", "mod", "(long)(Math.pow(10, 9) + 7)", "Math.pow(10, 9)", "Math.pow", "Math", "10", "9", "7", "public static String alpha = \"zabcdefghijklmnopqrstuvwxy\";", "alpha", "\"zabcdefghijklmnopqrstuvwxy\"", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int t =1;\n while (t-- > 0) {\n int a = scan.nextInt();\n long ans = a+a*a+a*a*a;\n System.out.println(ans);\n\n }\n scan.close();\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int t =1;\n while (t-- > 0) {\n int a = scan.nextInt();\n long ans = a+a*a+a*a*a;\n System.out.println(ans);\n\n }\n scan.close();\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int t =1;", "t", "1", "while (t-- > 0) {\n int a = scan.nextInt();\n long ans = a+a*a+a*a*a;\n System.out.println(ans);\n\n }", "t-- > 0", "t--", "t", "0", "{\n int a = scan.nextInt();\n long ans = a+a*a+a*a*a;\n System.out.println(ans);\n\n }", "int a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "long 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", "scan.close()", "scan.close", "scan", "String[] args", "args", "static ArrayList factors(int n ){\n ArrayList<Integer> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }", "factors", "{\n ArrayList<Integer> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }", "ArrayList<Integer> facts = new ArrayList<>();", "facts", "new ArrayList<>()", "for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i<=(int)Math.sqrt(n)", "i", "(int)Math.sqrt(n)", "Math.sqrt", "Math", "n", "i++", "i++", "i", "{\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }\n }", "{\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }\n }", "if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }", "n%i == 0", "n%i", "n", "i", "0", "{\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }", "if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }", "i == Math.sqrt(n)", "i", "Math.sqrt(n)", "Math.sqrt", "Math", "n", "facts.add(i)", "facts.add", "facts", "i", "{\n facts.add(i);\n facts.add(n/i);\n }", "facts.add(i)", "facts.add", "facts", "i", "facts.add(n/i)", "facts.add", "facts", "n/i", "n", "i", "Collections.sort(facts)", "Collections.sort", "Collections", "facts", "return facts;", "facts", "int n", "n", "static boolean isPrime (int n){\n if(factors(n).size() ==2) return true;\n else return false;\n }", "isPrime", "{\n if(factors(n).size() ==2) return true;\n else return false;\n }", "if(factors(n).size() ==2) return true;\n else return false;", "factors(n).size() ==2", "factors(n).size()", "factors(n).size", "factors(n)", "factors", "n", "2", "return true;", "true", "return false;", "false", "int n", "n", "static int GCD(int a, int b) {\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }", "GCD", "{\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }", "if (a == 0) return b;", "a == 0", "a", "0", "return b;", "b", "if (b == 0) return a;", "b == 0", "b", "0", "return a;", "a", "if (a == b) return a;", "a == b", "a", "b", "return a;", "a", "if (a > b) return GCD(a-b, b);", "a > b", "a", "b", "return GCD(a-b, b);", "GCD(a-b, b)", "GCD", "a-b", "a", "b", "b", "return GCD(a, b-a);", "GCD(a, b-a)", "GCD", "a", "b-a", "b", "a", "int a", "a", "int b", "b", "static int LCM(int a, int b){\n return (a*b)/(GCD(a,b));\n }", "LCM", "{\n return (a*b)/(GCD(a,b));\n }", "return (a*b)/(GCD(a,b));", "(a*b)/(GCD(a,b))", "(a*b)", "a", "b", "(GCD(a,b))", "GCD", "a", "b", "int a", "a", "int b", "b", "static String rev(String s){\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }", "rev", "{\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }", "char[] arr = s.toCharArray();", "arr", "s.toCharArray()", "s.toCharArray", "s", "for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }", "int i = 0;", "int i = 0;", "i", "0", "i<(s.length()+1)/2", "i", "(s.length()+1)/2", "(s.length()+1)", "s.length()", "s.length", "s", "1", "2", "i++", "i++", "i", "{\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }", "{\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }", "char temp = arr[i];", "temp", "arr[i]", "arr", "i", "arr[i] = arr[s.length()-i-1]", "arr[i]", "arr", "i", "arr[s.length()-i-1]", "arr", "s.length()-i-1", "s.length()-i-1", "s.length()", "s.length", "s", "i", "1", "arr[s.length()-i-1] = temp", "arr[s.length()-i-1]", "arr", "s.length()-i-1", "s.length()-i-1", "s.length()", "s.length", "s", "i", "1", "temp", "String fin = new String(arr);", "fin", "new String(arr)", "return fin;", "fin", "String s", "s", "static long pow(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }", "pow", "{\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }", "if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }", "N == 0", "N", "0", "return 1;", "1", "if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }", "N == 1", "N", "1", "return a;", "a", "{\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }", "long R = pow(a,N/2);", "R", "pow(a,N/2)", "pow", "a", "N/2", "N", "2", "if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }", "N % 2 == 0", "N % 2", "N", "2", "0", "{\n return R*R;\n }", "return R*R;", "R*R", "R", "R", "{\n return R*R*a;\n }", "return R*R*a;", "R*R*a", "R*R*a", "R", "R", "a", "long a", "a", "long N", "N", "static long powMod(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }", "powMod", "{\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }", "if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }", "N == 0", "N", "0", "return 1;", "1", "if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }", "N == 1", "N", "1", "return a % mod;", "a % mod", "a", "mod", "{\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }", "long R = powMod(a,N/2) % mod;", "R", "powMod(a,N/2) % mod", "powMod(a,N/2)", "powMod", "a", "N/2", "N", "2", "mod", "R *= R", "R", "R", "R %= mod", "R", "mod", "if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }", "N % 2 == 1", "N % 2", "N", "2", "1", "{\n R *= a;\n R %= mod;\n }", "R *= a", "R", "a", "R %= mod", "R", "mod", "return R % mod;", "R % mod", "R", "mod", "long a", "a", "long N", "N", "public class Main {\n static long mod = (long)(Math.pow(10, 9) + 7);\n public static String alpha = \"zabcdefghijklmnopqrstuvwxy\";\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int t =1;\n while (t-- > 0) {\n int a = scan.nextInt();\n long ans = a+a*a+a*a*a;\n System.out.println(ans);\n\n }\n scan.close();\n }\n\n static ArrayList factors(int n ){\n ArrayList<Integer> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }\n\n static boolean isPrime (int n){\n if(factors(n).size() ==2) return true;\n else return false;\n }\n\n\n\n\n\n static int GCD(int a, int b) {\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }\n static int LCM(int a, int b){\n return (a*b)/(GCD(a,b));\n }\n static String rev(String s){\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }\n static long pow(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }\n\n static long powMod(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }\n\n}", "public class Main {\n static long mod = (long)(Math.pow(10, 9) + 7);\n public static String alpha = \"zabcdefghijklmnopqrstuvwxy\";\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int t =1;\n while (t-- > 0) {\n int a = scan.nextInt();\n long ans = a+a*a+a*a*a;\n System.out.println(ans);\n\n }\n scan.close();\n }\n\n static ArrayList factors(int n ){\n ArrayList<Integer> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }\n\n static boolean isPrime (int n){\n if(factors(n).size() ==2) return true;\n else return false;\n }\n\n\n\n\n\n static int GCD(int a, int b) {\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }\n static int LCM(int a, int b){\n return (a*b)/(GCD(a,b));\n }\n static String rev(String s){\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }\n static long pow(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }\n\n static long powMod(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }\n\n}", "Main" ]
import java.util.*; /* NOTES: -more than 10 digits (10^10), use long -prefix sum of 1's and -1's to control flow of highlighting a region -log(a)/log(b) = log base b of a -create a position array if trying to see if elements show up next to each other sequentially i.e. elements 1,2,3 are within 3 spots of each other in an array arr[scannedInt - 1] = i; (position of i at p[i] in original) - use a freq array when counting instances of an element occurring - increment the counter first before simulating anything turn-based (two player game) */ public class Main { static long mod = (long)(Math.pow(10, 9) + 7); public static String alpha = "zabcdefghijklmnopqrstuvwxy"; public static void main(String[] args) { Scanner scan = new Scanner(System.in); int t =1; while (t-- > 0) { int a = scan.nextInt(); long ans = a+a*a+a*a*a; System.out.println(ans); } scan.close(); } static ArrayList factors(int n ){ ArrayList<Integer> facts = new ArrayList<>(); for(int i = 1; i<=(int)Math.sqrt(n); i++){ if(n%i == 0){ if( i == Math.sqrt(n)) facts.add(i); else{ facts.add(i); facts.add(n/i); } } } Collections.sort(facts); return facts; } static boolean isPrime (int n){ if(factors(n).size() ==2) return true; else return false; } static int GCD(int a, int b) { // Everything divides 0 if (a == 0) return b; if (b == 0) return a; // base case if (a == b) return a; // a is greater if (a > b) return GCD(a-b, b); return GCD(a, b-a); } static int LCM(int a, int b){ return (a*b)/(GCD(a,b)); } static String rev(String s){ char[] arr = s.toCharArray(); for(int i = 0; i<(s.length()+1)/2; i++){ char temp = arr[i]; arr[i] = arr[s.length()-i-1]; arr[s.length()-i-1] = temp; } String fin = new String(arr); return fin; } static long pow(long a, long N) { if (N == 0) return 1; else if (N == 1) return a; else { long R = pow(a,N/2); if (N % 2 == 0) { return R*R; } else { return R*R*a; } } } static long powMod(long a, long N) { if (N == 0) return 1; else if (N == 1) return a % mod; else { long R = powMod(a,N/2) % mod; R *= R; R %= mod; if (N % 2 == 1) { R *= a; R %= mod; } return R % mod; } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 4, 18, 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, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 54, 11 ], [ 54, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 19, 20 ], [ 12, 21 ], [ 21, 22 ], [ 54, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 25, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 25, 34 ], [ 34, 35 ], [ 34, 36 ], [ 37, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 43, 43 ], [ 43, 44 ], [ 43, 45 ], [ 43, 46 ], [ 25, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 0, 53 ], [ 53, 54 ], [ 53, 55 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }\n public void solve() {\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n long a = scan.nextInt();\n long ans = a + a * a + a * a * a;\n System.out.println(ans);\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }\n public void solve() {\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n long a = scan.nextInt();\n long ans = a + a * a + a * a * a;\n System.out.println(ans);\n }\n}", "Main", "public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }", "main", "{\n Main main = new Main();\n main.solve();\n }", "Main main = new Main();", "main", "new Main()", "main.solve()", "main.solve", "main", "String[] args", "args", "public void solve() {\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n long a = scan.nextInt();\n long ans = a + a * a + a * a * a;\n System.out.println(ans);\n }", "solve", "{\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n long a = scan.nextInt();\n long ans = a + a * a + a * a * a;\n System.out.println(ans);\n }", "Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));", "scan", "new Scanner(new BufferedReader(new InputStreamReader(System.in)))", "long a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "long 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", "public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }\n public void solve() {\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n long a = scan.nextInt();\n long ans = a + a * a + a * a * a;\n System.out.println(ans);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }\n public void solve() {\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n long a = scan.nextInt();\n long ans = a + a * a + a * a * a;\n System.out.println(ans);\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; public class Main { public static void main(String[] args) { Main main = new Main(); main.solve(); } public void solve() { Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in))); long a = scan.nextInt(); long ans = a + a * a + a * a * a; 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, 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.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int i = sc.nextInt();\n System.out.println(i+i*i+i*i*i);\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 i = sc.nextInt();\n System.out.println(i+i*i+i*i*i);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int i = sc.nextInt();\n System.out.println(i+i*i+i*i*i);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int i = sc.nextInt();\n System.out.println(i+i*i+i*i*i);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int i = sc.nextInt();", "i", "sc.nextInt()", "sc.nextInt", "sc", "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[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int i = sc.nextInt();\n System.out.println(i+i*i+i*i*i);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int i = sc.nextInt();\n System.out.println(i+i*i+i*i*i);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int i = sc.nextInt(); System.out.println(i+i*i+i*i*i); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 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 ], [ 39, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 11, 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 ], [ 11, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 9, 36 ], [ 36, 37 ], [ 0, 38 ], [ 38, 39 ], [ 38, 40 ] ]
[ "\nimport java.util.Scanner;\n\npublic class Main {\n\n static Scanner sc = new Scanner(System.in);\n\n\n public static void main(String[] args) {\n int a = sc.nextInt();\n long sum = a + (a * a) + (a * a * a);\n System.out.println(sum);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n static Scanner sc = new Scanner(System.in);\n\n\n public static void main(String[] args) {\n int a = sc.nextInt();\n long sum = a + (a * a) + (a * a * a);\n System.out.println(sum);\n }\n}", "Main", "static Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "public static void main(String[] args) {\n int a = sc.nextInt();\n long sum = a + (a * a) + (a * a * a);\n System.out.println(sum);\n }", "main", "{\n int a = sc.nextInt();\n long sum = a + (a * a) + (a * a * a);\n System.out.println(sum);\n }", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "long sum = a + (a * a) + (a * a * a);", "sum", "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(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "String[] args", "args", "public class Main {\n\n static Scanner sc = new Scanner(System.in);\n\n\n public static void main(String[] args) {\n int a = sc.nextInt();\n long sum = a + (a * a) + (a * a * a);\n System.out.println(sum);\n }\n}", "public class Main {\n\n static Scanner sc = new Scanner(System.in);\n\n\n public static void main(String[] args) {\n int a = sc.nextInt();\n long sum = a + (a * a) + (a * a * a);\n System.out.println(sum);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { int a = sc.nextInt(); long sum = a + (a * a) + (a * a * a); System.out.println(sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 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 ], [ 41, 5 ], [ 41, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 12, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 16, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 28, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 34, 34 ], [ 34, 35 ], [ 34, 36 ], [ 34, 37 ], [ 6, 38 ], [ 38, 39 ], [ 0, 40 ], [ 40, 41 ], [ 40, 42 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner tan = new Scanner(System.in);\n while(tan.hasNext()){\n int a=tan.nextInt();\n System.out.println(a+a*a+a*a*a);\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner tan = new Scanner(System.in);\n while(tan.hasNext()){\n int a=tan.nextInt();\n System.out.println(a+a*a+a*a*a);\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner tan = new Scanner(System.in);\n while(tan.hasNext()){\n int a=tan.nextInt();\n System.out.println(a+a*a+a*a*a);\n }\n }", "main", "{\n Scanner tan = new Scanner(System.in);\n while(tan.hasNext()){\n int a=tan.nextInt();\n System.out.println(a+a*a+a*a*a);\n }\n }", "Scanner tan = new Scanner(System.in);", "tan", "new Scanner(System.in)", "while(tan.hasNext()){\n int a=tan.nextInt();\n System.out.println(a+a*a+a*a*a);\n }", "tan.hasNext()", "tan.hasNext", "tan", "{\n int a=tan.nextInt();\n System.out.println(a+a*a+a*a*a);\n }", "int a=tan.nextInt();", "a", "tan.nextInt()", "tan.nextInt", "tan", "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 Scanner tan = new Scanner(System.in);\n while(tan.hasNext()){\n int a=tan.nextInt();\n System.out.println(a+a*a+a*a*a);\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner tan = new Scanner(System.in);\n while(tan.hasNext()){\n int a=tan.nextInt();\n System.out.println(a+a*a+a*a*a);\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner tan = new Scanner(System.in); while(tan.hasNext()){ int a=tan.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 ], [ 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 int a = sc.nextInt();\n\n System.out.println(a+a*a+a*a*a);\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 int a = sc.nextInt();\n\n System.out.println(a+a*a+a*a*a);\n }\n }", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n\n System.out.println(a+a*a+a*a*a);\n }", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n\n System.out.println(a+a*a+a*a*a);\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\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n\n System.out.println(a+a*a+a*a*a);\n }\n }", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n\n System.out.println(a+a*a+a*a*a);\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(); 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, 17, 0, 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 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 25, 29 ], [ 22, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 30, 34 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 6, 41 ], [ 41, 42 ] ]
[ "import java.util.*;\n \nclass Main{\n \n public static void main(String args[])\n {\n \n Scanner s = new Scanner(System.in);\n \n int a = s.nextInt();\n \t\n long sum=0;\n \n sum=(long)(a+Math.pow(a,2)+Math.pow(a,3));\n \n System.out.println(sum);\n \n }\n \n \n}", "import java.util.*;", "util.*", "java", "class Main{\n \n public static void main(String args[])\n {\n \n Scanner s = new Scanner(System.in);\n \n int a = s.nextInt();\n \t\n long sum=0;\n \n sum=(long)(a+Math.pow(a,2)+Math.pow(a,3));\n \n System.out.println(sum);\n \n }\n \n \n}", "Main", "public static void main(String args[])\n {\n \n Scanner s = new Scanner(System.in);\n \n int a = s.nextInt();\n \t\n long sum=0;\n \n sum=(long)(a+Math.pow(a,2)+Math.pow(a,3));\n \n System.out.println(sum);\n \n }", "main", "{\n \n Scanner s = new Scanner(System.in);\n \n int a = s.nextInt();\n \t\n long sum=0;\n \n sum=(long)(a+Math.pow(a,2)+Math.pow(a,3));\n \n System.out.println(sum);\n \n }", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int a = s.nextInt();", "a", "s.nextInt()", "s.nextInt", "s", "long sum=0;", "sum", "0", "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" ]
import java.util.*; class Main{ public static void main(String args[]) { Scanner s = new Scanner(System.in); int a = s.nextInt(); long sum=0; sum=(long)(a+Math.pow(a,2)+Math.pow(a,3)); System.out.println(sum); } }
[ 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 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 19, 22 ], [ 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 ] ]
[ "import java.util.*;\n \nclass Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextDouble();\n double calc1 = Math.pow(a,2);\n double calc2 = Math.pow(a,3);\n \n System.out.println((int)a + (int)calc1 + (int)calc2);\n }\n}", "import java.util.*;", "util.*", "java", "class Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextDouble();\n double calc1 = Math.pow(a,2);\n double calc2 = Math.pow(a,3);\n \n System.out.println((int)a + (int)calc1 + (int)calc2);\n }\n}", "Main", "public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextDouble();\n double calc1 = Math.pow(a,2);\n double calc2 = Math.pow(a,3);\n \n System.out.println((int)a + (int)calc1 + (int)calc2);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n double a = sc.nextDouble();\n double calc1 = Math.pow(a,2);\n double calc2 = Math.pow(a,3);\n \n System.out.println((int)a + (int)calc1 + (int)calc2);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "double a = sc.nextDouble();", "a", "sc.nextDouble()", "sc.nextDouble", "sc", "double calc1 = Math.pow(a,2);", "calc1", "Math.pow(a,2)", "Math.pow", "Math", "a", "2", "double calc2 = Math.pow(a,3);", "calc2", "Math.pow(a,3)", "Math.pow", "Math", "a", "3", "System.out.println((int)a + (int)calc1 + (int)calc2)", "System.out.println", "System.out", "System", "System.out", "(int)a + (int)calc1 + (int)calc2", "(int)a + (int)calc1 + (int)calc2", "(int)a", "(int)calc1", "(int)calc2", "String args[]", "args" ]
import java.util.*; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); double a = sc.nextDouble(); double calc1 = Math.pow(a,2); double calc2 = Math.pow(a,3); System.out.println((int)a + (int)calc1 + (int)calc2); } }
[ 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;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint amount = scanner.nextInt();\n\t\tint result = amount + (int) Math.pow(amount, 2) + (int) Math.pow(amount, 3);\n\t\tSystem.out.println(result);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint amount = scanner.nextInt();\n\t\tint result = amount + (int) Math.pow(amount, 2) + (int) Math.pow(amount, 3);\n\t\tSystem.out.println(result);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint amount = scanner.nextInt();\n\t\tint result = amount + (int) Math.pow(amount, 2) + (int) Math.pow(amount, 3);\n\t\tSystem.out.println(result);\n\t}", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint amount = scanner.nextInt();\n\t\tint result = amount + (int) Math.pow(amount, 2) + (int) Math.pow(amount, 3);\n\t\tSystem.out.println(result);\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int amount = scanner.nextInt();", "amount", "scanner.nextInt()", "scanner.nextInt", "scanner", "int result = amount + (int) Math.pow(amount, 2) + (int) Math.pow(amount, 3);", "result", "amount + (int) Math.pow(amount, 2) + (int) Math.pow(amount, 3)", "amount + (int) Math.pow(amount, 2) + (int) Math.pow(amount, 3)", "amount", "(int) Math.pow(amount, 2)", "Math.pow", "Math", "amount", "2", "(int) Math.pow(amount, 3)", "Math.pow", "Math", "amount", "3", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint amount = scanner.nextInt();\n\t\tint result = amount + (int) Math.pow(amount, 2) + (int) Math.pow(amount, 3);\n\t\tSystem.out.println(result);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint amount = scanner.nextInt();\n\t\tint result = amount + (int) Math.pow(amount, 2) + (int) Math.pow(amount, 3);\n\t\tSystem.out.println(result);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int amount = scanner.nextInt(); int result = amount + (int) Math.pow(amount, 2) + (int) Math.pow(amount, 3); System.out.println(result); } }
[ 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 ]
[ [ 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 ], [ 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 ] ]
[ "import java.util.*;\n\nclass Main {\n public static void main (String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int result = a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3);\n System.out.println(result);\n }\n}", "import java.util.*;", "util.*", "java", "class Main {\n public static void main (String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int result = a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3);\n System.out.println(result);\n }\n}", "Main", "public static void main (String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int result = a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3);\n System.out.println(result);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int result = a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3);\n System.out.println(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 + (int) Math.pow(a, 2) + (int) Math.pow(a, 3);", "result", "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(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[] args", "args" ]
import java.util.*; class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int result = a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3); System.out.println(result); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 0, 13, 2, 2, 13, 2, 13, 13, 2, 2, 13, 13, 13, 4, 18, 18, 13, 13, 17, 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 ], [ 26, 26 ], [ 26, 27 ], [ 26, 28 ], [ 26, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 30, 36 ], [ 6, 37 ], [ 37, 38 ] ]
[ "import java.util.*;\nclass Main{\n public static void main(String[]args){\n Scanner sc=new Scanner(System.in);\n int a=sc.nextInt();\n a=a+a*a+a*a*a;\n System.out.printf(\"%d\",a);\n }\n}", "import java.util.*;", "util.*", "java", "class Main{\n public static void main(String[]args){\n Scanner sc=new Scanner(System.in);\n int a=sc.nextInt();\n a=a+a*a+a*a*a;\n System.out.printf(\"%d\",a);\n }\n}", "Main", "public static void main(String[]args){\n Scanner sc=new Scanner(System.in);\n int a=sc.nextInt();\n a=a+a*a+a*a*a;\n System.out.printf(\"%d\",a);\n }", "main", "{\n Scanner sc=new Scanner(System.in);\n int a=sc.nextInt();\n a=a+a*a+a*a*a;\n System.out.printf(\"%d\",a);\n }", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a=sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "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*a*a", "a*a*a", "a", "a", "a", "System.out.printf(\"%d\",a)", "System.out.printf", "System.out", "System", "System.out", "\"%d\"", "a", "String[]args", "args" ]
import java.util.*; class Main{ public static void main(String[]args){ Scanner sc=new Scanner(System.in); int a=sc.nextInt(); a=a+a*a+a*a*a; System.out.printf("%d",a); } }
[ 7, 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, 4, 18, 13, 4, 18, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 49, 8 ], [ 49, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 11, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 23, 26 ], [ 26, 27 ], [ 27, 28 ], [ 11, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 33, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 39, 39 ], [ 39, 40 ], [ 39, 41 ], [ 39, 42 ], [ 11, 43 ], [ 43, 44 ], [ 44, 45 ], [ 9, 46 ], [ 46, 47 ], [ 0, 48 ], [ 48, 49 ], [ 48, 50 ] ]
[ "import java.util.*;\nimport java.io.*;\npublic class Main{\n public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n int a = Integer.parseInt(st.nextToken());\n out.println(a+a*a+a*a*a);\n out.close();\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main{\n public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n int a = Integer.parseInt(st.nextToken());\n out.println(a+a*a+a*a*a);\n out.close();\n }\n}", "Main", "public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n int a = Integer.parseInt(st.nextToken());\n out.println(a+a*a+a*a*a);\n out.close();\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n int a = Integer.parseInt(st.nextToken());\n out.println(a+a*a+a*a*a);\n out.close();\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringTokenizer st = new StringTokenizer(br.readLine());", "st", "new StringTokenizer(br.readLine())", "PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "int a = Integer.parseInt(st.nextToken());", "a", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "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.close()", "out.close", "out", "String[] main", "main", "public class Main{\n public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n int a = Integer.parseInt(st.nextToken());\n out.println(a+a*a+a*a*a);\n out.close();\n }\n}", "public class Main{\n public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n int a = Integer.parseInt(st.nextToken());\n out.println(a+a*a+a*a*a);\n out.close();\n }\n}", "Main" ]
import java.util.*; import java.io.*; public class Main{ public static void main(String[] main) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); PrintWriter out = new PrintWriter(System.out); int a = Integer.parseInt(st.nextToken()); out.println(a+a*a+a*a*a); out.close(); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 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, 2, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 48, 5 ], [ 48, 6 ], [ 6, 7 ], [ 6, 8 ], [ 48, 9 ], [ 9, 10 ], [ 9, 11 ], [ 48, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 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 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 43, 44 ], [ 12, 45 ], [ 45, 46 ], [ 0, 47 ], [ 47, 48 ], [ 47, 49 ] ]
[ "import java.io.*;\n\npublic class Main{\n\tprivate static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tprivate static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\n\tpublic static void main (String[] args) throws IOException{\n int a = Integer.parseInt(br.readLine());\n int ans = a + a*a + a*a*a;\n bw.write(ans + \"\");\n\t\tbw.flush();\n\t}\n}", "import java.io.*;", "io.*", "java", "public class Main{\n\tprivate static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tprivate static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\n\tpublic static void main (String[] args) throws IOException{\n int a = Integer.parseInt(br.readLine());\n int ans = a + a*a + a*a*a;\n bw.write(ans + \"\");\n\t\tbw.flush();\n\t}\n}", "Main", "private static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "private static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));", "bw", "new BufferedWriter(new OutputStreamWriter(System.out))", "public static void main (String[] args) throws IOException{\n int a = Integer.parseInt(br.readLine());\n int ans = a + a*a + a*a*a;\n bw.write(ans + \"\");\n\t\tbw.flush();\n\t}", "main", "{\n int a = Integer.parseInt(br.readLine());\n int ans = a + a*a + a*a*a;\n bw.write(ans + \"\");\n\t\tbw.flush();\n\t}", "int a = Integer.parseInt(br.readLine());", "a", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "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", "bw.write(ans + \"\")", "bw.write", "bw", "ans + \"\"", "ans", "\"\"", "bw.flush()", "bw.flush", "bw", "String[] args", "args", "public class Main{\n\tprivate static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tprivate static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\n\tpublic static void main (String[] args) throws IOException{\n int a = Integer.parseInt(br.readLine());\n int ans = a + a*a + a*a*a;\n bw.write(ans + \"\");\n\t\tbw.flush();\n\t}\n}", "public class Main{\n\tprivate static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tprivate static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\n\tpublic static void main (String[] args) throws IOException{\n int a = Integer.parseInt(br.readLine());\n int ans = a + a*a + a*a*a;\n bw.write(ans + \"\");\n\t\tbw.flush();\n\t}\n}", "Main" ]
import java.io.*; public class Main{ private static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); private static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); public static void main (String[] args) throws IOException{ int a = Integer.parseInt(br.readLine()); int ans = a + a*a + a*a*a; bw.write(ans + ""); bw.flush(); } }
[ 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 public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int a1 = (int)Math.pow(a,2);\n int a2 = (int)Math.pow(a,3);\n System.out.println(a+a1+a2);\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 a1 = (int)Math.pow(a,2);\n int a2 = (int)Math.pow(a,3);\n System.out.println(a+a1+a2);\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int a1 = (int)Math.pow(a,2);\n int a2 = (int)Math.pow(a,3);\n System.out.println(a+a1+a2);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int a1 = (int)Math.pow(a,2);\n int a2 = (int)Math.pow(a,3);\n System.out.println(a+a1+a2);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int a1 = (int)Math.pow(a,2);", "a1", "(int)Math.pow(a,2)", "Math.pow", "Math", "a", "2", "int a2 = (int)Math.pow(a,3);", "a2", "(int)Math.pow(a,3)", "Math.pow", "Math", "a", "3", "System.out.println(a+a1+a2)", "System.out.println", "System.out", "System", "System.out", "a+a1+a2", "a+a1+a2", "a", "a1", "a2", "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 a1 = (int)Math.pow(a,2);\n int a2 = (int)Math.pow(a,3);\n System.out.println(a+a1+a2);\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 a1 = (int)Math.pow(a,2);\n int a2 = (int)Math.pow(a,3);\n System.out.println(a+a1+a2);\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 a1 = (int)Math.pow(a,2); int a2 = (int)Math.pow(a,3); System.out.println(a+a1+a2); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 23, 13, 12, 13, 30, 29, 2, 2, 13, 2, 13, 13, 2, 2, 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 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 17, 22 ], [ 22, 23 ], [ 22, 24 ], [ 6, 25 ], [ 25, 26 ], [ 45, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 32, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 38, 38 ], [ 38, 39 ], [ 38, 40 ], [ 38, 41 ], [ 27, 42 ], [ 42, 43 ], [ 0, 44 ], [ 44, 45 ], [ 44, 46 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n System.out.println(calc(a));\n }\n\n public static int calc(int a){\n return a + a*a + a*a*a;\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n System.out.println(calc(a));\n }\n\n public static int calc(int a){\n return a + a*a + a*a*a;\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n System.out.println(calc(a));\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n System.out.println(calc(a));\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(calc(a))", "System.out.println", "System.out", "System", "System.out", "calc(a)", "calc", "a", "String[] args", "args", "public static int calc(int a){\n return a + a*a + a*a*a;\n }", "calc", "{\n return a + a*a + a*a*a;\n }", "return 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", "a*a*a", "a", "a", "a", "int a", "a", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n System.out.println(calc(a));\n }\n\n public static int calc(int a){\n return a + a*a + a*a*a;\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n System.out.println(calc(a));\n }\n\n public static int calc(int a){\n return a + a*a + a*a*a;\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); System.out.println(calc(a)); } public static int calc(int a){ return 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, 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 ], [ 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 ], [ 0, 44 ], [ 44, 45 ], [ 44, 46 ] ]
[ "import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\npublic class Main {\n \tpublic static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n \tint a = sc.nextInt();\n \tint val = a + (a*a) + (a*a*a);\n \tSystem.out.println(val);\n }\n}", "import java.util.*;", "util.*", "java", "import java.lang.*;", "lang.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n \tpublic static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n \tint a = sc.nextInt();\n \tint val = a + (a*a) + (a*a*a);\n \tSystem.out.println(val);\n }\n}", "Main", "public static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n \tint a = sc.nextInt();\n \tint val = a + (a*a) + (a*a*a);\n \tSystem.out.println(val);\n }", "main", "{\n \tScanner sc = new Scanner(System.in);\n \tint a = sc.nextInt();\n \tint val = a + (a*a) + (a*a*a);\n \tSystem.out.println(val);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int val = a + (a*a) + (a*a*a);", "val", "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(val)", "System.out.println", "System.out", "System", "System.out", "val", "String[] args", "args", "public class Main {\n \tpublic static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n \tint a = sc.nextInt();\n \tint val = a + (a*a) + (a*a*a);\n \tSystem.out.println(val);\n }\n}", "public class Main {\n \tpublic static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n \tint a = sc.nextInt();\n \tint val = a + (a*a) + (a*a*a);\n \tSystem.out.println(val);\n }\n}", "Main" ]
import java.util.*; import java.lang.*; import java.io.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int val = a + (a*a) + (a*a*a); System.out.println(val); } }
[ 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.Scanner;\n\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\n\t\tSystem.out.println(x + x * x + x * x * x);\n\n\n\t}\n\n\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 x = scan.nextInt();\n\n\t\tSystem.out.println(x + x * x + x * x * x);\n\n\n\t}\n\n\n}", "Main", "public static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\n\t\tSystem.out.println(x + x * x + x * x * x);\n\n\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\n\t\tSystem.out.println(x + x * x + x * x * x);\n\n\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int x = scan.nextInt();", "x", "scan.nextInt()", "scan.nextInt", "scan", "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\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\n\t\tSystem.out.println(x + x * x + x * x * x);\n\n\n\t}\n\n\n}", "public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\n\t\tSystem.out.println(x + x * x + x * x * x);\n\n\n\t}\n\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int x = scan.nextInt(); System.out.println(x + x * x + x * x * x); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 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, 12, 13, 30, 41, 13, 18, 13, 13, 41, 13, 18, 18, 13, 17, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 30, 0, 18, 18, 13, 13, 13, 18, 18, 13, 13, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 30, 0, 18, 18, 13, 13, 13, 18, 18, 13, 2, 13, 17, 13, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 4, 18, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 0, 13, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 29, 13, 23, 13, 6, 13, 41, 13, 20, 17, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 0, 13, 17, 0, 13, 4, 18, 13, 13, 14, 2, 13, 17, 30, 29, 40, 17, 29, 18, 13, 40, 13, 12, 13, 30, 41, 13, 11, 1, 0, 13, 4, 13, 2, 13, 17, 1, 0, 13, 4, 13, 30, 41, 13, 20, 11, 1, 2, 13, 17, 1, 0, 13, 4, 13, 30, 30, 4, 18, 13, 13, 29, 4, 18, 13, 12, 13, 30, 41, 13, 41, 13, 17, 11, 1, 0, 13, 4, 13, 2, 13, 17, 1, 0, 13, 4, 13, 30, 41, 13, 2, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 4, 13, 11, 1, 2, 2, 13, 17, 2, 13, 17, 1, 0, 13, 4, 13, 30, 30, 0, 13, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 29, 8, 13, 40, 13, 13, 12, 13, 30, 41, 13, 41, 13, 17, 11, 1, 0, 13, 4, 13, 2, 13, 17, 1, 0, 13, 4, 13, 30, 41, 13, 2, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 4, 13, 11, 1, 2, 2, 13, 17, 2, 13, 17, 1, 0, 13, 4, 13, 30, 30, 0, 13, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 29, 8, 13, 40, 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 ], [ 479, 11 ], [ 479, 12 ], [ 12, 13 ], [ 12, 14 ], [ 479, 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 ], [ 27, 28 ], [ 26, 29 ], [ 30, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 36, 36 ], [ 36, 37 ], [ 36, 38 ], [ 36, 39 ], [ 17, 40 ], [ 40, 41 ], [ 41, 42 ], [ 17, 43 ], [ 43, 44 ], [ 44, 45 ], [ 15, 46 ], [ 46, 47 ], [ 479, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 50, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 50, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 68, 69 ], [ 68, 70 ], [ 63, 71 ], [ 71, 72 ], [ 72, 73 ], [ 63, 74 ], [ 75, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 81, 82 ], [ 81, 83 ], [ 76, 84 ], [ 84, 85 ], [ 85, 86 ], [ 76, 87 ], [ 88, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 90, 96 ], [ 89, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 98, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 108, 109 ], [ 108, 110 ], [ 50, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 116, 117 ], [ 116, 118 ], [ 111, 119 ], [ 119, 120 ], [ 120, 121 ], [ 111, 122 ], [ 123, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 129, 130 ], [ 129, 131 ], [ 124, 132 ], [ 132, 133 ], [ 133, 134 ], [ 124, 135 ], [ 136, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 139, 143 ], [ 138, 144 ], [ 137, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 147, 151 ], [ 146, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 155, 156 ], [ 155, 157 ], [ 152, 158 ], [ 136, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 159, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 165, 169 ], [ 164, 170 ], [ 123, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 50, 176 ], [ 176, 177 ], [ 176, 178 ], [ 50, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 179, 184 ], [ 184, 185 ], [ 184, 186 ], [ 179, 187 ], [ 187, 188 ], [ 188, 189 ], [ 179, 190 ], [ 191, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 192, 197 ], [ 197, 198 ], [ 197, 199 ], [ 192, 200 ], [ 200, 201 ], [ 201, 202 ], [ 192, 203 ], [ 204, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 207, 208 ], [ 207, 209 ], [ 205, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 211, 215 ], [ 210, 216 ], [ 204, 217 ], [ 217, 218 ], [ 217, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 219, 223 ], [ 191, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 226, 228 ], [ 50, 229 ], [ 229, 230 ], [ 48, 231 ], [ 231, 232 ], [ 479, 233 ], [ 233, 234 ], [ 233, 235 ], [ 235, 236 ], [ 235, 237 ], [ 233, 239 ], [ 239, 240 ], [ 233, 241 ], [ 241, 242 ], [ 233, 243 ], [ 243, 244 ], [ 233, 245 ], [ 245, 246 ], [ 245, 247 ], [ 247, 248 ], [ 248, 249 ], [ 248, 250 ], [ 245, 251 ], [ 251, 252 ], [ 233, 253 ], [ 253, 254 ], [ 253, 255 ], [ 255, 256 ], [ 256, 257 ], [ 257, 258 ], [ 257, 259 ], [ 256, 260 ], [ 260, 261 ], [ 261, 262 ], [ 261, 263 ], [ 260, 264 ], [ 264, 265 ], [ 264, 266 ], [ 266, 267 ], [ 267, 268 ], [ 266, 269 ], [ 260, 270 ], [ 270, 271 ], [ 271, 272 ], [ 271, 273 ], [ 270, 274 ], [ 274, 275 ], [ 275, 276 ], [ 276, 277 ], [ 255, 278 ], [ 278, 279 ], [ 279, 280 ], [ 279, 281 ], [ 281, 282 ], [ 233, 283 ], [ 283, 284 ], [ 283, 285 ], [ 285, 286 ], [ 286, 287 ], [ 285, 288 ], [ 288, 289 ], [ 289, 290 ], [ 290, 291 ], [ 290, 292 ], [ 292, 293 ], [ 288, 294 ], [ 294, 295 ], [ 294, 296 ], [ 288, 297 ], [ 297, 298 ], [ 298, 299 ], [ 298, 300 ], [ 300, 301 ], [ 288, 302 ], [ 285, 303 ], [ 303, 304 ], [ 303, 305 ], [ 285, 306 ], [ 306, 307 ], [ 306, 308 ], [ 308, 309 ], [ 308, 310 ], [ 306, 311 ], [ 311, 312 ], [ 312, 313 ], [ 312, 314 ], [ 314, 315 ], [ 306, 316 ], [ 317, 317 ], [ 317, 318 ], [ 318, 319 ], [ 319, 320 ], [ 318, 321 ], [ 285, 322 ], [ 322, 323 ], [ 323, 324 ], [ 324, 325 ], [ 233, 326 ], [ 326, 327 ], [ 326, 328 ], [ 328, 329 ], [ 329, 330 ], [ 328, 331 ], [ 331, 332 ], [ 331, 333 ], [ 328, 334 ], [ 334, 335 ], [ 335, 336 ], [ 336, 337 ], [ 336, 338 ], [ 338, 339 ], [ 334, 340 ], [ 340, 341 ], [ 340, 342 ], [ 334, 343 ], [ 343, 344 ], [ 344, 345 ], [ 344, 346 ], [ 346, 347 ], [ 334, 348 ], [ 328, 349 ], [ 349, 350 ], [ 349, 351 ], [ 351, 352 ], [ 351, 353 ], [ 328, 354 ], [ 354, 355 ], [ 355, 356 ], [ 356, 357 ], [ 356, 358 ], [ 355, 359 ], [ 359, 360 ], [ 359, 361 ], [ 354, 362 ], [ 362, 363 ], [ 363, 364 ], [ 363, 365 ], [ 365, 366 ], [ 328, 367 ], [ 367, 368 ], [ 367, 369 ], [ 369, 370 ], [ 370, 371 ], [ 370, 372 ], [ 369, 373 ], [ 373, 374 ], [ 373, 375 ], [ 367, 376 ], [ 376, 377 ], [ 377, 378 ], [ 377, 379 ], [ 379, 380 ], [ 367, 381 ], [ 382, 382 ], [ 382, 383 ], [ 383, 384 ], [ 383, 385 ], [ 386, 386 ], [ 386, 387 ], [ 387, 388 ], [ 387, 389 ], [ 386, 390 ], [ 390, 391 ], [ 390, 392 ], [ 386, 393 ], [ 393, 394 ], [ 393, 395 ], [ 328, 396 ], [ 396, 397 ], [ 397, 398 ], [ 397, 399 ], [ 399, 400 ], [ 397, 401 ], [ 233, 402 ], [ 402, 403 ], [ 402, 404 ], [ 404, 405 ], [ 405, 406 ], [ 404, 407 ], [ 407, 408 ], [ 407, 409 ], [ 404, 410 ], [ 410, 411 ], [ 411, 412 ], [ 412, 413 ], [ 412, 414 ], [ 414, 415 ], [ 410, 416 ], [ 416, 417 ], [ 416, 418 ], [ 410, 419 ], [ 419, 420 ], [ 420, 421 ], [ 420, 422 ], [ 422, 423 ], [ 410, 424 ], [ 404, 425 ], [ 425, 426 ], [ 425, 427 ], [ 427, 428 ], [ 427, 429 ], [ 404, 430 ], [ 430, 431 ], [ 431, 432 ], [ 432, 433 ], [ 432, 434 ], [ 431, 435 ], [ 435, 436 ], [ 435, 437 ], [ 430, 438 ], [ 438, 439 ], [ 439, 440 ], [ 439, 441 ], [ 441, 442 ], [ 404, 443 ], [ 443, 444 ], [ 443, 445 ], [ 445, 446 ], [ 446, 447 ], [ 446, 448 ], [ 445, 449 ], [ 449, 450 ], [ 449, 451 ], [ 443, 452 ], [ 452, 453 ], [ 453, 454 ], [ 453, 455 ], [ 455, 456 ], [ 443, 457 ], [ 458, 458 ], [ 458, 459 ], [ 459, 460 ], [ 459, 461 ], [ 462, 462 ], [ 462, 463 ], [ 463, 464 ], [ 463, 465 ], [ 462, 466 ], [ 466, 467 ], [ 466, 468 ], [ 462, 469 ], [ 469, 470 ], [ 469, 471 ], [ 404, 472 ], [ 472, 473 ], [ 473, 474 ], [ 473, 475 ], [ 475, 476 ], [ 473, 477 ], [ 0, 478 ], [ 478, 479 ], [ 478, 480 ] ]
[ "//package com.company;\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n//****Use Integer Wrapper Class for Arrays.sort()****\npublic class Main {\n static PrintWriter out=new PrintWriter(new OutputStreamWriter(System.out));\n public static void main(String[] Args)throws Exception{\n FastReader scan=new FastReader(System.in);\n// int t=1;\n// t=scan.nextInt();\n// while(t-->0){\n// int[][] mat={{1,0,1},{1,1,0},{1,1,0}};\n// numSubmat(mat);\n// }\n int a=scan.nextInt();\n out.println(a+a*a+a*a*a);\n out.flush();\n out.close();\n }\n static int numSubmat(int[][] mat) {\n int n=mat.length;\n int m=mat[0].length;\n // System.out.println(n+\" \"+m);\n for(int i=0;i<n;i++){\n for(int j=1;j<m;j++){\n if(mat[i][j]==1){\n mat[i][j]+=mat[i][j-1];\n }\n // System.out.print(mat[i][j]+\" \");\n }\n // System.out.println();\n }\n for(int i=1;i<n;i++){\n for(int j=0;j<m;j++){\n if(mat[i][j]==1){\n mat[i][j]+=mat[i-1][j];\n }\n System.out.print(mat[i][j]+\" \");\n }\n System.out.println();\n }\n int ans=0;\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n System.out.print(mat[i][j]+\" \");\n ans+=mat[i][j];\n }\n System.out.println();\n }\n return ans;\n }\n static class FastReader {\n\n byte[] buf = new byte[2048];\n int index, total;\n InputStream in;\n\n FastReader(InputStream is) {\n in = is;\n }\n\n int scan() throws IOException {\n if (index >= total) {\n index = 0;\n total = in.read(buf);\n if (total <= 0) {\n return -1;\n }\n }\n return buf[index++];\n }\n\n String next() throws IOException {\n int c;\n for (c = scan(); c <= 32; c = scan()) ;\n StringBuilder sb = new StringBuilder();\n for (; c > 32; c = scan()) {\n sb.append((char) c);\n }\n return sb.toString();\n }\n\n int nextInt() throws IOException {\n int c, val = 0;\n for (c = scan(); c <= 32; c = scan()) ;\n boolean neg = c == '-';\n if (c == '-' || c == '+') {\n c = scan();\n }\n for (; c >= '0' && c <= '9'; c = scan()) {\n val = (val << 3) + (val << 1) + (c & 15);\n }\n return neg ? -val : val;\n }\n long nextLong() throws IOException {\n int c;\n long val = 0;\n for (c = scan(); c <= 32; c = scan()) ;\n boolean neg = c == '-';\n if (c == '-' || c == '+') {\n c = scan();\n }\n for (; c >= '0' && c <= '9'; c = scan()) {\n val = (val << 3) + (val << 1) + (c & 15);\n }\n return neg ? -val : val;\n }\n }\n}", "import java.util.*;", "util.*", "java", "import java.lang.*;", "lang.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n static PrintWriter out=new PrintWriter(new OutputStreamWriter(System.out));\n public static void main(String[] Args)throws Exception{\n FastReader scan=new FastReader(System.in);\n// int t=1;\n// t=scan.nextInt();\n// while(t-->0){\n// int[][] mat={{1,0,1},{1,1,0},{1,1,0}};\n// numSubmat(mat);\n// }\n int a=scan.nextInt();\n out.println(a+a*a+a*a*a);\n out.flush();\n out.close();\n }\n static int numSubmat(int[][] mat) {\n int n=mat.length;\n int m=mat[0].length;\n // System.out.println(n+\" \"+m);\n for(int i=0;i<n;i++){\n for(int j=1;j<m;j++){\n if(mat[i][j]==1){\n mat[i][j]+=mat[i][j-1];\n }\n // System.out.print(mat[i][j]+\" \");\n }\n // System.out.println();\n }\n for(int i=1;i<n;i++){\n for(int j=0;j<m;j++){\n if(mat[i][j]==1){\n mat[i][j]+=mat[i-1][j];\n }\n System.out.print(mat[i][j]+\" \");\n }\n System.out.println();\n }\n int ans=0;\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n System.out.print(mat[i][j]+\" \");\n ans+=mat[i][j];\n }\n System.out.println();\n }\n return ans;\n }\n static class FastReader {\n\n byte[] buf = new byte[2048];\n int index, total;\n InputStream in;\n\n FastReader(InputStream is) {\n in = is;\n }\n\n int scan() throws IOException {\n if (index >= total) {\n index = 0;\n total = in.read(buf);\n if (total <= 0) {\n return -1;\n }\n }\n return buf[index++];\n }\n\n String next() throws IOException {\n int c;\n for (c = scan(); c <= 32; c = scan()) ;\n StringBuilder sb = new StringBuilder();\n for (; c > 32; c = scan()) {\n sb.append((char) c);\n }\n return sb.toString();\n }\n\n int nextInt() throws IOException {\n int c, val = 0;\n for (c = scan(); c <= 32; c = scan()) ;\n boolean neg = c == '-';\n if (c == '-' || c == '+') {\n c = scan();\n }\n for (; c >= '0' && c <= '9'; c = scan()) {\n val = (val << 3) + (val << 1) + (c & 15);\n }\n return neg ? -val : val;\n }\n long nextLong() throws IOException {\n int c;\n long val = 0;\n for (c = scan(); c <= 32; c = scan()) ;\n boolean neg = c == '-';\n if (c == '-' || c == '+') {\n c = scan();\n }\n for (; c >= '0' && c <= '9'; c = scan()) {\n val = (val << 3) + (val << 1) + (c & 15);\n }\n return neg ? -val : val;\n }\n }\n}", "Main", "static PrintWriter out=new PrintWriter(new OutputStreamWriter(System.out));", "out", "new PrintWriter(new OutputStreamWriter(System.out))", "public static void main(String[] Args)throws Exception{\n FastReader scan=new FastReader(System.in);\n// int t=1;\n// t=scan.nextInt();\n// while(t-->0){\n// int[][] mat={{1,0,1},{1,1,0},{1,1,0}};\n// numSubmat(mat);\n// }\n int a=scan.nextInt();\n out.println(a+a*a+a*a*a);\n out.flush();\n out.close();\n }", "main", "{\n FastReader scan=new FastReader(System.in);\n// int t=1;\n// t=scan.nextInt();\n// while(t-->0){\n// int[][] mat={{1,0,1},{1,1,0},{1,1,0}};\n// numSubmat(mat);\n// }\n int a=scan.nextInt();\n out.println(a+a*a+a*a*a);\n out.flush();\n out.close();\n }", "FastReader scan=new FastReader(System.in);", "scan", "new FastReader(System.in)", "int a=scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "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 int numSubmat(int[][] mat) {\n int n=mat.length;\n int m=mat[0].length;\n // System.out.println(n+\" \"+m);\n for(int i=0;i<n;i++){\n for(int j=1;j<m;j++){\n if(mat[i][j]==1){\n mat[i][j]+=mat[i][j-1];\n }\n // System.out.print(mat[i][j]+\" \");\n }\n // System.out.println();\n }\n for(int i=1;i<n;i++){\n for(int j=0;j<m;j++){\n if(mat[i][j]==1){\n mat[i][j]+=mat[i-1][j];\n }\n System.out.print(mat[i][j]+\" \");\n }\n System.out.println();\n }\n int ans=0;\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n System.out.print(mat[i][j]+\" \");\n ans+=mat[i][j];\n }\n System.out.println();\n }\n return ans;\n }", "numSubmat", "{\n int n=mat.length;\n int m=mat[0].length;\n // System.out.println(n+\" \"+m);\n for(int i=0;i<n;i++){\n for(int j=1;j<m;j++){\n if(mat[i][j]==1){\n mat[i][j]+=mat[i][j-1];\n }\n // System.out.print(mat[i][j]+\" \");\n }\n // System.out.println();\n }\n for(int i=1;i<n;i++){\n for(int j=0;j<m;j++){\n if(mat[i][j]==1){\n mat[i][j]+=mat[i-1][j];\n }\n System.out.print(mat[i][j]+\" \");\n }\n System.out.println();\n }\n int ans=0;\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n System.out.print(mat[i][j]+\" \");\n ans+=mat[i][j];\n }\n System.out.println();\n }\n return ans;\n }", "int n=mat.length;", "n", "mat.length", "mat", "mat.length", "int m=mat[0].length;", "m", "mat[0].length", "mat[0]", "mat", "0", "mat[0].length", "for(int i=0;i<n;i++){\n for(int j=1;j<m;j++){\n if(mat[i][j]==1){\n mat[i][j]+=mat[i][j-1];\n }\n // System.out.print(mat[i][j]+\" \");\n }\n // System.out.println();\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=1;j<m;j++){\n if(mat[i][j]==1){\n mat[i][j]+=mat[i][j-1];\n }\n // System.out.print(mat[i][j]+\" \");\n }\n // System.out.println();\n }", "{\n for(int j=1;j<m;j++){\n if(mat[i][j]==1){\n mat[i][j]+=mat[i][j-1];\n }\n // System.out.print(mat[i][j]+\" \");\n }\n // System.out.println();\n }", "for(int j=1;j<m;j++){\n if(mat[i][j]==1){\n mat[i][j]+=mat[i][j-1];\n }\n // System.out.print(mat[i][j]+\" \");\n }", "int j=1;", "int j=1;", "j", "1", "j<m", "j", "m", "j++", "j++", "j", "{\n if(mat[i][j]==1){\n mat[i][j]+=mat[i][j-1];\n }\n // System.out.print(mat[i][j]+\" \");\n }", "{\n if(mat[i][j]==1){\n mat[i][j]+=mat[i][j-1];\n }\n // System.out.print(mat[i][j]+\" \");\n }", "if(mat[i][j]==1){\n mat[i][j]+=mat[i][j-1];\n }", "mat[i][j]==1", "mat[i][j]", "mat[i]", "mat", "i", "j", "1", "{\n mat[i][j]+=mat[i][j-1];\n }", "mat[i][j]+=mat[i][j-1]", "mat[i][j]", "mat[i]", "mat", "i", "j", "mat[i][j-1]", "mat[i]", "mat", "i", "j-1", "j", "1", "for(int i=1;i<n;i++){\n for(int j=0;j<m;j++){\n if(mat[i][j]==1){\n mat[i][j]+=mat[i-1][j];\n }\n System.out.print(mat[i][j]+\" \");\n }\n System.out.println();\n }", "int i=1;", "int i=1;", "i", "1", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0;j<m;j++){\n if(mat[i][j]==1){\n mat[i][j]+=mat[i-1][j];\n }\n System.out.print(mat[i][j]+\" \");\n }\n System.out.println();\n }", "{\n for(int j=0;j<m;j++){\n if(mat[i][j]==1){\n mat[i][j]+=mat[i-1][j];\n }\n System.out.print(mat[i][j]+\" \");\n }\n System.out.println();\n }", "for(int j=0;j<m;j++){\n if(mat[i][j]==1){\n mat[i][j]+=mat[i-1][j];\n }\n System.out.print(mat[i][j]+\" \");\n }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n if(mat[i][j]==1){\n mat[i][j]+=mat[i-1][j];\n }\n System.out.print(mat[i][j]+\" \");\n }", "{\n if(mat[i][j]==1){\n mat[i][j]+=mat[i-1][j];\n }\n System.out.print(mat[i][j]+\" \");\n }", "if(mat[i][j]==1){\n mat[i][j]+=mat[i-1][j];\n }", "mat[i][j]==1", "mat[i][j]", "mat[i]", "mat", "i", "j", "1", "{\n mat[i][j]+=mat[i-1][j];\n }", "mat[i][j]+=mat[i-1][j]", "mat[i][j]", "mat[i]", "mat", "i", "j", "mat[i-1][j]", "mat[i-1]", "mat", "i-1", "i", "1", "j", "System.out.print(mat[i][j]+\" \")", "System.out.print", "System.out", "System", "System.out", "mat[i][j]+\" \"", "mat[i][j]", "mat[i]", "mat", "i", "j", "\" \"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "int ans=0;", "ans", "0", "for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n System.out.print(mat[i][j]+\" \");\n ans+=mat[i][j];\n }\n System.out.println();\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0;j<m;j++){\n System.out.print(mat[i][j]+\" \");\n ans+=mat[i][j];\n }\n System.out.println();\n }", "{\n for(int j=0;j<m;j++){\n System.out.print(mat[i][j]+\" \");\n ans+=mat[i][j];\n }\n System.out.println();\n }", "for(int j=0;j<m;j++){\n System.out.print(mat[i][j]+\" \");\n ans+=mat[i][j];\n }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n System.out.print(mat[i][j]+\" \");\n ans+=mat[i][j];\n }", "{\n System.out.print(mat[i][j]+\" \");\n ans+=mat[i][j];\n }", "System.out.print(mat[i][j]+\" \")", "System.out.print", "System.out", "System", "System.out", "mat[i][j]+\" \"", "mat[i][j]", "mat[i]", "mat", "i", "j", "\" \"", "ans+=mat[i][j]", "ans", "mat[i][j]", "mat[i]", "mat", "i", "j", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "return ans;", "ans", "int[][] mat", "mat", "static class FastReader {\n\n byte[] buf = new byte[2048];\n int index, total;\n InputStream in;\n\n FastReader(InputStream is) {\n in = is;\n }\n\n int scan() throws IOException {\n if (index >= total) {\n index = 0;\n total = in.read(buf);\n if (total <= 0) {\n return -1;\n }\n }\n return buf[index++];\n }\n\n String next() throws IOException {\n int c;\n for (c = scan(); c <= 32; c = scan()) ;\n StringBuilder sb = new StringBuilder();\n for (; c > 32; c = scan()) {\n sb.append((char) c);\n }\n return sb.toString();\n }\n\n int nextInt() throws IOException {\n int c, val = 0;\n for (c = scan(); c <= 32; c = scan()) ;\n boolean neg = c == '-';\n if (c == '-' || c == '+') {\n c = scan();\n }\n for (; c >= '0' && c <= '9'; c = scan()) {\n val = (val << 3) + (val << 1) + (c & 15);\n }\n return neg ? -val : val;\n }\n long nextLong() throws IOException {\n int c;\n long val = 0;\n for (c = scan(); c <= 32; c = scan()) ;\n boolean neg = c == '-';\n if (c == '-' || c == '+') {\n c = scan();\n }\n for (; c >= '0' && c <= '9'; c = scan()) {\n val = (val << 3) + (val << 1) + (c & 15);\n }\n return neg ? -val : val;\n }\n }", "FastReader", "byte[] buf = new byte[2048];", "buf", "new byte[2048]", "2048", "int index", "index", "total;", "total", "InputStream in;", "in", "FastReader(InputStream is) {\n in = is;\n }", "FastReader", "{\n in = is;\n }", "in = is", "in", "is", "InputStream is", "is", "int scan() throws IOException {\n if (index >= total) {\n index = 0;\n total = in.read(buf);\n if (total <= 0) {\n return -1;\n }\n }\n return buf[index++];\n }", "scan", "{\n if (index >= total) {\n index = 0;\n total = in.read(buf);\n if (total <= 0) {\n return -1;\n }\n }\n return buf[index++];\n }", "if (index >= total) {\n index = 0;\n total = in.read(buf);\n if (total <= 0) {\n return -1;\n }\n }", "index >= total", "index", "total", "{\n index = 0;\n total = in.read(buf);\n if (total <= 0) {\n return -1;\n }\n }", "index = 0", "index", "0", "total = in.read(buf)", "total", "in.read(buf)", "in.read", "in", "buf", "if (total <= 0) {\n return -1;\n }", "total <= 0", "total", "0", "{\n return -1;\n }", "return -1;", "-1", "1", "return buf[index++];", "buf[index++]", "buf", "index++", "index", "String next() throws IOException {\n int c;\n for (c = scan(); c <= 32; c = scan()) ;\n StringBuilder sb = new StringBuilder();\n for (; c > 32; c = scan()) {\n sb.append((char) c);\n }\n return sb.toString();\n }", "next", "{\n int c;\n for (c = scan(); c <= 32; c = scan()) ;\n StringBuilder sb = new StringBuilder();\n for (; c > 32; c = scan()) {\n sb.append((char) c);\n }\n return sb.toString();\n }", "int c;", "c", "for (c = scan(); c <= 32; c = scan()) ;", "c = scan();", "c = scan()", "c", "scan()", "scan", "c <= 32", "c", "32", "c = scan()", "c = scan()", "c", "scan()", "scan", ";", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "for (; c > 32; c = scan()) {\n sb.append((char) c);\n }", ";", "c > 32", "c", "32", "c = scan()", "c = scan()", "c", "scan()", "scan", "{\n sb.append((char) c);\n }", "{\n sb.append((char) c);\n }", "sb.append((char) c)", "sb.append", "sb", "(char) c", "return sb.toString();", "sb.toString()", "sb.toString", "sb", "int nextInt() throws IOException {\n int c, val = 0;\n for (c = scan(); c <= 32; c = scan()) ;\n boolean neg = c == '-';\n if (c == '-' || c == '+') {\n c = scan();\n }\n for (; c >= '0' && c <= '9'; c = scan()) {\n val = (val << 3) + (val << 1) + (c & 15);\n }\n return neg ? -val : val;\n }", "nextInt", "{\n int c, val = 0;\n for (c = scan(); c <= 32; c = scan()) ;\n boolean neg = c == '-';\n if (c == '-' || c == '+') {\n c = scan();\n }\n for (; c >= '0' && c <= '9'; c = scan()) {\n val = (val << 3) + (val << 1) + (c & 15);\n }\n return neg ? -val : val;\n }", "int c", "c", "val = 0;", "val", "0", "for (c = scan(); c <= 32; c = scan()) ;", "c = scan();", "c = scan()", "c", "scan()", "scan", "c <= 32", "c", "32", "c = scan()", "c = scan()", "c", "scan()", "scan", ";", "boolean neg = c == '-';", "neg", "c == '-'", "c", "'-'", "if (c == '-' || c == '+') {\n c = scan();\n }", "c == '-' || c == '+'", "c == '-'", "c", "'-'", "c == '+'", "c", "'+'", "{\n c = scan();\n }", "c = scan()", "c", "scan()", "scan", "for (; c >= '0' && c <= '9'; c = scan()) {\n val = (val << 3) + (val << 1) + (c & 15);\n }", ";", "c >= '0' && c <= '9'", "c >= '0'", "c", "'0'", "c <= '9'", "c", "'9'", "c = scan()", "c = scan()", "c", "scan()", "scan", "{\n val = (val << 3) + (val << 1) + (c & 15);\n }", "{\n val = (val << 3) + (val << 1) + (c & 15);\n }", "val = (val << 3) + (val << 1) + (c & 15)", "val", "(val << 3) + (val << 1) + (c & 15)", "(val << 3) + (val << 1) + (c & 15)", "(val << 3)", "val", "3", "(val << 1)", "val", "1", "(c & 15)", "c", "15", "return neg ? -val : val;", "neg ? -val : val", "neg", "-val", "val", "val", "long nextLong() throws IOException {\n int c;\n long val = 0;\n for (c = scan(); c <= 32; c = scan()) ;\n boolean neg = c == '-';\n if (c == '-' || c == '+') {\n c = scan();\n }\n for (; c >= '0' && c <= '9'; c = scan()) {\n val = (val << 3) + (val << 1) + (c & 15);\n }\n return neg ? -val : val;\n }", "nextLong", "{\n int c;\n long val = 0;\n for (c = scan(); c <= 32; c = scan()) ;\n boolean neg = c == '-';\n if (c == '-' || c == '+') {\n c = scan();\n }\n for (; c >= '0' && c <= '9'; c = scan()) {\n val = (val << 3) + (val << 1) + (c & 15);\n }\n return neg ? -val : val;\n }", "int c;", "c", "long val = 0;", "val", "0", "for (c = scan(); c <= 32; c = scan()) ;", "c = scan();", "c = scan()", "c", "scan()", "scan", "c <= 32", "c", "32", "c = scan()", "c = scan()", "c", "scan()", "scan", ";", "boolean neg = c == '-';", "neg", "c == '-'", "c", "'-'", "if (c == '-' || c == '+') {\n c = scan();\n }", "c == '-' || c == '+'", "c == '-'", "c", "'-'", "c == '+'", "c", "'+'", "{\n c = scan();\n }", "c = scan()", "c", "scan()", "scan", "for (; c >= '0' && c <= '9'; c = scan()) {\n val = (val << 3) + (val << 1) + (c & 15);\n }", ";", "c >= '0' && c <= '9'", "c >= '0'", "c", "'0'", "c <= '9'", "c", "'9'", "c = scan()", "c = scan()", "c", "scan()", "scan", "{\n val = (val << 3) + (val << 1) + (c & 15);\n }", "{\n val = (val << 3) + (val << 1) + (c & 15);\n }", "val = (val << 3) + (val << 1) + (c & 15)", "val", "(val << 3) + (val << 1) + (c & 15)", "(val << 3) + (val << 1) + (c & 15)", "(val << 3)", "val", "3", "(val << 1)", "val", "1", "(c & 15)", "c", "15", "return neg ? -val : val;", "neg ? -val : val", "neg", "-val", "val", "val", "public class Main {\n static PrintWriter out=new PrintWriter(new OutputStreamWriter(System.out));\n public static void main(String[] Args)throws Exception{\n FastReader scan=new FastReader(System.in);\n// int t=1;\n// t=scan.nextInt();\n// while(t-->0){\n// int[][] mat={{1,0,1},{1,1,0},{1,1,0}};\n// numSubmat(mat);\n// }\n int a=scan.nextInt();\n out.println(a+a*a+a*a*a);\n out.flush();\n out.close();\n }\n static int numSubmat(int[][] mat) {\n int n=mat.length;\n int m=mat[0].length;\n // System.out.println(n+\" \"+m);\n for(int i=0;i<n;i++){\n for(int j=1;j<m;j++){\n if(mat[i][j]==1){\n mat[i][j]+=mat[i][j-1];\n }\n // System.out.print(mat[i][j]+\" \");\n }\n // System.out.println();\n }\n for(int i=1;i<n;i++){\n for(int j=0;j<m;j++){\n if(mat[i][j]==1){\n mat[i][j]+=mat[i-1][j];\n }\n System.out.print(mat[i][j]+\" \");\n }\n System.out.println();\n }\n int ans=0;\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n System.out.print(mat[i][j]+\" \");\n ans+=mat[i][j];\n }\n System.out.println();\n }\n return ans;\n }\n static class FastReader {\n\n byte[] buf = new byte[2048];\n int index, total;\n InputStream in;\n\n FastReader(InputStream is) {\n in = is;\n }\n\n int scan() throws IOException {\n if (index >= total) {\n index = 0;\n total = in.read(buf);\n if (total <= 0) {\n return -1;\n }\n }\n return buf[index++];\n }\n\n String next() throws IOException {\n int c;\n for (c = scan(); c <= 32; c = scan()) ;\n StringBuilder sb = new StringBuilder();\n for (; c > 32; c = scan()) {\n sb.append((char) c);\n }\n return sb.toString();\n }\n\n int nextInt() throws IOException {\n int c, val = 0;\n for (c = scan(); c <= 32; c = scan()) ;\n boolean neg = c == '-';\n if (c == '-' || c == '+') {\n c = scan();\n }\n for (; c >= '0' && c <= '9'; c = scan()) {\n val = (val << 3) + (val << 1) + (c & 15);\n }\n return neg ? -val : val;\n }\n long nextLong() throws IOException {\n int c;\n long val = 0;\n for (c = scan(); c <= 32; c = scan()) ;\n boolean neg = c == '-';\n if (c == '-' || c == '+') {\n c = scan();\n }\n for (; c >= '0' && c <= '9'; c = scan()) {\n val = (val << 3) + (val << 1) + (c & 15);\n }\n return neg ? -val : val;\n }\n }\n}", "public class Main {\n static PrintWriter out=new PrintWriter(new OutputStreamWriter(System.out));\n public static void main(String[] Args)throws Exception{\n FastReader scan=new FastReader(System.in);\n// int t=1;\n// t=scan.nextInt();\n// while(t-->0){\n// int[][] mat={{1,0,1},{1,1,0},{1,1,0}};\n// numSubmat(mat);\n// }\n int a=scan.nextInt();\n out.println(a+a*a+a*a*a);\n out.flush();\n out.close();\n }\n static int numSubmat(int[][] mat) {\n int n=mat.length;\n int m=mat[0].length;\n // System.out.println(n+\" \"+m);\n for(int i=0;i<n;i++){\n for(int j=1;j<m;j++){\n if(mat[i][j]==1){\n mat[i][j]+=mat[i][j-1];\n }\n // System.out.print(mat[i][j]+\" \");\n }\n // System.out.println();\n }\n for(int i=1;i<n;i++){\n for(int j=0;j<m;j++){\n if(mat[i][j]==1){\n mat[i][j]+=mat[i-1][j];\n }\n System.out.print(mat[i][j]+\" \");\n }\n System.out.println();\n }\n int ans=0;\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n System.out.print(mat[i][j]+\" \");\n ans+=mat[i][j];\n }\n System.out.println();\n }\n return ans;\n }\n static class FastReader {\n\n byte[] buf = new byte[2048];\n int index, total;\n InputStream in;\n\n FastReader(InputStream is) {\n in = is;\n }\n\n int scan() throws IOException {\n if (index >= total) {\n index = 0;\n total = in.read(buf);\n if (total <= 0) {\n return -1;\n }\n }\n return buf[index++];\n }\n\n String next() throws IOException {\n int c;\n for (c = scan(); c <= 32; c = scan()) ;\n StringBuilder sb = new StringBuilder();\n for (; c > 32; c = scan()) {\n sb.append((char) c);\n }\n return sb.toString();\n }\n\n int nextInt() throws IOException {\n int c, val = 0;\n for (c = scan(); c <= 32; c = scan()) ;\n boolean neg = c == '-';\n if (c == '-' || c == '+') {\n c = scan();\n }\n for (; c >= '0' && c <= '9'; c = scan()) {\n val = (val << 3) + (val << 1) + (c & 15);\n }\n return neg ? -val : val;\n }\n long nextLong() throws IOException {\n int c;\n long val = 0;\n for (c = scan(); c <= 32; c = scan()) ;\n boolean neg = c == '-';\n if (c == '-' || c == '+') {\n c = scan();\n }\n for (; c >= '0' && c <= '9'; c = scan()) {\n val = (val << 3) + (val << 1) + (c & 15);\n }\n return neg ? -val : val;\n }\n }\n}", "Main" ]
//package com.company; import java.util.*; import java.lang.*; import java.io.*; //****Use Integer Wrapper Class for Arrays.sort()**** public class Main { static PrintWriter out=new PrintWriter(new OutputStreamWriter(System.out)); public static void main(String[] Args)throws Exception{ FastReader scan=new FastReader(System.in); // int t=1; // t=scan.nextInt(); // while(t-->0){ // int[][] mat={{1,0,1},{1,1,0},{1,1,0}}; // numSubmat(mat); // } int a=scan.nextInt(); out.println(a+a*a+a*a*a); out.flush(); out.close(); } static int numSubmat(int[][] mat) { int n=mat.length; int m=mat[0].length; // System.out.println(n+" "+m); for(int i=0;i<n;i++){ for(int j=1;j<m;j++){ if(mat[i][j]==1){ mat[i][j]+=mat[i][j-1]; } // System.out.print(mat[i][j]+" "); } // System.out.println(); } for(int i=1;i<n;i++){ for(int j=0;j<m;j++){ if(mat[i][j]==1){ mat[i][j]+=mat[i-1][j]; } System.out.print(mat[i][j]+" "); } System.out.println(); } int ans=0; for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ System.out.print(mat[i][j]+" "); ans+=mat[i][j]; } System.out.println(); } return ans; } static class FastReader { byte[] buf = new byte[2048]; int index, total; InputStream in; FastReader(InputStream is) { in = is; } int scan() throws IOException { if (index >= total) { index = 0; total = in.read(buf); if (total <= 0) { return -1; } } return buf[index++]; } String next() throws IOException { int c; for (c = scan(); c <= 32; c = scan()) ; StringBuilder sb = new StringBuilder(); for (; c > 32; c = scan()) { sb.append((char) c); } return sb.toString(); } int nextInt() throws IOException { int c, val = 0; for (c = scan(); c <= 32; c = scan()) ; boolean neg = c == '-'; if (c == '-' || c == '+') { c = scan(); } for (; c >= '0' && c <= '9'; c = scan()) { val = (val << 3) + (val << 1) + (c & 15); } return neg ? -val : val; } long nextLong() throws IOException { int c; long val = 0; for (c = scan(); c <= 32; c = scan()) ; boolean neg = c == '-'; if (c == '-' || c == '+') { c = scan(); } for (; c >= '0' && c <= '9'; c = scan()) { val = (val << 3) + (val << 1) + (c & 15); } return neg ? -val : val; } } }
[ 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.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n \n int a = scanner.nextInt();\n \n System.out.println(a+a*a+a*a*a);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n \n int a = scanner.nextInt();\n \n System.out.println(a+a*a+a*a*a);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n \n int a = scanner.nextInt();\n \n System.out.println(a+a*a+a*a*a);\n }", "main", "{\n \n Scanner scanner = new Scanner(System.in);\n \n int a = scanner.nextInt();\n \n System.out.println(a+a*a+a*a*a);\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int a = scanner.nextInt();", "a", "scanner.nextInt()", "scanner.nextInt", "scanner", "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 Exception {\n \n Scanner scanner = new Scanner(System.in);\n \n int a = scanner.nextInt();\n \n System.out.println(a+a*a+a*a*a);\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n \n int a = scanner.nextInt();\n \n System.out.println(a+a*a+a*a*a);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); 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, 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.io.IOException;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint num = scan.nextInt();\n\t\tSystem.out.println(num + num*num + num*num*num);\n\t}\n}", "import java.io.IOException;", "IOException", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint num = scan.nextInt();\n\t\tSystem.out.println(num + num*num + num*num*num);\n\t}\n}", "Main", "public static void main(String[] args) throws IOException{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint num = scan.nextInt();\n\t\tSystem.out.println(num + num*num + num*num*num);\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint num = scan.nextInt();\n\t\tSystem.out.println(num + num*num + num*num*num);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int num = scan.nextInt();", "num", "scan.nextInt()", "scan.nextInt", "scan", "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", "public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint num = scan.nextInt();\n\t\tSystem.out.println(num + num*num + num*num*num);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint num = scan.nextInt();\n\t\tSystem.out.println(num + num*num + num*num*num);\n\t}\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 num = scan.nextInt(); System.out.println(num + num*num + num*num*num); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 4, 18, 13, 4, 18, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 62, 11 ], [ 62, 12 ], [ 12, 13 ], [ 62, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 16, 20 ], [ 20, 21 ], [ 20, 22 ], [ 16, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 25, 30 ], [ 16, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 36, 38 ], [ 16, 39 ], [ 39, 40 ], [ 40, 41 ], [ 16, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 46, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 52, 52 ], [ 52, 53 ], [ 52, 54 ], [ 52, 55 ], [ 16, 56 ], [ 56, 57 ], [ 57, 58 ], [ 14, 59 ], [ 59, 60 ], [ 0, 61 ], [ 61, 62 ], [ 61, 63 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\n\npublic class Main {\n\n static int a;\n\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n\n String[] in = br.readLine().split(\" \");\n a = Integer.parseInt(in[0]);\n\n br.close();\n\n out.println(a + a*a + a*a*a);\n\n out.flush();\n\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "public class Main {\n\n static int a;\n\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n\n String[] in = br.readLine().split(\" \");\n a = Integer.parseInt(in[0]);\n\n br.close();\n\n out.println(a + a*a + a*a*a);\n\n out.flush();\n\n }\n}", "Main", "static int a;", "a", "public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n\n String[] in = br.readLine().split(\" \");\n a = Integer.parseInt(in[0]);\n\n br.close();\n\n out.println(a + a*a + a*a*a);\n\n out.flush();\n\n }", "main", "{\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n\n String[] in = br.readLine().split(\" \");\n a = Integer.parseInt(in[0]);\n\n br.close();\n\n out.println(a + a*a + a*a*a);\n\n out.flush();\n\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "String[] in = br.readLine().split(\" \");", "in", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "a = Integer.parseInt(in[0])", "a", "Integer.parseInt(in[0])", "Integer.parseInt", "Integer", "in[0]", "in", "0", "br.close()", "br.close", "br", "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", "String[] args", "args", "public class Main {\n\n static int a;\n\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n\n String[] in = br.readLine().split(\" \");\n a = Integer.parseInt(in[0]);\n\n br.close();\n\n out.println(a + a*a + a*a*a);\n\n out.flush();\n\n }\n}", "public class Main {\n\n static int a;\n\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n\n String[] in = br.readLine().split(\" \");\n a = Integer.parseInt(in[0]);\n\n br.close();\n\n out.println(a + a*a + a*a*a);\n\n out.flush();\n\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.PrintWriter; public class Main { static int a; public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); PrintWriter out = new PrintWriter(System.out); String[] in = br.readLine().split(" "); a = Integer.parseInt(in[0]); br.close(); out.println(a + a*a + a*a*a); out.flush(); } }
[ 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, 13, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 55, 11 ], [ 55, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 41, 45 ], [ 14, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 12, 52 ], [ 52, 53 ], [ 0, 54 ], [ 54, 55 ], [ 54, 56 ] ]
[ "\nimport java.util.Arrays;\nimport java.util.Scanner;\nimport java.util.Vector;\n\n//1, 12, 123, 1234\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner in = new Scanner(System.in);\n\t\tlong n = in.nextLong();\n\t\tlong sum = n;\n\t\tfor (int i = 2; i <= 3; i++) {\n\t\t\tsum+=Math.pow(n, i);\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Vector;", "Vector", "java.util", "public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner in = new Scanner(System.in);\n\t\tlong n = in.nextLong();\n\t\tlong sum = n;\n\t\tfor (int i = 2; i <= 3; i++) {\n\t\t\tsum+=Math.pow(n, i);\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n}", "Main", "public static void main(String args[]) {\n\t\tScanner in = new Scanner(System.in);\n\t\tlong n = in.nextLong();\n\t\tlong sum = n;\n\t\tfor (int i = 2; i <= 3; i++) {\n\t\t\tsum+=Math.pow(n, i);\n\t\t}\n\t\tSystem.out.println(sum);\n\t}", "main", "{\n\t\tScanner in = new Scanner(System.in);\n\t\tlong n = in.nextLong();\n\t\tlong sum = n;\n\t\tfor (int i = 2; i <= 3; i++) {\n\t\t\tsum+=Math.pow(n, i);\n\t\t}\n\t\tSystem.out.println(sum);\n\t}", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "long n = in.nextLong();", "n", "in.nextLong()", "in.nextLong", "in", "long sum = n;", "sum", "n", "for (int i = 2; i <= 3; i++) {\n\t\t\tsum+=Math.pow(n, i);\n\t\t}", "int i = 2;", "int i = 2;", "i", "2", "i <= 3", "i", "3", "i++", "i++", "i", "{\n\t\t\tsum+=Math.pow(n, i);\n\t\t}", "{\n\t\t\tsum+=Math.pow(n, i);\n\t\t}", "sum+=Math.pow(n, i)", "sum", "Math.pow(n, i)", "Math.pow", "Math", "n", "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 in = new Scanner(System.in);\n\t\tlong n = in.nextLong();\n\t\tlong sum = n;\n\t\tfor (int i = 2; i <= 3; i++) {\n\t\t\tsum+=Math.pow(n, i);\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 in = new Scanner(System.in);\n\t\tlong n = in.nextLong();\n\t\tlong sum = n;\n\t\tfor (int i = 2; i <= 3; i++) {\n\t\t\tsum+=Math.pow(n, i);\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; import java.util.Vector; //1, 12, 123, 1234 public class Main { public static void main(String args[]) { Scanner in = new Scanner(System.in); long n = in.nextLong(); long sum = n; for (int i = 2; i <= 3; i++) { sum+=Math.pow(n, 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, 4, 18, 13, 2, 2, 13, 2, 13, 13, 2, 2, 13, 13, 13, 23, 13, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 0, 13, 20, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 20, 4, 18, 13, 13, 4, 18, 13, 17, 4, 18, 13, 4, 18, 13, 4, 18, 13, 23, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 20, 4, 18, 13, 13, 4, 18, 13, 17, 4, 18, 13, 4, 18, 13, 4, 18, 13, 23, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 20, 4, 18, 13, 13, 4, 18, 13, 17, 4, 18, 13, 4, 18, 13, 4, 18, 13, 23, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 20, 4, 18, 13, 8, 13, 13, 13, 4, 18, 13, 17, 4, 18, 13, 4, 18, 13, 4, 18, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 17, 4, 18, 13, 4, 18, 13, 4, 18, 13, 23, 13, 23, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 17, 4, 18, 13, 4, 18, 13, 4, 18, 13, 23, 13, 23, 13, 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, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 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 ], [ 471, 8 ], [ 471, 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 ], [ 20, 23 ], [ 24, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 30, 30 ], [ 30, 31 ], [ 30, 32 ], [ 30, 33 ], [ 9, 34 ], [ 34, 35 ], [ 471, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 36, 40 ], [ 40, 41 ], [ 36, 42 ], [ 42, 43 ], [ 36, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 50, 52 ], [ 36, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 56, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 63, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 63, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 78, 79 ], [ 79, 80 ], [ 63, 81 ], [ 81, 82 ], [ 82, 83 ], [ 53, 84 ], [ 84, 85 ], [ 36, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 89, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 96, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 96, 108 ], [ 108, 109 ], [ 109, 110 ], [ 108, 111 ], [ 111, 112 ], [ 112, 113 ], [ 96, 114 ], [ 114, 115 ], [ 115, 116 ], [ 86, 117 ], [ 117, 118 ], [ 36, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 122, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 133, 134 ], [ 134, 135 ], [ 133, 136 ], [ 129, 137 ], [ 137, 138 ], [ 138, 139 ], [ 137, 140 ], [ 129, 141 ], [ 141, 142 ], [ 142, 143 ], [ 141, 144 ], [ 144, 145 ], [ 145, 146 ], [ 129, 147 ], [ 147, 148 ], [ 148, 149 ], [ 119, 150 ], [ 150, 151 ], [ 36, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 155, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 166 ], [ 166, 167 ], [ 167, 168 ], [ 166, 169 ], [ 169, 170 ], [ 169, 171 ], [ 169, 172 ], [ 162, 173 ], [ 173, 174 ], [ 174, 175 ], [ 173, 176 ], [ 162, 177 ], [ 177, 178 ], [ 178, 179 ], [ 177, 180 ], [ 180, 181 ], [ 181, 182 ], [ 162, 183 ], [ 183, 184 ], [ 184, 185 ], [ 152, 186 ], [ 186, 187 ], [ 152, 188 ], [ 188, 189 ], [ 152, 190 ], [ 190, 191 ], [ 36, 192 ], [ 192, 193 ], [ 192, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 195, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 202, 206 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 208, 210 ], [ 206, 211 ], [ 211, 212 ], [ 211, 213 ], [ 213, 214 ], [ 213, 215 ], [ 206, 216 ], [ 216, 217 ], [ 217, 218 ], [ 206, 219 ], [ 220, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 221, 224 ], [ 224, 225 ], [ 224, 226 ], [ 220, 227 ], [ 227, 228 ], [ 228, 229 ], [ 227, 230 ], [ 202, 231 ], [ 231, 232 ], [ 232, 233 ], [ 231, 234 ], [ 202, 235 ], [ 235, 236 ], [ 236, 237 ], [ 235, 238 ], [ 238, 239 ], [ 239, 240 ], [ 202, 241 ], [ 241, 242 ], [ 242, 243 ], [ 192, 244 ], [ 244, 245 ], [ 192, 246 ], [ 246, 247 ], [ 36, 248 ], [ 248, 249 ], [ 248, 250 ], [ 250, 251 ], [ 251, 252 ], [ 252, 253 ], [ 252, 254 ], [ 254, 255 ], [ 255, 256 ], [ 256, 257 ], [ 251, 258 ], [ 258, 259 ], [ 259, 260 ], [ 259, 261 ], [ 258, 262 ], [ 262, 263 ], [ 263, 264 ], [ 264, 265 ], [ 264, 266 ], [ 262, 267 ], [ 267, 268 ], [ 267, 269 ], [ 269, 270 ], [ 269, 271 ], [ 262, 272 ], [ 272, 273 ], [ 273, 274 ], [ 262, 275 ], [ 276, 276 ], [ 276, 277 ], [ 277, 278 ], [ 278, 279 ], [ 277, 280 ], [ 280, 281 ], [ 280, 282 ], [ 276, 283 ], [ 283, 284 ], [ 284, 285 ], [ 283, 286 ], [ 258, 287 ], [ 287, 288 ], [ 288, 289 ], [ 287, 290 ], [ 258, 291 ], [ 291, 292 ], [ 292, 293 ], [ 291, 294 ], [ 294, 295 ], [ 295, 296 ], [ 258, 297 ], [ 297, 298 ], [ 298, 299 ], [ 248, 300 ], [ 300, 301 ], [ 248, 302 ], [ 302, 303 ], [ 36, 304 ], [ 304, 305 ], [ 304, 306 ], [ 306, 307 ], [ 307, 308 ], [ 308, 309 ], [ 309, 310 ], [ 309, 311 ], [ 308, 312 ], [ 312, 313 ], [ 313, 314 ], [ 314, 315 ], [ 307, 316 ], [ 316, 317 ], [ 317, 318 ], [ 318, 319 ], [ 318, 320 ], [ 320, 321 ], [ 321, 322 ], [ 322, 323 ], [ 317, 324 ], [ 324, 325 ], [ 325, 326 ], [ 325, 327 ], [ 306, 328 ], [ 328, 329 ], [ 329, 330 ], [ 330, 331 ], [ 36, 332 ], [ 332, 333 ], [ 332, 334 ], [ 334, 335 ], [ 335, 336 ], [ 336, 337 ], [ 337, 338 ], [ 336, 339 ], [ 339, 340 ], [ 36, 341 ], [ 341, 342 ], [ 341, 343 ], [ 343, 344 ], [ 344, 345 ], [ 344, 346 ], [ 343, 348 ], [ 348, 349 ], [ 349, 350 ], [ 350, 351 ], [ 350, 352 ], [ 348, 353 ], [ 353, 354 ], [ 353, 355 ], [ 348, 356 ], [ 356, 357 ], [ 357, 358 ], [ 348, 359 ], [ 360, 360 ], [ 360, 361 ], [ 361, 362 ], [ 362, 363 ], [ 362, 364 ], [ 361, 365 ], [ 365, 366 ], [ 343, 367 ], [ 367, 368 ], [ 341, 369 ], [ 369, 370 ], [ 36, 371 ], [ 371, 372 ], [ 371, 373 ], [ 373, 374 ], [ 374, 375 ], [ 374, 376 ], [ 373, 378 ], [ 378, 379 ], [ 379, 380 ], [ 380, 381 ], [ 380, 382 ], [ 378, 383 ], [ 383, 384 ], [ 383, 385 ], [ 378, 386 ], [ 386, 387 ], [ 387, 388 ], [ 378, 389 ], [ 390, 390 ], [ 390, 391 ], [ 391, 392 ], [ 392, 393 ], [ 392, 394 ], [ 391, 395 ], [ 395, 396 ], [ 373, 397 ], [ 397, 398 ], [ 371, 399 ], [ 399, 400 ], [ 36, 401 ], [ 401, 402 ], [ 401, 403 ], [ 403, 404 ], [ 404, 405 ], [ 404, 406 ], [ 403, 408 ], [ 408, 409 ], [ 409, 410 ], [ 410, 411 ], [ 410, 412 ], [ 408, 413 ], [ 413, 414 ], [ 413, 415 ], [ 408, 416 ], [ 416, 417 ], [ 417, 418 ], [ 408, 419 ], [ 420, 420 ], [ 420, 421 ], [ 421, 422 ], [ 422, 423 ], [ 422, 424 ], [ 421, 425 ], [ 425, 426 ], [ 403, 427 ], [ 427, 428 ], [ 401, 429 ], [ 429, 430 ], [ 36, 431 ], [ 431, 432 ], [ 431, 433 ], [ 433, 434 ], [ 434, 435 ], [ 435, 436 ], [ 436, 437 ], [ 435, 438 ], [ 438, 439 ], [ 36, 440 ], [ 440, 441 ], [ 440, 442 ], [ 442, 443 ], [ 443, 444 ], [ 444, 445 ], [ 445, 446 ], [ 444, 447 ], [ 447, 448 ], [ 36, 449 ], [ 449, 450 ], [ 449, 451 ], [ 451, 452 ], [ 452, 453 ], [ 452, 454 ], [ 451, 455 ], [ 455, 456 ], [ 456, 457 ], [ 456, 458 ], [ 458, 459 ], [ 459, 460 ], [ 460, 461 ], [ 455, 462 ], [ 462, 463 ], [ 463, 464 ], [ 463, 465 ], [ 465, 466 ], [ 466, 467 ], [ 451, 468 ], [ 468, 469 ], [ 0, 470 ], [ 470, 471 ], [ 470, 472 ] ]
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n\n IO io = new IO();\n int a = io.nextInt();\n io.write(a + a * a + a * a * a);\n }\n \n static class IO {\n BufferedWriter bw;\n BufferedReader br;\n StringTokenizer st;\n\n public IO() {\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n }\n\n public void write(String s) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(s);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n } \n }\n\n public void write(long value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(int value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(boolean b, String truev, String falsv) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(b ? truev : falsv);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(int[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(long[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n \n public String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\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 int[] nIntA(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public long[] nLongA(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }\n\n public double[] nDoubleA(int n) {\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextDouble();\n }\n return a;\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 String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n\n IO io = new IO();\n int a = io.nextInt();\n io.write(a + a * a + a * a * a);\n }\n \n static class IO {\n BufferedWriter bw;\n BufferedReader br;\n StringTokenizer st;\n\n public IO() {\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n }\n\n public void write(String s) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(s);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n } \n }\n\n public void write(long value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(int value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(boolean b, String truev, String falsv) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(b ? truev : falsv);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(int[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(long[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n \n public String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\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 int[] nIntA(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public long[] nLongA(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }\n\n public double[] nDoubleA(int n) {\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextDouble();\n }\n return a;\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 String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}", "Main", "public static void main(String[] args) {\n\n IO io = new IO();\n int a = io.nextInt();\n io.write(a + a * a + a * a * a);\n }", "main", "{\n\n IO io = new IO();\n int a = io.nextInt();\n io.write(a + a * a + a * a * a);\n }", "IO io = new IO();", "io", "new IO()", "int a = io.nextInt();", "a", "io.nextInt()", "io.nextInt", "io", "io.write(a + a * a + a * a * a)", "io.write", "io", "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", "static class IO {\n BufferedWriter bw;\n BufferedReader br;\n StringTokenizer st;\n\n public IO() {\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n }\n\n public void write(String s) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(s);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n } \n }\n\n public void write(long value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(int value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(boolean b, String truev, String falsv) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(b ? truev : falsv);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(int[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(long[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n \n public String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\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 int[] nIntA(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public long[] nLongA(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }\n\n public double[] nDoubleA(int n) {\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextDouble();\n }\n return a;\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 String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }", "IO", "BufferedWriter bw;", "bw", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public IO() {\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n }", "IO", "{\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n }", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "bw = new BufferedWriter(new OutputStreamWriter(System.out))", "bw", "new BufferedWriter(new OutputStreamWriter(System.out))", "public void write(String s) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(s);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n } \n }", "write", "{\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(s);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n } \n }", "try {\n StringBuilder sb = new StringBuilder();\n sb.append(s);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }", "catch(Exception e) {\n e.printStackTrace();\n }", "Exception e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n StringBuilder sb = new StringBuilder();\n sb.append(s);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n }", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "sb.append(s)", "sb.append", "sb", "s", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "bw.write(sb.toString())", "bw.write", "bw", "sb.toString()", "sb.toString", "sb", "bw.flush()", "bw.flush", "bw", "String s", "s", "public void write(long value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }", "write", "{\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }", "try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }", "catch(Exception e) {\n e.printStackTrace();\n }", "Exception e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n }", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "sb.append(value)", "sb.append", "sb", "value", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "bw.write(sb.toString())", "bw.write", "bw", "sb.toString()", "sb.toString", "sb", "bw.flush()", "bw.flush", "bw", "long value", "value", "public void write(int value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }", "write", "{\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }", "try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }", "catch(Exception e) {\n e.printStackTrace();\n }", "Exception e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n }", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "sb.append(value)", "sb.append", "sb", "value", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "bw.write(sb.toString())", "bw.write", "bw", "sb.toString()", "sb.toString", "sb", "bw.flush()", "bw.flush", "bw", "int value", "value", "public void write(boolean b, String truev, String falsv) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(b ? truev : falsv);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }", "write", "{\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(b ? truev : falsv);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }", "try {\n StringBuilder sb = new StringBuilder();\n sb.append(b ? truev : falsv);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }", "catch(Exception e) {\n e.printStackTrace();\n }", "Exception e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n StringBuilder sb = new StringBuilder();\n sb.append(b ? truev : falsv);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n }", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "sb.append(b ? truev : falsv)", "sb.append", "sb", "b ? truev : falsv", "b", "truev", "falsv", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "bw.write(sb.toString())", "bw.write", "bw", "sb.toString()", "sb.toString", "sb", "bw.flush()", "bw.flush", "bw", "boolean b", "b", "String truev", "truev", "String falsv", "falsv", "public void write(int[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }", "write", "{\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }", "try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }", "catch(Exception e) {\n e.printStackTrace();\n }", "Exception e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n }", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < a.length", "i", "a.length", "a", "a.length", "i++", "i++", "i", "{\n sb.append(a[i]);\n sb.append(sep);\n }", "{\n sb.append(a[i]);\n sb.append(sep);\n }", "sb.append(a[i])", "sb.append", "sb", "a[i]", "a", "i", "sb.append(sep)", "sb.append", "sb", "sep", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "bw.write(sb.toString())", "bw.write", "bw", "sb.toString()", "sb.toString", "sb", "bw.flush()", "bw.flush", "bw", "int[] a", "a", "char sep", "sep", "public void write(long[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }", "write", "{\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }", "try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }", "catch(Exception e) {\n e.printStackTrace();\n }", "Exception e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n }", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < a.length", "i", "a.length", "a", "a.length", "i++", "i++", "i", "{\n sb.append(a[i]);\n sb.append(sep);\n }", "{\n sb.append(a[i]);\n sb.append(sep);\n }", "sb.append(a[i])", "sb.append", "sb", "a[i]", "a", "i", "sb.append(sep)", "sb.append", "sb", "sep", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "bw.write(sb.toString())", "bw.write", "bw", "sb.toString()", "sb.toString", "sb", "bw.flush()", "bw.flush", "bw", "long[] a", "a", "char sep", "sep", "public String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\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 }\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 }\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 }\n catch (IOException e) {\n e.printStackTrace();\n }\n }", "try {\n st = new StringTokenizer(br.readLine());\n }\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 int[] nIntA(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }", "nIntA", "{\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }", "int[] a = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n a[i] = nextInt();\n }", "{\n a[i] = nextInt();\n }", "a[i] = nextInt()", "a[i]", "a", "i", "nextInt()", "nextInt", "return a;", "a", "int n", "n", "public long[] nLongA(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }", "nLongA", "{\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }", "long[] a = new long[n];", "a", "new long[n]", "n", "for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n a[i] = nextLong();\n }", "{\n a[i] = nextLong();\n }", "a[i] = nextLong()", "a[i]", "a", "i", "nextLong()", "nextLong", "return a;", "a", "int n", "n", "public double[] nDoubleA(int n) {\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextDouble();\n }\n return a;\n }", "nDoubleA", "{\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextDouble();\n }\n return a;\n }", "double[] a = new double[n];", "a", "new double[n]", "n", "for (int i = 0; i < n; i++) {\n a[i] = nextDouble();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n a[i] = nextDouble();\n }", "{\n a[i] = nextDouble();\n }", "a[i] = nextDouble()", "a[i]", "a", "i", "nextDouble()", "nextDouble", "return a;", "a", "int n", "n", "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 String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }", "nextLine", "{\n String str = \"\";\n try{\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }", "String str = \"\";", "str", "\"\"", "try{\n str = br.readLine();\n }\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 public static void main(String[] args) {\n\n IO io = new IO();\n int a = io.nextInt();\n io.write(a + a * a + a * a * a);\n }\n \n static class IO {\n BufferedWriter bw;\n BufferedReader br;\n StringTokenizer st;\n\n public IO() {\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n }\n\n public void write(String s) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(s);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n } \n }\n\n public void write(long value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(int value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(boolean b, String truev, String falsv) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(b ? truev : falsv);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(int[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(long[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n \n public String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\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 int[] nIntA(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public long[] nLongA(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }\n\n public double[] nDoubleA(int n) {\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextDouble();\n }\n return a;\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 String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n\n IO io = new IO();\n int a = io.nextInt();\n io.write(a + a * a + a * a * a);\n }\n \n static class IO {\n BufferedWriter bw;\n BufferedReader br;\n StringTokenizer st;\n\n public IO() {\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n }\n\n public void write(String s) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(s);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n } \n }\n\n public void write(long value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(int value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(boolean b, String truev, String falsv) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(b ? truev : falsv);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(int[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(long[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n \n public String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\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 int[] nIntA(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public long[] nLongA(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }\n\n public double[] nDoubleA(int n) {\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextDouble();\n }\n return a;\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 String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}", "Main" ]
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { IO io = new IO(); int a = io.nextInt(); io.write(a + a * a + a * a * a); } static class IO { BufferedWriter bw; BufferedReader br; StringTokenizer st; public IO() { br = new BufferedReader(new InputStreamReader(System.in)); bw = new BufferedWriter(new OutputStreamWriter(System.out)); } public void write(String s) { try { StringBuilder sb = new StringBuilder(); sb.append(s); sb.append("\n"); bw.write(sb.toString()); bw.flush(); } catch(Exception e) { e.printStackTrace(); } } public void write(long value) { try { StringBuilder sb = new StringBuilder(); sb.append(value); sb.append("\n"); bw.write(sb.toString()); bw.flush(); } catch(Exception e) { e.printStackTrace(); } } public void write(int value) { try { StringBuilder sb = new StringBuilder(); sb.append(value); sb.append("\n"); bw.write(sb.toString()); bw.flush(); } catch(Exception e) { e.printStackTrace(); } } public void write(boolean b, String truev, String falsv) { try { StringBuilder sb = new StringBuilder(); sb.append(b ? truev : falsv); sb.append("\n"); bw.write(sb.toString()); bw.flush(); } catch(Exception e) { e.printStackTrace(); } } public void write(int[] a, char sep) { try { StringBuilder sb = new StringBuilder(); for (int i = 0; i < a.length; i++) { sb.append(a[i]); sb.append(sep); } sb.append("\n"); bw.write(sb.toString()); bw.flush(); } catch(Exception e) { e.printStackTrace(); } } public void write(long[] a, char sep) { try { StringBuilder sb = new StringBuilder(); for (int i = 0; i < a.length; i++) { sb.append(a[i]); sb.append(sep); } sb.append("\n"); bw.write(sb.toString()); bw.flush(); } catch(Exception e) { e.printStackTrace(); } } 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 int[] nIntA(int n) { int[] a = new int[n]; for (int i = 0; i < n; i++) { a[i] = nextInt(); } return a; } public long[] nLongA(int n) { long[] a = new long[n]; for (int i = 0; i < n; i++) { a[i] = nextLong(); } return a; } public double[] nDoubleA(int n) { double[] a = new double[n]; for (int i = 0; i < n; i++) { a[i] = nextDouble(); } return a; } public long nextLong() { return Long.parseLong(next()); } public double nextDouble() { return Double.parseDouble(next()); } public String nextLine() { String str = ""; try{ str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } return str; } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 2, 17, 17, 41, 13, 17, 41, 13, 39, 39, 17, 17, 39, 17, 40, 17, 39, 17, 17, 39, 40, 17, 17, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 13, 2, 17, 2, 2, 13, 2, 13, 13, 2, 2, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 2, 13, 17, 2, 13, 17, 30, 29, 17, 41, 13, 2, 13, 13, 14, 2, 13, 2, 13, 13, 30, 29, 17, 29, 17, 23, 13, 23, 13, 12, 13, 30, 41, 13, 17, 42, 2, 13, 17, 30, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 2, 13, 13, 13, 0, 13, 17, 0, 13, 2, 2, 13, 13, 13, 29, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 42, 2, 13, 13, 30, 4, 13, 13, 13, 13, 40, 13, 40, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 18, 13, 13, 17, 30, 29, 17, 41, 13, 2, 18, 13, 13, 17, 42, 2, 13, 17, 30, 14, 2, 18, 13, 13, 18, 13, 2, 13, 17, 30, 3, 40, 13, 14, 2, 13, 17, 30, 29, 17, 41, 13, 2, 18, 13, 13, 17, 11, 1, 41, 13, 2, 18, 13, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 18, 13, 13, 30, 0, 13, 13, 3, 4, 13, 13, 13, 13, 4, 13, 13, 2, 13, 17, 2, 18, 13, 13, 17, 29, 17, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 13, 17, 29, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 28, 13, 13, 30, 30, 4, 18, 18, 13, 13, 2, 13, 17, 4, 13, 17, 23, 13, 12, 13, 30, 29, 2, 4, 18, 13, 13, 4, 18, 13, 17, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 29, 4, 13, 13, 13, 14, 2, 2, 13, 13, 17, 30, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 496, 14 ], [ 496, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 17, 19 ], [ 496, 20 ], [ 20, 21 ], [ 20, 22 ], [ 496, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 25, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 25, 33 ], [ 33, 34 ], [ 33, 35 ], [ 25, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 496, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 42, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 55, 61 ], [ 62, 62 ], [ 62, 63 ], [ 62, 64 ], [ 62, 65 ], [ 40, 66 ], [ 66, 67 ], [ 496, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 76, 78 ], [ 71, 79 ], [ 79, 80 ], [ 80, 81 ], [ 70, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 70, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 90, 92 ], [ 87, 93 ], [ 93, 94 ], [ 94, 95 ], [ 70, 96 ], [ 96, 97 ], [ 68, 98 ], [ 98, 99 ], [ 68, 100 ], [ 100, 101 ], [ 496, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 114, 118 ], [ 113, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 112, 127 ], [ 127, 128 ], [ 127, 129 ], [ 112, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 104, 137 ], [ 137, 138 ], [ 102, 139 ], [ 139, 140 ], [ 102, 141 ], [ 141, 142 ], [ 102, 143 ], [ 143, 144 ], [ 496, 145 ], [ 145, 146 ], [ 145, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 150, 152 ], [ 147, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 153, 157 ], [ 157, 158 ], [ 157, 159 ], [ 147, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 145, 165 ], [ 165, 166 ], [ 145, 167 ], [ 167, 168 ], [ 145, 169 ], [ 169, 170 ], [ 496, 171 ], [ 171, 172 ], [ 171, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 174, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 179, 182 ], [ 179, 183 ], [ 178, 184 ], [ 184, 185 ], [ 178, 186 ], [ 186, 187 ], [ 171, 188 ], [ 188, 189 ], [ 171, 190 ], [ 190, 191 ], [ 171, 192 ], [ 192, 193 ], [ 496, 194 ], [ 194, 195 ], [ 194, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 198, 202 ], [ 197, 203 ], [ 203, 204 ], [ 204, 205 ], [ 196, 206 ], [ 206, 207 ], [ 206, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 208, 212 ], [ 196, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 213, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 219, 223 ], [ 223, 224 ], [ 223, 225 ], [ 225, 226 ], [ 225, 227 ], [ 218, 228 ], [ 228, 229 ], [ 217, 230 ], [ 230, 231 ], [ 196, 232 ], [ 232, 233 ], [ 233, 234 ], [ 233, 235 ], [ 232, 236 ], [ 236, 237 ], [ 237, 238 ], [ 196, 239 ], [ 239, 240 ], [ 239, 241 ], [ 241, 242 ], [ 242, 243 ], [ 242, 244 ], [ 241, 245 ], [ 196, 246 ], [ 246, 247 ], [ 247, 248 ], [ 248, 249 ], [ 248, 250 ], [ 250, 251 ], [ 251, 252 ], [ 251, 253 ], [ 250, 254 ], [ 246, 255 ], [ 255, 256 ], [ 255, 257 ], [ 246, 258 ], [ 258, 259 ], [ 259, 260 ], [ 246, 261 ], [ 262, 262 ], [ 262, 263 ], [ 263, 264 ], [ 264, 265 ], [ 265, 266 ], [ 265, 267 ], [ 264, 268 ], [ 268, 269 ], [ 268, 270 ], [ 263, 271 ], [ 271, 272 ], [ 272, 273 ], [ 272, 274 ], [ 271, 275 ], [ 196, 276 ], [ 276, 277 ], [ 276, 278 ], [ 276, 279 ], [ 276, 280 ], [ 196, 281 ], [ 281, 282 ], [ 281, 283 ], [ 281, 284 ], [ 284, 285 ], [ 284, 286 ], [ 281, 287 ], [ 287, 288 ], [ 288, 289 ], [ 288, 290 ], [ 287, 291 ], [ 196, 292 ], [ 292, 293 ], [ 194, 294 ], [ 294, 295 ], [ 496, 296 ], [ 296, 297 ], [ 296, 298 ], [ 298, 299 ], [ 299, 300 ], [ 299, 301 ], [ 298, 303 ], [ 303, 304 ], [ 304, 305 ], [ 305, 306 ], [ 305, 307 ], [ 303, 308 ], [ 308, 309 ], [ 308, 310 ], [ 303, 311 ], [ 311, 312 ], [ 312, 313 ], [ 303, 314 ], [ 315, 315 ], [ 315, 316 ], [ 316, 317 ], [ 317, 318 ], [ 317, 319 ], [ 316, 320 ], [ 320, 321 ], [ 320, 322 ], [ 298, 323 ], [ 323, 324 ], [ 296, 325 ], [ 325, 326 ], [ 496, 327 ], [ 327, 328 ], [ 327, 329 ], [ 329, 330 ], [ 330, 331 ], [ 331, 332 ], [ 332, 333 ], [ 332, 334 ], [ 330, 335 ], [ 327, 336 ], [ 336, 337 ], [ 496, 338 ], [ 338, 339 ], [ 338, 340 ], [ 340, 341 ], [ 341, 342 ], [ 341, 343 ], [ 341, 344 ], [ 345, 345 ], [ 345, 346 ], [ 346, 347 ], [ 347, 348 ], [ 348, 349 ], [ 348, 350 ], [ 346, 351 ], [ 351, 352 ], [ 351, 353 ], [ 340, 354 ], [ 354, 355 ], [ 354, 356 ], [ 338, 357 ], [ 357, 358 ], [ 496, 359 ], [ 359, 360 ], [ 359, 361 ], [ 361, 362 ], [ 362, 363 ], [ 363, 364 ], [ 364, 365 ], [ 365, 366 ], [ 364, 367 ], [ 363, 368 ], [ 368, 369 ], [ 369, 370 ], [ 368, 371 ], [ 359, 372 ], [ 372, 373 ], [ 496, 374 ], [ 374, 375 ], [ 374, 376 ], [ 376, 377 ], [ 377, 378 ], [ 378, 379 ], [ 378, 380 ], [ 377, 381 ], [ 381, 382 ], [ 382, 383 ], [ 383, 384 ], [ 383, 385 ], [ 383, 386 ], [ 376, 387 ], [ 387, 388 ], [ 388, 389 ], [ 389, 390 ], [ 389, 391 ], [ 388, 392 ], [ 387, 393 ], [ 393, 394 ], [ 394, 395 ], [ 376, 396 ], [ 396, 397 ], [ 397, 398 ], [ 397, 399 ], [ 397, 400 ], [ 400, 401 ], [ 400, 402 ], [ 374, 403 ], [ 403, 404 ], [ 374, 405 ], [ 405, 406 ], [ 496, 407 ], [ 407, 408 ], [ 407, 409 ], [ 409, 410 ], [ 407, 411 ], [ 411, 412 ], [ 407, 413 ], [ 413, 414 ], [ 413, 415 ], [ 415, 416 ], [ 416, 417 ], [ 416, 418 ], [ 407, 419 ], [ 419, 420 ], [ 419, 421 ], [ 421, 422 ], [ 422, 423 ], [ 423, 424 ], [ 424, 425 ], [ 424, 426 ], [ 423, 427 ], [ 427, 428 ], [ 428, 429 ], [ 429, 430 ], [ 422, 431 ], [ 431, 432 ], [ 432, 433 ], [ 433, 434 ], [ 433, 435 ], [ 435, 436 ], [ 436, 437 ], [ 437, 438 ], [ 432, 439 ], [ 439, 440 ], [ 440, 441 ], [ 440, 442 ], [ 421, 443 ], [ 443, 444 ], [ 444, 445 ], [ 445, 446 ], [ 407, 447 ], [ 447, 448 ], [ 447, 449 ], [ 449, 450 ], [ 450, 451 ], [ 451, 452 ], [ 452, 453 ], [ 451, 454 ], [ 454, 455 ], [ 407, 456 ], [ 456, 457 ], [ 456, 458 ], [ 458, 459 ], [ 459, 460 ], [ 460, 461 ], [ 461, 462 ], [ 460, 463 ], [ 463, 464 ], [ 407, 465 ], [ 465, 466 ], [ 465, 467 ], [ 467, 468 ], [ 468, 469 ], [ 469, 470 ], [ 470, 471 ], [ 469, 472 ], [ 472, 473 ], [ 407, 474 ], [ 474, 475 ], [ 474, 476 ], [ 476, 477 ], [ 477, 478 ], [ 477, 479 ], [ 476, 480 ], [ 480, 481 ], [ 481, 482 ], [ 481, 483 ], [ 483, 484 ], [ 484, 485 ], [ 485, 486 ], [ 480, 487 ], [ 487, 488 ], [ 488, 489 ], [ 488, 490 ], [ 490, 491 ], [ 491, 492 ], [ 476, 493 ], [ 493, 494 ], [ 0, 495 ], [ 495, 496 ], [ 495, 497 ] ]
[ "\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n private static final int MOD = (int)1e9 + 7;//(int)Math.pow(10, 9) + 7;\n private static final long EIGHT = (long) 1e18;\n private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n int s = sc.nextInt();\n\n\n print(\"\" + (s + s*s + s*s*s));\n }\n\n /*\n * Check if a * b is overflow or not\n */\n static Boolean isOverflowByMul(long a, long b) {\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }\n\n static private long powMod(long a, long n, long mod) {\n long res = 1;\n while (n > 0) {\n if ((n & 1) == 1) {\n res = res * a % mod;\n }\n n >>= 1;\n a = a * a % mod;\n }\n return res;\n }\n\n static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }\n\n static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }\n\n static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }\n\n static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }\n\n static private void print(String s) {\n System.out.println(s);\n }\n\n static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }\n\n static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }\n\n static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n private static final int MOD = (int)1e9 + 7;//(int)Math.pow(10, 9) + 7;\n private static final long EIGHT = (long) 1e18;\n private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n int s = sc.nextInt();\n\n\n print(\"\" + (s + s*s + s*s*s));\n }\n\n /*\n * Check if a * b is overflow or not\n */\n static Boolean isOverflowByMul(long a, long b) {\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }\n\n static private long powMod(long a, long n, long mod) {\n long res = 1;\n while (n > 0) {\n if ((n & 1) == 1) {\n res = res * a % mod;\n }\n n >>= 1;\n a = a * a % mod;\n }\n return res;\n }\n\n static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }\n\n static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }\n\n static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }\n\n static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }\n\n static private void print(String s) {\n System.out.println(s);\n }\n\n static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }\n\n static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }\n\n static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}", "Main", "private static final int MOD = (int)1e9 + 7;//(int)Math.pow(10, 9) + 7;", "MOD", "(int)1e9 + 7", "(int)1e9", "7", "private static final long EIGHT = (long) 1e18;", "EIGHT", "(long) 1e18", "private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};", "DIRS", "{{0, 1}, {0, -1}, {1, 0}, {-1, 0}}", "{0, 1}", "0", "1", "{0, -1}", "0", "-1", "1", "{1, 0}", "1", "0", "{-1, 0}", "-1", "1", "0", "public static void main(String[] args) {\n FastReader sc = new FastReader();\n int s = sc.nextInt();\n\n\n print(\"\" + (s + s*s + s*s*s));\n }", "main", "{\n FastReader sc = new FastReader();\n int s = sc.nextInt();\n\n\n print(\"\" + (s + s*s + s*s*s));\n }", "FastReader sc = new FastReader();", "sc", "new FastReader()", "int s = sc.nextInt();", "s", "sc.nextInt()", "sc.nextInt", "sc", "print(\"\" + (s + s*s + s*s*s))", "print", "\"\" + (s + s*s + s*s*s)", "\"\"", "(s + s*s + s*s*s)", "s + s*s + s*s*s", "s", "s*s", "s", "s", "s*s*s", "s*s*s", "s", "s", "s", "String[] args", "args", "/*\n * Check if a * b is overflow or not\n */\n static Boolean isOverflowByMul(long a, long b) {\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }", "isOverflowByMul", "{\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }", "if (a == 0 || b == 0) {\n return false;\n }", "a == 0 || b == 0", "a == 0", "a", "0", "b == 0", "b", "0", "{\n return false;\n }", "return false;", "false", "long result = a * b;", "result", "a * b", "a", "b", "if (a == result / b) {\n return false;\n }", "a == result / b", "a", "result / b", "result", "b", "{\n return false;\n }", "return false;", "false", "return true;", "true", "long a", "a", "long b", "b", "static private long powMod(long a, long n, long mod) {\n long res = 1;\n while (n > 0) {\n if ((n & 1) == 1) {\n res = res * a % mod;\n }\n n >>= 1;\n a = a * a % mod;\n }\n return res;\n }", "powMod", "{\n long res = 1;\n while (n > 0) {\n if ((n & 1) == 1) {\n res = res * a % mod;\n }\n n >>= 1;\n a = a * a % mod;\n }\n return res;\n }", "long res = 1;", "res", "1", "while (n > 0) {\n if ((n & 1) == 1) {\n res = res * a % mod;\n }\n n >>= 1;\n a = a * a % mod;\n }", "n > 0", "n", "0", "{\n if ((n & 1) == 1) {\n res = res * a % mod;\n }\n n >>= 1;\n a = a * a % mod;\n }", "if ((n & 1) == 1) {\n res = res * a % mod;\n }", "(n & 1) == 1", "(n & 1)", "n", "1", "1", "{\n res = res * a % mod;\n }", "res = res * a % mod", "res", "res * a % mod", "res * a", "res", "a", "mod", "n >>= 1", "n", "1", "a = a * a % mod", "a", "a * a % mod", "a * a", "a", "a", "mod", "return res;", "res", "long a", "a", "long n", "n", "long mod", "mod", "static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }", "swap", "{\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }", "int tmp = nums[x];", "tmp", "nums[x]", "nums", "x", "nums[x] = nums[y]", "nums[x]", "nums", "x", "nums[y]", "nums", "y", "nums[y] = tmp", "nums[y]", "nums", "y", "tmp", "int[] nums", "nums", "int x", "x", "int y", "y", "static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }", "reverse", "{\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }", "while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }", "left < right", "left", "right", "{\n swap(nums, left, right);\n left++;\n right--;\n }", "swap(nums, left, right)", "swap", "nums", "left", "right", "left++", "left", "right--", "right", "int[] nums", "nums", "int left", "left", "int right", "right", "static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }", "findNextPermutation", "{\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }", "if (nums.length <= 1) {\n return false;\n }", "nums.length <= 1", "nums.length", "nums", "nums.length", "1", "{\n return false;\n }", "return false;", "false", "int last = nums.length - 2;", "last", "nums.length - 2", "nums.length", "nums", "nums.length", "2", "while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }", "last >= 0", "last", "0", "{\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }", "if (nums[last] < nums[last + 1]){\n break;\n }", "nums[last] < nums[last + 1]", "nums[last]", "nums", "last", "nums[last + 1]", "nums", "last + 1", "last", "1", "{\n break;\n }", "break;", "last--", "last", "if (last < 0) { return false; }", "last < 0", "last", "0", "{ return false; }", "return false;", "false", "int nextGenerater = nums.length - 1;", "nextGenerater", "nums.length - 1", "nums.length", "nums", "nums.length", "1", "for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }", "int i = nums.length - 1;", "int i = nums.length - 1;", "i", "nums.length - 1", "nums.length", "nums", "nums.length", "1", "i > last", "i", "last", "i--", "i--", "i", "{\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }", "{\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }", "if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }", "nums[i] > nums[last]", "nums[i]", "nums", "i", "nums[last]", "nums", "last", "{\n nextGenerater = i;\n break;\n }", "nextGenerater = i", "nextGenerater", "i", "break;", "swap(nums, nextGenerater, last)", "swap", "nums", "nextGenerater", "last", "reverse(nums, last + 1, nums.length - 1)", "reverse", "nums", "last + 1", "last", "1", "nums.length - 1", "nums.length", "nums", "nums.length", "1", "return true;", "true", "int[] nums", "nums", "static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }", "generateNArray", "{\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }", "int[] res = new int[n];", "res", "new int[n]", "n", "for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n res[i] = i + 1;\n }", "{\n res[i] = i + 1;\n }", "res[i] = i + 1", "res[i]", "res", "i", "i + 1", "i", "1", "return res;", "res", "int n", "n", "static private void print(String s) {\n System.out.println(s);\n }", "print", "{\n System.out.println(s);\n }", "System.out.println(s)", "System.out.println", "System.out", "System", "System.out", "s", "String s", "s", "static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }", "printArray", "{\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }", "for (int s: e) {\n System.out.print(s + \" \");\n }", "int s", "e", "{\n System.out.print(s + \" \");\n }", "{\n System.out.print(s + \" \");\n }", "System.out.print(s + \" \")", "System.out.print", "System.out", "System", "System.out", "s + \" \"", "s", "\" \"", "print(\"\")", "print", "\"\"", "int[] e", "e", "static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }", "log2", "{\n return (int)(Math.log(x) / Math.log(2));\n }", "return (int)(Math.log(x) / Math.log(2));", "(int)(Math.log(x) / Math.log(2))", "Math.log(x)", "Math.log", "Math", "x", "Math.log(2)", "Math.log", "Math", "2", "int x", "x", "static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }", "gcd", "{\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }", "if (m < n) { return gcd(n, m); }", "m < n", "m", "n", "{ return gcd(n, m); }", "return gcd(n, m);", "gcd(n, m)", "gcd", "n", "m", "if (m % n == 0) { return n; }", "m % n == 0", "m % n", "m", "n", "0", "{ return n; }", "return n;", "n", "return gcd(n, m%n);", "gcd(n, m%n)", "gcd", "n", "m%n", "m", "n", "long m", "m", "long n", "n", "static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }", "FastReader", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "FastReader", "{\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble() {\n return Double.parseDouble(next());\n }", "nextDouble", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }", "nextLine", "{\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }", "String str = \"\";", "str", "\"\"", "try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n str = br.readLine();\n }", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str", "public class Main {\n private static final int MOD = (int)1e9 + 7;//(int)Math.pow(10, 9) + 7;\n private static final long EIGHT = (long) 1e18;\n private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n int s = sc.nextInt();\n\n\n print(\"\" + (s + s*s + s*s*s));\n }\n\n /*\n * Check if a * b is overflow or not\n */\n static Boolean isOverflowByMul(long a, long b) {\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }\n\n static private long powMod(long a, long n, long mod) {\n long res = 1;\n while (n > 0) {\n if ((n & 1) == 1) {\n res = res * a % mod;\n }\n n >>= 1;\n a = a * a % mod;\n }\n return res;\n }\n\n static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }\n\n static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }\n\n static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }\n\n static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }\n\n static private void print(String s) {\n System.out.println(s);\n }\n\n static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }\n\n static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }\n\n static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}", "public class Main {\n private static final int MOD = (int)1e9 + 7;//(int)Math.pow(10, 9) + 7;\n private static final long EIGHT = (long) 1e18;\n private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n int s = sc.nextInt();\n\n\n print(\"\" + (s + s*s + s*s*s));\n }\n\n /*\n * Check if a * b is overflow or not\n */\n static Boolean isOverflowByMul(long a, long b) {\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }\n\n static private long powMod(long a, long n, long mod) {\n long res = 1;\n while (n > 0) {\n if ((n & 1) == 1) {\n res = res * a % mod;\n }\n n >>= 1;\n a = a * a % mod;\n }\n return res;\n }\n\n static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }\n\n static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }\n\n static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }\n\n static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }\n\n static private void print(String s) {\n System.out.println(s);\n }\n\n static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }\n\n static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }\n\n static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { private static final int MOD = (int)1e9 + 7;//(int)Math.pow(10, 9) + 7; private static final long EIGHT = (long) 1e18; private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}}; public static void main(String[] args) { FastReader sc = new FastReader(); int s = sc.nextInt(); print("" + (s + s*s + s*s*s)); } /* * Check if a * b is overflow or not */ static Boolean isOverflowByMul(long a, long b) { if (a == 0 || b == 0) { return false; } long result = a * b; if (a == result / b) { return false; } return true; } static private long powMod(long a, long n, long mod) { long res = 1; while (n > 0) { if ((n & 1) == 1) { res = res * a % mod; } n >>= 1; a = a * a % mod; } return res; } static private void swap(int[] nums, int x, int y) { int tmp = nums[x]; nums[x] = nums[y]; nums[y] = tmp; } static private void reverse(int[] nums, int left, int right) { while (left < right) { swap(nums, left, right); left++; right--; } } static private boolean findNextPermutation(int[] nums) { if (nums.length <= 1) { return false; } int last = nums.length - 2; while (last >= 0) { if (nums[last] < nums[last + 1]){ break; } last--; } if (last < 0) { return false; } int nextGenerater = nums.length - 1; for (int i = nums.length - 1; i > last; i--) { if (nums[i] > nums[last]) { nextGenerater = i; break; } } swap(nums, nextGenerater, last); reverse(nums, last + 1, nums.length - 1); return true; } static private int[] generateNArray(int n) { int[] res = new int[n]; for (int i = 0; i < n; i++) { res[i] = i + 1; } return res; } static private void print(String s) { System.out.println(s); } static private void printArray(int[] e) { for (int s: e) { System.out.print(s + " "); } print(""); } static private int log2(int x) { return (int)(Math.log(x) / Math.log(2)); } static private long gcd(long m, long n) { if (m < n) { return gcd(n, m); } if (m % n == 0) { return n; } return gcd(n, m%n); } static class FastReader { BufferedReader br; StringTokenizer st; public FastReader() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while (st == null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } long nextLong() { return Long.parseLong(next()); } double nextDouble() { return Double.parseDouble(next()); } String nextLine() { String str = ""; try{ str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } return str; } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 13, 0, 13, 2, 13, 13, 0, 13, 2, 2, 13, 13, 13, 0, 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 ], [ 71, 5 ], [ 71, 6 ], [ 6, 7 ], [ 6, 8 ], [ 71, 9 ], [ 9, 10 ], [ 9, 11 ], [ 71, 12 ], [ 12, 13 ], [ 12, 14 ], [ 71, 15 ], [ 15, 16 ], [ 15, 17 ], [ 71, 18 ], [ 18, 19 ], [ 18, 20 ], [ 71, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 23, 29 ], [ 29, 30 ], [ 23, 31 ], [ 31, 32 ], [ 23, 33 ], [ 33, 34 ], [ 23, 35 ], [ 35, 36 ], [ 23, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 23, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 23, 48 ], [ 48, 49 ], [ 48, 50 ], [ 51, 51 ], [ 51, 52 ], [ 51, 53 ], [ 51, 54 ], [ 23, 55 ], [ 55, 56 ], [ 55, 57 ], [ 58, 58 ], [ 58, 59 ], [ 58, 60 ], [ 58, 61 ], [ 23, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 21, 68 ], [ 68, 69 ], [ 0, 70 ], [ 70, 71 ], [ 70, 72 ] ]
[ "import java.util.*;\n\npublic class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic ArrayList<String> strList = new ArrayList<String>();\n\tstatic ArrayList<String> strList2 = new ArrayList<String>();\n\tstatic ArrayList<Integer> intList = new ArrayList<Integer>();\n\tstatic HashMap<String,Integer> Hmap = new HashMap<String,Integer>();\n\tpublic static void main(String[] args) {\n\n\t\tString str = sc.next();\n\t\tint a1,a2,a3;\n\t\tint ans;\n\n\t\ta1 = Integer.parseInt(str);\n \n\t\ta2 = a1*a1;\n\t\ta3 = a1*a1*a1;\n\n\t\tans = a1+a2+a3;\n\t\tSystem.out.println(ans);\n\n\t}\n\n}\n", "import java.util.*;", "util.*", "java", "public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic ArrayList<String> strList = new ArrayList<String>();\n\tstatic ArrayList<String> strList2 = new ArrayList<String>();\n\tstatic ArrayList<Integer> intList = new ArrayList<Integer>();\n\tstatic HashMap<String,Integer> Hmap = new HashMap<String,Integer>();\n\tpublic static void main(String[] args) {\n\n\t\tString str = sc.next();\n\t\tint a1,a2,a3;\n\t\tint ans;\n\n\t\ta1 = Integer.parseInt(str);\n \n\t\ta2 = a1*a1;\n\t\ta3 = a1*a1*a1;\n\n\t\tans = a1+a2+a3;\n\t\tSystem.out.println(ans);\n\n\t}\n\n}", "Main", "static Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "static ArrayList<String> strList = new ArrayList<String>();", "strList", "new ArrayList<String>()", "static ArrayList<String> strList2 = new ArrayList<String>();", "strList2", "new ArrayList<String>()", "static ArrayList<Integer> intList = new ArrayList<Integer>();", "intList", "new ArrayList<Integer>()", "static HashMap<String,Integer> Hmap = new HashMap<String,Integer>();", "Hmap", "new HashMap<String,Integer>()", "public static void main(String[] args) {\n\n\t\tString str = sc.next();\n\t\tint a1,a2,a3;\n\t\tint ans;\n\n\t\ta1 = Integer.parseInt(str);\n \n\t\ta2 = a1*a1;\n\t\ta3 = a1*a1*a1;\n\n\t\tans = a1+a2+a3;\n\t\tSystem.out.println(ans);\n\n\t}", "main", "{\n\n\t\tString str = sc.next();\n\t\tint a1,a2,a3;\n\t\tint ans;\n\n\t\ta1 = Integer.parseInt(str);\n \n\t\ta2 = a1*a1;\n\t\ta3 = a1*a1*a1;\n\n\t\tans = a1+a2+a3;\n\t\tSystem.out.println(ans);\n\n\t}", "String str = sc.next();", "str", "sc.next()", "sc.next", "sc", "int a1", "a1", "a2", "a2", "a3;", "a3", "int ans;", "ans", "a1 = Integer.parseInt(str)", "a1", "Integer.parseInt(str)", "Integer.parseInt", "Integer", "str", "a2 = a1*a1", "a2", "a1*a1", "a1", "a1", "a3 = a1*a1*a1", "a3", "a1*a1*a1", "a1*a1*a1", "a1", "a1", "a1", "ans = a1+a2+a3", "ans", "a1+a2+a3", "a1+a2+a3", "a1", "a2", "a3", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic ArrayList<String> strList = new ArrayList<String>();\n\tstatic ArrayList<String> strList2 = new ArrayList<String>();\n\tstatic ArrayList<Integer> intList = new ArrayList<Integer>();\n\tstatic HashMap<String,Integer> Hmap = new HashMap<String,Integer>();\n\tpublic static void main(String[] args) {\n\n\t\tString str = sc.next();\n\t\tint a1,a2,a3;\n\t\tint ans;\n\n\t\ta1 = Integer.parseInt(str);\n \n\t\ta2 = a1*a1;\n\t\ta3 = a1*a1*a1;\n\n\t\tans = a1+a2+a3;\n\t\tSystem.out.println(ans);\n\n\t}\n\n}", "public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic ArrayList<String> strList = new ArrayList<String>();\n\tstatic ArrayList<String> strList2 = new ArrayList<String>();\n\tstatic ArrayList<Integer> intList = new ArrayList<Integer>();\n\tstatic HashMap<String,Integer> Hmap = new HashMap<String,Integer>();\n\tpublic static void main(String[] args) {\n\n\t\tString str = sc.next();\n\t\tint a1,a2,a3;\n\t\tint ans;\n\n\t\ta1 = Integer.parseInt(str);\n \n\t\ta2 = a1*a1;\n\t\ta3 = a1*a1*a1;\n\n\t\tans = a1+a2+a3;\n\t\tSystem.out.println(ans);\n\n\t}\n\n}", "Main" ]
import java.util.*; public class Main { static Scanner sc = new Scanner(System.in); static ArrayList<String> strList = new ArrayList<String>(); static ArrayList<String> strList2 = new ArrayList<String>(); static ArrayList<Integer> intList = new ArrayList<Integer>(); static HashMap<String,Integer> Hmap = new HashMap<String,Integer>(); public static void main(String[] args) { String str = sc.next(); int a1,a2,a3; int ans; a1 = Integer.parseInt(str); a2 = a1*a1; a3 = a1*a1*a1; ans = a1+a2+a3; System.out.println(ans); } }
[ 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;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int t = scanner.nextInt();\n int ans = t+(int)Math.pow(t,2)+(int)Math.pow(t,3);\n System.out.println(ans);\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 t = scanner.nextInt();\n int ans = t+(int)Math.pow(t,2)+(int)Math.pow(t,3);\n System.out.println(ans);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int t = scanner.nextInt();\n int ans = t+(int)Math.pow(t,2)+(int)Math.pow(t,3);\n System.out.println(ans);\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n int t = scanner.nextInt();\n int ans = t+(int)Math.pow(t,2)+(int)Math.pow(t,3);\n System.out.println(ans);\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int t = scanner.nextInt();", "t", "scanner.nextInt()", "scanner.nextInt", "scanner", "int ans = t+(int)Math.pow(t,2)+(int)Math.pow(t,3);", "ans", "t+(int)Math.pow(t,2)+(int)Math.pow(t,3)", "t+(int)Math.pow(t,2)+(int)Math.pow(t,3)", "t", "(int)Math.pow(t,2)", "Math.pow", "Math", "t", "2", "(int)Math.pow(t,3)", "Math.pow", "Math", "t", "3", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int t = scanner.nextInt();\n int ans = t+(int)Math.pow(t,2)+(int)Math.pow(t,3);\n System.out.println(ans);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int t = scanner.nextInt();\n int ans = t+(int)Math.pow(t,2)+(int)Math.pow(t,3);\n System.out.println(ans);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int t = scanner.nextInt(); int ans = t+(int)Math.pow(t,2)+(int)Math.pow(t,3); 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, 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.*;\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 a2 = a*a;\n int a3 = a*a*a;\n int ans = a+a2+a3;\n System.out.println(ans);\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 a2 = a*a;\n int a3 = a*a*a;\n int ans = a+a2+a3;\n System.out.println(ans);\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 a2 = a*a;\n int a3 = a*a*a;\n int ans = a+a2+a3;\n System.out.println(ans);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint a = sc.nextInt();\n\t\tint a2 = a*a;\n int a3 = a*a*a;\n int ans = a+a2+a3;\n System.out.println(ans);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "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 ans = a+a2+a3;", "ans", "a+a2+a3", "a+a2+a3", "a", "a2", "a3", "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\t// 整数の入力\n\t\tint a = sc.nextInt();\n\t\tint a2 = a*a;\n int a3 = a*a*a;\n int ans = a+a2+a3;\n System.out.println(ans);\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 a2 = a*a;\n int a3 = a*a*a;\n int ans = a+a2+a3;\n System.out.println(ans);\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 a2 = a*a; int a3 = a*a*a; int ans = a+a2+a3; System.out.println(ans); } }
[ 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, 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 ], [ 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 ], [ 20, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 25, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 6, 39 ], [ 39, 40 ], [ 0, 41 ], [ 41, 42 ], [ 41, 43 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int ans = a + a * a + (int) Math.pow(a, 3);\n System.out.println(ans);\n sc.close();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int ans = a + a * a + (int) Math.pow(a, 3);\n System.out.println(ans);\n sc.close();\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int ans = a + a * a + (int) Math.pow(a, 3);\n System.out.println(ans);\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int ans = a + a * a + (int) Math.pow(a, 3);\n System.out.println(ans);\n sc.close();\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 + (int) Math.pow(a, 3);", "ans", "a + a * a + (int) Math.pow(a, 3)", "a + a * a + (int) Math.pow(a, 3)", "a", "a * a", "a", "a", "(int) Math.pow(a, 3)", "Math.pow", "Math", "a", "3", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int ans = a + a * a + (int) Math.pow(a, 3);\n System.out.println(ans);\n sc.close();\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 ans = a + a * a + (int) Math.pow(a, 3);\n System.out.println(ans);\n sc.close();\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int ans = a + a * a + (int) Math.pow(a, 3); System.out.println(ans); sc.close(); } }
[ 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, 13, 4, 18, 13, 2, 2, 13, 2, 13, 13, 2, 2, 13, 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, 12, 13, 30, 29, 4, 18, 13, 4, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 25, 26 ], [ 25, 27 ], [ 0, 28 ], [ 147, 29 ], [ 147, 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 ], [ 147, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 67, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 77, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 83, 83 ], [ 83, 84 ], [ 83, 85 ], [ 83, 86 ], [ 65, 87 ], [ 87, 88 ], [ 65, 89 ], [ 89, 90 ], [ 65, 91 ], [ 91, 92 ], [ 147, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 93, 97 ], [ 97, 98 ], [ 93, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 105, 106 ], [ 105, 107 ], [ 99, 108 ], [ 108, 109 ], [ 93, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 114, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 113, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 127, 128 ], [ 123, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 112, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 93, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 141, 144 ], [ 144, 145 ], [ 0, 146 ], [ 146, 147 ], [ 146, 148 ] ]
[ "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 ACalc solver = new ACalc();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACalc {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int a = in.nextInt();\n out.println(a + a * a + a * a * a);\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\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 ACalc solver = new ACalc();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACalc {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int a = in.nextInt();\n out.println(a + a * a + a * a * a);\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\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 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 PrintWriter out = new PrintWriter(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)", "PrintWriter out = new PrintWriter(outputStream);", "out", "new PrintWriter(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 public void solve(int testNumber, InputReader in, PrintWriter out) {\n int a = in.nextInt();\n out.println(a + a * a + a * a * a);\n }\n\n }", "ACalc", "public void solve(int testNumber, InputReader in, PrintWriter out) {\n int a = in.nextInt();\n out.println(a + a * a + a * a * a);\n }", "solve", "{\n int a = in.nextInt();\n out.println(a + a * a + a * a * a);\n }", "int a = in.nextInt();", "a", "in.nextInt()", "in.nextInt", "in", "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", "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 public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }", "InputReader", "public BufferedReader reader;", "reader", "public StringTokenizer tokenizer;", "tokenizer", "public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }", "InputReader", "{\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }", "reader = new BufferedReader(new InputStreamReader(stream), 32768)", "reader", "new BufferedReader(new InputStreamReader(stream), 32768)", "tokenizer = null", "tokenizer", "null", "InputStream stream", "stream", "public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }", "next", "{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }", "while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "tokenizer == null || !tokenizer.hasMoreTokens()", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }", "catch (IOException e) {\n throw new RuntimeException(e);\n }", "IOException e", "{\n throw new RuntimeException(e);\n }", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n tokenizer = new StringTokenizer(reader.readLine());\n }", "tokenizer = new StringTokenizer(reader.readLine())", "tokenizer", "new StringTokenizer(reader.readLine())", "return tokenizer.nextToken();", "tokenizer.nextToken()", "tokenizer.nextToken", "tokenizer", "public int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public 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 ACalc solver = new ACalc();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACalc {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int a = in.nextInt();\n out.println(a + a * a + a * a * a);\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\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 ACalc solver = new ACalc();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACalc {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int a = in.nextInt();\n out.println(a + a * a + a * a * a);\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\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); ACalc solver = new ACalc(); solver.solve(1, in, out); out.close(); } static class ACalc { public void solve(int testNumber, InputReader in, PrintWriter out) { int a = in.nextInt(); out.println(a + a * a + a * a * a); } } static class InputReader { public BufferedReader reader; public StringTokenizer tokenizer; public InputReader(InputStream stream) { reader = new BufferedReader(new InputStreamReader(stream), 32768); tokenizer = null; } public String next() { while (tokenizer == null || !tokenizer.hasMoreTokens()) { try { tokenizer = new StringTokenizer(reader.readLine()); } catch (IOException e) { throw new RuntimeException(e); } } return tokenizer.nextToken(); } public int nextInt() { return Integer.parseInt(next()); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 0, 13, 20, 4, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 4, 13, 2, 2, 13, 2, 13, 13, 2, 2, 13, 13, 13, 6, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 120, 11 ], [ 120, 12 ], [ 12, 13 ], [ 120, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 17, 22 ], [ 14, 23 ], [ 23, 24 ], [ 120, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 25, 34 ], [ 34, 35 ], [ 120, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 39, 45 ], [ 36, 46 ], [ 46, 47 ], [ 36, 48 ], [ 48, 49 ], [ 120, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 50, 58 ], [ 58, 59 ], [ 120, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 62, 68 ], [ 68, 69 ], [ 68, 70 ], [ 71, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 77, 77 ], [ 77, 78 ], [ 77, 79 ], [ 77, 80 ], [ 120, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 81, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 81, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 81, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 81, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 81, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 0, 119 ], [ 119, 120 ], [ 119, 121 ] ]
[ "import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\npublic class Main {\n\n private static FastScanner sc;\n\n private static class FastScanner {\n private Scanner sc;\n\n FastScanner() {\n sc = new Scanner(System.in);\n }\n\n public int ni() {\n return sc.nextInt();\n }\n\n public String ns() {\n return sc.nextLine();\n }\n\n public long nl() {\n return sc.nextLong();\n }\n\n public double nd() {\n return sc.nextDouble();\n }\n }\n\n private static void print(Object o) {\n System.out.print(o);\n }\n\n private static void println(Object o) {\n System.out.println(o);\n }\n \n private static void printf(String s, Object... data) {\n \tSystem.out.printf(s, data);\t\n }\n\n public static void main(String[] args) {\n sc = new FastScanner();\n\n solve();\n }\n\n private static void solve() {\n int n = sc.ni();\n\n println(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 private static FastScanner sc;\n\n private static class FastScanner {\n private Scanner sc;\n\n FastScanner() {\n sc = new Scanner(System.in);\n }\n\n public int ni() {\n return sc.nextInt();\n }\n\n public String ns() {\n return sc.nextLine();\n }\n\n public long nl() {\n return sc.nextLong();\n }\n\n public double nd() {\n return sc.nextDouble();\n }\n }\n\n private static void print(Object o) {\n System.out.print(o);\n }\n\n private static void println(Object o) {\n System.out.println(o);\n }\n \n private static void printf(String s, Object... data) {\n \tSystem.out.printf(s, data);\t\n }\n\n public static void main(String[] args) {\n sc = new FastScanner();\n\n solve();\n }\n\n private static void solve() {\n int n = sc.ni();\n\n println(n + n*n + n*n*n);\n }\n}", "Main", "private static FastScanner sc;", "sc", "private static void print(Object o) {\n System.out.print(o);\n }", "print", "{\n System.out.print(o);\n }", "System.out.print(o)", "System.out.print", "System.out", "System", "System.out", "o", "Object o", "o", "private static void println(Object o) {\n System.out.println(o);\n }", "println", "{\n System.out.println(o);\n }", "System.out.println(o)", "System.out.println", "System.out", "System", "System.out", "o", "Object o", "o", "private static void printf(String s, Object... data) {\n \tSystem.out.printf(s, data);\t\n }", "printf", "{\n \tSystem.out.printf(s, data);\t\n }", "System.out.printf(s, data)", "System.out.printf", "System.out", "System", "System.out", "s", "data", "String s", "s", "Object... data", "data", "public static void main(String[] args) {\n sc = new FastScanner();\n\n solve();\n }", "main", "{\n sc = new FastScanner();\n\n solve();\n }", "sc = new FastScanner()", "sc", "new FastScanner()", "solve()", "solve", "String[] args", "args", "private static void solve() {\n int n = sc.ni();\n\n println(n + n*n + n*n*n);\n }", "solve", "{\n int n = sc.ni();\n\n println(n + n*n + n*n*n);\n }", "int n = sc.ni();", "n", "sc.ni()", "sc.ni", "sc", "println(n + n*n + n*n*n)", "println", "n + n*n + n*n*n", "n + n*n + n*n*n", "n", "n*n", "n", "n", "n*n*n", "n*n*n", "n", "n", "n", "private static class FastScanner {\n private Scanner sc;\n\n FastScanner() {\n sc = new Scanner(System.in);\n }\n\n public int ni() {\n return sc.nextInt();\n }\n\n public String ns() {\n return sc.nextLine();\n }\n\n public long nl() {\n return sc.nextLong();\n }\n\n public double nd() {\n return sc.nextDouble();\n }\n }", "FastScanner", "private Scanner sc;", "sc", "FastScanner() {\n sc = new Scanner(System.in);\n }", "FastScanner", "{\n sc = new Scanner(System.in);\n }", "sc = new Scanner(System.in)", "sc", "new Scanner(System.in)", "public int ni() {\n return sc.nextInt();\n }", "ni", "{\n return sc.nextInt();\n }", "return sc.nextInt();", "sc.nextInt()", "sc.nextInt", "sc", "public String ns() {\n return sc.nextLine();\n }", "ns", "{\n return sc.nextLine();\n }", "return sc.nextLine();", "sc.nextLine()", "sc.nextLine", "sc", "public long nl() {\n return sc.nextLong();\n }", "nl", "{\n return sc.nextLong();\n }", "return sc.nextLong();", "sc.nextLong()", "sc.nextLong", "sc", "public double nd() {\n return sc.nextDouble();\n }", "nd", "{\n return sc.nextDouble();\n }", "return sc.nextDouble();", "sc.nextDouble()", "sc.nextDouble", "sc", "public class Main {\n\n private static FastScanner sc;\n\n private static class FastScanner {\n private Scanner sc;\n\n FastScanner() {\n sc = new Scanner(System.in);\n }\n\n public int ni() {\n return sc.nextInt();\n }\n\n public String ns() {\n return sc.nextLine();\n }\n\n public long nl() {\n return sc.nextLong();\n }\n\n public double nd() {\n return sc.nextDouble();\n }\n }\n\n private static void print(Object o) {\n System.out.print(o);\n }\n\n private static void println(Object o) {\n System.out.println(o);\n }\n \n private static void printf(String s, Object... data) {\n \tSystem.out.printf(s, data);\t\n }\n\n public static void main(String[] args) {\n sc = new FastScanner();\n\n solve();\n }\n\n private static void solve() {\n int n = sc.ni();\n\n println(n + n*n + n*n*n);\n }\n}", "public class Main {\n\n private static FastScanner sc;\n\n private static class FastScanner {\n private Scanner sc;\n\n FastScanner() {\n sc = new Scanner(System.in);\n }\n\n public int ni() {\n return sc.nextInt();\n }\n\n public String ns() {\n return sc.nextLine();\n }\n\n public long nl() {\n return sc.nextLong();\n }\n\n public double nd() {\n return sc.nextDouble();\n }\n }\n\n private static void print(Object o) {\n System.out.print(o);\n }\n\n private static void println(Object o) {\n System.out.println(o);\n }\n \n private static void printf(String s, Object... data) {\n \tSystem.out.printf(s, data);\t\n }\n\n public static void main(String[] args) {\n sc = new FastScanner();\n\n solve();\n }\n\n private static void solve() {\n int n = sc.ni();\n\n println(n + n*n + n*n*n);\n }\n}", "Main" ]
import java.util.*; import java.lang.*; import java.io.*; public class Main { private static FastScanner sc; private static class FastScanner { private Scanner sc; FastScanner() { sc = new Scanner(System.in); } public int ni() { return sc.nextInt(); } public String ns() { return sc.nextLine(); } public long nl() { return sc.nextLong(); } public double nd() { return sc.nextDouble(); } } private static void print(Object o) { System.out.print(o); } private static void println(Object o) { System.out.println(o); } private static void printf(String s, Object... data) { System.out.printf(s, data); } public static void main(String[] args) { sc = new FastScanner(); solve(); } private static void solve() { int n = sc.ni(); println(n + n*n + n*n*n); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 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 ], [ 46, 5 ], [ 46, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 9, 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 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 27, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 32, 36 ], [ 13, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 6, 43 ], [ 43, 44 ], [ 0, 45 ], [ 45, 46 ], [ 45, 47 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n int n = sc.nextInt();\n\n int ans = (int) (n + Math.pow(n,2) + Math.pow(n,3));\n\n System.out.println(ans);\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n int n = sc.nextInt();\n\n int ans = (int) (n + Math.pow(n,2) + Math.pow(n,3));\n\n System.out.println(ans);\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n int n = sc.nextInt();\n\n int ans = (int) (n + Math.pow(n,2) + Math.pow(n,3));\n\n System.out.println(ans);\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n int n = sc.nextInt();\n\n int ans = (int) (n + Math.pow(n,2) + Math.pow(n,3));\n\n System.out.println(ans);\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}", "try (Scanner sc = new Scanner(System.in)) {\n int n = sc.nextInt();\n\n int ans = (int) (n + Math.pow(n,2) + Math.pow(n,3));\n\n System.out.println(ans);\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}", "catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}", "Exception e", "{\n\t\t\t// TODO: handle exception\n\t\t}", "{\n int n = sc.nextInt();\n\n int ans = (int) (n + Math.pow(n,2) + Math.pow(n,3));\n\n System.out.println(ans);\n\n\t\t}", "Scanner sc = new Scanner(System.in)", "Scanner sc = new Scanner(System.in)", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "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\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n int n = sc.nextInt();\n\n int ans = (int) (n + Math.pow(n,2) + Math.pow(n,3));\n\n System.out.println(ans);\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n int n = sc.nextInt();\n\n int ans = (int) (n + Math.pow(n,2) + Math.pow(n,3));\n\n System.out.println(ans);\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub try (Scanner sc = new Scanner(System.in)) { int n = sc.nextInt(); int ans = (int) (n + Math.pow(n,2) + Math.pow(n,3)); System.out.println(ans); } catch (Exception e) { // TODO: handle exception } } }
[ 7, 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 ], [ 42, 5 ], [ 42, 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 ], [ 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 ] ]
[ "\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\t\n\t\tint a = Integer.parseInt(sc.next());\n\t\tint b = a +(a*a)+ (a*a*a);\n\t\tSystem.out.println(b);\n\t\t\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint a = Integer.parseInt(sc.next());\n\t\tint b = a +(a*a)+ (a*a*a);\n\t\tSystem.out.println(b);\n\t\t\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint a = Integer.parseInt(sc.next());\n\t\tint b = a +(a*a)+ (a*a*a);\n\t\tSystem.out.println(b);\n\t\t\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint a = Integer.parseInt(sc.next());\n\t\tint b = a +(a*a)+ (a*a*a);\n\t\tSystem.out.println(b);\n\t\t\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = Integer.parseInt(sc.next());", "a", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "int b = a +(a*a)+ (a*a*a);", "b", "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(b)", "System.out.println", "System.out", "System", "System.out", "b", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint a = Integer.parseInt(sc.next());\n\t\tint b = a +(a*a)+ (a*a*a);\n\t\tSystem.out.println(b);\n\t\t\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint a = Integer.parseInt(sc.next());\n\t\tint b = a +(a*a)+ (a*a*a);\n\t\tSystem.out.println(b);\n\t\t\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = Integer.parseInt(sc.next()); int b = a +(a*a)+ (a*a*a); System.out.println(b); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 4, 18, 18, 13, 13, 2, 2, 13, 4, 18, 13, 13, 13, 4, 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 ], [ 8, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 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 ], [ 6, 44 ], [ 44, 45 ], [ 0, 46 ], [ 46, 47 ], [ 46, 48 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\t\n\tpublic static void main (String[] ags) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint a = scanner.nextInt();\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tint b = 2;\n\t\tint c = 3;\n\t\t\n\t\tSystem.out.println(a + (int) Math.pow(a, b) + (int) Math.pow(a, c));\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t\n\tpublic static void main (String[] ags) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint a = scanner.nextInt();\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tint b = 2;\n\t\tint c = 3;\n\t\t\n\t\tSystem.out.println(a + (int) Math.pow(a, b) + (int) Math.pow(a, c));\n\t}\n\n}", "Main", "public static void main (String[] ags) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint a = scanner.nextInt();\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tint b = 2;\n\t\tint c = 3;\n\t\t\n\t\tSystem.out.println(a + (int) Math.pow(a, b) + (int) Math.pow(a, c));\n\t}", "main", "{\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint a = scanner.nextInt();\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tint b = 2;\n\t\tint c = 3;\n\t\t\n\t\tSystem.out.println(a + (int) Math.pow(a, b) + (int) Math.pow(a, c));\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int a = scanner.nextInt();", "a", "scanner.nextInt()", "scanner.nextInt", "scanner", "scanner.close()", "scanner.close", "scanner", "int b = 2;", "b", "2", "int c = 3;", "c", "3", "System.out.println(a + (int) Math.pow(a, b) + (int) Math.pow(a, c))", "System.out.println", "System.out", "System", "System.out", "a + (int) Math.pow(a, b) + (int) Math.pow(a, c)", "a + (int) Math.pow(a, b) + (int) Math.pow(a, c)", "a", "(int) Math.pow(a, b)", "Math.pow", "Math", "a", "b", "(int) Math.pow(a, c)", "Math.pow", "Math", "a", "c", "String[] ags", "ags", "public class Main {\n\t\n\tpublic static void main (String[] ags) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint a = scanner.nextInt();\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tint b = 2;\n\t\tint c = 3;\n\t\t\n\t\tSystem.out.println(a + (int) Math.pow(a, b) + (int) Math.pow(a, c));\n\t}\n\n}", "public class Main {\n\t\n\tpublic static void main (String[] ags) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint a = scanner.nextInt();\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tint b = 2;\n\t\tint c = 3;\n\t\t\n\t\tSystem.out.println(a + (int) Math.pow(a, b) + (int) Math.pow(a, c));\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main (String[] ags) { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); scanner.close(); int b = 2; int c = 3; System.out.println(a + (int) Math.pow(a, b) + (int) Math.pow(a, c)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 2, 17, 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 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 27, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 32, 36 ], [ 8, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 6, 43 ], [ 43, 44 ] ]
[ "import java.util.*;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tsc.close();\n\t\tString 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", "class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tsc.close();\n\t\tString 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) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tsc.close();\n\t\tString ans = \"\"+ (int) (N + Math.pow(N, 2) + Math.pow(N, 3));\n\t\tSystem.out.println(ans);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tsc.close();\n\t\tString ans = \"\"+ (int) (N + Math.pow(N, 2) + Math.pow(N, 3));\n\t\tSystem.out.println(ans);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "sc.close()", "sc.close", "sc", "String ans = \"\"+ (int) (N + Math.pow(N, 2) + Math.pow(N, 3));", "ans", "\"\"+ (int) (N + Math.pow(N, 2) + Math.pow(N, 3))", "\"\"", "(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" ]
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); sc.close(); String ans = ""+ (int) (N + Math.pow(N, 2) + Math.pow(N, 3)); 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, 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\tScanner in = new Scanner(System.in);\n\t\tint a = in.nextInt();\n\t\tint ans = a + (a * a) + (a * a * a);\n\t\tSystem.out.println(ans);\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\tScanner in = new Scanner(System.in);\n\t\tint a = in.nextInt();\n\t\tint ans = a + (a * a) + (a * a * a);\n\t\tSystem.out.println(ans);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint a = in.nextInt();\n\t\tint ans = a + (a * a) + (a * a * a);\n\t\tSystem.out.println(ans);\n\t}", "main", "{\n\t\tScanner in = new Scanner(System.in);\n\t\tint a = in.nextInt();\n\t\tint ans = a + (a * a) + (a * a * a);\n\t\tSystem.out.println(ans);\n\t}", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int a = in.nextInt();", "a", "in.nextInt()", "in.nextInt", "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", "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 in = new Scanner(System.in);\n\t\tint a = in.nextInt();\n\t\tint ans = a + (a * a) + (a * a * a);\n\t\tSystem.out.println(ans);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint a = in.nextInt();\n\t\tint ans = a + (a * a) + (a * a * a);\n\t\tSystem.out.println(ans);\n\t}\n}", "Main" ]
import java.util.*; import java.math.*; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(); int ans = a + (a * a) + (a * a * a); System.out.println(ans); } }
[ 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, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 13, 13, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 4, 18, 13, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 0, 13, 17, 23, 13, 12, 13, 30, 0, 13, 20, 0, 13, 17, 23, 13, 12, 13, 30, 38, 5, 13, 30, 29, 17, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 37, 20, 30, 0, 13, 17, 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, 38, 5, 13, 30, 29, 17, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 0, 13, 20, 29, 17, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 198, 8 ], [ 198, 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 ], [ 11, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 41, 45 ], [ 11, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 11, 50 ], [ 50, 51 ], [ 51, 52 ], [ 9, 53 ], [ 53, 54 ], [ 198, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 55, 67 ], [ 67, 68 ], [ 198, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 69, 73 ], [ 73, 74 ], [ 69, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 81, 83 ], [ 75, 84 ], [ 84, 85 ], [ 69, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 92, 94 ], [ 86, 95 ], [ 95, 96 ], [ 69, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 100, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 107, 116 ], [ 116, 117 ], [ 116, 118 ], [ 99, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 69, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 125, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 129, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 142, 143 ], [ 125, 144 ], [ 144, 145 ], [ 69, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 150, 153 ], [ 153, 154 ], [ 69, 155 ], [ 155, 156 ], [ 155, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 159, 162 ], [ 162, 163 ], [ 69, 164 ], [ 164, 165 ], [ 164, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 168, 171 ], [ 171, 172 ], [ 69, 173 ], [ 173, 174 ], [ 173, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 179, 180 ], [ 180, 181 ], [ 176, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 184, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 183, 192 ], [ 192, 193 ], [ 192, 194 ], [ 175, 195 ], [ 195, 196 ], [ 0, 197 ], [ 197, 198 ], [ 197, 199 ] ]
[ "import java.util.*;\nimport java.io.*;\n\npublic class Main {\n\n public static void main(String[] args)throws Exception {\n InputReader in = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n // write your code here //\n int x = in.nextInt();\n int sum = 0;\n for (int i = 1; i < 4; i++) {\n sum += (int) Math.pow(x, i);\n }\n pw.println(sum);\n pw.close();\n }\n\n\n\n /******************************\n ** IO STUFF STARTS FROM HERE**\n ******************************/\n\n static void debug(Object...obj) {\n System.err.println(Arrays.deepToString(obj));\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));\n tokenizer = null;\n }\n\n //InputReader in = new InputReader(new FileReader(\"File_Name\"));\n public InputReader(FileReader file) {\n reader = new BufferedReader(file);\n tokenizer = null;\n }\n\n public String next() {\n\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n return null;\n }\n\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n String line = null;\n try {\n tokenizer = null;\n line = reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n return line;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public boolean hasNext(){\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n }\n catch (Exception e) {\n return false;\n }\n return true;\n }\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n\n public static void main(String[] args)throws Exception {\n InputReader in = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n // write your code here //\n int x = in.nextInt();\n int sum = 0;\n for (int i = 1; i < 4; i++) {\n sum += (int) Math.pow(x, i);\n }\n pw.println(sum);\n pw.close();\n }\n\n\n\n /******************************\n ** IO STUFF STARTS FROM HERE**\n ******************************/\n\n static void debug(Object...obj) {\n System.err.println(Arrays.deepToString(obj));\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));\n tokenizer = null;\n }\n\n //InputReader in = new InputReader(new FileReader(\"File_Name\"));\n public InputReader(FileReader file) {\n reader = new BufferedReader(file);\n tokenizer = null;\n }\n\n public String next() {\n\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n return null;\n }\n\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n String line = null;\n try {\n tokenizer = null;\n line = reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n return line;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public boolean hasNext(){\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n }\n catch (Exception e) {\n return false;\n }\n return true;\n }\n }\n}", "Main", "public static void main(String[] args)throws Exception {\n InputReader in = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n // write your code here //\n int x = in.nextInt();\n int sum = 0;\n for (int i = 1; i < 4; i++) {\n sum += (int) Math.pow(x, i);\n }\n pw.println(sum);\n pw.close();\n }", "main", "{\n InputReader in = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n // write your code here //\n int x = in.nextInt();\n int sum = 0;\n for (int i = 1; i < 4; i++) {\n sum += (int) Math.pow(x, i);\n }\n pw.println(sum);\n pw.close();\n }", "InputReader in = new InputReader(System.in);", "in", "new InputReader(System.in)", "PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));", "pw", "new PrintWriter(new OutputStreamWriter(System.out))", "int x = in.nextInt();", "x", "in.nextInt()", "in.nextInt", "in", "int sum = 0;", "sum", "0", "for (int i = 1; i < 4; i++) {\n sum += (int) Math.pow(x, i);\n }", "int i = 1;", "int i = 1;", "i", "1", "i < 4", "i", "4", "i++", "i++", "i", "{\n sum += (int) Math.pow(x, i);\n }", "{\n sum += (int) Math.pow(x, i);\n }", "sum += (int) Math.pow(x, i)", "sum", "(int) Math.pow(x, i)", "Math.pow", "Math", "x", "i", "pw.println(sum)", "pw.println", "pw", "sum", "pw.close()", "pw.close", "pw", "String[] args", "args", "/******************************\n ** IO STUFF STARTS FROM HERE**\n ******************************/\n\n static void debug(Object...obj) {\n System.err.println(Arrays.deepToString(obj));\n }", "debug", "{\n System.err.println(Arrays.deepToString(obj));\n }", "System.err.println(Arrays.deepToString(obj))", "System.err.println", "System.err", "System", "System.err", "Arrays.deepToString(obj)", "Arrays.deepToString", "Arrays", "obj", "Object...obj", "obj", "static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream));\n tokenizer = null;\n }\n\n //InputReader in = new InputReader(new FileReader(\"File_Name\"));\n public InputReader(FileReader file) {\n reader = new BufferedReader(file);\n tokenizer = null;\n }\n\n public String next() {\n\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n return null;\n }\n\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n String line = null;\n try {\n tokenizer = null;\n line = reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n return line;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public boolean hasNext(){\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n }\n catch (Exception e) {\n return false;\n }\n return true;\n }\n }", "InputReader", "public BufferedReader reader;", "reader", "public StringTokenizer tokenizer;", "tokenizer", "public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream));\n tokenizer = null;\n }", "InputReader", "{\n reader = new BufferedReader(new InputStreamReader(stream));\n tokenizer = null;\n }", "reader = new BufferedReader(new InputStreamReader(stream))", "reader", "new BufferedReader(new InputStreamReader(stream))", "tokenizer = null", "tokenizer", "null", "InputStream stream", "stream", "//InputReader in = new InputReader(new FileReader(\"File_Name\"));\n public InputReader(FileReader file) {\n reader = new BufferedReader(file);\n tokenizer = null;\n }", "InputReader", "{\n reader = new BufferedReader(file);\n tokenizer = null;\n }", "reader = new BufferedReader(file)", "reader", "new BufferedReader(file)", "tokenizer = null", "tokenizer", "null", "FileReader file", "file", "public String next() {\n\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n return null;\n }\n\n return tokenizer.nextToken();\n }", "next", "{\n\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n return null;\n }\n\n return tokenizer.nextToken();\n }", "try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n return null;\n }", "catch (IOException e) {\n return null;\n }", "IOException e", "{\n return null;\n }", "return null;", "null", "{\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n }", "while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());", "tokenizer == null || !tokenizer.hasMoreTokens()", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "tokenizer = new StringTokenizer(reader.readLine())", "tokenizer", "new StringTokenizer(reader.readLine())", "return tokenizer.nextToken();", "tokenizer.nextToken()", "tokenizer.nextToken", "tokenizer", "public String nextLine() {\n String line = null;\n try {\n tokenizer = null;\n line = reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n return line;\n }", "nextLine", "{\n String line = null;\n try {\n tokenizer = null;\n line = reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n return line;\n }", "String line = null;", "line", "null", "try {\n tokenizer = null;\n line = 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 = null;\n line = reader.readLine();\n }", "tokenizer = null", "tokenizer", "null", "line = reader.readLine()", "line", "reader.readLine()", "reader.readLine", "reader", "return line;", "line", "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 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 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 boolean hasNext(){\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n }\n catch (Exception e) {\n return false;\n }\n return true;\n }", "hasNext", "{\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n }\n catch (Exception e) {\n return false;\n }\n return true;\n }", "try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n }\n catch (Exception e) {\n return false;\n }", "catch (Exception e) {\n return false;\n }", "Exception e", "{\n return false;\n }", "return false;", "false", "{\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n }", "while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());", "tokenizer == null || !tokenizer.hasMoreTokens()", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "tokenizer = new StringTokenizer(reader.readLine())", "tokenizer", "new StringTokenizer(reader.readLine())", "return true;", "true", "public class Main {\n\n public static void main(String[] args)throws Exception {\n InputReader in = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n // write your code here //\n int x = in.nextInt();\n int sum = 0;\n for (int i = 1; i < 4; i++) {\n sum += (int) Math.pow(x, i);\n }\n pw.println(sum);\n pw.close();\n }\n\n\n\n /******************************\n ** IO STUFF STARTS FROM HERE**\n ******************************/\n\n static void debug(Object...obj) {\n System.err.println(Arrays.deepToString(obj));\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));\n tokenizer = null;\n }\n\n //InputReader in = new InputReader(new FileReader(\"File_Name\"));\n public InputReader(FileReader file) {\n reader = new BufferedReader(file);\n tokenizer = null;\n }\n\n public String next() {\n\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n return null;\n }\n\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n String line = null;\n try {\n tokenizer = null;\n line = reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n return line;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public boolean hasNext(){\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n }\n catch (Exception e) {\n return false;\n }\n return true;\n }\n }\n}", "public class Main {\n\n public static void main(String[] args)throws Exception {\n InputReader in = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n // write your code here //\n int x = in.nextInt();\n int sum = 0;\n for (int i = 1; i < 4; i++) {\n sum += (int) Math.pow(x, i);\n }\n pw.println(sum);\n pw.close();\n }\n\n\n\n /******************************\n ** IO STUFF STARTS FROM HERE**\n ******************************/\n\n static void debug(Object...obj) {\n System.err.println(Arrays.deepToString(obj));\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));\n tokenizer = null;\n }\n\n //InputReader in = new InputReader(new FileReader(\"File_Name\"));\n public InputReader(FileReader file) {\n reader = new BufferedReader(file);\n tokenizer = null;\n }\n\n public String next() {\n\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n return null;\n }\n\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n String line = null;\n try {\n tokenizer = null;\n line = reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n return line;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public boolean hasNext(){\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens())\n tokenizer = new StringTokenizer(reader.readLine());\n }\n catch (Exception e) {\n return false;\n }\n return true;\n }\n }\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { public static void main(String[] args)throws Exception { InputReader in = new InputReader(System.in); PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out)); // write your code here // int x = in.nextInt(); int sum = 0; for (int i = 1; i < 4; i++) { sum += (int) Math.pow(x, i); } pw.println(sum); pw.close(); } /****************************** ** IO STUFF STARTS FROM HERE** ******************************/ static void debug(Object...obj) { System.err.println(Arrays.deepToString(obj)); } static class InputReader { public BufferedReader reader; public StringTokenizer tokenizer; public InputReader(InputStream stream) { reader = new BufferedReader(new InputStreamReader(stream)); tokenizer = null; } //InputReader in = new InputReader(new FileReader("File_Name")); public InputReader(FileReader file) { reader = new BufferedReader(file); tokenizer = null; } public String next() { try { while (tokenizer == null || !tokenizer.hasMoreTokens()) tokenizer = new StringTokenizer(reader.readLine()); } catch (IOException e) { return null; } return tokenizer.nextToken(); } public String nextLine() { String line = null; try { tokenizer = null; line = reader.readLine(); } catch (IOException e) { throw new RuntimeException(e); } return line; } public int nextInt() { return Integer.parseInt(next()); } public double nextDouble() { return Double.parseDouble(next()); } public long nextLong() { return Long.parseLong(next()); } public boolean hasNext(){ try { while (tokenizer == null || !tokenizer.hasMoreTokens()) tokenizer = new StringTokenizer(reader.readLine()); } catch (Exception e) { return false; } return true; } } }
[ 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, 13, 4, 18, 13, 2, 2, 13, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 23, 13, 23, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 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 ], [ 146, 29 ], [ 146, 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 ], [ 146, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 67, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 77, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 79, 83 ], [ 77, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 84, 88 ], [ 65, 89 ], [ 89, 90 ], [ 65, 91 ], [ 91, 92 ], [ 65, 93 ], [ 93, 94 ], [ 146, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 95, 99 ], [ 99, 100 ], [ 95, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 101, 107 ], [ 107, 108 ], [ 95, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 112, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 126, 127 ], [ 122, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 111, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 95, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 140, 143 ], [ 143, 144 ], [ 0, 145 ], [ 145, 146 ], [ 145, 147 ] ]
[ "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 HussienMoustafa\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 ACalc solver = new ACalc();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACalc {\n public void solve(int testNumber, Scanner s, PrintWriter sout) {\n int n = s.nextInt();\n sout.println(n + (int) Math.pow(n, 2) + (int) Math.pow(n, 3));\n }\n\n }\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\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 Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ACalc solver = new ACalc();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACalc {\n public void solve(int testNumber, Scanner s, PrintWriter sout) {\n int n = s.nextInt();\n sout.println(n + (int) Math.pow(n, 2) + (int) Math.pow(n, 3));\n }\n\n }\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\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 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 Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(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", "Scanner in = new Scanner(inputStream);", "in", "new Scanner(inputStream)", "PrintWriter out = new PrintWriter(outputStream);", "out", "new PrintWriter(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 public void solve(int testNumber, Scanner s, PrintWriter sout) {\n int n = s.nextInt();\n sout.println(n + (int) Math.pow(n, 2) + (int) Math.pow(n, 3));\n }\n\n }", "ACalc", "public void solve(int testNumber, Scanner s, PrintWriter sout) {\n int n = s.nextInt();\n sout.println(n + (int) Math.pow(n, 2) + (int) Math.pow(n, 3));\n }", "solve", "{\n int n = s.nextInt();\n sout.println(n + (int) Math.pow(n, 2) + (int) Math.pow(n, 3));\n }", "int n = s.nextInt();", "n", "s.nextInt()", "s.nextInt", "s", "sout.println(n + (int) Math.pow(n, 2) + (int) Math.pow(n, 3))", "sout.println", "sout", "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", "int testNumber", "testNumber", "Scanner s", "s", "PrintWriter sout", "sout", "static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }", "Scanner", "StringTokenizer st;", "st", "BufferedReader br;", "br", "public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }", "Scanner", "{\n br = new BufferedReader(new InputStreamReader(s));\n }", "br = new BufferedReader(new InputStreamReader(s))", "br", "new BufferedReader(new InputStreamReader(s))", "InputStream s", "s", "public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "try {\n st = new StringTokenizer(br.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 st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "public int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ACalc solver = new ACalc();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACalc {\n public void solve(int testNumber, Scanner s, PrintWriter sout) {\n int n = s.nextInt();\n sout.println(n + (int) Math.pow(n, 2) + (int) Math.pow(n, 3));\n }\n\n }\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\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 ACalc solver = new ACalc();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACalc {\n public void solve(int testNumber, Scanner s, PrintWriter sout) {\n int n = s.nextInt();\n sout.println(n + (int) Math.pow(n, 2) + (int) Math.pow(n, 3));\n }\n\n }\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\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 HussienMoustafa */ 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); ACalc solver = new ACalc(); solver.solve(1, in, out); out.close(); } static class ACalc { public void solve(int testNumber, Scanner s, PrintWriter sout) { int n = s.nextInt(); sout.println(n + (int) Math.pow(n, 2) + (int) Math.pow(n, 3)); } } static class Scanner { StringTokenizer st; BufferedReader br; public Scanner(InputStream s) { br = new BufferedReader(new InputStreamReader(s)); } public String next() { while (st == null || !st.hasMoreTokens()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { throw new RuntimeException(e); } } return st.nextToken(); } public int nextInt() { return Integer.parseInt(next()); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 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 ], [ 44, 5 ], [ 44, 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 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 25, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 6, 41 ], [ 41, 42 ], [ 0, 43 ], [ 43, 44 ], [ 43, 45 ] ]
[ "import java.util.Scanner;\n \npublic class Main {\n\n public static void main(String[] args) {\n \n Scanner scanner = new Scanner(System.in);\n \n int a = Integer.valueOf(scanner.nextLine());\n \n int value;\n \n value = a + (a*a) + (a*a*a);\n \n System.out.println(value);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n \n Scanner scanner = new Scanner(System.in);\n \n int a = Integer.valueOf(scanner.nextLine());\n \n int value;\n \n value = a + (a*a) + (a*a*a);\n \n System.out.println(value);\n }\n}", "Main", "public static void main(String[] args) {\n \n Scanner scanner = new Scanner(System.in);\n \n int a = Integer.valueOf(scanner.nextLine());\n \n int value;\n \n value = a + (a*a) + (a*a*a);\n \n System.out.println(value);\n }", "main", "{\n \n Scanner scanner = new Scanner(System.in);\n \n int a = Integer.valueOf(scanner.nextLine());\n \n int value;\n \n value = a + (a*a) + (a*a*a);\n \n System.out.println(value);\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int a = Integer.valueOf(scanner.nextLine());", "a", "Integer.valueOf(scanner.nextLine())", "Integer.valueOf", "Integer", "scanner.nextLine()", "scanner.nextLine", "scanner", "int value;", "value", "value = a + (a*a) + (a*a*a)", "value", "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(value)", "System.out.println", "System.out", "System", "System.out", "value", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n \n Scanner scanner = new Scanner(System.in);\n \n int a = Integer.valueOf(scanner.nextLine());\n \n int value;\n \n value = a + (a*a) + (a*a*a);\n \n System.out.println(value);\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n \n Scanner scanner = new Scanner(System.in);\n \n int a = Integer.valueOf(scanner.nextLine());\n \n int value;\n \n value = a + (a*a) + (a*a*a);\n \n System.out.println(value);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = Integer.valueOf(scanner.nextLine()); int value; value = a + (a*a) + (a*a*a); System.out.println(value); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 41, 13, 2, 17, 17, 41, 13, 17, 12, 13, 30, 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, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 29, 4, 13, 2, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 17, 11, 1, 41, 13, 17, 2, 2, 13, 13, 13, 1, 40, 13, 30, 14, 2, 2, 13, 13, 17, 29, 17, 29, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 146, 11 ], [ 146, 12 ], [ 12, 13 ], [ 12, 14 ], [ 146, 15 ], [ 15, 16 ], [ 15, 17 ], [ 146, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 20, 22 ], [ 146, 23 ], [ 23, 24 ], [ 23, 25 ], [ 146, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 28, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 38, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 28, 48 ], [ 48, 49 ], [ 49, 50 ], [ 28, 51 ], [ 51, 52 ], [ 52, 53 ], [ 28, 54 ], [ 54, 55 ], [ 55, 56 ], [ 26, 57 ], [ 57, 58 ], [ 146, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 82, 83 ], [ 83, 84 ], [ 61, 85 ], [ 85, 86 ], [ 59, 87 ], [ 87, 88 ], [ 146, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 96, 97 ], [ 97, 98 ], [ 91, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 89, 106 ], [ 106, 107 ], [ 89, 108 ], [ 108, 109 ], [ 146, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 117, 118 ], [ 112, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 119, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 124, 128 ], [ 119, 129 ], [ 129, 130 ], [ 130, 131 ], [ 119, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 133, 139 ], [ 139, 140 ], [ 112, 141 ], [ 141, 142 ], [ 110, 143 ], [ 143, 144 ], [ 0, 145 ], [ 145, 146 ], [ 145, 147 ] ]
[ "\nimport java.util.*;\nimport java.io.*;\nimport java.math.*;\n\npublic class Main {\n\n static Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) throws Exception {\n\n\n int a = sc.nextInt();\n\n out.println(a + (a * a) + (a * a * a));\n\n\n out.flush();\n out.close();\n sc.close();\n }\n\n static final int MOD = (int) 1e9 + 7;\n static final double PI = 3.14159265358979323846;\n\n // takes array input\n public static int[] init(int n) {\n\n int[] arr = new int[n];\n\n for (int i = 0; i < n; ++i)\n arr[i] = sc.nextInt();\n\n return arr;\n }\n\n // finds GCD of two number\n public static int gcd(int a, int b) {\n\n if (a == 0) {\n return b;\n }\n\n return gcd(b % a, a);\n }\n\n // checks whether a number is prime or not\n public static boolean prime(int n) {\n\n if (n < 2)\n return false;\n\n for (int i = 2; i * i <= n; ++i)\n if (n % i == 0)\n return false;\n\n return true;\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "import java.math.*;", "math.*", "java", "public class Main {\n\n static Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) throws Exception {\n\n\n int a = sc.nextInt();\n\n out.println(a + (a * a) + (a * a * a));\n\n\n out.flush();\n out.close();\n sc.close();\n }\n\n static final int MOD = (int) 1e9 + 7;\n static final double PI = 3.14159265358979323846;\n\n // takes array input\n public static int[] init(int n) {\n\n int[] arr = new int[n];\n\n for (int i = 0; i < n; ++i)\n arr[i] = sc.nextInt();\n\n return arr;\n }\n\n // finds GCD of two number\n public static int gcd(int a, int b) {\n\n if (a == 0) {\n return b;\n }\n\n return gcd(b % a, a);\n }\n\n // checks whether a number is prime or not\n public static boolean prime(int n) {\n\n if (n < 2)\n return false;\n\n for (int i = 2; i * i <= n; ++i)\n if (n % i == 0)\n return false;\n\n return true;\n }\n}", "Main", "static Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));", "sc", "new Scanner(new BufferedReader(new InputStreamReader(System.in)))", "static PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "static final int MOD = (int) 1e9 + 7;", "MOD", "(int) 1e9 + 7", "(int) 1e9", "7", "static final double PI = 3.14159265358979323846;", "PI", "3.14159265358979323846", "public static void main(String[] args) throws Exception {\n\n\n int a = sc.nextInt();\n\n out.println(a + (a * a) + (a * a * a));\n\n\n out.flush();\n out.close();\n sc.close();\n }", "main", "{\n\n\n int a = sc.nextInt();\n\n out.println(a + (a * a) + (a * a * a));\n\n\n out.flush();\n out.close();\n sc.close();\n }", "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", "sc.close()", "sc.close", "sc", "String[] args", "args", "// takes array input\n public static int[] init(int n) {\n\n int[] arr = new int[n];\n\n for (int i = 0; i < n; ++i)\n arr[i] = sc.nextInt();\n\n return arr;\n }", "init", "{\n\n int[] arr = new int[n];\n\n for (int i = 0; i < n; ++i)\n arr[i] = sc.nextInt();\n\n return arr;\n }", "int[] arr = new int[n];", "arr", "new int[n]", "n", "for (int i = 0; i < n; ++i)\n arr[i] = sc.nextInt();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "++i", "++i", "i", "arr[i] = sc.nextInt();", "arr[i] = sc.nextInt()", "arr[i]", "arr", "i", "sc.nextInt()", "sc.nextInt", "sc", "return arr;", "arr", "int n", "n", "// finds GCD of two number\n public static int gcd(int a, int b) {\n\n if (a == 0) {\n return b;\n }\n\n return gcd(b % a, a);\n }", "gcd", "{\n\n if (a == 0) {\n return b;\n }\n\n return gcd(b % a, a);\n }", "if (a == 0) {\n return b;\n }", "a == 0", "a", "0", "{\n return b;\n }", "return b;", "b", "return gcd(b % a, a);", "gcd(b % a, a)", "gcd", "b % a", "b", "a", "a", "int a", "a", "int b", "b", "// checks whether a number is prime or not\n public static boolean prime(int n) {\n\n if (n < 2)\n return false;\n\n for (int i = 2; i * i <= n; ++i)\n if (n % i == 0)\n return false;\n\n return true;\n }", "prime", "{\n\n if (n < 2)\n return false;\n\n for (int i = 2; i * i <= n; ++i)\n if (n % i == 0)\n return false;\n\n return true;\n }", "if (n < 2)\n return false;", "n < 2", "n", "2", "return false;", "false", "for (int i = 2; i * i <= n; ++i)\n if (n % i == 0)\n return false;", "int i = 2;", "int i = 2;", "i", "2", "i * i <= n", "i * i", "i", "i", "n", "++i", "++i", "i", "if (n % i == 0)\n return false;", "if (n % i == 0)\n return false;", "n % i == 0", "n % i", "n", "i", "0", "return false;", "false", "return true;", "true", "int n", "n", "public class Main {\n\n static Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) throws Exception {\n\n\n int a = sc.nextInt();\n\n out.println(a + (a * a) + (a * a * a));\n\n\n out.flush();\n out.close();\n sc.close();\n }\n\n static final int MOD = (int) 1e9 + 7;\n static final double PI = 3.14159265358979323846;\n\n // takes array input\n public static int[] init(int n) {\n\n int[] arr = new int[n];\n\n for (int i = 0; i < n; ++i)\n arr[i] = sc.nextInt();\n\n return arr;\n }\n\n // finds GCD of two number\n public static int gcd(int a, int b) {\n\n if (a == 0) {\n return b;\n }\n\n return gcd(b % a, a);\n }\n\n // checks whether a number is prime or not\n public static boolean prime(int n) {\n\n if (n < 2)\n return false;\n\n for (int i = 2; i * i <= n; ++i)\n if (n % i == 0)\n return false;\n\n return true;\n }\n}", "public class Main {\n\n static Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) throws Exception {\n\n\n int a = sc.nextInt();\n\n out.println(a + (a * a) + (a * a * a));\n\n\n out.flush();\n out.close();\n sc.close();\n }\n\n static final int MOD = (int) 1e9 + 7;\n static final double PI = 3.14159265358979323846;\n\n // takes array input\n public static int[] init(int n) {\n\n int[] arr = new int[n];\n\n for (int i = 0; i < n; ++i)\n arr[i] = sc.nextInt();\n\n return arr;\n }\n\n // finds GCD of two number\n public static int gcd(int a, int b) {\n\n if (a == 0) {\n return b;\n }\n\n return gcd(b % a, a);\n }\n\n // checks whether a number is prime or not\n public static boolean prime(int n) {\n\n if (n < 2)\n return false;\n\n for (int i = 2; i * i <= n; ++i)\n if (n % i == 0)\n return false;\n\n return true;\n }\n}", "Main" ]
import java.util.*; import java.io.*; import java.math.*; public class Main { static Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in))); static PrintWriter out = new PrintWriter(System.out); public static void main(String[] args) throws Exception { int a = sc.nextInt(); out.println(a + (a * a) + (a * a * a)); out.flush(); out.close(); sc.close(); } static final int MOD = (int) 1e9 + 7; static final double PI = 3.14159265358979323846; // takes array input public static int[] init(int n) { int[] arr = new int[n]; for (int i = 0; i < n; ++i) arr[i] = sc.nextInt(); return arr; } // finds GCD of two number public static int gcd(int a, int b) { if (a == 0) { return b; } return gcd(b % a, a); } // checks whether a number is prime or not public static boolean prime(int n) { if (n < 2) return false; for (int i = 2; i * i <= n; ++i) if (n % i == 0) return false; return true; } }
[ 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, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 50, 14 ], [ 50, 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 ], [ 32, 33 ], [ 31, 34 ], [ 31, 35 ], [ 29, 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 ], [ 0, 49 ], [ 49, 50 ], [ 49, 51 ] ]
[ "\nimport java.util.Arrays;\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.Scanner;\npublic class Main {\n\n\n public static void main(String[] args) {\n\n\n Scanner scan = new Scanner(System.in);\nint p=scan.nextInt();\np=p+(int)Math.pow(p,2)+(int)Math.pow(p,3);\n\nSystem.out.println(p);\n }\n }\n\n\n\n", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.Map;", "Map", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\n public static void main(String[] args) {\n\n\n Scanner scan = new Scanner(System.in);\nint p=scan.nextInt();\np=p+(int)Math.pow(p,2)+(int)Math.pow(p,3);\n\nSystem.out.println(p);\n }\n }", "Main", "public static void main(String[] args) {\n\n\n Scanner scan = new Scanner(System.in);\nint p=scan.nextInt();\np=p+(int)Math.pow(p,2)+(int)Math.pow(p,3);\n\nSystem.out.println(p);\n }", "main", "{\n\n\n Scanner scan = new Scanner(System.in);\nint p=scan.nextInt();\np=p+(int)Math.pow(p,2)+(int)Math.pow(p,3);\n\nSystem.out.println(p);\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int p=scan.nextInt();", "p", "scan.nextInt()", "scan.nextInt", "scan", "p=p+(int)Math.pow(p,2)+(int)Math.pow(p,3)", "p", "p+(int)Math.pow(p,2)+(int)Math.pow(p,3)", "p+(int)Math.pow(p,2)+(int)Math.pow(p,3)", "p", "(int)Math.pow(p,2)", "Math.pow", "Math", "p", "2", "(int)Math.pow(p,3)", "Math.pow", "Math", "p", "3", "System.out.println(p)", "System.out.println", "System.out", "System", "System.out", "p", "String[] args", "args", "public class Main {\n\n\n public static void main(String[] args) {\n\n\n Scanner scan = new Scanner(System.in);\nint p=scan.nextInt();\np=p+(int)Math.pow(p,2)+(int)Math.pow(p,3);\n\nSystem.out.println(p);\n }\n }", "public class Main {\n\n\n public static void main(String[] args) {\n\n\n Scanner scan = new Scanner(System.in);\nint p=scan.nextInt();\np=p+(int)Math.pow(p,2)+(int)Math.pow(p,3);\n\nSystem.out.println(p);\n }\n }", "Main" ]
import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int p=scan.nextInt(); p=p+(int)Math.pow(p,2)+(int)Math.pow(p,3); System.out.println(p); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 2, 17, 17, 12, 13, 30, 14, 2, 13, 17, 29, 13, 29, 4, 13, 2, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 17, 42, 2, 13, 17, 30, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 2, 13, 13, 13, 0, 13, 2, 2, 13, 13, 13, 0, 13, 2, 13, 17, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 2, 2, 13, 4, 13, 13, 17, 4, 13, 13, 17, 4, 18, 13, 4, 18, 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, 37, 20, 14, 2, 13, 13, 30, 0, 13, 17, 38, 5, 13, 30, 37, 20, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 17, 29, 40, 17, 29, 18, 13, 40, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 30, 0, 13, 4, 13, 41, 13, 17, 14, 2, 13, 17, 30, 0, 13, 40, 17, 0, 13, 4, 13, 41, 13, 17, 42, 40, 4, 13, 13, 30, 14, 2, 2, 13, 17, 2, 13, 17, 37, 20, 0, 13, 17, 0, 13, 2, 13, 17, 0, 13, 4, 13, 29, 2, 13, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 30, 0, 13, 4, 13, 41, 13, 17, 14, 2, 13, 17, 30, 0, 13, 40, 17, 0, 13, 4, 13, 41, 13, 17, 42, 40, 4, 13, 13, 30, 14, 2, 2, 13, 17, 2, 13, 17, 37, 20, 0, 13, 17, 0, 13, 2, 13, 17, 0, 13, 4, 13, 29, 2, 13, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 30, 0, 13, 4, 13, 41, 13, 20, 42, 40, 4, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 0, 13, 4, 13, 41, 13, 20, 42, 40, 4, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 14, 2, 13, 17, 29, 4, 18, 13, 13, 29, 2, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 40, 17, 23, 13, 12, 13, 30, 29, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 40, 17, 23, 13, 6, 13, 12, 13, 23, 13, 6, 13, 41, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 0, 18, 36, 13, 20, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 17, 4, 18, 13, 17, 4, 18, 13, 18, 13, 13, 23, 13, 12, 13, 30, 4, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 12, 13, 30, 4, 18, 13, 6, 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, 18, 13, 29, 13, 23, 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 ], [ 11, 13 ], [ 7, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 16, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 14, 30 ], [ 30, 31 ], [ 14, 32 ], [ 32, 33 ], [ 7, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 45, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 44, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 44, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 36, 71 ], [ 71, 72 ], [ 34, 73 ], [ 73, 74 ], [ 34, 75 ], [ 75, 76 ], [ 7, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 83, 85 ], [ 79, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 79, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 95, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 97, 99 ], [ 97, 100 ], [ 95, 101 ], [ 101, 102 ], [ 101, 103 ], [ 101, 104 ], [ 79, 105 ], [ 105, 106 ], [ 106, 107 ], [ 79, 108 ], [ 108, 109 ], [ 109, 110 ], [ 77, 111 ], [ 111, 112 ], [ 7, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 113, 117 ], [ 117, 118 ], [ 117, 119 ], [ 113, 121 ], [ 121, 122 ], [ 113, 123 ], [ 123, 124 ], [ 113, 125 ], [ 125, 126 ], [ 113, 127 ], [ 127, 128 ], [ 127, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 134 ], [ 127, 135 ], [ 135, 136 ], [ 113, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 140, 145 ], [ 145, 146 ], [ 139, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 147, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 151, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 158, 159 ], [ 159, 160 ], [ 155, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 164, 165 ], [ 165, 166 ], [ 164, 167 ], [ 151, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 168, 172 ], [ 172, 173 ], [ 173, 174 ], [ 139, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 178, 179 ], [ 113, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 185, 186 ], [ 182, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 187, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 194, 195 ], [ 182, 196 ], [ 196, 197 ], [ 196, 198 ], [ 182, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 199, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 206, 207 ], [ 203, 208 ], [ 208, 209 ], [ 208, 210 ], [ 210, 211 ], [ 182, 212 ], [ 212, 213 ], [ 212, 214 ], [ 182, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 215, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 223, 225 ], [ 222, 226 ], [ 226, 227 ], [ 226, 228 ], [ 221, 229 ], [ 229, 230 ], [ 220, 231 ], [ 231, 232 ], [ 231, 233 ], [ 220, 234 ], [ 234, 235 ], [ 234, 236 ], [ 236, 237 ], [ 236, 238 ], [ 220, 239 ], [ 239, 240 ], [ 239, 241 ], [ 241, 242 ], [ 182, 243 ], [ 243, 244 ], [ 244, 245 ], [ 244, 246 ], [ 113, 247 ], [ 247, 248 ], [ 247, 249 ], [ 249, 250 ], [ 250, 251 ], [ 250, 252 ], [ 252, 253 ], [ 249, 254 ], [ 254, 255 ], [ 255, 256 ], [ 255, 257 ], [ 254, 258 ], [ 258, 259 ], [ 259, 260 ], [ 259, 261 ], [ 261, 262 ], [ 249, 263 ], [ 263, 264 ], [ 263, 265 ], [ 249, 266 ], [ 266, 267 ], [ 267, 268 ], [ 267, 269 ], [ 266, 270 ], [ 270, 271 ], [ 271, 272 ], [ 271, 273 ], [ 273, 274 ], [ 270, 275 ], [ 275, 276 ], [ 275, 277 ], [ 277, 278 ], [ 249, 279 ], [ 279, 280 ], [ 279, 281 ], [ 249, 282 ], [ 282, 283 ], [ 283, 284 ], [ 284, 285 ], [ 284, 286 ], [ 282, 287 ], [ 287, 288 ], [ 288, 289 ], [ 289, 290 ], [ 290, 291 ], [ 290, 292 ], [ 289, 293 ], [ 293, 294 ], [ 293, 295 ], [ 288, 296 ], [ 296, 297 ], [ 287, 298 ], [ 298, 299 ], [ 298, 300 ], [ 287, 301 ], [ 301, 302 ], [ 301, 303 ], [ 303, 304 ], [ 303, 305 ], [ 287, 306 ], [ 306, 307 ], [ 306, 308 ], [ 308, 309 ], [ 249, 310 ], [ 310, 311 ], [ 311, 312 ], [ 311, 313 ], [ 113, 314 ], [ 314, 315 ], [ 314, 316 ], [ 316, 317 ], [ 317, 318 ], [ 317, 319 ], [ 316, 321 ], [ 321, 322 ], [ 322, 323 ], [ 323, 324 ], [ 323, 325 ], [ 321, 326 ], [ 326, 327 ], [ 326, 328 ], [ 321, 329 ], [ 329, 330 ], [ 330, 331 ], [ 321, 332 ], [ 333, 333 ], [ 333, 334 ], [ 334, 335 ], [ 335, 336 ], [ 335, 337 ], [ 334, 338 ], [ 338, 339 ], [ 316, 340 ], [ 340, 341 ], [ 314, 342 ], [ 342, 343 ], [ 113, 344 ], [ 344, 345 ], [ 344, 346 ], [ 346, 347 ], [ 347, 348 ], [ 347, 349 ], [ 349, 350 ], [ 346, 351 ], [ 351, 352 ], [ 352, 353 ], [ 352, 354 ], [ 351, 355 ], [ 355, 356 ], [ 356, 357 ], [ 356, 358 ], [ 358, 359 ], [ 346, 360 ], [ 360, 361 ], [ 360, 362 ], [ 346, 363 ], [ 363, 364 ], [ 364, 365 ], [ 365, 366 ], [ 365, 367 ], [ 363, 368 ], [ 368, 369 ], [ 369, 370 ], [ 370, 371 ], [ 369, 372 ], [ 368, 373 ], [ 373, 374 ], [ 373, 375 ], [ 375, 376 ], [ 346, 377 ], [ 377, 378 ], [ 378, 379 ], [ 379, 380 ], [ 113, 381 ], [ 381, 382 ], [ 381, 383 ], [ 383, 384 ], [ 384, 385 ], [ 384, 386 ], [ 386, 387 ], [ 383, 388 ], [ 388, 389 ], [ 389, 390 ], [ 389, 391 ], [ 388, 392 ], [ 392, 393 ], [ 392, 394 ], [ 394, 395 ], [ 383, 396 ], [ 396, 397 ], [ 396, 398 ], [ 383, 399 ], [ 399, 400 ], [ 400, 401 ], [ 401, 402 ], [ 401, 403 ], [ 399, 404 ], [ 404, 405 ], [ 405, 406 ], [ 406, 407 ], [ 405, 408 ], [ 404, 409 ], [ 409, 410 ], [ 409, 411 ], [ 411, 412 ], [ 383, 413 ], [ 413, 414 ], [ 414, 415 ], [ 415, 416 ], [ 113, 417 ], [ 417, 418 ], [ 417, 419 ], [ 419, 420 ], [ 420, 421 ], [ 421, 422 ], [ 421, 423 ], [ 420, 424 ], [ 424, 425 ], [ 425, 426 ], [ 426, 427 ], [ 425, 428 ], [ 419, 429 ], [ 429, 430 ], [ 433, 431 ], [ 443, 432 ], [ 440, 433 ], [ 433, 434 ], [ 434, 435 ], [ 434, 436 ], [ 433, 437 ], [ 437, 438 ], [ 437, 439 ], [ 440, 440 ], [ 440, 441 ], [ 440, 442 ], [ 443, 443 ], [ 443, 444 ], [ 443, 445 ], [ 433, 446 ], [ 446, 447 ], [ 446, 448 ], [ 448, 449 ], [ 417, 450 ], [ 450, 451 ], [ 113, 452 ], [ 452, 453 ], [ 452, 454 ], [ 454, 455 ], [ 455, 456 ], [ 457, 457 ], [ 457, 458 ], [ 458, 459 ], [ 458, 460 ], [ 457, 461 ], [ 461, 462 ], [ 461, 463 ], [ 457, 464 ], [ 464, 465 ], [ 464, 466 ], [ 466, 467 ], [ 452, 468 ], [ 468, 469 ], [ 113, 470 ], [ 470, 471 ], [ 470, 472 ], [ 472, 473 ], [ 472, 474 ], [ 474, 475 ], [ 7, 476 ], [ 476, 477 ], [ 476, 478 ], [ 478, 479 ], [ 476, 480 ], [ 480, 481 ], [ 480, 482 ], [ 482, 483 ], [ 483, 484 ], [ 483, 485 ], [ 480, 486 ], [ 486, 487 ], [ 476, 488 ], [ 488, 489 ], [ 488, 490 ], [ 490, 491 ], [ 491, 492 ], [ 492, 493 ], [ 492, 494 ], [ 491, 495 ], [ 488, 496 ], [ 496, 497 ], [ 476, 498 ], [ 498, 499 ], [ 498, 500 ], [ 500, 501 ], [ 501, 502 ], [ 502, 503 ], [ 503, 504 ], [ 503, 505 ], [ 501, 506 ], [ 506, 507 ], [ 506, 508 ], [ 508, 509 ], [ 508, 510 ], [ 501, 511 ], [ 511, 512 ], [ 512, 513 ], [ 501, 514 ], [ 515, 515 ], [ 515, 516 ], [ 516, 517 ], [ 517, 518 ], [ 517, 519 ], [ 516, 520 ], [ 520, 521 ], [ 521, 522 ], [ 520, 523 ], [ 515, 524 ], [ 524, 525 ], [ 525, 526 ], [ 524, 527 ], [ 527, 528 ], [ 527, 529 ], [ 498, 530 ], [ 530, 531 ], [ 476, 532 ], [ 532, 533 ], [ 532, 534 ], [ 534, 535 ], [ 535, 536 ], [ 535, 537 ], [ 534, 538 ], [ 538, 539 ], [ 539, 540 ], [ 532, 541 ], [ 541, 542 ], [ 476, 543 ], [ 543, 544 ], [ 543, 545 ], [ 545, 546 ], [ 546, 547 ], [ 547, 548 ], [ 476, 549 ], [ 549, 550 ], [ 549, 551 ], [ 551, 552 ], [ 552, 553 ], [ 553, 554 ], [ 7, 555 ], [ 555, 556 ], [ 555, 557 ], [ 557, 558 ], [ 557, 559 ], [ 559, 560 ], [ 560, 561 ], [ 560, 562 ], [ 559, 564 ], [ 564, 565 ], [ 565, 566 ], [ 566, 567 ], [ 566, 568 ], [ 564, 569 ], [ 569, 570 ], [ 569, 571 ], [ 564, 572 ], [ 572, 573 ], [ 573, 574 ], [ 564, 575 ], [ 575, 576 ], [ 576, 577 ], [ 577, 578 ], [ 577, 579 ], [ 576, 580 ], [ 580, 581 ], [ 581, 582 ], [ 559, 583 ], [ 583, 584 ], [ 557, 585 ], [ 585, 586 ], [ 557, 587 ], [ 587, 588 ] ]
[ "import java.util.*;\nimport java.io.*;\nclass Main{\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n\n }\n static class OutputWriter {\n\t\tprivate final PrintWriter writer;\n \n\t\tpublic OutputWriter(OutputStream outputStream) {\n\t\t\twriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n\t\t}\n \n\t\tpublic OutputWriter(Writer writer) {\n\t\t\tthis.writer = new PrintWriter(writer);\n\t\t}\n \n\t\tpublic void print(Object...objects) {\n\t\t\tfor (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}\n\t\t}\n \n\t\tpublic void printLine(Object...objects) {\n\t\t\tprint(objects);\n\t\t\twriter.println();\n\t\t}\n \n\t\tpublic void close() {\n\t\t\twriter.close();\n\t\t}\n \n\t\tpublic void flush() {\n\t\t\twriter.flush();\n\t\t}\n \n\t\t}\n \n static class IOUtils {\n \n\t\tpublic static int[] readIntArray(InputReader in, int size) {\n int[] array = new int[size];\n for (int i = 0; i < size; i++)\n array[i] = in.nextInt();\n return array;\n }\n\n }\n static int gcd(int a, int b) \n { \n if (a == 0) \n return b; \n return gcd(b % a, a); \n } \n static int mod = (int)(1e9+7);\n public static long pow(long a,long b)\n {\n long ans = 1;\n while(b> 0)\n {\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }\n return ans;\n }\n\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n //IOUtils io = new IOUtils();\n int t = in.nextInt();\n out.printLine(t + pow(t,2) + pow(t,3));\n out.flush();\n out.close();\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "class Main{\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n\n }\n static class OutputWriter {\n\t\tprivate final PrintWriter writer;\n \n\t\tpublic OutputWriter(OutputStream outputStream) {\n\t\t\twriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n\t\t}\n \n\t\tpublic OutputWriter(Writer writer) {\n\t\t\tthis.writer = new PrintWriter(writer);\n\t\t}\n \n\t\tpublic void print(Object...objects) {\n\t\t\tfor (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}\n\t\t}\n \n\t\tpublic void printLine(Object...objects) {\n\t\t\tprint(objects);\n\t\t\twriter.println();\n\t\t}\n \n\t\tpublic void close() {\n\t\t\twriter.close();\n\t\t}\n \n\t\tpublic void flush() {\n\t\t\twriter.flush();\n\t\t}\n \n\t\t}\n \n static class IOUtils {\n \n\t\tpublic static int[] readIntArray(InputReader in, int size) {\n int[] array = new int[size];\n for (int i = 0; i < size; i++)\n array[i] = in.nextInt();\n return array;\n }\n\n }\n static int gcd(int a, int b) \n { \n if (a == 0) \n return b; \n return gcd(b % a, a); \n } \n static int mod = (int)(1e9+7);\n public static long pow(long a,long b)\n {\n long ans = 1;\n while(b> 0)\n {\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }\n return ans;\n }\n\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n //IOUtils io = new IOUtils();\n int t = in.nextInt();\n out.printLine(t + pow(t,2) + pow(t,3));\n out.flush();\n out.close();\n }\n}", "Main", "static int mod = (int)(1e9+7);", "mod", "(int)(1e9+7)", "1e9", "7", "static int gcd(int a, int b) \n { \n if (a == 0) \n return b; \n return gcd(b % a, a); \n }", "gcd", "{ \n if (a == 0) \n return b; \n return gcd(b % a, a); \n }", "if (a == 0) \n return b;", "a == 0", "a", "0", "return b;", "b", "return gcd(b % a, a);", "gcd(b % a, a)", "gcd", "b % a", "b", "a", "a", "int a", "a", "int b", "b", "public static long pow(long a,long b)\n {\n long ans = 1;\n while(b> 0)\n {\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }\n return ans;\n }", "pow", "{\n long ans = 1;\n while(b> 0)\n {\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }\n return ans;\n }", "long ans = 1;", "ans", "1", "while(b> 0)\n {\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }", "b> 0", "b", "0", "{\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }", "if((b & 1)==1){\n ans = (ans*a) % mod; \n }", "(b & 1)==1", "(b & 1)", "b", "1", "1", "{\n ans = (ans*a) % mod; \n }", "ans = (ans*a) % mod", "ans", "(ans*a) % mod", "(ans*a)", "ans", "a", "mod", "a = (a*a) % mod", "a", "(a*a) % mod", "(a*a)", "a", "a", "mod", "b = b>>1", "b", "b>>1", "b", "1", "return ans;", "ans", "long a", "a", "long b", "b", "public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n //IOUtils io = new IOUtils();\n int t = in.nextInt();\n out.printLine(t + pow(t,2) + pow(t,3));\n out.flush();\n out.close();\n }", "main", "{\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n //IOUtils io = new IOUtils();\n int t = in.nextInt();\n out.printLine(t + pow(t,2) + pow(t,3));\n out.flush();\n out.close();\n }", "InputReader in = new InputReader(System.in);", "in", "new InputReader(System.in)", "OutputWriter out = new OutputWriter(System.out);", "out", "new OutputWriter(System.out)", "int t = in.nextInt();", "t", "in.nextInt()", "in.nextInt", "in", "out.printLine(t + pow(t,2) + pow(t,3))", "out.printLine", "out", "t + pow(t,2) + pow(t,3)", "t + pow(t,2) + pow(t,3)", "t", "pow(t,2)", "pow", "t", "2", "pow(t,3)", "pow", "t", "3", "out.flush()", "out.flush", "out", "out.close()", "out.close", "out", "String[] args", "args", "static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n\n }", "InputReader", "private final InputStream stream;", "stream", "private final byte[] buf = new byte[8192];", "buf", "new byte[8192]", "8192", "private int curChar", "curChar", "snumChars;", "snumChars", "private 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 snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }", "snext", "{\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }", "if (snumChars == -1)\n throw new InputMismatchException();", "snumChars == -1", "snumChars", "-1", "1", "throw new InputMismatchException();", "new InputMismatchException()", "if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }", "curChar >= snumChars", "curChar", "snumChars", "{\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }", "curChar = 0", "curChar", "0", "try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }", "catch (IOException e) {\n throw new InputMismatchException();\n }", "IOException e", "{\n throw new InputMismatchException();\n }", "throw new InputMismatchException();", "new InputMismatchException()", "{\n snumChars = stream.read(buf);\n }", "snumChars = stream.read(buf)", "snumChars", "stream.read(buf)", "stream.read", "stream", "buf", "if (snumChars <= 0)\n return -1;", "snumChars <= 0", "snumChars", "0", "return -1;", "-1", "1", "return buf[curChar++];", "buf[curChar++]", "buf", "curChar++", "curChar", "public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "nextInt", "{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "int c = snext();", "c", "snext()", "snext", "while (isSpaceChar(c)) {\n c = snext();\n }", "isSpaceChar(c)", "isSpaceChar", "c", "{\n c = snext();\n }", "c = snext()", "c", "snext()", "snext", "int sgn = 1;", "sgn", "1", "if (c == '-') {\n sgn = -1;\n c = snext();\n }", "c == '-'", "c", "'-'", "{\n sgn = -1;\n c = snext();\n }", "sgn = -1", "sgn", "-1", "1", "c = snext()", "c", "snext()", "snext", "int res = 0;", "res", "0", "do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n }", "if (c < '0' || c > '9')\n throw new InputMismatchException();", "c < '0' || c > '9'", "c < '0'", "c", "'0'", "c > '9'", "c", "'9'", "throw new InputMismatchException();", "new InputMismatchException()", "res *= 10", "res", "10", "res += c - '0'", "res", "c - '0'", "c", "'0'", "c = snext()", "c", "snext()", "snext", "return res * sgn;", "res * sgn", "res", "sgn", "public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "nextLong", "{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "int c = snext();", "c", "snext()", "snext", "while (isSpaceChar(c)) {\n c = snext();\n }", "isSpaceChar(c)", "isSpaceChar", "c", "{\n c = snext();\n }", "c = snext()", "c", "snext()", "snext", "int sgn = 1;", "sgn", "1", "if (c == '-') {\n sgn = -1;\n c = snext();\n }", "c == '-'", "c", "'-'", "{\n sgn = -1;\n c = snext();\n }", "sgn = -1", "sgn", "-1", "1", "c = snext()", "c", "snext()", "snext", "long res = 0;", "res", "0", "do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n }", "if (c < '0' || c > '9')\n throw new InputMismatchException();", "c < '0' || c > '9'", "c < '0'", "c", "'0'", "c > '9'", "c", "'9'", "throw new InputMismatchException();", "new InputMismatchException()", "res *= 10", "res", "10", "res += c - '0'", "res", "c - '0'", "c", "'0'", "c = snext()", "c", "snext()", "snext", "return res * sgn;", "res * sgn", "res", "sgn", "public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }", "nextIntArray", "{\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }", "int a[] = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n a[i] = nextInt();\n }", "{\n a[i] = nextInt();\n }", "a[i] = nextInt()", "a[i]", "a", "i", "nextInt()", "nextInt", "return a;", "a", "int n", "n", "public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }", "readString", "{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }", "int c = snext();", "c", "snext()", "snext", "while (isSpaceChar(c)) {\n c = snext();\n }", "isSpaceChar(c)", "isSpaceChar", "c", "{\n c = snext();\n }", "c = snext()", "c", "snext()", "snext", "StringBuilder res = new StringBuilder();", "res", "new StringBuilder()", "do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n res.appendCodePoint(c);\n c = snext();\n }", "res.appendCodePoint(c)", "res.appendCodePoint", "res", "c", "c = snext()", "c", "snext()", "snext", "return res.toString();", "res.toString()", "res.toString", "res", "public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }", "nextLine", "{\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }", "int c = snext();", "c", "snext()", "snext", "while (isSpaceChar(c))\n c = snext();", "isSpaceChar(c)", "isSpaceChar", "c", "c = snext()", "c", "snext()", "snext", "StringBuilder res = new StringBuilder();", "res", "new StringBuilder()", "do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));", "!isEndOfLine(c)", "isEndOfLine(c)", "isEndOfLine", "c", "{\n res.appendCodePoint(c);\n c = snext();\n }", "res.appendCodePoint(c)", "res.appendCodePoint", "res", "c", "c = snext()", "c", "snext()", "snext", "return res.toString();", "res.toString()", "res.toString", "res", "public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "isSpaceChar", "{\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "if (filter != null)\n return filter.isSpaceChar(c);", "filter != null", "filter", "null", "return filter.isSpaceChar(c);", "filter.isSpaceChar(c)", "filter.isSpaceChar", "filter", "c", "return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == '\\t'", "c == '\\r'", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == ' '", "c", "' '", "c == '\\n'", "c", "'\\n'", "c == '\\r'", "c", "'\\r'", "c == '\\t'", "c", "'\\t'", "c == -1", "c", "-1", "1", "int c", "c", "private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }", "isEndOfLine", "{\n return c == '\\n' || c == '\\r' || c == -1;\n }", "return c == '\\n' || c == '\\r' || c == -1;", "c == '\\n' || c == '\\r' || c == -1", "c == '\\n' || c == '\\r' || c == -1", "c == '\\n'", "c", "'\\n'", "c == '\\r'", "c", "'\\r'", "c == -1", "c", "-1", "1", "int c", "c", "public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }", "SpaceCharFilter", "public boolean isSpaceChar(int ch);", "isSpaceChar", "int ch", "ch", "static class OutputWriter {\n\t\tprivate final PrintWriter writer;\n \n\t\tpublic OutputWriter(OutputStream outputStream) {\n\t\t\twriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n\t\t}\n \n\t\tpublic OutputWriter(Writer writer) {\n\t\t\tthis.writer = new PrintWriter(writer);\n\t\t}\n \n\t\tpublic void print(Object...objects) {\n\t\t\tfor (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}\n\t\t}\n \n\t\tpublic void printLine(Object...objects) {\n\t\t\tprint(objects);\n\t\t\twriter.println();\n\t\t}\n \n\t\tpublic void close() {\n\t\t\twriter.close();\n\t\t}\n \n\t\tpublic void flush() {\n\t\t\twriter.flush();\n\t\t}\n \n\t\t}", "OutputWriter", "private final PrintWriter writer;", "writer", "public OutputWriter(OutputStream outputStream) {\n\t\t\twriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n\t\t}", "OutputWriter", "{\n\t\t\twriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n\t\t}", "writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))", "writer", "new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))", "OutputStream outputStream", "outputStream", "public OutputWriter(Writer writer) {\n\t\t\tthis.writer = new PrintWriter(writer);\n\t\t}", "OutputWriter", "{\n\t\t\tthis.writer = new PrintWriter(writer);\n\t\t}", "this.writer = new PrintWriter(writer)", "this.writer", "this", "this.writer", "new PrintWriter(writer)", "Writer writer", "writer", "public void print(Object...objects) {\n\t\t\tfor (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}\n\t\t}", "print", "{\n\t\t\tfor (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}\n\t\t}", "for (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < objects.length", "i", "objects.length", "objects", "objects.length", "i++", "i++", "i", "{\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}", "{\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}", "if (i != 0)\n\t\t\t\t\twriter.print(' ');", "i != 0", "i", "0", "writer.print(' ')", "writer.print", "writer", "' '", "writer.print(objects[i])", "writer.print", "writer", "objects[i]", "objects", "i", "Object...objects", "objects", "public void printLine(Object...objects) {\n\t\t\tprint(objects);\n\t\t\twriter.println();\n\t\t}", "printLine", "{\n\t\t\tprint(objects);\n\t\t\twriter.println();\n\t\t}", "print(objects)", "print", "objects", "writer.println()", "writer.println", "writer", "Object...objects", "objects", "public void close() {\n\t\t\twriter.close();\n\t\t}", "close", "{\n\t\t\twriter.close();\n\t\t}", "writer.close()", "writer.close", "writer", "public void flush() {\n\t\t\twriter.flush();\n\t\t}", "flush", "{\n\t\t\twriter.flush();\n\t\t}", "writer.flush()", "writer.flush", "writer", "static class IOUtils {\n \n\t\tpublic static int[] readIntArray(InputReader in, int size) {\n int[] array = new int[size];\n for (int i = 0; i < size; i++)\n array[i] = in.nextInt();\n return array;\n }\n\n }", "IOUtils", "public static int[] readIntArray(InputReader in, int size) {\n int[] array = new int[size];\n for (int i = 0; i < size; i++)\n array[i] = in.nextInt();\n return array;\n }", "readIntArray", "{\n int[] array = new int[size];\n for (int i = 0; i < size; i++)\n array[i] = in.nextInt();\n return array;\n }", "int[] array = new int[size];", "array", "new int[size]", "size", "for (int i = 0; i < size; i++)\n array[i] = in.nextInt();", "int i = 0;", "int i = 0;", "i", "0", "i < size", "i", "size", "i++", "i++", "i", "array[i] = in.nextInt();", "array[i] = in.nextInt()", "array[i]", "array", "i", "in.nextInt()", "in.nextInt", "in", "return array;", "array", "InputReader in", "in", "int size", "size" ]
import java.util.*; import java.io.*; class Main{ static class InputReader { private final InputStream stream; private final byte[] buf = new byte[8192]; private int curChar, snumChars; private SpaceCharFilter filter; public InputReader(InputStream stream) { this.stream = stream; } public int snext() { if (snumChars == -1) throw new InputMismatchException(); if (curChar >= snumChars) { curChar = 0; try { snumChars = stream.read(buf); } catch (IOException e) { throw new InputMismatchException(); } if (snumChars <= 0) return -1; } return buf[curChar++]; } public int nextInt() { int c = snext(); while (isSpaceChar(c)) { c = snext(); } int sgn = 1; if (c == '-') { sgn = -1; c = snext(); } int res = 0; do { if (c < '0' || c > '9') throw new InputMismatchException(); res *= 10; res += c - '0'; c = snext(); } while (!isSpaceChar(c)); return res * sgn; } public long nextLong() { int c = snext(); while (isSpaceChar(c)) { c = snext(); } int sgn = 1; if (c == '-') { sgn = -1; c = snext(); } long res = 0; do { if (c < '0' || c > '9') throw new InputMismatchException(); res *= 10; res += c - '0'; c = snext(); } while (!isSpaceChar(c)); return res * sgn; } public int[] nextIntArray(int n) { int a[] = new int[n]; for (int i = 0; i < n; i++) { a[i] = nextInt(); } return a; } public String readString() { int c = snext(); while (isSpaceChar(c)) { c = snext(); } StringBuilder res = new StringBuilder(); do { res.appendCodePoint(c); c = snext(); } while (!isSpaceChar(c)); return res.toString(); } public String nextLine() { int c = snext(); while (isSpaceChar(c)) c = snext(); StringBuilder res = new StringBuilder(); do { res.appendCodePoint(c); c = snext(); } while (!isEndOfLine(c)); return res.toString(); } public boolean isSpaceChar(int c) { if (filter != null) return filter.isSpaceChar(c); return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1; } private boolean isEndOfLine(int c) { return c == '\n' || c == '\r' || c == -1; } public interface SpaceCharFilter { public boolean isSpaceChar(int ch); } } static class OutputWriter { private final PrintWriter writer; public OutputWriter(OutputStream outputStream) { writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream))); } public OutputWriter(Writer writer) { this.writer = new PrintWriter(writer); } public void print(Object...objects) { for (int i = 0; i < objects.length; i++) { if (i != 0) writer.print(' '); writer.print(objects[i]); } } public void printLine(Object...objects) { print(objects); writer.println(); } public void close() { writer.close(); } public void flush() { writer.flush(); } } static class IOUtils { public static int[] readIntArray(InputReader in, int size) { int[] array = new int[size]; for (int i = 0; i < size; i++) array[i] = in.nextInt(); return array; } } static int gcd(int a, int b) { if (a == 0) return b; return gcd(b % a, a); } static int mod = (int)(1e9+7); public static long pow(long a,long b) { long ans = 1; while(b> 0) { if((b & 1)==1){ ans = (ans*a) % mod; } a = (a*a) % mod; b = b>>1; } return ans; } public static void main(String[] args) { InputReader in = new InputReader(System.in); OutputWriter out = new OutputWriter(System.out); //IOUtils io = new IOUtils(); int t = in.nextInt(); out.printLine(t + pow(t,2) + pow(t,3)); out.flush(); out.close(); } }
[ 7, 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, 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 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 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 ], [ 8, 33 ], [ 33, 34 ], [ 34, 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.*;\n\npublic class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n int varA = Integer.parseInt(sc.next());\n int result = varA + varA * varA + varA * varA * varA;\n sc.close();\n System.out.println(result);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n int varA = Integer.parseInt(sc.next());\n int result = varA + varA * varA + varA * varA * varA;\n sc.close();\n System.out.println(result);\n }\n}", "Main", "public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n int varA = Integer.parseInt(sc.next());\n int result = varA + varA * varA + varA * varA * varA;\n sc.close();\n System.out.println(result);\n }", "main", "{\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n int varA = Integer.parseInt(sc.next());\n int result = varA + varA * varA + varA * varA * varA;\n sc.close();\n System.out.println(result);\n }", "final Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int varA = Integer.parseInt(sc.next());", "varA", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "int result = varA + varA * varA + varA * varA * varA;", "result", "varA + varA * varA + varA * varA * varA", "varA + varA * varA + varA * varA * varA", "varA", "varA * varA", "varA", "varA", "varA * varA * varA", "varA * varA * varA", "varA", "varA", "varA", "sc.close()", "sc.close", "sc", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "final String[] args", "args", "public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n int varA = Integer.parseInt(sc.next());\n int result = varA + varA * varA + varA * varA * varA;\n sc.close();\n System.out.println(result);\n }\n}", "public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n int varA = Integer.parseInt(sc.next());\n int result = varA + varA * varA + varA * varA * varA;\n sc.close();\n System.out.println(result);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(final String[] args) { final Scanner sc = new Scanner(System.in); // 整数の入力 // final int a = sc.nextInt(); // 文字列の入力 // final String s1 = sc.next(); int varA = Integer.parseInt(sc.next()); int result = varA + varA * varA + varA * varA * varA; sc.close(); System.out.println(result); } }
[ 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, 2, 17, 2, 13, 2, 17, 13, 4, 18, 18, 13, 13, 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, 29, 2, 2, 17, 13, 2, 13, 17, 23, 13, 12, 13, 30, 42, 2, 4, 13, 40, 4, 13, 18, 13, 13, 30, 40, 13, 29, 4, 13, 12, 13, 30, 14, 40, 4, 13, 30, 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, 30, 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, 40, 4, 13, 13, 30, 37, 20, 42, 17, 30, 14, 4, 13, 13, 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, 18, 13, 13, 13, 30, 37, 20, 29, 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 ], [ 305, 11 ], [ 305, 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 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 12, 40 ], [ 40, 41 ], [ 0, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 42, 49 ], [ 49, 50 ], [ 49, 51 ], [ 42, 53 ], [ 53, 54 ], [ 53, 55 ], [ 42, 56 ], [ 56, 57 ], [ 56, 58 ], [ 42, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 67, 68 ], [ 62, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 73, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 69, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 91, 92 ], [ 92, 93 ], [ 61, 94 ], [ 94, 95 ], [ 42, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 99, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 42, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 120, 122 ], [ 112, 123 ], [ 123, 124 ], [ 42, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 133, 134 ], [ 133, 135 ], [ 125, 136 ], [ 136, 137 ], [ 42, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 142, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 148, 150 ], [ 141, 151 ], [ 151, 152 ], [ 152, 153 ], [ 140, 154 ], [ 154, 155 ], [ 155, 156 ], [ 42, 157 ], [ 157, 158 ], [ 157, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 160, 164 ], [ 164, 165 ], [ 165, 166 ], [ 159, 167 ], [ 167, 168 ], [ 167, 169 ], [ 159, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 159, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 174, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 179, 182 ], [ 178, 183 ], [ 183, 184 ], [ 183, 185 ], [ 185, 186 ], [ 159, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 42, 191 ], [ 191, 192 ], [ 191, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 194, 198 ], [ 198, 199 ], [ 199, 200 ], [ 193, 201 ], [ 201, 202 ], [ 201, 203 ], [ 193, 204 ], [ 204, 205 ], [ 204, 206 ], [ 193, 207 ], [ 207, 208 ], [ 207, 209 ], [ 209, 210 ], [ 193, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 211, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 215, 219 ], [ 219, 220 ], [ 219, 221 ], [ 221, 222 ], [ 193, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 223, 228 ], [ 228, 229 ], [ 229, 230 ], [ 193, 231 ], [ 231, 232 ], [ 231, 233 ], [ 233, 234 ], [ 234, 235 ], [ 235, 236 ], [ 235, 237 ], [ 234, 238 ], [ 238, 239 ], [ 239, 240 ], [ 239, 241 ], [ 238, 242 ], [ 242, 243 ], [ 242, 244 ], [ 244, 245 ], [ 244, 246 ], [ 234, 247 ], [ 247, 248 ], [ 248, 249 ], [ 249, 250 ], [ 249, 251 ], [ 251, 252 ], [ 248, 253 ], [ 253, 254 ], [ 254, 255 ], [ 254, 256 ], [ 247, 257 ], [ 257, 258 ], [ 258, 259 ], [ 259, 260 ], [ 259, 261 ], [ 261, 262 ], [ 259, 263 ], [ 247, 264 ], [ 264, 265 ], [ 265, 266 ], [ 233, 267 ], [ 267, 268 ], [ 267, 269 ], [ 269, 270 ], [ 42, 271 ], [ 271, 272 ], [ 271, 273 ], [ 273, 274 ], [ 274, 275 ], [ 274, 276 ], [ 276, 277 ], [ 273, 278 ], [ 278, 279 ], [ 279, 280 ], [ 280, 281 ], [ 280, 282 ], [ 282, 283 ], [ 282, 284 ], [ 279, 285 ], [ 285, 286 ], [ 286, 287 ], [ 286, 288 ], [ 285, 289 ], [ 278, 290 ], [ 290, 291 ], [ 291, 292 ], [ 273, 293 ], [ 293, 294 ], [ 42, 295 ], [ 295, 296 ], [ 295, 297 ], [ 297, 298 ], [ 298, 299 ], [ 299, 300 ], [ 300, 301 ], [ 299, 302 ], [ 302, 303 ], [ 0, 304 ], [ 304, 305 ], [ 304, 306 ] ]
[ "import java.io.InputStream;\nimport java.io.IOException;\nimport java.util.NoSuchElementException;\n\npublic class Main {\n public static void main(String[] args) {\n final MyScanner sc = new MyScanner();\n final int a = sc.nextInt();\n final int answer = a * (1 + a * (1 + a));\n System.out.println(answer);\n }\n}\n\nclass MyScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int pointer = 0;\n private int bufLength = 0;\n\n private boolean hasNextByte() {\n if (pointer < bufLength) {\n return true;\n } else {\n pointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (bufLength <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte()) {\n return buffer[pointer++];\n } else {\n return -1;\n }\n }\n\n private static boolean isNumberChar(final int c) {\n return '0' <= c && c <= '9';\n }\n\n private static boolean isPrintableChar(final int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[pointer])) {\n pointer++;\n }\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long num = 0;\n boolean isNegative = false;\n int b = readByte();\n if (b == '-') {\n isNegative = true;\n b = readByte();\n }\n if (!isNumberChar(b)) {\n throw new NumberFormatException();\n }\n while (true) {\n if (isNumberChar(b)) {\n num *= 10;\n num += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return isNegative ? -num : num;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n final long temp = nextLong();\n if (temp < Integer.MIN_VALUE || Integer.MAX_VALUE < temp) {\n throw new NumberFormatException();\n }\n return (int) temp;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n}", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.util.NoSuchElementException;", "NoSuchElementException", "java.util", "public class Main {\n public static void main(String[] args) {\n final MyScanner sc = new MyScanner();\n final int a = sc.nextInt();\n final int answer = a * (1 + a * (1 + a));\n System.out.println(answer);\n }\n}", "Main", "public static void main(String[] args) {\n final MyScanner sc = new MyScanner();\n final int a = sc.nextInt();\n final int answer = a * (1 + a * (1 + a));\n System.out.println(answer);\n }", "main", "{\n final MyScanner sc = new MyScanner();\n final int a = sc.nextInt();\n final int answer = a * (1 + a * (1 + a));\n System.out.println(answer);\n }", "final MyScanner sc = new MyScanner();", "sc", "new MyScanner()", "final int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "final int answer = a * (1 + a * (1 + a));", "answer", "a * (1 + a * (1 + a))", "a", "(1 + a * (1 + a))", "1", "a * (1 + a)", "a", "(1 + a)", "1", "a", "System.out.println(answer)", "System.out.println", "System.out", "System", "System.out", "answer", "String[] args", "args", "class MyScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int pointer = 0;\n private int bufLength = 0;\n\n private boolean hasNextByte() {\n if (pointer < bufLength) {\n return true;\n } else {\n pointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (bufLength <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte()) {\n return buffer[pointer++];\n } else {\n return -1;\n }\n }\n\n private static boolean isNumberChar(final int c) {\n return '0' <= c && c <= '9';\n }\n\n private static boolean isPrintableChar(final int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[pointer])) {\n pointer++;\n }\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long num = 0;\n boolean isNegative = false;\n int b = readByte();\n if (b == '-') {\n isNegative = true;\n b = readByte();\n }\n if (!isNumberChar(b)) {\n throw new NumberFormatException();\n }\n while (true) {\n if (isNumberChar(b)) {\n num *= 10;\n num += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return isNegative ? -num : num;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n final long temp = nextLong();\n if (temp < Integer.MIN_VALUE || Integer.MAX_VALUE < temp) {\n throw new NumberFormatException();\n }\n return (int) temp;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n}", "MyScanner", "private final InputStream in = System.in;", "in", "System.in", "System", "System.in", "private final byte[] buffer = new byte[1024];", "buffer", "new byte[1024]", "1024", "private int pointer = 0;", "pointer", "0", "private int bufLength = 0;", "bufLength", "0", "private boolean hasNextByte() {\n if (pointer < bufLength) {\n return true;\n } else {\n pointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (bufLength <= 0) {\n return false;\n }\n }\n return true;\n }", "hasNextByte", "{\n if (pointer < bufLength) {\n return true;\n } else {\n pointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (bufLength <= 0) {\n return false;\n }\n }\n return true;\n }", "if (pointer < bufLength) {\n return true;\n } else {\n pointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (bufLength <= 0) {\n return false;\n }\n }", "pointer < bufLength", "pointer", "bufLength", "{\n return true;\n }", "return true;", "true", "{\n pointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (bufLength <= 0) {\n return false;\n }\n }", "pointer = 0", "pointer", "0", "try {\n bufLength = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }", "catch (final IOException e) {\n e.printStackTrace();\n }", "final IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n bufLength = in.read(buffer);\n }", "bufLength = in.read(buffer)", "bufLength", "in.read(buffer)", "in.read", "in", "buffer", "if (bufLength <= 0) {\n return false;\n }", "bufLength <= 0", "bufLength", "0", "{\n return false;\n }", "return false;", "false", "return true;", "true", "private int readByte() {\n if (hasNextByte()) {\n return buffer[pointer++];\n } else {\n return -1;\n }\n }", "readByte", "{\n if (hasNextByte()) {\n return buffer[pointer++];\n } else {\n return -1;\n }\n }", "if (hasNextByte()) {\n return buffer[pointer++];\n } else {\n return -1;\n }", "hasNextByte()", "hasNextByte", "{\n return buffer[pointer++];\n }", "return buffer[pointer++];", "buffer[pointer++]", "buffer", "pointer++", "pointer", "{\n return -1;\n }", "return -1;", "-1", "1", "private static boolean isNumberChar(final int c) {\n return '0' <= c && c <= '9';\n }", "isNumberChar", "{\n return '0' <= c && c <= '9';\n }", "return '0' <= c && c <= '9';", "'0' <= c && c <= '9'", "'0' <= c", "'0'", "c", "c <= '9'", "c", "'9'", "final int c", "c", "private static boolean isPrintableChar(final int c) {\n return 33 <= c && c <= 126;\n }", "isPrintableChar", "{\n return 33 <= c && c <= 126;\n }", "return 33 <= c && c <= 126;", "33 <= c && c <= 126", "33 <= c", "33", "c", "c <= 126", "c", "126", "final int c", "c", "public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[pointer])) {\n pointer++;\n }\n return hasNextByte();\n }", "hasNext", "{\n while (hasNextByte() && !isPrintableChar(buffer[pointer])) {\n pointer++;\n }\n return hasNextByte();\n }", "while (hasNextByte() && !isPrintableChar(buffer[pointer])) {\n pointer++;\n }", "hasNextByte() && !isPrintableChar(buffer[pointer])", "hasNextByte()", "hasNextByte", "!isPrintableChar(buffer[pointer])", "isPrintableChar(buffer[pointer])", "isPrintableChar", "buffer[pointer]", "buffer", "pointer", "{\n pointer++;\n }", "pointer++", "pointer", "return hasNextByte();", "hasNextByte()", "hasNextByte", "public String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }", "next", "{\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }", "if (!hasNext()) {\n throw new NoSuchElementException();\n }", "!hasNext()", "hasNext()", "hasNext", "{\n throw new NoSuchElementException();\n }", "throw new NoSuchElementException();", "new NoSuchElementException()", "final StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "int b = readByte();", "b", "readByte()", "readByte", "while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }", "isPrintableChar(b)", "isPrintableChar", "b", "{\n sb.appendCodePoint(b);\n b = readByte();\n }", "sb.appendCodePoint(b)", "sb.appendCodePoint", "sb", "b", "b = readByte()", "b", "readByte()", "readByte", "return sb.toString();", "sb.toString()", "sb.toString", "sb", "public long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long num = 0;\n boolean isNegative = false;\n int b = readByte();\n if (b == '-') {\n isNegative = true;\n b = readByte();\n }\n if (!isNumberChar(b)) {\n throw new NumberFormatException();\n }\n while (true) {\n if (isNumberChar(b)) {\n num *= 10;\n num += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return isNegative ? -num : num;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }", "nextLong", "{\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long num = 0;\n boolean isNegative = false;\n int b = readByte();\n if (b == '-') {\n isNegative = true;\n b = readByte();\n }\n if (!isNumberChar(b)) {\n throw new NumberFormatException();\n }\n while (true) {\n if (isNumberChar(b)) {\n num *= 10;\n num += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return isNegative ? -num : num;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }", "if (!hasNext()) {\n throw new NoSuchElementException();\n }", "!hasNext()", "hasNext()", "hasNext", "{\n throw new NoSuchElementException();\n }", "throw new NoSuchElementException();", "new NoSuchElementException()", "long num = 0;", "num", "0", "boolean isNegative = false;", "isNegative", "false", "int b = readByte();", "b", "readByte()", "readByte", "if (b == '-') {\n isNegative = true;\n b = readByte();\n }", "b == '-'", "b", "'-'", "{\n isNegative = true;\n b = readByte();\n }", "isNegative = true", "isNegative", "true", "b = readByte()", "b", "readByte()", "readByte", "if (!isNumberChar(b)) {\n throw new NumberFormatException();\n }", "!isNumberChar(b)", "isNumberChar(b)", "isNumberChar", "b", "{\n throw new NumberFormatException();\n }", "throw new NumberFormatException();", "new NumberFormatException()", "while (true) {\n if (isNumberChar(b)) {\n num *= 10;\n num += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return isNegative ? -num : num;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }", "true", "{\n if (isNumberChar(b)) {\n num *= 10;\n num += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return isNegative ? -num : num;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }", "if (isNumberChar(b)) {\n num *= 10;\n num += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return isNegative ? -num : num;\n } else {\n throw new NumberFormatException();\n }", "isNumberChar(b)", "isNumberChar", "b", "{\n num *= 10;\n num += b - '0';\n }", "num *= 10", "num", "10", "num += b - '0'", "num", "b - '0'", "b", "'0'", "if (b == -1 || !isPrintableChar(b)) {\n return isNegative ? -num : num;\n } else {\n throw new NumberFormatException();\n }", "b == -1 || !isPrintableChar(b)", "b == -1", "b", "-1", "1", "!isPrintableChar(b)", "isPrintableChar(b)", "isPrintableChar", "b", "{\n return isNegative ? -num : num;\n }", "return isNegative ? -num : num;", "isNegative ? -num : num", "isNegative", "-num", "num", "num", "{\n throw new NumberFormatException();\n }", "throw new NumberFormatException();", "new NumberFormatException()", "b = readByte()", "b", "readByte()", "readByte", "public int nextInt() {\n final long temp = nextLong();\n if (temp < Integer.MIN_VALUE || Integer.MAX_VALUE < temp) {\n throw new NumberFormatException();\n }\n return (int) temp;\n }", "nextInt", "{\n final long temp = nextLong();\n if (temp < Integer.MIN_VALUE || Integer.MAX_VALUE < temp) {\n throw new NumberFormatException();\n }\n return (int) temp;\n }", "final long temp = nextLong();", "temp", "nextLong()", "nextLong", "if (temp < Integer.MIN_VALUE || Integer.MAX_VALUE < temp) {\n throw new NumberFormatException();\n }", "temp < Integer.MIN_VALUE || Integer.MAX_VALUE < temp", "temp < Integer.MIN_VALUE", "temp", "Integer.MIN_VALUE", "Integer", "Integer.MIN_VALUE", "Integer.MAX_VALUE < temp", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "temp", "{\n throw new NumberFormatException();\n }", "throw new NumberFormatException();", "new NumberFormatException()", "return (int) temp;", "(int) temp", "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 class Main {\n public static void main(String[] args) {\n final MyScanner sc = new MyScanner();\n final int a = sc.nextInt();\n final int answer = a * (1 + a * (1 + a));\n System.out.println(answer);\n }\n}", "public class Main {\n public static void main(String[] args) {\n final MyScanner sc = new MyScanner();\n final int a = sc.nextInt();\n final int answer = a * (1 + a * (1 + a));\n System.out.println(answer);\n }\n}", "Main" ]
import java.io.InputStream; import java.io.IOException; import java.util.NoSuchElementException; public class Main { public static void main(String[] args) { final MyScanner sc = new MyScanner(); final int a = sc.nextInt(); final int answer = a * (1 + a * (1 + a)); System.out.println(answer); } } class MyScanner { private final InputStream in = System.in; private final byte[] buffer = new byte[1024]; private int pointer = 0; private int bufLength = 0; private boolean hasNextByte() { if (pointer < bufLength) { return true; } else { pointer = 0; try { bufLength = in.read(buffer); } catch (final IOException e) { e.printStackTrace(); } if (bufLength <= 0) { return false; } } return true; } private int readByte() { if (hasNextByte()) { return buffer[pointer++]; } else { return -1; } } private static boolean isNumberChar(final int c) { return '0' <= c && c <= '9'; } private static boolean isPrintableChar(final int c) { return 33 <= c && c <= 126; } public boolean hasNext() { while (hasNextByte() && !isPrintableChar(buffer[pointer])) { pointer++; } return hasNextByte(); } public String next() { if (!hasNext()) { throw new NoSuchElementException(); } final StringBuilder sb = new StringBuilder(); int b = readByte(); while (isPrintableChar(b)) { sb.appendCodePoint(b); b = readByte(); } return sb.toString(); } public long nextLong() { if (!hasNext()) { throw new NoSuchElementException(); } long num = 0; boolean isNegative = false; int b = readByte(); if (b == '-') { isNegative = true; b = readByte(); } if (!isNumberChar(b)) { throw new NumberFormatException(); } while (true) { if (isNumberChar(b)) { num *= 10; num += b - '0'; } else if (b == -1 || !isPrintableChar(b)) { return isNegative ? -num : num; } else { throw new NumberFormatException(); } b = readByte(); } } public int nextInt() { final long temp = nextLong(); if (temp < Integer.MIN_VALUE || Integer.MAX_VALUE < temp) { throw new NumberFormatException(); } return (int) temp; } public double nextDouble() { return Double.parseDouble(next()); } }
[ 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, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 45, 14 ], [ 45, 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 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 32, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 38, 38 ], [ 38, 39 ], [ 38, 40 ], [ 38, 41 ], [ 15, 42 ], [ 42, 43 ], [ 0, 44 ], [ 44, 45 ], [ 44, 46 ] ]
[ "import java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n System.out.println(a + a*a + a*a*a);\n }\n\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Collections;", "Collections", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n System.out.println(a + a*a + a*a*a);\n }\n\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n System.out.println(a + a*a + a*a*a);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n System.out.println(a + a*a + a*a*a);\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\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n System.out.println(a + a*a + a*a*a);\n }\n\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n System.out.println(a + a*a + a*a*a);\n }\n\n}", "Main" ]
import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; 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, 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 long a = sc.nextLong();\n long b = a*a;\n long c = a*a*a;\n System.out.println(a+b+c);\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 long a = sc.nextLong();\n long b = a*a;\n long c = a*a*a;\n System.out.println(a+b+c);\n }\n}", "Main", "public static void main(String[] args ){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = a*a;\n long c = a*a*a;\n System.out.println(a+b+c);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = a*a;\n long c = a*a*a;\n System.out.println(a+b+c);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = a*a;", "b", "a*a", "a", "a", "long 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 public static void main(String[] args ){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = a*a;\n long c = a*a*a;\n System.out.println(a+b+c);\n }\n}", "public class Main {\n public static void main(String[] args ){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = a*a;\n long c = a*a*a;\n System.out.println(a+b+c);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args ){ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = a*a; long c = a*a*a; System.out.println(a+b+c); } }
[ 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, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 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 ], [ 47, 11 ], [ 47, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 27, 31 ], [ 26, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 32, 36 ], [ 25, 37 ], [ 14, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 12, 44 ], [ 44, 45 ], [ 0, 46 ], [ 46, 47 ], [ 46, 48 ] ]
[ "import java.util.Scanner;\nimport java.util.Random;\nimport java.math.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n int a = sc.nextInt();\n\n int b=(int)(Math.pow(a,2)+Math.pow(a,3)+a);\n System.out.println(b);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Random;", "Random", "java.util", "import java.math.*;", "math.*", "java", "public class Main{\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n int a = sc.nextInt();\n\n int b=(int)(Math.pow(a,2)+Math.pow(a,3)+a);\n System.out.println(b);\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n int a = sc.nextInt();\n\n int b=(int)(Math.pow(a,2)+Math.pow(a,3)+a);\n System.out.println(b);\n }", "main", "{\n Scanner sc =new Scanner(System.in);\n int a = sc.nextInt();\n\n int b=(int)(Math.pow(a,2)+Math.pow(a,3)+a);\n System.out.println(b);\n }", "Scanner sc =new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b=(int)(Math.pow(a,2)+Math.pow(a,3)+a);", "b", "(int)(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", "a", "System.out.println(b)", "System.out.println", "System.out", "System", "System.out", "b", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n int a = sc.nextInt();\n\n int b=(int)(Math.pow(a,2)+Math.pow(a,3)+a);\n System.out.println(b);\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\n int b=(int)(Math.pow(a,2)+Math.pow(a,3)+a);\n System.out.println(b);\n }\n}", "Main" ]
import java.util.Scanner; import java.util.Random; import java.math.*; public class Main{ public static void main(String[] args){ Scanner sc =new Scanner(System.in); int a = sc.nextInt(); int b=(int)(Math.pow(a,2)+Math.pow(a,3)+a); System.out.println(b); } }
[ 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, 4, 18, 18, 13, 13, 2, 2, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 40, 5 ], [ 40, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 19, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 33, 33 ], [ 33, 34 ], [ 33, 35 ], [ 33, 36 ], [ 6, 37 ], [ 37, 38 ], [ 0, 39 ], [ 39, 40 ], [ 39, 41 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint a2 = a * a;\n\t\tint a3 = a2 * a;\n\t\tSystem.out.println(a + a2 + a3);\n\t}\n\t\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint a2 = a * a;\n\t\tint a3 = a2 * a;\n\t\tSystem.out.println(a + a2 + a3);\n\t}\n\t\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint a2 = a * a;\n\t\tint a3 = a2 * a;\n\t\tSystem.out.println(a + a2 + a3);\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint a2 = a * a;\n\t\tint a3 = a2 * a;\n\t\tSystem.out.println(a + a2 + a3);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int a2 = a * a;", "a2", "a * a", "a", "a", "int a3 = a2 * a;", "a3", "a2 * a", "a2", "a", "System.out.println(a + a2 + a3)", "System.out.println", "System.out", "System", "System.out", "a + a2 + a3", "a + a2 + a3", "a", "a2", "a3", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint a2 = a * a;\n\t\tint a3 = a2 * a;\n\t\tSystem.out.println(a + a2 + a3);\n\t}\n\t\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint a2 = a * a;\n\t\tint a3 = a2 * a;\n\t\tSystem.out.println(a + a2 + a3);\n\t}\n\t\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int a2 = a * a; int a3 = a2 * a; System.out.println(a + a2 + a3); } }
[ 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.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n System.out.println(a + (a * a) + (a * a * a));\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n System.out.println(a + (a * a) + (a * a * a));\n }\n}", "Main", "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n System.out.println(a + (a * a) + (a * a * a));\n }", "main", "{\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n System.out.println(a + (a * a) + (a * a * a));\n }", "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 public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n System.out.println(a + (a * a) + (a * a * a));\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n System.out.println(a + (a * a) + (a * a * a));\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(); System.out.println(a + (a * a) + (a * a * a)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 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 ], [ 44, 5 ], [ 44, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 23, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 25, 29 ], [ 23, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 30, 34 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 6, 41 ], [ 41, 42 ], [ 0, 43 ], [ 43, 44 ], [ 43, 45 ] ]
[ "import java.util.*;\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tint ans = 0;\n\t\tint in = s.nextInt();\n\t\tans = in+(int)Math.pow(in,2)+(int)Math.pow(in,3);\n\t\tSystem.out.print(ans);\t\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tint ans = 0;\n\t\tint in = s.nextInt();\n\t\tans = in+(int)Math.pow(in,2)+(int)Math.pow(in,3);\n\t\tSystem.out.print(ans);\t\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tint ans = 0;\n\t\tint in = s.nextInt();\n\t\tans = in+(int)Math.pow(in,2)+(int)Math.pow(in,3);\n\t\tSystem.out.print(ans);\t\n\t}", "main", "{\n\t\tScanner s = new Scanner(System.in);\n\t\tint ans = 0;\n\t\tint in = s.nextInt();\n\t\tans = in+(int)Math.pow(in,2)+(int)Math.pow(in,3);\n\t\tSystem.out.print(ans);\t\n\t}", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int ans = 0;", "ans", "0", "int in = s.nextInt();", "in", "s.nextInt()", "s.nextInt", "s", "ans = in+(int)Math.pow(in,2)+(int)Math.pow(in,3)", "ans", "in+(int)Math.pow(in,2)+(int)Math.pow(in,3)", "in+(int)Math.pow(in,2)+(int)Math.pow(in,3)", "in", "(int)Math.pow(in,2)", "Math.pow", "Math", "in", "2", "(int)Math.pow(in,3)", "Math.pow", "Math", "in", "3", "System.out.print(ans)", "System.out.print", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tint ans = 0;\n\t\tint in = s.nextInt();\n\t\tans = in+(int)Math.pow(in,2)+(int)Math.pow(in,3);\n\t\tSystem.out.print(ans);\t\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tint ans = 0;\n\t\tint in = s.nextInt();\n\t\tans = in+(int)Math.pow(in,2)+(int)Math.pow(in,3);\n\t\tSystem.out.print(ans);\t\n\t}\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner s = new Scanner(System.in); int ans = 0; int in = s.nextInt(); ans = in+(int)Math.pow(in,2)+(int)Math.pow(in,3); System.out.print(ans); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 4, 13, 2, 2, 13, 2, 13, 13, 2, 2, 13, 13, 13, 23, 13, 12, 13, 30, 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 ], [ 8, 17 ], [ 17, 18 ], [ 18, 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 ], [ 6, 33 ], [ 33, 34 ], [ 47, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 35, 44 ], [ 44, 45 ], [ 0, 46 ], [ 46, 47 ], [ 46, 48 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tsc.close();\n\t\tprtln(a + (a * a) + (a * a * a));\n\t}\n\n\tpublic static <T> void prtln(T t) { System.out.println(t); }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tsc.close();\n\t\tprtln(a + (a * a) + (a * a * a));\n\t}\n\n\tpublic static <T> void prtln(T t) { System.out.println(t); }\n}", "Main", "public static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tsc.close();\n\t\tprtln(a + (a * a) + (a * a * a));\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tsc.close();\n\t\tprtln(a + (a * a) + (a * a * a));\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "sc.close()", "sc.close", "sc", "prtln(a + (a * a) + (a * a * a))", "prtln", "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", "final String[] args", "args", "public static <T> void prtln(T t) { System.out.println(t); }", "prtln", "{ System.out.println(t); }", "System.out.println(t)", "System.out.println", "System.out", "System", "System.out", "t", "T t", "t", "public class Main {\n\n\tpublic static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tsc.close();\n\t\tprtln(a + (a * a) + (a * a * a));\n\t}\n\n\tpublic static <T> void prtln(T t) { System.out.println(t); }\n}", "public class Main {\n\n\tpublic static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tsc.close();\n\t\tprtln(a + (a * a) + (a * a * a));\n\t}\n\n\tpublic static <T> void prtln(T t) { System.out.println(t); }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(final String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); sc.close(); prtln(a + (a * a) + (a * a * a)); } public static <T> void prtln(T t) { System.out.println(t); } }
[ 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.*;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint square = a*a;\n\t\tint cube = a*a*a;\n\t\tint res = a + square + cube;\n\t\tSystem.out.println(res);\n\t}\n\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint square = a*a;\n\t\tint cube = a*a*a;\n\t\tint res = a + square + cube;\n\t\tSystem.out.println(res);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint square = a*a;\n\t\tint cube = a*a*a;\n\t\tint res = a + square + cube;\n\t\tSystem.out.println(res);\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint square = a*a;\n\t\tint cube = a*a*a;\n\t\tint res = a + square + cube;\n\t\tSystem.out.println(res);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int square = a*a;", "square", "a*a", "a", "a", "int cube = a*a*a;", "cube", "a*a*a", "a*a*a", "a", "a", "a", "int res = a + square + cube;", "res", "a + square + cube", "a + square + cube", "a", "square", "cube", "System.out.println(res)", "System.out.println", "System.out", "System", "System.out", "res", "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 sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint square = a*a;\n\t\tint cube = a*a*a;\n\t\tint res = a + square + cube;\n\t\tSystem.out.println(res);\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 sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint square = a*a;\n\t\tint cube = a*a*a;\n\t\tint res = a + square + cube;\n\t\tSystem.out.println(res);\n\t}\n\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int square = a*a; int cube = a*a*a; int res = a + square + cube; System.out.println(res); } }
[ 7, 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, 12, 13, 30, 42, 2, 13, 13, 30, 41, 13, 2, 2, 13, 13, 17, 14, 2, 18, 13, 13, 13, 0, 13, 2, 13, 17, 14, 2, 18, 13, 13, 13, 0, 13, 2, 13, 17, 29, 2, 13, 17, 29, 13, 23, 13, 23, 13, 23, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 182, 8 ], [ 182, 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 ], [ 24, 25 ], [ 23, 26 ], [ 27, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 11, 37 ], [ 37, 38 ], [ 38, 39 ], [ 9, 40 ], [ 40, 41 ], [ 182, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 49, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 57, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 57, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 68, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 68, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 44, 83 ], [ 83, 84 ], [ 42, 85 ], [ 85, 86 ], [ 42, 87 ], [ 87, 88 ], [ 42, 89 ], [ 89, 90 ], [ 42, 91 ], [ 91, 92 ], [ 182, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 93, 97 ], [ 97, 98 ], [ 93, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 93, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 109, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 108, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 118, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 107, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 93, 133 ], [ 133, 134 ], [ 133, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 137, 140 ], [ 140, 141 ], [ 93, 142 ], [ 142, 143 ], [ 142, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 146, 149 ], [ 149, 150 ], [ 93, 151 ], [ 151, 152 ], [ 151, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 155, 158 ], [ 158, 159 ], [ 93, 160 ], [ 160, 161 ], [ 160, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 166, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 176, 177 ], [ 177, 178 ], [ 162, 179 ], [ 179, 180 ], [ 0, 181 ], [ 181, 182 ], [ 181, 183 ] ]
[ "import java.util.*;\nimport java.io.*;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tFastReader in = new FastReader();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint a = in.nextInt();\n\t\tout.print(a+(a*a)+(a*a*a));\n\t\t\n\t\t\n\t\tout.close();\n\t\t\t\t\n }\n\tstatic int search(int[] time, int key, int low, int high) {\n\t\twhile(low<=high) {\n\t\t\tint mid = (low+high)/2;\n\t\t\tif(time[mid]>key) high = mid-1;\n\t\t\telse if(time[mid]<key) low = mid+1;\n\t\t\telse return mid+1;\n\t\t}\n\t\treturn low;\n\t}\n\n\tstatic 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\t\t\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tFastReader in = new FastReader();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint a = in.nextInt();\n\t\tout.print(a+(a*a)+(a*a*a));\n\t\t\n\t\t\n\t\tout.close();\n\t\t\t\t\n }\n\tstatic int search(int[] time, int key, int low, int high) {\n\t\twhile(low<=high) {\n\t\t\tint mid = (low+high)/2;\n\t\t\tif(time[mid]>key) high = mid-1;\n\t\t\telse if(time[mid]<key) low = mid+1;\n\t\t\telse return mid+1;\n\t\t}\n\t\treturn low;\n\t}\n\n\tstatic 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\t\t\n}", "Main", "public static void main(String[] args) {\n\t\tFastReader in = new FastReader();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint a = in.nextInt();\n\t\tout.print(a+(a*a)+(a*a*a));\n\t\t\n\t\t\n\t\tout.close();\n\t\t\t\t\n }", "main", "{\n\t\tFastReader in = new FastReader();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint a = in.nextInt();\n\t\tout.print(a+(a*a)+(a*a*a));\n\t\t\n\t\t\n\t\tout.close();\n\t\t\t\t\n }", "FastReader in = new FastReader();", "in", "new FastReader()", "PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "int a = in.nextInt();", "a", "in.nextInt()", "in.nextInt", "in", "out.print(a+(a*a)+(a*a*a))", "out.print", "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.close()", "out.close", "out", "String[] args", "args", "static int search(int[] time, int key, int low, int high) {\n\t\twhile(low<=high) {\n\t\t\tint mid = (low+high)/2;\n\t\t\tif(time[mid]>key) high = mid-1;\n\t\t\telse if(time[mid]<key) low = mid+1;\n\t\t\telse return mid+1;\n\t\t}\n\t\treturn low;\n\t}", "search", "{\n\t\twhile(low<=high) {\n\t\t\tint mid = (low+high)/2;\n\t\t\tif(time[mid]>key) high = mid-1;\n\t\t\telse if(time[mid]<key) low = mid+1;\n\t\t\telse return mid+1;\n\t\t}\n\t\treturn low;\n\t}", "while(low<=high) {\n\t\t\tint mid = (low+high)/2;\n\t\t\tif(time[mid]>key) high = mid-1;\n\t\t\telse if(time[mid]<key) low = mid+1;\n\t\t\telse return mid+1;\n\t\t}", "low<=high", "low", "high", "{\n\t\t\tint mid = (low+high)/2;\n\t\t\tif(time[mid]>key) high = mid-1;\n\t\t\telse if(time[mid]<key) low = mid+1;\n\t\t\telse return mid+1;\n\t\t}", "int mid = (low+high)/2;", "mid", "(low+high)/2", "(low+high)", "low", "high", "2", "if(time[mid]>key) high = mid-1;\n\t\t\telse if(time[mid]<key) low = mid+1;\n\t\t\telse return mid+1;", "time[mid]>key", "time[mid]", "time", "mid", "key", "high = mid-1", "high", "mid-1", "mid", "1", "if(time[mid]<key) low = mid+1;\n\t\t\telse return mid+1;", "time[mid]<key", "time[mid]", "time", "mid", "key", "low = mid+1", "low", "mid+1", "mid", "1", "return mid+1;", "mid+1", "mid", "1", "return low;", "low", "int[] time", "time", "int key", "key", "int low", "low", "int high", "high", "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\t\n\tpublic static void main(String[] args) {\n\t\tFastReader in = new FastReader();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint a = in.nextInt();\n\t\tout.print(a+(a*a)+(a*a*a));\n\t\t\n\t\t\n\t\tout.close();\n\t\t\t\t\n }\n\tstatic int search(int[] time, int key, int low, int high) {\n\t\twhile(low<=high) {\n\t\t\tint mid = (low+high)/2;\n\t\t\tif(time[mid]>key) high = mid-1;\n\t\t\telse if(time[mid]<key) low = mid+1;\n\t\t\telse return mid+1;\n\t\t}\n\t\treturn low;\n\t}\n\n\tstatic 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\t\t\n}", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tFastReader in = new FastReader();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint a = in.nextInt();\n\t\tout.print(a+(a*a)+(a*a*a));\n\t\t\n\t\t\n\t\tout.close();\n\t\t\t\t\n }\n\tstatic int search(int[] time, int key, int low, int high) {\n\t\twhile(low<=high) {\n\t\t\tint mid = (low+high)/2;\n\t\t\tif(time[mid]>key) high = mid-1;\n\t\t\telse if(time[mid]<key) low = mid+1;\n\t\t\telse return mid+1;\n\t\t}\n\t\treturn low;\n\t}\n\n\tstatic 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\t\t\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) { FastReader in = new FastReader(); PrintWriter out = new PrintWriter(System.out); int a = in.nextInt(); out.print(a+(a*a)+(a*a*a)); out.close(); } static int search(int[] time, int key, int low, int high) { while(low<=high) { int mid = (low+high)/2; if(time[mid]>key) high = mid-1; else if(time[mid]<key) low = mid+1; else return mid+1; } return low; } static class FastReader { BufferedReader br; StringTokenizer st; public FastReader() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while (st == null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } long nextLong() { return Long.parseLong(next()); } double nextDouble() { return Double.parseDouble(next()); } String nextLine() { String str = ""; try { str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } return str; } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 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 ], [ 48, 14 ], [ 48, 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 ], [ 0, 47 ], [ 47, 48 ], [ 47, 49 ] ]
[ "import java.util.Scanner;\nimport java.util.LinkedList;\nimport java.util.PriorityQueue;\nimport java.util.Queue;\n\npublic class Main {\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint a = sc.nextInt();\n\t\t\n\t\tint b = a + a*a + a*a*a;\n\t\t\n\t\tSystem.out.println(b);\n\t\t\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\tint a = sc.nextInt();\n\t\t\n\t\tint b = a + a*a + a*a*a;\n\t\t\n\t\tSystem.out.println(b);\n\t\t\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*a + a*a*a;\n\t\t\n\t\tSystem.out.println(b);\n\t\t\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*a + a*a*a;\n\t\t\n\t\tSystem.out.println(b);\n\t\t\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*a + a*a*a;", "b", "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(b)", "System.out.println", "System.out", "System", "System.out", "b", "String[] args", "args", "public class Main {\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint a = sc.nextInt();\n\t\t\n\t\tint b = a + a*a + a*a*a;\n\t\t\n\t\tSystem.out.println(b);\n\t\t\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\tint a = sc.nextInt();\n\t\t\n\t\tint b = a + a*a + a*a*a;\n\t\t\n\t\tSystem.out.println(b);\n\t\t\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); int a = sc.nextInt(); int b = a + a*a + a*a*a; System.out.println(b); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 4, 18, 13, 17, 13, 13, 4, 18, 13, 23, 13, 6, 13, 12, 13, 30, 41, 13, 4, 18, 13, 4, 18, 4, 18, 13, 2, 13, 2, 2, 2, 13, 17, 13, 17, 23, 13, 23, 13, 23, 13, 6, 13, 41, 13, 41, 13, 17, 41, 13, 17, 12, 13, 30, 0, 18, 36, 13, 13, 23, 13, 12, 13, 30, 4, 13, 20, 23, 13, 12, 13, 30, 38, 5, 13, 30, 37, 20, 30, 4, 18, 13, 13, 0, 13, 17, 29, 36, 23, 13, 12, 13, 30, 38, 5, 13, 30, 37, 20, 30, 4, 18, 13, 13, 17, 4, 18, 13, 0, 13, 17, 29, 36, 23, 13, 12, 13, 30, 14, 40, 13, 30, 4, 13, 17, 29, 4, 13, 13, 23, 13, 12, 13, 30, 29, 4, 13, 4, 18, 13, 13, 23, 13, 12, 13, 30, 4, 13, 4, 18, 13, 0, 13, 17, 14, 13, 30, 38, 5, 13, 30, 37, 20, 30, 4, 18, 13, 29, 36, 12, 13, 30, 38, 5, 13, 30, 37, 20, 30, 4, 18, 13, 13, 6, 13, 41, 13, 17, 41, 13, 17, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 38, 5, 13, 30, 37, 20, 30, 4, 18, 18, 36, 13, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 25, 26 ], [ 25, 27 ], [ 0, 28 ], [ 28, 29 ], [ 28, 30 ], [ 0, 31 ], [ 31, 32 ], [ 31, 33 ], [ 0, 34 ], [ 34, 35 ], [ 34, 36 ], [ 0, 37 ], [ 37, 38 ], [ 37, 39 ], [ 0, 40 ], [ 40, 41 ], [ 40, 42 ], [ 0, 43 ], [ 319, 44 ], [ 319, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 47, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 47, 58 ], [ 58, 59 ], [ 58, 60 ], [ 47, 61 ], [ 61, 62 ], [ 61, 63 ], [ 47, 64 ], [ 64, 65 ], [ 64, 66 ], [ 47, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 67, 71 ], [ 67, 72 ], [ 47, 73 ], [ 73, 74 ], [ 74, 75 ], [ 45, 76 ], [ 76, 77 ], [ 319, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 82, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 95, 101 ], [ 80, 102 ], [ 102, 103 ], [ 80, 104 ], [ 104, 105 ], [ 80, 106 ], [ 106, 107 ], [ 319, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 108, 112 ], [ 112, 113 ], [ 112, 114 ], [ 108, 115 ], [ 115, 116 ], [ 115, 117 ], [ 108, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 118, 126 ], [ 126, 127 ], [ 108, 128 ], [ 128, 129 ], [ 128, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 128, 134 ], [ 134, 135 ], [ 108, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 139, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 146, 149 ], [ 145, 150 ], [ 150, 151 ], [ 150, 152 ], [ 138, 153 ], [ 153, 154 ], [ 136, 155 ], [ 155, 156 ], [ 108, 157 ], [ 157, 158 ], [ 157, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 163, 164 ], [ 164, 165 ], [ 160, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 167, 170 ], [ 167, 171 ], [ 167, 172 ], [ 172, 173 ], [ 173, 174 ], [ 166, 175 ], [ 175, 176 ], [ 175, 177 ], [ 159, 178 ], [ 178, 179 ], [ 157, 180 ], [ 180, 181 ], [ 108, 182 ], [ 182, 183 ], [ 182, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 185, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 184, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 182, 196 ], [ 196, 197 ], [ 108, 198 ], [ 198, 199 ], [ 198, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 202, 204 ], [ 204, 205 ], [ 205, 206 ], [ 204, 207 ], [ 198, 208 ], [ 208, 209 ], [ 108, 210 ], [ 210, 211 ], [ 210, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 215, 216 ], [ 216, 217 ], [ 212, 218 ], [ 218, 219 ], [ 218, 220 ], [ 212, 221 ], [ 221, 222 ], [ 221, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 227, 228 ], [ 228, 229 ], [ 224, 230 ], [ 230, 231 ], [ 231, 232 ], [ 232, 233 ], [ 212, 234 ], [ 234, 235 ], [ 108, 236 ], [ 236, 237 ], [ 236, 238 ], [ 238, 239 ], [ 239, 240 ], [ 240, 241 ], [ 240, 242 ], [ 242, 243 ], [ 243, 244 ], [ 239, 245 ], [ 245, 246 ], [ 246, 247 ], [ 247, 248 ], [ 108, 249 ], [ 319, 250 ], [ 250, 251 ], [ 250, 252 ], [ 252, 253 ], [ 252, 254 ], [ 250, 255 ], [ 255, 256 ], [ 255, 257 ], [ 250, 258 ], [ 258, 259 ], [ 258, 260 ], [ 260, 261 ], [ 261, 262 ], [ 261, 263 ], [ 258, 264 ], [ 264, 265 ], [ 250, 266 ], [ 266, 267 ], [ 266, 268 ], [ 268, 269 ], [ 269, 270 ], [ 270, 271 ], [ 271, 272 ], [ 271, 273 ], [ 270, 274 ], [ 274, 275 ], [ 275, 276 ], [ 276, 277 ], [ 269, 278 ], [ 278, 279 ], [ 279, 280 ], [ 280, 281 ], [ 280, 282 ], [ 282, 283 ], [ 283, 284 ], [ 279, 285 ], [ 285, 286 ], [ 286, 287 ], [ 286, 288 ], [ 268, 289 ], [ 289, 290 ], [ 290, 291 ], [ 291, 292 ], [ 250, 293 ], [ 293, 294 ], [ 293, 295 ], [ 295, 296 ], [ 296, 297 ], [ 297, 298 ], [ 298, 299 ], [ 297, 300 ], [ 300, 301 ], [ 250, 302 ], [ 302, 303 ], [ 302, 304 ], [ 304, 305 ], [ 305, 306 ], [ 306, 307 ], [ 306, 308 ], [ 308, 309 ], [ 309, 310 ], [ 305, 311 ], [ 311, 312 ], [ 312, 313 ], [ 313, 314 ], [ 314, 315 ], [ 314, 316 ], [ 250, 317 ], [ 0, 318 ], [ 318, 319 ], [ 318, 320 ] ]
[ "import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.BufferedOutputStream;\nimport java.io.UncheckedIOException;\nimport java.nio.charset.Charset;\nimport java.util.StringTokenizer;\nimport java.io.Writer;\nimport java.io.OutputStreamWriter;\nimport java.io.BufferedReader;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author mikit\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n ACalc solver = new ACalc();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACalc {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n long a = in.longs();\n out.ans(a * ((a + 1) * a + 1)).ln();\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ans(long l) {\n return ans(Long.toString(l));\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long longs() {\n return Long.parseLong(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}\n", "import java.io.OutputStream;", "OutputStream", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.OutputStream;", "OutputStream", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.BufferedOutputStream;", "BufferedOutputStream", "java.io", "import java.io.UncheckedIOException;", "UncheckedIOException", "java.io", "import java.nio.charset.Charset;", "Charset", "java.nio.charset", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "import java.io.Writer;", "Writer", "java.io", "import java.io.OutputStreamWriter;", "OutputStreamWriter", "java.io", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n ACalc solver = new ACalc();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACalc {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n long a = in.longs();\n out.ans(a * ((a + 1) * a + 1)).ln();\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ans(long l) {\n return ans(Long.toString(l));\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long longs() {\n return Long.parseLong(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n 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 LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(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", "LightScanner in = new LightScanner(inputStream);", "in", "new LightScanner(inputStream)", "LightWriter out = new LightWriter(outputStream);", "out", "new LightWriter(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 public void solve(int testNumber, LightScanner in, LightWriter out) {\n long a = in.longs();\n out.ans(a * ((a + 1) * a + 1)).ln();\n }\n\n }", "ACalc", "public void solve(int testNumber, LightScanner in, LightWriter out) {\n long a = in.longs();\n out.ans(a * ((a + 1) * a + 1)).ln();\n }", "solve", "{\n long a = in.longs();\n out.ans(a * ((a + 1) * a + 1)).ln();\n }", "long a = in.longs();", "a", "in.longs()", "in.longs", "in", "out.ans(a * ((a + 1) * a + 1)).ln()", "out.ans(a * ((a + 1) * a + 1)).ln", "out.ans(a * ((a + 1) * a + 1))", "out.ans", "out", "a * ((a + 1) * a + 1)", "a", "((a + 1) * a + 1)", "(a + 1) * a", "(a + 1)", "a", "1", "a", "1", "int testNumber", "testNumber", "LightScanner in", "in", "LightWriter out", "out", "static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ans(long l) {\n return ans(Long.toString(l));\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }", "LightWriter", "private final Writer out;", "out", "private boolean autoflush = false;", "autoflush", "false", "private boolean breaked = true;", "breaked", "true", "public LightWriter(Writer out) {\n this.out = out;\n }", "LightWriter", "{\n this.out = out;\n }", "this.out = out", "this.out", "this", "this.out", "out", "Writer out", "out", "public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }", "LightWriter", "{\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }", "this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()))", "this", "new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset())", "OutputStream out", "out", "public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }", "print", "{\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }", "try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }", "catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }", "IOException ex", "{\n throw new UncheckedIOException(ex);\n }", "throw new UncheckedIOException(ex);", "new UncheckedIOException(ex)", "{\n out.write(c);\n breaked = false;\n }", "out.write(c)", "out.write", "out", "c", "breaked = false", "breaked", "false", "return this;", "this", "char c", "c", "public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }", "print", "{\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }", "try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }", "catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }", "IOException ex", "{\n throw new UncheckedIOException(ex);\n }", "throw new UncheckedIOException(ex);", "new UncheckedIOException(ex)", "{\n out.write(s, 0, s.length());\n breaked = false;\n }", "out.write(s, 0, s.length())", "out.write", "out", "s", "0", "s.length()", "s.length", "s", "breaked = false", "breaked", "false", "return this;", "this", "String s", "s", "public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }", "ans", "{\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }", "if (!breaked) {\n print(' ');\n }", "!breaked", "breaked", "{\n print(' ');\n }", "print(' ')", "print", "' '", "return print(s);", "print(s)", "print", "s", "String s", "s", "public LightWriter ans(long l) {\n return ans(Long.toString(l));\n }", "ans", "{\n return ans(Long.toString(l));\n }", "return ans(Long.toString(l));", "ans(Long.toString(l))", "ans", "Long.toString(l)", "Long.toString", "Long", "l", "long l", "l", "public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }", "ln", "{\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }", "print(System.lineSeparator())", "print", "System.lineSeparator()", "System.lineSeparator", "System", "breaked = true", "breaked", "true", "if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }", "autoflush", "{\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }", "try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }", "catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }", "IOException ex", "{\n throw new UncheckedIOException(ex);\n }", "throw new UncheckedIOException(ex);", "new UncheckedIOException(ex)", "{\n out.flush();\n }", "out.flush()", "out.flush", "out", "return this;", "this", "public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }", "close", "{\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }", "try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }", "catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }", "IOException ex", "{\n throw new UncheckedIOException(ex);\n }", "throw new UncheckedIOException(ex);", "new UncheckedIOException(ex)", "{\n out.close();\n }", "out.close()", "out.close", "out", "AutoCloseable", "static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long longs() {\n return Long.parseLong(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }", "LightScanner", "private BufferedReader reader = null;", "reader", "null", "private StringTokenizer tokenizer = null;", "tokenizer", "null", "public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }", "LightScanner", "{\n reader = new BufferedReader(new InputStreamReader(in));\n }", "reader = new BufferedReader(new InputStreamReader(in))", "reader", "new BufferedReader(new InputStreamReader(in))", "InputStream in", "in", "public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }", "string", "{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }", "while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }", "tokenizer == null || !tokenizer.hasMoreTokens()", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }", "try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }", "catch (IOException e) {\n throw new UncheckedIOException(e);\n }", "IOException e", "{\n throw new UncheckedIOException(e);\n }", "throw new UncheckedIOException(e);", "new UncheckedIOException(e)", "{\n tokenizer = new StringTokenizer(reader.readLine());\n }", "tokenizer = new StringTokenizer(reader.readLine())", "tokenizer", "new StringTokenizer(reader.readLine())", "return tokenizer.nextToken();", "tokenizer.nextToken()", "tokenizer.nextToken", "tokenizer", "public long longs() {\n return Long.parseLong(string());\n }", "longs", "{\n return Long.parseLong(string());\n }", "return Long.parseLong(string());", "Long.parseLong(string())", "Long.parseLong", "Long", "string()", "string", "public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }", "close", "{\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }", "try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }", "catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }", "IOException ex", "{\n throw new UncheckedIOException(ex);\n }", "throw new UncheckedIOException(ex);", "new UncheckedIOException(ex)", "{\n this.reader.close();\n }", "this.reader.close()", "this.reader.close", "this.reader", "this", "this.reader", "AutoCloseable", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n ACalc solver = new ACalc();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACalc {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n long a = in.longs();\n out.ans(a * ((a + 1) * a + 1)).ln();\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ans(long l) {\n return ans(Long.toString(l));\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long longs() {\n return Long.parseLong(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n ACalc solver = new ACalc();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACalc {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n long a = in.longs();\n out.ans(a * ((a + 1) * a + 1)).ln();\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ans(long l) {\n return ans(Long.toString(l));\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long longs() {\n return Long.parseLong(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}", "Main" ]
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.BufferedOutputStream; import java.io.UncheckedIOException; import java.nio.charset.Charset; import java.util.StringTokenizer; import java.io.Writer; import java.io.OutputStreamWriter; import java.io.BufferedReader; import java.io.InputStream; /** * Built using CHelper plug-in * Actual solution is at the top * * @author mikit */ public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; LightScanner in = new LightScanner(inputStream); LightWriter out = new LightWriter(outputStream); ACalc solver = new ACalc(); solver.solve(1, in, out); out.close(); } static class ACalc { public void solve(int testNumber, LightScanner in, LightWriter out) { long a = in.longs(); out.ans(a * ((a + 1) * a + 1)).ln(); } } static class LightWriter implements AutoCloseable { private final Writer out; private boolean autoflush = false; private boolean breaked = true; public LightWriter(Writer out) { this.out = out; } public LightWriter(OutputStream out) { this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset())); } public LightWriter print(char c) { try { out.write(c); breaked = false; } catch (IOException ex) { throw new UncheckedIOException(ex); } return this; } public LightWriter print(String s) { try { out.write(s, 0, s.length()); breaked = false; } catch (IOException ex) { throw new UncheckedIOException(ex); } return this; } public LightWriter ans(String s) { if (!breaked) { print(' '); } return print(s); } public LightWriter ans(long l) { return ans(Long.toString(l)); } public LightWriter ln() { print(System.lineSeparator()); breaked = true; if (autoflush) { try { out.flush(); } catch (IOException ex) { throw new UncheckedIOException(ex); } } return this; } public void close() { try { out.close(); } catch (IOException ex) { throw new UncheckedIOException(ex); } } } static class LightScanner implements AutoCloseable { private BufferedReader reader = null; private StringTokenizer tokenizer = null; public LightScanner(InputStream in) { reader = new BufferedReader(new InputStreamReader(in)); } public String string() { while (tokenizer == null || !tokenizer.hasMoreTokens()) { try { tokenizer = new StringTokenizer(reader.readLine()); } catch (IOException e) { throw new UncheckedIOException(e); } } return tokenizer.nextToken(); } public long longs() { return Long.parseLong(string()); } public void close() { try { this.reader.close(); } catch (IOException ex) { throw new UncheckedIOException(ex); } } } }
[ 7, 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, 10, 6, 13 ]
[ [ 0, 1 ], [ 30, 2 ], [ 30, 3 ], [ 3, 4 ], [ 3, 5 ], [ 5, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 5, 11 ], [ 11, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 11, 16 ], [ 17, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 19, 21 ], [ 17, 22 ], [ 23, 23 ], [ 23, 24 ], [ 23, 25 ], [ 23, 26 ], [ 3, 27 ], [ 27, 28 ], [ 0, 29 ], [ 29, 30 ], [ 29, 31 ] ]
[ "public class Main{\n public static void main(String[] args){\n int a = new java.util.Scanner(System.in).nextInt();\n System.out.println(a+a*a+a*a*a);\n }\n}", "public class Main{\n public static void main(String[] args){\n int a = new java.util.Scanner(System.in).nextInt();\n System.out.println(a+a*a+a*a*a);\n }\n}", "Main", "public static void main(String[] args){\n int a = new java.util.Scanner(System.in).nextInt();\n System.out.println(a+a*a+a*a*a);\n }", "main", "{\n int a = new java.util.Scanner(System.in).nextInt();\n System.out.println(a+a*a+a*a*a);\n }", "int a = new java.util.Scanner(System.in).nextInt();", "a", "new java.util.Scanner(System.in).nextInt()", "new java.util.Scanner(System.in).nextInt", "new java.util.Scanner(System.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 public static void main(String[] args){\n int a = new java.util.Scanner(System.in).nextInt();\n System.out.println(a+a*a+a*a*a);\n }\n}", "public class Main{\n public static void main(String[] args){\n int a = new java.util.Scanner(System.in).nextInt();\n System.out.println(a+a*a+a*a*a);\n }\n}", "Main" ]
public class Main{ public static void main(String[] args){ int a = new java.util.Scanner(System.in).nextInt(); System.out.println(a+a*a+a*a*a); } }
[ 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, 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, 2, 2, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 13, 23, 13, 23, 13, 23, 13, 6, 13, 41, 13, 41, 13, 20, 17, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 40, 17, 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, 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, 29, 2, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 40, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 250, 23 ], [ 250, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 26, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 26, 37 ], [ 37, 38 ], [ 37, 39 ], [ 26, 40 ], [ 40, 41 ], [ 40, 42 ], [ 26, 43 ], [ 43, 44 ], [ 43, 45 ], [ 26, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 46, 50 ], [ 46, 51 ], [ 26, 52 ], [ 52, 53 ], [ 53, 54 ], [ 24, 55 ], [ 55, 56 ], [ 250, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 72, 76 ], [ 71, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 77, 81 ], [ 70, 82 ], [ 59, 83 ], [ 83, 84 ], [ 59, 85 ], [ 85, 86 ], [ 59, 87 ], [ 87, 88 ], [ 250, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 89, 93 ], [ 93, 94 ], [ 93, 95 ], [ 89, 97 ], [ 97, 98 ], [ 89, 99 ], [ 99, 100 ], [ 89, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 101, 109 ], [ 109, 110 ], [ 89, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 114, 119 ], [ 119, 120 ], [ 120, 121 ], [ 113, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 126, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 134, 135 ], [ 130, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 140, 141 ], [ 139, 142 ], [ 126, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 143, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 113, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 89, 156 ], [ 156, 157 ], [ 156, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 161, 162 ], [ 158, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 158, 171 ], [ 171, 172 ], [ 171, 173 ], [ 158, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 174, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 181, 182 ], [ 178, 183 ], [ 183, 184 ], [ 183, 185 ], [ 185, 186 ], [ 158, 187 ], [ 187, 188 ], [ 187, 189 ], [ 158, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 190, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 197, 201 ], [ 201, 202 ], [ 201, 203 ], [ 196, 204 ], [ 204, 205 ], [ 205, 206 ], [ 195, 207 ], [ 207, 208 ], [ 207, 209 ], [ 195, 210 ], [ 210, 211 ], [ 210, 212 ], [ 212, 213 ], [ 212, 214 ], [ 195, 215 ], [ 215, 216 ], [ 215, 217 ], [ 217, 218 ], [ 158, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 89, 223 ], [ 223, 224 ], [ 223, 225 ], [ 225, 226 ], [ 226, 227 ], [ 230, 228 ], [ 240, 229 ], [ 237, 230 ], [ 230, 231 ], [ 231, 232 ], [ 231, 233 ], [ 230, 234 ], [ 234, 235 ], [ 234, 236 ], [ 237, 237 ], [ 237, 238 ], [ 237, 239 ], [ 240, 240 ], [ 240, 241 ], [ 240, 242 ], [ 230, 243 ], [ 243, 244 ], [ 243, 245 ], [ 245, 246 ], [ 223, 247 ], [ 247, 248 ], [ 0, 249 ], [ 249, 250 ], [ 249, 251 ] ]
[ "import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\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 *\n * @author Pradyumn Agrawal (coderbond007)\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ACalc solver = new ACalc();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACalc {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n long a = in.nextLong();\n out.println((long) (Math.pow(a, 2) + Math.pow(a, 3) + a));\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[8192];\n private int curChar;\n private int pnumChars;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n private int pread() {\n if (pnumChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= pnumChars) {\n curChar = 0;\n try {\n pnumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (pnumChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public long nextLong() {\n int c = pread();\n while (isSpaceChar(c))\n c = pread();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = pread();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = pread();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n private boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\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.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 FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ACalc solver = new ACalc();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACalc {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n long a = in.nextLong();\n out.println((long) (Math.pow(a, 2) + Math.pow(a, 3) + a));\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[8192];\n private int curChar;\n private int pnumChars;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n private int pread() {\n if (pnumChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= pnumChars) {\n curChar = 0;\n try {\n pnumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (pnumChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public long nextLong() {\n int c = pread();\n while (isSpaceChar(c))\n c = pread();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = pread();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = pread();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n private boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n 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 FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(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", "FastReader in = new FastReader(inputStream);", "in", "new FastReader(inputStream)", "PrintWriter out = new PrintWriter(outputStream);", "out", "new PrintWriter(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 public void solve(int testNumber, FastReader in, PrintWriter out) {\n long a = in.nextLong();\n out.println((long) (Math.pow(a, 2) + Math.pow(a, 3) + a));\n }\n\n }", "ACalc", "public void solve(int testNumber, FastReader in, PrintWriter out) {\n long a = in.nextLong();\n out.println((long) (Math.pow(a, 2) + Math.pow(a, 3) + a));\n }", "solve", "{\n long a = in.nextLong();\n out.println((long) (Math.pow(a, 2) + Math.pow(a, 3) + a));\n }", "long a = in.nextLong();", "a", "in.nextLong()", "in.nextLong", "in", "out.println((long) (Math.pow(a, 2) + Math.pow(a, 3) + a))", "out.println", "out", "(long) (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", "a", "int testNumber", "testNumber", "FastReader in", "in", "PrintWriter out", "out", "static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[8192];\n private int curChar;\n private int pnumChars;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n private int pread() {\n if (pnumChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= pnumChars) {\n curChar = 0;\n try {\n pnumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (pnumChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public long nextLong() {\n int c = pread();\n while (isSpaceChar(c))\n c = pread();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = pread();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = pread();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n private boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n }", "FastReader", "private InputStream stream;", "stream", "private byte[] buf = new byte[8192];", "buf", "new byte[8192]", "8192", "private int curChar;", "curChar", "private int pnumChars;", "pnumChars", "public FastReader(InputStream stream) {\n this.stream = stream;\n }", "FastReader", "{\n this.stream = stream;\n }", "this.stream = stream", "this.stream", "this", "this.stream", "stream", "InputStream stream", "stream", "private int pread() {\n if (pnumChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= pnumChars) {\n curChar = 0;\n try {\n pnumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (pnumChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }", "pread", "{\n if (pnumChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= pnumChars) {\n curChar = 0;\n try {\n pnumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (pnumChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }", "if (pnumChars == -1) {\n throw new InputMismatchException();\n }", "pnumChars == -1", "pnumChars", "-1", "1", "{\n throw new InputMismatchException();\n }", "throw new InputMismatchException();", "new InputMismatchException()", "if (curChar >= pnumChars) {\n curChar = 0;\n try {\n pnumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (pnumChars <= 0) {\n return -1;\n }\n }", "curChar >= pnumChars", "curChar", "pnumChars", "{\n curChar = 0;\n try {\n pnumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (pnumChars <= 0) {\n return -1;\n }\n }", "curChar = 0", "curChar", "0", "try {\n pnumChars = 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 pnumChars = stream.read(buf);\n }", "pnumChars = stream.read(buf)", "pnumChars", "stream.read(buf)", "stream.read", "stream", "buf", "if (pnumChars <= 0) {\n return -1;\n }", "pnumChars <= 0", "pnumChars", "0", "{\n return -1;\n }", "return -1;", "-1", "1", "return buf[curChar++];", "buf[curChar++]", "buf", "curChar++", "curChar", "public long nextLong() {\n int c = pread();\n while (isSpaceChar(c))\n c = pread();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = pread();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = pread();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "nextLong", "{\n int c = pread();\n while (isSpaceChar(c))\n c = pread();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = pread();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = pread();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "int c = pread();", "c", "pread()", "pread", "while (isSpaceChar(c))\n c = pread();", "isSpaceChar(c)", "isSpaceChar", "c", "c = pread()", "c", "pread()", "pread", "int sgn = 1;", "sgn", "1", "if (c == '-') {\n sgn = -1;\n c = pread();\n }", "c == '-'", "c", "'-'", "{\n sgn = -1;\n c = pread();\n }", "sgn = -1", "sgn", "-1", "1", "c = pread()", "c", "pread()", "pread", "long 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 = pread();\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 = pread();\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 = pread()", "c", "pread()", "pread", "return res * sgn;", "res * sgn", "res", "sgn", "private boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "isSpaceChar", "{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == '\\t'", "c == '\\r'", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == ' '", "c", "' '", "c == '\\n'", "c", "'\\n'", "c == '\\r'", "c", "'\\r'", "c == '\\t'", "c", "'\\t'", "c == -1", "c", "-1", "1", "int c", "c", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ACalc solver = new ACalc();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACalc {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n long a = in.nextLong();\n out.println((long) (Math.pow(a, 2) + Math.pow(a, 3) + a));\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[8192];\n private int curChar;\n private int pnumChars;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n private int pread() {\n if (pnumChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= pnumChars) {\n curChar = 0;\n try {\n pnumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (pnumChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public long nextLong() {\n int c = pread();\n while (isSpaceChar(c))\n c = pread();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = pread();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = pread();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n private boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ACalc solver = new ACalc();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACalc {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n long a = in.nextLong();\n out.println((long) (Math.pow(a, 2) + Math.pow(a, 3) + a));\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[8192];\n private int curChar;\n private int pnumChars;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n private int pread() {\n if (pnumChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= pnumChars) {\n curChar = 0;\n try {\n pnumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (pnumChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public long nextLong() {\n int c = pread();\n while (isSpaceChar(c))\n c = pread();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = pread();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = pread();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n private boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n }\n}", "Main" ]
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.InputMismatchException; import java.io.IOException; import java.io.InputStream; /** * Built using CHelper plug-in * Actual solution is at the top * * @author Pradyumn Agrawal (coderbond007) */ public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; FastReader in = new FastReader(inputStream); PrintWriter out = new PrintWriter(outputStream); ACalc solver = new ACalc(); solver.solve(1, in, out); out.close(); } static class ACalc { public void solve(int testNumber, FastReader in, PrintWriter out) { long a = in.nextLong(); out.println((long) (Math.pow(a, 2) + Math.pow(a, 3) + a)); } } static class FastReader { private InputStream stream; private byte[] buf = new byte[8192]; private int curChar; private int pnumChars; public FastReader(InputStream stream) { this.stream = stream; } private int pread() { if (pnumChars == -1) { throw new InputMismatchException(); } if (curChar >= pnumChars) { curChar = 0; try { pnumChars = stream.read(buf); } catch (IOException e) { throw new InputMismatchException(); } if (pnumChars <= 0) { return -1; } } return buf[curChar++]; } public long nextLong() { int c = pread(); while (isSpaceChar(c)) c = pread(); int sgn = 1; if (c == '-') { sgn = -1; c = pread(); } long res = 0; do { if (c < '0' || c > '9') { throw new InputMismatchException(); } res *= 10; res += c - '0'; c = pread(); } while (!isSpaceChar(c)); return res * sgn; } private boolean isSpaceChar(int c) { return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1; } } }
[ 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, 4, 18, 18, 13, 13, 2, 2, 13, 2, 13, 13, 2, 2, 13, 13, 13, 23, 13, 6, 13, 41, 13, 17, 41, 13, 17, 12, 13, 30, 0, 13, 20, 0, 13, 17, 23, 13, 12, 13, 30, 14, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 14, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 29, 4, 18, 13, 29, 4, 18, 13, 17, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 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 ], [ 208, 17 ], [ 208, 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 ], [ 18, 45 ], [ 45, 46 ], [ 208, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 47, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 55, 64 ], [ 64, 65 ], [ 47, 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 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 79, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 68, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 47, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 96, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 110, 111 ], [ 106, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 95, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 118, 121 ], [ 47, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 126, 129 ], [ 129, 130 ], [ 47, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 135, 138 ], [ 138, 139 ], [ 47, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 144, 147 ], [ 147, 148 ], [ 47, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 151, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 156, 161 ], [ 161, 162 ], [ 161, 163 ], [ 156, 164 ], [ 164, 165 ], [ 165, 166 ], [ 156, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 168, 172 ], [ 172, 173 ], [ 151, 174 ], [ 174, 175 ], [ 149, 176 ], [ 176, 177 ], [ 47, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 180, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 185, 190 ], [ 190, 191 ], [ 190, 192 ], [ 185, 193 ], [ 193, 194 ], [ 194, 195 ], [ 185, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 197, 201 ], [ 201, 202 ], [ 180, 203 ], [ 203, 204 ], [ 178, 205 ], [ 205, 206 ], [ 0, 207 ], [ 207, 208 ], [ 207, 209 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n private static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n int a = sc.nextInt();\n System.out.println(a + a * a + a * a * a);\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n private static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n int a = sc.nextInt();\n System.out.println(a + a * a + a * a * a);\n }\n}", "Main", "public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n int a = sc.nextInt();\n System.out.println(a + a * a + a * a * a);\n }", "main", "{\n FastScanner sc = new FastScanner(System.in);\n int a = sc.nextInt();\n System.out.println(a + a * a + a * a * a);\n }", "FastScanner sc = new FastScanner(System.in);", "sc", "new FastScanner(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", "private static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }", "FastScanner", "private BufferedReader reader = null;", "reader", "null", "private StringTokenizer tokenizer = null;", "tokenizer", "null", "public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }", "FastScanner", "{\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }", "reader = new BufferedReader(new InputStreamReader(in))", "reader", "new BufferedReader(new InputStreamReader(in))", "tokenizer = null", "tokenizer", "null", "InputStream in", "in", "public String next() {\n if (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 if (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 }", "if (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 String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }", "nextLine", "{\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }", "if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return 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 return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "try {\n return 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 return reader.readLine();\n }", "return reader.readLine();", "reader.readLine()", "reader.readLine", "reader", "return tokenizer.nextToken(\"\\n\");", "tokenizer.nextToken(\"\\n\")", "tokenizer.nextToken", "tokenizer", "\"\\n\"", "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 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 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 int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }", "nextIntArray", "{\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }", "int[] a = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++)\n a[i] = nextInt();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = nextInt();", "a[i] = nextInt()", "a[i]", "a", "i", "nextInt()", "nextInt", "return a;", "a", "int n", "n", "public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }", "nextLongArray", "{\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }", "long[] a = new long[n];", "a", "new long[n]", "n", "for (int i = 0; i < n; i++)\n a[i] = nextLong();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = nextLong();", "a[i] = nextLong()", "a[i]", "a", "i", "nextLong()", "nextLong", "return a;", "a", "int n", "n", "public class Main {\n private static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n int a = sc.nextInt();\n System.out.println(a + a * a + a * a * a);\n }\n}", "public class Main {\n private static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n int a = sc.nextInt();\n System.out.println(a + a * a + a * a * a);\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { private static class FastScanner { private BufferedReader reader = null; private StringTokenizer tokenizer = null; public FastScanner(InputStream in) { reader = new BufferedReader(new InputStreamReader(in)); tokenizer = null; } public String next() { if (tokenizer == null || !tokenizer.hasMoreTokens()) { try { tokenizer = new StringTokenizer(reader.readLine()); } catch (IOException e) { throw new RuntimeException(e); } } return tokenizer.nextToken(); } public String nextLine() { if (tokenizer == null || !tokenizer.hasMoreTokens()) { try { return reader.readLine(); } catch (IOException e) { throw new RuntimeException(e); } } return tokenizer.nextToken("\n"); } public long nextLong() { return Long.parseLong(next()); } public int nextInt() { return Integer.parseInt(next()); } public double nextDouble() { return Double.parseDouble(next()); } public int[] nextIntArray(int n) { int[] a = new int[n]; for (int i = 0; i < n; i++) a[i] = nextInt(); return a; } public long[] nextLongArray(int n) { long[] a = new long[n]; for (int i = 0; i < n; i++) a[i] = nextLong(); return a; } } public static void main(String[] args) { FastScanner sc = new FastScanner(System.in); int a = sc.nextInt(); 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, 20, 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, 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 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 23, 24 ], [ 24, 25 ], [ 11, 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 ], [ 11, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 11, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 9, 49 ], [ 49, 50 ] ]
[ "import java.io.*;\nimport java.util.*;\n\nclass Main{\n public static void main(String[] args) throws Exception {\n BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n long n = Integer.parseInt(buffer.readLine());\n long sum = n + n*n + n*n*n;\n sb.append(sum);\n System.out.println(sb);\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "class Main{\n public static void main(String[] args) throws Exception {\n BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n long n = Integer.parseInt(buffer.readLine());\n long sum = n + n*n + n*n*n;\n sb.append(sum);\n System.out.println(sb);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n long n = Integer.parseInt(buffer.readLine());\n long sum = n + n*n + n*n*n;\n sb.append(sum);\n System.out.println(sb);\n }", "main", "{\n BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n long n = Integer.parseInt(buffer.readLine());\n long sum = n + n*n + n*n*n;\n sb.append(sum);\n System.out.println(sb);\n }", "BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));", "buffer", "new BufferedReader(new InputStreamReader(System.in))", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "long n = Integer.parseInt(buffer.readLine());", "n", "Integer.parseInt(buffer.readLine())", "Integer.parseInt", "Integer", "buffer.readLine()", "buffer.readLine", "buffer", "long sum = n + n*n + n*n*n;", "sum", "n + n*n + n*n*n", "n + n*n + n*n*n", "n", "n*n", "n", "n", "n*n*n", "n*n*n", "n", "n", "n", "sb.append(sum)", "sb.append", "sb", "sum", "System.out.println(sb)", "System.out.println", "System.out", "System", "System.out", "sb", "String[] args", "args" ]
import java.io.*; import java.util.*; class Main{ public static void main(String[] args) throws Exception { BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); long n = Integer.parseInt(buffer.readLine()); long sum = n + n*n + n*n*n; sb.append(sum); System.out.println(sb); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 0, 13, 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, 17, 41, 13, 17, 12, 13, 30, 0, 13, 20, 0, 13, 17, 23, 13, 12, 13, 30, 14, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 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 ], [ 111, 17 ], [ 111, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 20, 32 ], [ 32, 33 ], [ 32, 34 ], [ 35, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 37, 41 ], [ 35, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 42, 46 ], [ 20, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 18, 53 ], [ 53, 54 ], [ 111, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 60, 61 ], [ 60, 62 ], [ 55, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 69, 70 ], [ 69, 71 ], [ 63, 72 ], [ 72, 73 ], [ 55, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 77, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 87, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 76, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 55, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 108, 109 ], [ 0, 110 ], [ 110, 111 ], [ 110, 112 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tint a = sc.nextInt();\n\t\tint ans = 0;\n\n\t\tans = a + (int)Math.pow(a, 2) + (int)Math.pow(a, 3);\n\n\t\tSystem.out.println(ans);\n\t}\n\n\tprivate static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tint a = sc.nextInt();\n\t\tint ans = 0;\n\n\t\tans = a + (int)Math.pow(a, 2) + (int)Math.pow(a, 3);\n\n\t\tSystem.out.println(ans);\n\t}\n\n\tprivate static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tint a = sc.nextInt();\n\t\tint ans = 0;\n\n\t\tans = a + (int)Math.pow(a, 2) + (int)Math.pow(a, 3);\n\n\t\tSystem.out.println(ans);\n\t}", "main", "{\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tint a = sc.nextInt();\n\t\tint ans = 0;\n\n\t\tans = a + (int)Math.pow(a, 2) + (int)Math.pow(a, 3);\n\n\t\tSystem.out.println(ans);\n\t}", "FastScanner sc = new FastScanner(System.in);", "sc", "new FastScanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int ans = 0;", "ans", "0", "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", "private static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t}", "FastScanner", "private BufferedReader reader = null;", "reader", "null", "private StringTokenizer tokenizer = null;", "tokenizer", "null", "public FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}", "FastScanner", "{\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}", "reader = new BufferedReader(new InputStreamReader(in))", "reader", "new BufferedReader(new InputStreamReader(in))", "tokenizer = null", "tokenizer", "null", "InputStream in", "in", "public String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}", "next", "{\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}", "if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}", "tokenizer == null || !tokenizer.hasMoreTokens()", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "{\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}", "try {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}", "catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}", "IOException e", "{\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t}", "tokenizer = new StringTokenizer(reader.readLine())", "tokenizer", "new StringTokenizer(reader.readLine())", "return tokenizer.nextToken();", "tokenizer.nextToken()", "tokenizer.nextToken", "tokenizer", "public 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", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tint a = sc.nextInt();\n\t\tint ans = 0;\n\n\t\tans = a + (int)Math.pow(a, 2) + (int)Math.pow(a, 3);\n\n\t\tSystem.out.println(ans);\n\t}\n\n\tprivate static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tint a = sc.nextInt();\n\t\tint ans = 0;\n\n\t\tans = a + (int)Math.pow(a, 2) + (int)Math.pow(a, 3);\n\n\t\tSystem.out.println(ans);\n\t}\n\n\tprivate static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) { FastScanner sc = new FastScanner(System.in); int a = sc.nextInt(); int ans = 0; ans = a + (int)Math.pow(a, 2) + (int)Math.pow(a, 3); System.out.println(ans); } private static class FastScanner { private BufferedReader reader = null; private StringTokenizer tokenizer = null; public FastScanner(InputStream in) { reader = new BufferedReader(new InputStreamReader(in)); tokenizer = null; } public String next() { if (tokenizer == null || !tokenizer.hasMoreTokens()) { try { tokenizer = new StringTokenizer(reader.readLine()); } catch (IOException e) { throw new RuntimeException(e); } } return tokenizer.nextToken(); } public int nextInt() { return Integer.parseInt(next()); } } }
[ 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.*;\n\npublic class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tint A = keyboard.nextInt();\n\t\t\t\n\t\tSystem.out.println(A + A*A + A*A*A);\n\t\tkeyboard.close();\t\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tint A = keyboard.nextInt();\n\t\t\t\n\t\tSystem.out.println(A + A*A + A*A*A);\n\t\tkeyboard.close();\t\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tint A = keyboard.nextInt();\n\t\t\t\n\t\tSystem.out.println(A + A*A + A*A*A);\n\t\tkeyboard.close();\t\n\t}", "main", "{\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tint A = keyboard.nextInt();\n\t\t\t\n\t\tSystem.out.println(A + A*A + A*A*A);\n\t\tkeyboard.close();\t\n\t}", "Scanner keyboard = new Scanner(System.in);", "keyboard", "new Scanner(System.in)", "int A = keyboard.nextInt();", "A", "keyboard.nextInt()", "keyboard.nextInt", "keyboard", "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", "keyboard.close()", "keyboard.close", "keyboard", "String[] args", "args", "public class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tint A = keyboard.nextInt();\n\t\t\t\n\t\tSystem.out.println(A + A*A + A*A*A);\n\t\tkeyboard.close();\t\n\t}\n}", "public class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tint A = keyboard.nextInt();\n\t\t\t\n\t\tSystem.out.println(A + A*A + A*A*A);\n\t\tkeyboard.close();\t\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner keyboard = new Scanner(System.in); int A = keyboard.nextInt(); System.out.println(A + A*A + A*A*A); keyboard.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 2, 2, 13, 2, 13, 13, 2, 2, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 20, 28, 13, 13, 30, 4, 18, 13, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 18, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 171, 20 ], [ 171, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 23, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 38, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 44, 44 ], [ 44, 45 ], [ 44, 46 ], [ 44, 47 ], [ 21, 48 ], [ 48, 49 ], [ 171, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 56, 58 ], [ 56, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 52, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 52, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 75, 77 ], [ 68, 78 ], [ 78, 79 ], [ 79, 80 ], [ 68, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 50, 90 ], [ 90, 91 ], [ 171, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 92, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 103, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 108, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 102, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 92, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 127, 130 ], [ 130, 131 ], [ 92, 132 ], [ 132, 133 ], [ 132, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 139, 144 ], [ 144, 145 ], [ 144, 146 ], [ 139, 147 ], [ 147, 148 ], [ 148, 149 ], [ 139, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 151, 155 ], [ 155, 156 ], [ 134, 157 ], [ 157, 158 ], [ 132, 159 ], [ 159, 160 ], [ 92, 161 ], [ 161, 162 ], [ 161, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 165, 168 ], [ 168, 169 ], [ 0, 170 ], [ 170, 171 ], [ 170, 172 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.StringTokenizer;\n\npublic class Main{\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int a = fs.nextInt();\n System.out.println(a + a*a + a*a*a);\n }\n\n static void sort(int[] a){\n ArrayList<Integer>l = new ArrayList<>();\n for(int i: a)\n l.add(i);\n Collections.sort(l);\n for(int i = 0; i < a.length; i++)\n a[i] = l.get(i);\n }\n\n static class FastScanner{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n String next(){\n while(!st.hasMoreTokens())\n try{\n st = new StringTokenizer(br.readLine());\n } catch(IOException e){\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt(){\n return Integer.parseInt(next());\n }\n int[] readArray(int n){\n int[] a = new int[n];\n for(int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n long nextLong(){\n return Long.parseLong(next());\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Collections;", "Collections", "java.util", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main{\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int a = fs.nextInt();\n System.out.println(a + a*a + a*a*a);\n }\n\n static void sort(int[] a){\n ArrayList<Integer>l = new ArrayList<>();\n for(int i: a)\n l.add(i);\n Collections.sort(l);\n for(int i = 0; i < a.length; i++)\n a[i] = l.get(i);\n }\n\n static class FastScanner{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n String next(){\n while(!st.hasMoreTokens())\n try{\n st = new StringTokenizer(br.readLine());\n } catch(IOException e){\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt(){\n return Integer.parseInt(next());\n }\n int[] readArray(int n){\n int[] a = new int[n];\n for(int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n long nextLong(){\n return Long.parseLong(next());\n }\n }\n}", "Main", "public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int a = fs.nextInt();\n System.out.println(a + a*a + a*a*a);\n }", "main", "{\n FastScanner fs = new FastScanner();\n int a = fs.nextInt();\n System.out.println(a + a*a + a*a*a);\n }", "FastScanner fs = new FastScanner();", "fs", "new FastScanner()", "int a = fs.nextInt();", "a", "fs.nextInt()", "fs.nextInt", "fs", "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", "static void sort(int[] a){\n ArrayList<Integer>l = new ArrayList<>();\n for(int i: a)\n l.add(i);\n Collections.sort(l);\n for(int i = 0; i < a.length; i++)\n a[i] = l.get(i);\n }", "sort", "{\n ArrayList<Integer>l = new ArrayList<>();\n for(int i: a)\n l.add(i);\n Collections.sort(l);\n for(int i = 0; i < a.length; i++)\n a[i] = l.get(i);\n }", "ArrayList<Integer>l = new ArrayList<>();", "l", "new ArrayList<>()", "for(int i: a)\n l.add(i);", "int i", "a", "l.add(i);", "l.add(i)", "l.add", "l", "i", "Collections.sort(l)", "Collections.sort", "Collections", "l", "for(int i = 0; i < a.length; i++)\n a[i] = l.get(i);", "int i = 0;", "int i = 0;", "i", "0", "i < a.length", "i", "a.length", "a", "a.length", "i++", "i++", "i", "a[i] = l.get(i);", "a[i] = l.get(i)", "a[i]", "a", "i", "l.get(i)", "l.get", "l", "i", "int[] a", "a", "static class FastScanner{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n String next(){\n while(!st.hasMoreTokens())\n try{\n st = new StringTokenizer(br.readLine());\n } catch(IOException e){\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt(){\n return Integer.parseInt(next());\n }\n int[] readArray(int n){\n int[] a = new int[n];\n for(int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n long nextLong(){\n return Long.parseLong(next());\n }\n }", "FastScanner", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringTokenizer st = new StringTokenizer(\"\");", "st", "new StringTokenizer(\"\")", "String next(){\n while(!st.hasMoreTokens())\n try{\n st = new StringTokenizer(br.readLine());\n } catch(IOException e){\n e.printStackTrace();\n }\n return st.nextToken();\n }", "next", "{\n while(!st.hasMoreTokens())\n try{\n st = new StringTokenizer(br.readLine());\n } catch(IOException e){\n e.printStackTrace();\n }\n return st.nextToken();\n }", "while(!st.hasMoreTokens())\n try{\n st = new StringTokenizer(br.readLine());\n } catch(IOException e){\n e.printStackTrace();\n }", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "try{\n st = new StringTokenizer(br.readLine());\n } catch(IOException e){\n e.printStackTrace();\n }", "catch(IOException e){\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt(){\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "int[] readArray(int n){\n int[] a = new int[n];\n for(int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }", "readArray", "{\n int[] a = new int[n];\n for(int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }", "int[] a = new int[n];", "a", "new int[n]", "n", "for(int i = 0; i < n; i++)\n a[i] = nextInt();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = nextInt();", "a[i] = nextInt()", "a[i]", "a", "i", "nextInt()", "nextInt", "return a;", "a", "int n", "n", "long nextLong(){\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public class Main{\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int a = fs.nextInt();\n System.out.println(a + a*a + a*a*a);\n }\n\n static void sort(int[] a){\n ArrayList<Integer>l = new ArrayList<>();\n for(int i: a)\n l.add(i);\n Collections.sort(l);\n for(int i = 0; i < a.length; i++)\n a[i] = l.get(i);\n }\n\n static class FastScanner{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n String next(){\n while(!st.hasMoreTokens())\n try{\n st = new StringTokenizer(br.readLine());\n } catch(IOException e){\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt(){\n return Integer.parseInt(next());\n }\n int[] readArray(int n){\n int[] a = new int[n];\n for(int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n long nextLong(){\n return Long.parseLong(next());\n }\n }\n}", "public class Main{\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int a = fs.nextInt();\n System.out.println(a + a*a + a*a*a);\n }\n\n static void sort(int[] a){\n ArrayList<Integer>l = new ArrayList<>();\n for(int i: a)\n l.add(i);\n Collections.sort(l);\n for(int i = 0; i < a.length; i++)\n a[i] = l.get(i);\n }\n\n static class FastScanner{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n String next(){\n while(!st.hasMoreTokens())\n try{\n st = new StringTokenizer(br.readLine());\n } catch(IOException e){\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt(){\n return Integer.parseInt(next());\n }\n int[] readArray(int n){\n int[] a = new int[n];\n for(int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n long nextLong(){\n return Long.parseLong(next());\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Collections; import java.util.StringTokenizer; public class Main{ public static void main(String[] args) { FastScanner fs = new FastScanner(); int a = fs.nextInt(); System.out.println(a + a*a + a*a*a); } static void sort(int[] a){ ArrayList<Integer>l = new ArrayList<>(); for(int i: a) l.add(i); Collections.sort(l); for(int i = 0; i < a.length; i++) a[i] = l.get(i); } 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, 4, 18, 13, 41, 13, 2, 2, 13, 13, 13, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 13, 2, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 62, 5 ], [ 62, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 44, 50 ], [ 50, 51 ], [ 50, 52 ], [ 8, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 6, 59 ], [ 59, 60 ], [ 0, 61 ], [ 61, 62 ], [ 61, 63 ] ]
[ "//package gfg;\nimport java.io.*;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\tint t=Integer.parseInt(br.readLine().trim());\n\tint res=(t*t*t);\n\tint r=res;\n\tfor(int i=0;i<2;i++) {\n\t\tres=(res/t);\n\t\tr+=res;\n\t}\n\tSystem.out.println(r);\n\t\n\t\n\t}\n\t\n\t\n\t\n\t\n\t\n\t\n\n}", "import java.io.*;", "io.*", "java", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\tint t=Integer.parseInt(br.readLine().trim());\n\tint res=(t*t*t);\n\tint r=res;\n\tfor(int i=0;i<2;i++) {\n\t\tres=(res/t);\n\t\tr+=res;\n\t}\n\tSystem.out.println(r);\n\t\n\t\n\t}\n\t\n\t\n\t\n\t\n\t\n\t\n\n}", "Main", "public static void main(String[] args) throws Exception {\n\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\tint t=Integer.parseInt(br.readLine().trim());\n\tint res=(t*t*t);\n\tint r=res;\n\tfor(int i=0;i<2;i++) {\n\t\tres=(res/t);\n\t\tr+=res;\n\t}\n\tSystem.out.println(r);\n\t\n\t\n\t}", "main", "{\n\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\tint t=Integer.parseInt(br.readLine().trim());\n\tint res=(t*t*t);\n\tint r=res;\n\tfor(int i=0;i<2;i++) {\n\t\tres=(res/t);\n\t\tr+=res;\n\t}\n\tSystem.out.println(r);\n\t\n\t\n\t}", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int t=Integer.parseInt(br.readLine().trim());", "t", "Integer.parseInt(br.readLine().trim())", "Integer.parseInt", "Integer", "br.readLine().trim()", "br.readLine().trim", "br.readLine()", "br.readLine", "br", "int res=(t*t*t);", "res", "(t*t*t)", "t*t*t", "t", "t", "t", "int r=res;", "r", "res", "for(int i=0;i<2;i++) {\n\t\tres=(res/t);\n\t\tr+=res;\n\t}", "int i=0;", "int i=0;", "i", "0", "i<2", "i", "2", "i++", "i++", "i", "{\n\t\tres=(res/t);\n\t\tr+=res;\n\t}", "{\n\t\tres=(res/t);\n\t\tr+=res;\n\t}", "res=(res/t)", "res", "(res/t)", "res", "t", "r+=res", "r", "res", "System.out.println(r)", "System.out.println", "System.out", "System", "System.out", "r", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\tint t=Integer.parseInt(br.readLine().trim());\n\tint res=(t*t*t);\n\tint r=res;\n\tfor(int i=0;i<2;i++) {\n\t\tres=(res/t);\n\t\tr+=res;\n\t}\n\tSystem.out.println(r);\n\t\n\t\n\t}\n\t\n\t\n\t\n\t\n\t\n\t\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\tint t=Integer.parseInt(br.readLine().trim());\n\tint res=(t*t*t);\n\tint r=res;\n\tfor(int i=0;i<2;i++) {\n\t\tres=(res/t);\n\t\tr+=res;\n\t}\n\tSystem.out.println(r);\n\t\n\t\n\t}\n\t\n\t\n\t\n\t\n\t\n\t\n\n}", "Main" ]
//package gfg; import java.io.*; public class Main { public static void main(String[] args) throws Exception { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int t=Integer.parseInt(br.readLine().trim()); int res=(t*t*t); int r=res; for(int i=0;i<2;i++) { res=(res/t); r+=res; } System.out.println(r); } }
[ 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, 4, 18, 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 ], [ 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 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 6, 38 ], [ 38, 39 ], [ 0, 40 ], [ 40, 41 ], [ 40, 42 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tint s = kb.nextInt();\n\t\tSystem.out.println((int) (s + Math.pow(s, 2) + Math.pow(s, 3)));\n\t\tkb.close();\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tint s = kb.nextInt();\n\t\tSystem.out.println((int) (s + Math.pow(s, 2) + Math.pow(s, 3)));\n\t\tkb.close();\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tint s = kb.nextInt();\n\t\tSystem.out.println((int) (s + Math.pow(s, 2) + Math.pow(s, 3)));\n\t\tkb.close();\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tint s = kb.nextInt();\n\t\tSystem.out.println((int) (s + Math.pow(s, 2) + Math.pow(s, 3)));\n\t\tkb.close();\n\t}", "Scanner kb = new Scanner(System.in);", "kb", "new Scanner(System.in)", "int s = kb.nextInt();", "s", "kb.nextInt()", "kb.nextInt", "kb", "System.out.println((int) (s + Math.pow(s, 2) + Math.pow(s, 3)))", "System.out.println", "System.out", "System", "System.out", "(int) (s + Math.pow(s, 2) + Math.pow(s, 3))", "s + Math.pow(s, 2) + Math.pow(s, 3)", "s", "Math.pow(s, 2)", "Math.pow", "Math", "s", "2", "Math.pow(s, 3)", "Math.pow", "Math", "s", "3", "kb.close()", "kb.close", "kb", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tint s = kb.nextInt();\n\t\tSystem.out.println((int) (s + Math.pow(s, 2) + Math.pow(s, 3)));\n\t\tkb.close();\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tint s = kb.nextInt();\n\t\tSystem.out.println((int) (s + Math.pow(s, 2) + Math.pow(s, 3)));\n\t\tkb.close();\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner kb = new Scanner(System.in); int s = kb.nextInt(); System.out.println((int) (s + Math.pow(s, 2) + Math.pow(s, 3))); kb.close(); } }
[ 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.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner=new Scanner(System.in);\n byte n = scanner.nextByte();\n System.out.println(n+(n*n)+(n*n*n));\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner scanner=new Scanner(System.in);\n byte n = scanner.nextByte();\n System.out.println(n+(n*n)+(n*n*n));\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scanner=new Scanner(System.in);\n byte n = scanner.nextByte();\n System.out.println(n+(n*n)+(n*n*n));\n }", "main", "{\n Scanner scanner=new Scanner(System.in);\n byte n = scanner.nextByte();\n System.out.println(n+(n*n)+(n*n*n));\n }", "Scanner scanner=new Scanner(System.in);", "scanner", "new Scanner(System.in)", "byte n = scanner.nextByte();", "n", "scanner.nextByte()", "scanner.nextByte", "scanner", "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 Scanner scanner=new Scanner(System.in);\n byte n = scanner.nextByte();\n System.out.println(n+(n*n)+(n*n*n));\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scanner=new Scanner(System.in);\n byte n = scanner.nextByte();\n System.out.println(n+(n*n)+(n*n*n));\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner=new Scanner(System.in); byte n = scanner.nextByte(); System.out.println(n+(n*n)+(n*n*n)); } }
[ 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, 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 ], [ 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 ], [ 0, 44 ], [ 44, 45 ], [ 44, 46 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tint a = in.nextInt();\n\t\tint r = a + a * a + a * a * a;\n\t\tSystem.out.println(r);\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tint a = in.nextInt();\n\t\tint r = a + a * a + a * a * a;\n\t\tSystem.out.println(r);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tint a = in.nextInt();\n\t\tint r = a + a * a + a * a * a;\n\t\tSystem.out.println(r);\n\t}", "main", "{\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tint a = in.nextInt();\n\t\tint r = a + a * a + a * a * a;\n\t\tSystem.out.println(r);\n\t}", "Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));", "in", "new Scanner(new BufferedReader(new InputStreamReader(System.in)))", "int a = in.nextInt();", "a", "in.nextInt()", "in.nextInt", "in", "int r = a + a * a + a * a * a;", "r", "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(r)", "System.out.println", "System.out", "System", "System.out", "r", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tint a = in.nextInt();\n\t\tint r = a + a * a + a * a * a;\n\t\tSystem.out.println(r);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tint a = in.nextInt();\n\t\tint r = a + a * a + a * a * a;\n\t\tSystem.out.println(r);\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in))); int a = in.nextInt(); int r = a + a * a + a * a * a; System.out.println(r); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 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 ], [ 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 ], [ 21, 22 ], [ 8, 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 ], [ 8, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 6, 44 ], [ 44, 45 ], [ 0, 46 ], [ 46, 47 ], [ 46, 48 ] ]
[ "import java.io.*;\n\n/**\n * Created by Ayushi on 27 Jun 2020.\n * Problem:\n * Round:\n */\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(br.readLine());\n br.close();\n long b = (long) (a + (Math.pow(a, 2)) + (Math.pow(a, 3)));\n System.out.println(b);\n }\n}", "import java.io.*;", "io.*", "java", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(br.readLine());\n br.close();\n long b = (long) (a + (Math.pow(a, 2)) + (Math.pow(a, 3)));\n System.out.println(b);\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(br.readLine());\n br.close();\n long b = (long) (a + (Math.pow(a, 2)) + (Math.pow(a, 3)));\n System.out.println(b);\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(br.readLine());\n br.close();\n long b = (long) (a + (Math.pow(a, 2)) + (Math.pow(a, 3)));\n System.out.println(b);\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", "br.close()", "br.close", "br", "long b = (long) (a + (Math.pow(a, 2)) + (Math.pow(a, 3)));", "b", "(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(b)", "System.out.println", "System.out", "System", "System.out", "b", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(br.readLine());\n br.close();\n long b = (long) (a + (Math.pow(a, 2)) + (Math.pow(a, 3)));\n System.out.println(b);\n }\n}", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(br.readLine());\n br.close();\n long b = (long) (a + (Math.pow(a, 2)) + (Math.pow(a, 3)));\n System.out.println(b);\n }\n}", "Main" ]
import java.io.*; /** * Created by Ayushi on 27 Jun 2020. * Problem: * Round: */ public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int a = Integer.parseInt(br.readLine()); br.close(); long b = (long) (a + (Math.pow(a, 2)) + (Math.pow(a, 3))); System.out.println(b); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 13, 2, 13, 13, 2, 2, 13, 13, 13, 30, 29, 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 ], [ 8, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 18, 22 ], [ 22, 23 ], [ 22, 24 ], [ 17, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 32, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 38, 38 ], [ 38, 39 ], [ 38, 40 ], [ 38, 41 ], [ 17, 42 ], [ 42, 43 ], [ 6, 44 ], [ 44, 45 ], [ 0, 46 ], [ 46, 47 ], [ 46, 48 ] ]
[ "import java.util.Scanner;\npublic class Main {\n public static void main(String[] args){\n Scanner input = new Scanner (System.in);\n int a = input.nextInt();\n if (a >= 0 && a<=10){\n System.out.println(a + a * a + a * a * a);\n }else{\n return;\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args){\n Scanner input = new Scanner (System.in);\n int a = input.nextInt();\n if (a >= 0 && a<=10){\n System.out.println(a + a * a + a * a * a);\n }else{\n return;\n }\n }\n}", "Main", "public static void main(String[] args){\n Scanner input = new Scanner (System.in);\n int a = input.nextInt();\n if (a >= 0 && a<=10){\n System.out.println(a + a * a + a * a * a);\n }else{\n return;\n }\n }", "main", "{\n Scanner input = new Scanner (System.in);\n int a = input.nextInt();\n if (a >= 0 && a<=10){\n System.out.println(a + a * a + a * a * a);\n }else{\n return;\n }\n }", "Scanner input = new Scanner (System.in);", "input", "new Scanner (System.in)", "int a = input.nextInt();", "a", "input.nextInt()", "input.nextInt", "input", "if (a >= 0 && a<=10){\n System.out.println(a + a * a + a * a * a);\n }else{\n return;\n }", "a >= 0 && a<=10", "a >= 0", "a", "0", "a<=10", "a", "10", "{\n System.out.println(a + a * a + a * a * a);\n }", "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", "{\n return;\n }", "return;", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n Scanner input = new Scanner (System.in);\n int a = input.nextInt();\n if (a >= 0 && a<=10){\n System.out.println(a + a * a + a * a * a);\n }else{\n return;\n }\n }\n}", "public class Main {\n public static void main(String[] args){\n Scanner input = new Scanner (System.in);\n int a = input.nextInt();\n if (a >= 0 && a<=10){\n System.out.println(a + a * a + a * a * a);\n }else{\n return;\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner input = new Scanner (System.in); int a = input.nextInt(); if (a >= 0 && a<=10){ System.out.println(a + a * a + a * a * a); }else{ return; } } }
[ 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 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 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\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int aa = a*a;\n int aaa = a*a*a;\n int xxx = (a+aa+aaa);\n System.out.print(xxx);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int aa = a*a;\n int aaa = a*a*a;\n int xxx = (a+aa+aaa);\n System.out.print(xxx);\n }\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int aa = a*a;\n int aaa = a*a*a;\n int xxx = (a+aa+aaa);\n System.out.print(xxx);\n }", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int aa = a*a;\n int aaa = a*a*a;\n int xxx = (a+aa+aaa);\n System.out.print(xxx);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int aa = a*a;", "aa", "a*a", "a", "a", "int aaa = a*a*a;", "aaa", "a*a*a", "a*a*a", "a", "a", "a", "int xxx = (a+aa+aaa);", "xxx", "(a+aa+aaa)", "a+aa+aaa", "a", "aa", "aaa", "System.out.print(xxx)", "System.out.print", "System.out", "System", "System.out", "xxx", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int aa = a*a;\n int aaa = a*a*a;\n int xxx = (a+aa+aaa);\n System.out.print(xxx);\n }\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int aa = a*a;\n int aaa = a*a*a;\n int xxx = (a+aa+aaa);\n System.out.print(xxx);\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 aa = a*a; int aaa = a*a*a; int xxx = (a+aa+aaa); System.out.print(xxx); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 39, 39, 40, 17, 40, 17, 39, 40, 17, 17, 39, 40, 17, 17, 39, 17, 40, 17, 39, 17, 17, 39, 17, 40, 17, 39, 17, 17, 39, 17, 17, 41, 13, 39, 39, 40, 17, 17, 39, 17, 17, 39, 17, 40, 17, 39, 17, 17, 41, 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, 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, 2, 18, 13, 13, 18, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 40, 17, 41, 13, 18, 13, 13, 41, 13, 42, 2, 2, 13, 13, 17, 30, 0, 13, 2, 2, 13, 13, 17, 14, 2, 18, 13, 13, 13, 30, 0, 13, 13, 30, 0, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 40, 17, 41, 13, 4, 18, 13, 41, 13, 42, 2, 2, 13, 13, 17, 30, 0, 13, 2, 2, 13, 13, 17, 14, 2, 4, 18, 13, 13, 13, 30, 0, 13, 13, 30, 0, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 29, 8, 2, 13, 17, 13, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 8, 2, 13, 17, 13, 4, 13, 13, 2, 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 ], [ 272, 11 ], [ 272, 12 ], [ 12, 13 ], [ 272, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 20, 21 ], [ 16, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 16, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 16, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 16, 34 ], [ 34, 35 ], [ 34, 36 ], [ 16, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 16, 41 ], [ 41, 42 ], [ 41, 43 ], [ 16, 44 ], [ 44, 45 ], [ 44, 46 ], [ 272, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 49, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 49, 61 ], [ 61, 62 ], [ 61, 63 ], [ 272, 64 ], [ 64, 65 ], [ 272, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 68, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 83, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 89, 89 ], [ 89, 90 ], [ 89, 91 ], [ 89, 92 ], [ 66, 93 ], [ 93, 94 ], [ 272, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 101, 102 ], [ 101, 103 ], [ 97, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 111, 113 ], [ 104, 114 ], [ 114, 115 ], [ 115, 116 ], [ 104, 117 ], [ 118, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 127, 128 ], [ 127, 129 ], [ 97, 130 ], [ 130, 131 ], [ 95, 132 ], [ 132, 133 ], [ 95, 134 ], [ 134, 135 ], [ 272, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 138, 143 ], [ 143, 144 ], [ 143, 145 ], [ 145, 146 ], [ 145, 147 ], [ 138, 148 ], [ 148, 149 ], [ 138, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 151, 155 ], [ 150, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 159, 163 ], [ 156, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 165, 169 ], [ 164, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 164, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 138, 178 ], [ 178, 179 ], [ 136, 180 ], [ 180, 181 ], [ 136, 182 ], [ 182, 183 ], [ 272, 184 ], [ 184, 185 ], [ 184, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 189, 190 ], [ 186, 191 ], [ 191, 192 ], [ 191, 193 ], [ 193, 194 ], [ 194, 195 ], [ 186, 196 ], [ 196, 197 ], [ 186, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 199, 203 ], [ 198, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 207, 208 ], [ 208, 209 ], [ 208, 210 ], [ 207, 211 ], [ 204, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 214, 217 ], [ 213, 218 ], [ 212, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 212, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 186, 227 ], [ 227, 228 ], [ 184, 229 ], [ 229, 230 ], [ 184, 231 ], [ 231, 232 ], [ 272, 233 ], [ 233, 234 ], [ 233, 235 ], [ 235, 236 ], [ 236, 237 ], [ 237, 238 ], [ 238, 239 ], [ 238, 240 ], [ 237, 241 ], [ 237, 242 ], [ 242, 243 ], [ 242, 244 ], [ 242, 245 ], [ 245, 246 ], [ 245, 247 ], [ 233, 248 ], [ 248, 249 ], [ 233, 250 ], [ 250, 251 ], [ 272, 252 ], [ 252, 253 ], [ 252, 254 ], [ 254, 255 ], [ 255, 256 ], [ 256, 257 ], [ 257, 258 ], [ 257, 259 ], [ 256, 260 ], [ 256, 261 ], [ 261, 262 ], [ 261, 263 ], [ 261, 264 ], [ 264, 265 ], [ 264, 266 ], [ 252, 267 ], [ 267, 268 ], [ 252, 269 ], [ 269, 270 ], [ 0, 271 ], [ 271, 272 ], [ 271, 273 ] ]
[ "import java.io.IOException;\nimport java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tstatic int[][] map;\n\tstatic int[][] directions8= {{-1,-1},{-1,0},{-1,1},{0,-1},{0,1},{1,-1},{1,0},{1,1}};\n\tstatic int[][] directions4= {{-1,0},{1,0},{0,-1},{0,1}};\n\tstatic int ans;\n\n\tpublic static void main(String[] args) throws IOException {\n//\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString W\t = in.readLine();\n//\t\tint num = Integer.parseInt(W.split(\" \")[0]);\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\n\n\n\n\t\tSystem.out.println(a+a*a+a*a*a);\n\t}\n\n\t//BFS用に二つの配列を足し算する\n\tstatic int[] addArrayElms(int[] a, int[] b) {\n\t\tint[] c = new int[a.length];\n\t\tfor(int i = 0; i < a.length; i++) {\n\t\t\tc[i] = a[i] + b[i];\n\t\t}\n\t\treturn c;\n\t}\n\n\t//\t//二分探索\n\t//k <= num となる最小の配列要素kのインデックスを返す\n\tstatic private int binarySearch(long num, long[] orderedArray){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedArray.length;\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//二分探索\n\t//k <= num となる最小のList要素kのインデックスを返す\n\tstatic private int binarySearch(long num, ArrayList<Long> orderedList){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedList.size();\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//aとbの最小公倍数を求める\n\tpublic static int gcd(int a, int b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\tpublic static long gcd(long a, long b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n}", "import java.io.IOException;", "IOException", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tstatic int[][] map;\n\tstatic int[][] directions8= {{-1,-1},{-1,0},{-1,1},{0,-1},{0,1},{1,-1},{1,0},{1,1}};\n\tstatic int[][] directions4= {{-1,0},{1,0},{0,-1},{0,1}};\n\tstatic int ans;\n\n\tpublic static void main(String[] args) throws IOException {\n//\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString W\t = in.readLine();\n//\t\tint num = Integer.parseInt(W.split(\" \")[0]);\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\n\n\n\n\t\tSystem.out.println(a+a*a+a*a*a);\n\t}\n\n\t//BFS用に二つの配列を足し算する\n\tstatic int[] addArrayElms(int[] a, int[] b) {\n\t\tint[] c = new int[a.length];\n\t\tfor(int i = 0; i < a.length; i++) {\n\t\t\tc[i] = a[i] + b[i];\n\t\t}\n\t\treturn c;\n\t}\n\n\t//\t//二分探索\n\t//k <= num となる最小の配列要素kのインデックスを返す\n\tstatic private int binarySearch(long num, long[] orderedArray){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedArray.length;\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//二分探索\n\t//k <= num となる最小のList要素kのインデックスを返す\n\tstatic private int binarySearch(long num, ArrayList<Long> orderedList){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedList.size();\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//aとbの最小公倍数を求める\n\tpublic static int gcd(int a, int b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\tpublic static long gcd(long a, long b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n}", "Main", "static int[][] map;", "map", "static int[][] directions8= {{-1,-1},{-1,0},{-1,1},{0,-1},{0,1},{1,-1},{1,0},{1,1}};", "directions8", "{{-1,-1},{-1,0},{-1,1},{0,-1},{0,1},{1,-1},{1,0},{1,1}}", "{-1,-1}", "-1", "1", "-1", "1", "{-1,0}", "-1", "1", "0", "{-1,1}", "-1", "1", "1", "{0,-1}", "0", "-1", "1", "{0,1}", "0", "1", "{1,-1}", "1", "-1", "1", "{1,0}", "1", "0", "{1,1}", "1", "1", "static int[][] directions4= {{-1,0},{1,0},{0,-1},{0,1}};", "directions4", "{{-1,0},{1,0},{0,-1},{0,1}}", "{-1,0}", "-1", "1", "0", "{1,0}", "1", "0", "{0,-1}", "0", "-1", "1", "{0,1}", "0", "1", "static int ans;", "ans", "public static void main(String[] args) throws IOException {\n//\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString W\t = in.readLine();\n//\t\tint num = Integer.parseInt(W.split(\" \")[0]);\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\n\n\n\n\t\tSystem.out.println(a+a*a+a*a*a);\n\t}", "main", "{\n//\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString W\t = in.readLine();\n//\t\tint num = Integer.parseInt(W.split(\" \")[0]);\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\n\n\n\n\t\tSystem.out.println(a+a*a+a*a*a);\n\t}", "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", "//BFS用に二つの配列を足し算する\n\tstatic int[] addArrayElms(int[] a, int[] b) {\n\t\tint[] c = new int[a.length];\n\t\tfor(int i = 0; i < a.length; i++) {\n\t\t\tc[i] = a[i] + b[i];\n\t\t}\n\t\treturn c;\n\t}", "addArrayElms", "{\n\t\tint[] c = new int[a.length];\n\t\tfor(int i = 0; i < a.length; i++) {\n\t\t\tc[i] = a[i] + b[i];\n\t\t}\n\t\treturn c;\n\t}", "int[] c = new int[a.length];", "c", "new int[a.length]", "a.length", "a", "a.length", "for(int i = 0; i < a.length; i++) {\n\t\t\tc[i] = a[i] + b[i];\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < a.length", "i", "a.length", "a", "a.length", "i++", "i++", "i", "{\n\t\t\tc[i] = a[i] + b[i];\n\t\t}", "{\n\t\t\tc[i] = a[i] + b[i];\n\t\t}", "c[i] = a[i] + b[i]", "c[i]", "c", "i", "a[i] + b[i]", "a[i]", "a", "i", "b[i]", "b", "i", "return c;", "c", "int[] a", "a", "int[] b", "b", "//\t//二分探索\n\t//k <= num となる最小の配列要素kのインデックスを返す\n\tstatic private int binarySearch(long num, long[] orderedArray){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedArray.length;\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}", "binarySearch", "{\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedArray.length;\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}", "int lowerBorder = -1;", "lowerBorder", "-1", "1", "int upperBorder = orderedArray.length;", "upperBorder", "orderedArray.length", "orderedArray", "orderedArray.length", "int mid;", "mid", "while(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}", "upperBorder - lowerBorder >1", "upperBorder - lowerBorder", "upperBorder", "lowerBorder", "1", "{\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}", "mid = (upperBorder + lowerBorder)/2", "mid", "(upperBorder + lowerBorder)/2", "(upperBorder + lowerBorder)", "upperBorder", "lowerBorder", "2", "if(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}", "orderedArray[mid]<=num", "orderedArray[mid]", "orderedArray", "mid", "num", "{\n\t\t\t\tlowerBorder = mid;\n\t\t\t}", "lowerBorder = mid", "lowerBorder", "mid", "{\n\t\t\t\tupperBorder = mid;\n\t\t\t}", "upperBorder = mid", "upperBorder", "mid", "return lowerBorder;", "lowerBorder", "long num", "num", "long[] orderedArray", "orderedArray", "//二分探索\n\t//k <= num となる最小のList要素kのインデックスを返す\n\tstatic private int binarySearch(long num, ArrayList<Long> orderedList){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedList.size();\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}", "binarySearch", "{\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedList.size();\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}", "int lowerBorder = -1;", "lowerBorder", "-1", "1", "int upperBorder = orderedList.size();", "upperBorder", "orderedList.size()", "orderedList.size", "orderedList", "int mid;", "mid", "while(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}", "upperBorder - lowerBorder >1", "upperBorder - lowerBorder", "upperBorder", "lowerBorder", "1", "{\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}", "mid = (upperBorder + lowerBorder)/2", "mid", "(upperBorder + lowerBorder)/2", "(upperBorder + lowerBorder)", "upperBorder", "lowerBorder", "2", "if(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}", "orderedList.get(mid)<=num", "orderedList.get(mid)", "orderedList.get", "orderedList", "mid", "num", "{\n\t\t\t\tlowerBorder = mid;\n\t\t\t}", "lowerBorder = mid", "lowerBorder", "mid", "{\n\t\t\t\tupperBorder = mid;\n\t\t\t}", "upperBorder = mid", "upperBorder", "mid", "return lowerBorder;", "lowerBorder", "long num", "num", "ArrayList<Long> orderedList", "orderedList", "//aとbの最小公倍数を求める\n\tpublic static int gcd(int a, int b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}", "gcd", "{\n return b == 0 ? a: gcd(b, a % b);\n\t}", "return b == 0 ? a: gcd(b, a % b);", "b == 0 ? a: gcd(b, a % b)", "b == 0", "b", "0", "a", "gcd(b, a % b)", "gcd", "b", "a % b", "a", "b", "int a", "a", "int b", "b", "public static long gcd(long a, long b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}", "gcd", "{\n return b == 0 ? a: gcd(b, a % b);\n\t}", "return b == 0 ? a: gcd(b, a % b);", "b == 0 ? a: gcd(b, a % b)", "b == 0", "b", "0", "a", "gcd(b, a % b)", "gcd", "b", "a % b", "a", "b", "long a", "a", "long b", "b", "public class Main {\n\n\tstatic int[][] map;\n\tstatic int[][] directions8= {{-1,-1},{-1,0},{-1,1},{0,-1},{0,1},{1,-1},{1,0},{1,1}};\n\tstatic int[][] directions4= {{-1,0},{1,0},{0,-1},{0,1}};\n\tstatic int ans;\n\n\tpublic static void main(String[] args) throws IOException {\n//\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString W\t = in.readLine();\n//\t\tint num = Integer.parseInt(W.split(\" \")[0]);\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\n\n\n\n\t\tSystem.out.println(a+a*a+a*a*a);\n\t}\n\n\t//BFS用に二つの配列を足し算する\n\tstatic int[] addArrayElms(int[] a, int[] b) {\n\t\tint[] c = new int[a.length];\n\t\tfor(int i = 0; i < a.length; i++) {\n\t\t\tc[i] = a[i] + b[i];\n\t\t}\n\t\treturn c;\n\t}\n\n\t//\t//二分探索\n\t//k <= num となる最小の配列要素kのインデックスを返す\n\tstatic private int binarySearch(long num, long[] orderedArray){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedArray.length;\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//二分探索\n\t//k <= num となる最小のList要素kのインデックスを返す\n\tstatic private int binarySearch(long num, ArrayList<Long> orderedList){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedList.size();\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//aとbの最小公倍数を求める\n\tpublic static int gcd(int a, int b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\tpublic static long gcd(long a, long b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n}", "public class Main {\n\n\tstatic int[][] map;\n\tstatic int[][] directions8= {{-1,-1},{-1,0},{-1,1},{0,-1},{0,1},{1,-1},{1,0},{1,1}};\n\tstatic int[][] directions4= {{-1,0},{1,0},{0,-1},{0,1}};\n\tstatic int ans;\n\n\tpublic static void main(String[] args) throws IOException {\n//\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString W\t = in.readLine();\n//\t\tint num = Integer.parseInt(W.split(\" \")[0]);\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\n\n\n\n\t\tSystem.out.println(a+a*a+a*a*a);\n\t}\n\n\t//BFS用に二つの配列を足し算する\n\tstatic int[] addArrayElms(int[] a, int[] b) {\n\t\tint[] c = new int[a.length];\n\t\tfor(int i = 0; i < a.length; i++) {\n\t\t\tc[i] = a[i] + b[i];\n\t\t}\n\t\treturn c;\n\t}\n\n\t//\t//二分探索\n\t//k <= num となる最小の配列要素kのインデックスを返す\n\tstatic private int binarySearch(long num, long[] orderedArray){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedArray.length;\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//二分探索\n\t//k <= num となる最小のList要素kのインデックスを返す\n\tstatic private int binarySearch(long num, ArrayList<Long> orderedList){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedList.size();\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//aとbの最小公倍数を求める\n\tpublic static int gcd(int a, int b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\tpublic static long gcd(long a, long b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n}", "Main" ]
import java.io.IOException; import java.util.ArrayList; import java.util.Scanner; public class Main { static int[][] map; static int[][] directions8= {{-1,-1},{-1,0},{-1,1},{0,-1},{0,1},{1,-1},{1,0},{1,1}}; static int[][] directions4= {{-1,0},{1,0},{0,-1},{0,1}}; static int ans; public static void main(String[] args) throws IOException { // BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); // String W = in.readLine(); // int num = Integer.parseInt(W.split(" ")[0]); Scanner sc = new Scanner(System.in); int a = sc.nextInt(); System.out.println(a+a*a+a*a*a); } //BFS用に二つの配列を足し算する static int[] addArrayElms(int[] a, int[] b) { int[] c = new int[a.length]; for(int i = 0; i < a.length; i++) { c[i] = a[i] + b[i]; } return c; } // //二分探索 //k <= num となる最小の配列要素kのインデックスを返す static private int binarySearch(long num, long[] orderedArray){ int lowerBorder = -1; int upperBorder = orderedArray.length; int mid; while(upperBorder - lowerBorder >1) { mid = (upperBorder + lowerBorder)/2; if(orderedArray[mid]<=num) { lowerBorder = mid; }else { upperBorder = mid; } } return lowerBorder; } //二分探索 //k <= num となる最小のList要素kのインデックスを返す static private int binarySearch(long num, ArrayList<Long> orderedList){ int lowerBorder = -1; int upperBorder = orderedList.size(); int mid; while(upperBorder - lowerBorder >1) { mid = (upperBorder + lowerBorder)/2; if(orderedList.get(mid)<=num) { lowerBorder = mid; }else { upperBorder = mid; } } return lowerBorder; } //aとbの最小公倍数を求める public static int gcd(int a, int b) { return b == 0 ? a: gcd(b, a % b); } public static long gcd(long a, long b) { return b == 0 ? a: gcd(b, a % b); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 20, 0, 13, 4, 18, 13, 4, 18, 13, 0, 13, 2, 2, 13, 2, 13, 13, 2, 2, 13, 13, 13, 4, 18, 18, 13, 13, 17, 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 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [ 13, 15 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 27, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 33, 33 ], [ 33, 34 ], [ 33, 35 ], [ 33, 36 ], [ 8, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 37, 43 ], [ 6, 44 ], [ 44, 45 ], [ 0, 46 ], [ 46, 47 ], [ 46, 48 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n int a, ans;\n Scanner sc = new Scanner(System.in);\n\n a = sc.nextInt();\n sc.close();\n ans = a + a * a + a * a * a;\n System.out.printf(\"%d\", ans);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n int a, ans;\n Scanner sc = new Scanner(System.in);\n\n a = sc.nextInt();\n sc.close();\n ans = a + a * a + a * a * a;\n System.out.printf(\"%d\", ans);\n }\n}", "Main", "public static void main(String[] args) {\n int a, ans;\n Scanner sc = new Scanner(System.in);\n\n a = sc.nextInt();\n sc.close();\n ans = a + a * a + a * a * a;\n System.out.printf(\"%d\", ans);\n }", "main", "{\n int a, ans;\n Scanner sc = new Scanner(System.in);\n\n a = sc.nextInt();\n sc.close();\n ans = a + a * a + a * a * a;\n System.out.printf(\"%d\", ans);\n }", "int a", "a", "ans;", "ans", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "a = sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "sc.close()", "sc.close", "sc", "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.printf(\"%d\", ans)", "System.out.printf", "System.out", "System", "System.out", "\"%d\"", "ans", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n int a, ans;\n Scanner sc = new Scanner(System.in);\n\n a = sc.nextInt();\n sc.close();\n ans = a + a * a + a * a * a;\n System.out.printf(\"%d\", ans);\n }\n}", "public class Main {\n public static void main(String[] args) {\n int a, ans;\n Scanner sc = new Scanner(System.in);\n\n a = sc.nextInt();\n sc.close();\n ans = a + a * a + a * a * a;\n System.out.printf(\"%d\", ans);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { int a, ans; Scanner sc = new Scanner(System.in); a = sc.nextInt(); sc.close(); ans = a + a * a + a * a * a; System.out.printf("%d", ans); } }
[ 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, 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 ], [ 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 ], [ 8, 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 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 6, 41 ], [ 41, 42 ], [ 0, 43 ], [ 43, 44 ], [ 43, 45 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble a = sc.nextInt();\n\t\tdouble ans = 0;\n\t\tans = a+Math.pow(a,2)+Math.pow(a, 3);\n\t\t\n\t\tSystem.out.println((int)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 sc = new Scanner(System.in);\n\t\tdouble a = sc.nextInt();\n\t\tdouble ans = 0;\n\t\tans = a+Math.pow(a,2)+Math.pow(a, 3);\n\t\t\n\t\tSystem.out.println((int)ans);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble a = sc.nextInt();\n\t\tdouble ans = 0;\n\t\tans = a+Math.pow(a,2)+Math.pow(a, 3);\n\t\t\n\t\tSystem.out.println((int)ans);\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble a = sc.nextInt();\n\t\tdouble ans = 0;\n\t\tans = a+Math.pow(a,2)+Math.pow(a, 3);\n\t\t\n\t\tSystem.out.println((int)ans);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "double a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "double ans = 0;", "ans", "0", "ans = a+Math.pow(a,2)+Math.pow(a, 3)", "ans", "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((int)ans)", "System.out.println", "System.out", "System", "System.out", "(int)ans", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble a = sc.nextInt();\n\t\tdouble ans = 0;\n\t\tans = a+Math.pow(a,2)+Math.pow(a, 3);\n\t\t\n\t\tSystem.out.println((int)ans);\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble a = sc.nextInt();\n\t\tdouble ans = 0;\n\t\tans = a+Math.pow(a,2)+Math.pow(a, 3);\n\t\t\n\t\tSystem.out.println((int)ans);\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); double a = sc.nextInt(); double ans = 0; ans = a+Math.pow(a,2)+Math.pow(a, 3); System.out.println((int)ans); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 4, 18, 13, 2, 2, 13, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 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 ], [ 17, 20 ], [ 20, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 11, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 32, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 37, 41 ], [ 11, 42 ], [ 42, 43 ], [ 43, 44 ], [ 9, 45 ], [ 45, 46 ] ]
[ "import java.util.*;\nimport java.io.*;\nclass Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n int A = Integer.parseInt(sc.next());\n PrintWriter out = new PrintWriter(System.out);\n out.print((int)(A + Math.pow(A,2)+ Math.pow(A,3)));\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 int A = Integer.parseInt(sc.next());\n PrintWriter out = new PrintWriter(System.out);\n out.print((int)(A + Math.pow(A,2)+ Math.pow(A,3)));\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 PrintWriter out = new PrintWriter(System.out);\n out.print((int)(A + Math.pow(A,2)+ Math.pow(A,3)));\n out.flush();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int A = Integer.parseInt(sc.next());\n PrintWriter out = new PrintWriter(System.out);\n out.print((int)(A + Math.pow(A,2)+ Math.pow(A,3)));\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", "PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "out.print((int)(A + Math.pow(A,2)+ Math.pow(A,3)))", "out.print", "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", "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); int A = Integer.parseInt(sc.next()); PrintWriter out = new PrintWriter(System.out); out.print((int)(A + Math.pow(A,2)+ Math.pow(A,3))); out.flush(); } }
[ 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) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tSystem.out.println((long) (N + Math.pow(N, 2) + Math.pow(N, 3)));\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tSystem.out.println((long) (N + Math.pow(N, 2) + Math.pow(N, 3)));\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tSystem.out.println((long) (N + Math.pow(N, 2) + Math.pow(N, 3)));\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tSystem.out.println((long) (N + Math.pow(N, 2) + Math.pow(N, 3)));\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long N = sc.nextLong();", "N", "sc.nextLong()", "sc.nextLong", "sc", "System.out.println((long) (N + Math.pow(N, 2) + Math.pow(N, 3)))", "System.out.println", "System.out", "System", "System.out", "(long) (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\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tSystem.out.println((long) (N + Math.pow(N, 2) + Math.pow(N, 3)));\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tSystem.out.println((long) (N + Math.pow(N, 2) + Math.pow(N, 3)));\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); long N = sc.nextLong(); System.out.println((long) (N + Math.pow(N, 2) + Math.pow(N, 3))); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 20, 12, 13, 30, 0, 13, 4, 18, 13, 0, 13, 2, 13, 13, 0, 13, 2, 2, 13, 13, 13, 4, 18, 18, 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 ], [ 60, 8 ], [ 8, 9 ], [ 60, 10 ], [ 10, 11 ], [ 60, 12 ], [ 12, 13 ], [ 60, 14 ], [ 14, 15 ], [ 60, 16 ], [ 16, 17 ], [ 60, 18 ], [ 18, 19 ], [ 18, 20 ], [ 60, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 23, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 31, 33 ], [ 23, 34 ], [ 34, 35 ], [ 34, 36 ], [ 37, 37 ], [ 37, 38 ], [ 37, 39 ], [ 37, 40 ], [ 23, 41 ], [ 41, 42 ], [ 42, 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.Scanner;\npublic class Main {\n\tint as,kl,o,m,n;\n\tchar p;\n\tScanner sc = new Scanner(System.in);\n\tpublic void solve() {\t\n\tn=sc.nextInt();\n\tas=n*n;\n\tkl=n*n*n;\n\tSystem.out.println(n+as+kl);\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().solve();\n\t\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tint as,kl,o,m,n;\n\tchar p;\n\tScanner sc = new Scanner(System.in);\n\tpublic void solve() {\t\n\tn=sc.nextInt();\n\tas=n*n;\n\tkl=n*n*n;\n\tSystem.out.println(n+as+kl);\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().solve();\n\t\n\t}\n}", "Main", "int as", "as", "kl", "kl", "o", "o", "m", "m", "n;", "n", "char p;", "p", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "public void solve() {\t\n\tn=sc.nextInt();\n\tas=n*n;\n\tkl=n*n*n;\n\tSystem.out.println(n+as+kl);\n\t}", "solve", "{\t\n\tn=sc.nextInt();\n\tas=n*n;\n\tkl=n*n*n;\n\tSystem.out.println(n+as+kl);\n\t}", "n=sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "as=n*n", "as", "n*n", "n", "n", "kl=n*n*n", "kl", "n*n*n", "n*n*n", "n", "n", "n", "System.out.println(n+as+kl)", "System.out.println", "System.out", "System", "System.out", "n+as+kl", "n+as+kl", "n", "as", "kl", "public static void main(String[] args) {\n\t\tnew Main().solve();\n\t\n\t}", "main", "{\n\t\tnew Main().solve();\n\t\n\t}", "new Main().solve()", "new Main().solve", "new Main()", "String[] args", "args", "public class Main {\n\tint as,kl,o,m,n;\n\tchar p;\n\tScanner sc = new Scanner(System.in);\n\tpublic void solve() {\t\n\tn=sc.nextInt();\n\tas=n*n;\n\tkl=n*n*n;\n\tSystem.out.println(n+as+kl);\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().solve();\n\t\n\t}\n}", "public class Main {\n\tint as,kl,o,m,n;\n\tchar p;\n\tScanner sc = new Scanner(System.in);\n\tpublic void solve() {\t\n\tn=sc.nextInt();\n\tas=n*n;\n\tkl=n*n*n;\n\tSystem.out.println(n+as+kl);\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().solve();\n\t\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { int as,kl,o,m,n; char p; Scanner sc = new Scanner(System.in); public void solve() { n=sc.nextInt(); as=n*n; kl=n*n*n; System.out.println(n+as+kl); } public static void main(String[] args) { new Main().solve(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 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 ], [ 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 ], [ 29, 30 ], [ 28, 31 ], [ 28, 32 ], [ 26, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 33, 37 ], [ 14, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 12, 44 ], [ 44, 45 ] ]
[ "//package ABC172;\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong n=sc.nextLong();\n\t\t\n\t\tlong ans=n+(long)Math.pow(n, 2)+(long)Math.pow(n, 3);\n\t\t\n\t\tSystem.out.println(ans);\n\t}\n\n}", "import java.util.*;", "util.*", "java", "import java.lang.*;", "lang.*", "java", "import java.io.*;", "io.*", "java", "class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong n=sc.nextLong();\n\t\t\n\t\tlong ans=n+(long)Math.pow(n, 2)+(long)Math.pow(n, 3);\n\t\t\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\tlong n=sc.nextLong();\n\t\t\n\t\tlong ans=n+(long)Math.pow(n, 2)+(long)Math.pow(n, 3);\n\t\t\n\t\tSystem.out.println(ans);\n\t}", "main", "{\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong n=sc.nextLong();\n\t\t\n\t\tlong ans=n+(long)Math.pow(n, 2)+(long)Math.pow(n, 3);\n\t\t\n\t\tSystem.out.println(ans);\n\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "long n=sc.nextLong();", "n", "sc.nextLong()", "sc.nextLong", "sc", "long ans=n+(long)Math.pow(n, 2)+(long)Math.pow(n, 3);", "ans", "n+(long)Math.pow(n, 2)+(long)Math.pow(n, 3)", "n+(long)Math.pow(n, 2)+(long)Math.pow(n, 3)", "n", "(long)Math.pow(n, 2)", "Math.pow", "Math", "n", "2", "(long)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" ]
//package ABC172; import java.util.*; import java.lang.*; import java.io.*; class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); long n=sc.nextLong(); long ans=n+(long)Math.pow(n, 2)+(long)Math.pow(n, 3); System.out.println(ans); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 45, 14 ], [ 45, 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 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 32, 38 ], [ 38, 39 ], [ 38, 40 ], [ 32, 41 ], [ 15, 42 ], [ 42, 43 ], [ 0, 44 ], [ 44, 45 ], [ 44, 46 ] ]
[ "import java.lang.reflect.Array;\nimport java.util.*;\nimport java.io.*;\nimport java.lang.*;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int r = sc.nextInt();\n\n System.out.println ((r*r*r)+(r*r)+(r));\n }\n}", "import java.lang.reflect.Array;", "Array", "java.lang.reflect", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "import java.lang.*;", "lang.*", "java", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int r = sc.nextInt();\n\n System.out.println ((r*r*r)+(r*r)+(r));\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int r = sc.nextInt();\n\n System.out.println ((r*r*r)+(r*r)+(r));\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n int r = sc.nextInt();\n\n System.out.println ((r*r*r)+(r*r)+(r));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int r = sc.nextInt();", "r", "sc.nextInt()", "sc.nextInt", "sc", "System.out.println ((r*r*r)+(r*r)+(r))", "System.out.println", "System.out", "System", "System.out", "(r*r*r)+(r*r)+(r)", "(r*r*r)+(r*r)+(r)", "(r*r*r)", "r*r*r", "r", "r", "r", "(r*r)", "r", "r", "(r)", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int r = sc.nextInt();\n\n System.out.println ((r*r*r)+(r*r)+(r));\n }\n}", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int r = sc.nextInt();\n\n System.out.println ((r*r*r)+(r*r)+(r));\n }\n}", "Main" ]
import java.lang.reflect.Array; import java.util.*; import java.io.*; import java.lang.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int r = sc.nextInt(); System.out.println ((r*r*r)+(r*r)+(r)); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 41, 13, 12, 13, 30, 12, 13, 30, 4, 18, 20, 23, 13, 12, 13, 30, 41, 13, 4, 13, 29, 2, 17, 2, 2, 13, 2, 13, 13, 2, 2, 13, 13, 13, 23, 13, 12, 13, 30, 0, 13, 20, 0, 13, 20, 41, 13, 20, 4, 13, 41, 13, 8, 13, 4, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 4, 18, 13, 4, 13, 13, 17, 4, 13, 13, 4, 18, 13, 4, 18, 13, 12, 13, 30, 4, 18, 13, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 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 ], [ 498, 8 ], [ 498, 9 ], [ 9, 10 ], [ 9, 11 ], [ 498, 12 ], [ 12, 13 ], [ 498, 14 ], [ 14, 15 ], [ 498, 16 ], [ 16, 17 ], [ 16, 18 ], [ 498, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 19, 25 ], [ 25, 26 ], [ 498, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 29, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 37, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 27, 48 ], [ 48, 49 ], [ 498, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 56, 58 ], [ 52, 59 ], [ 59, 60 ], [ 59, 61 ], [ 52, 62 ], [ 62, 63 ], [ 52, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 66, 70 ], [ 52, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 76, 77 ], [ 76, 78 ], [ 71, 79 ], [ 79, 80 ], [ 80, 81 ], [ 71, 82 ], [ 83, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 89, 90 ], [ 89, 91 ], [ 84, 92 ], [ 52, 93 ], [ 93, 94 ], [ 93, 95 ], [ 52, 96 ], [ 96, 97 ], [ 97, 98 ], [ 52, 99 ], [ 99, 100 ], [ 100, 101 ], [ 498, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 102, 109 ], [ 109, 110 ], [ 498, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 111, 118 ], [ 118, 119 ], [ 498, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 123, 126 ], [ 122, 127 ], [ 127, 128 ], [ 128, 129 ], [ 120, 130 ], [ 130, 131 ], [ 498, 132 ], [ 132, 133 ], [ 132, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 498, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 498, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 498, 153 ], [ 153, 154 ], [ 153, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 498, 160 ], [ 160, 161 ], [ 160, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 498, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 169, 171 ], [ 171, 172 ], [ 171, 173 ], [ 167, 174 ], [ 174, 175 ], [ 167, 176 ], [ 176, 177 ], [ 167, 178 ], [ 178, 179 ], [ 167, 180 ], [ 180, 181 ], [ 167, 182 ], [ 182, 183 ], [ 182, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 184, 188 ], [ 188, 189 ], [ 188, 190 ], [ 184, 192 ], [ 192, 193 ], [ 192, 194 ], [ 194, 195 ], [ 194, 196 ], [ 167, 197 ], [ 197, 198 ], [ 197, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 199, 203 ], [ 203, 204 ], [ 203, 205 ], [ 199, 207 ], [ 207, 208 ], [ 207, 209 ], [ 209, 210 ], [ 209, 211 ], [ 197, 212 ], [ 212, 213 ], [ 167, 214 ], [ 214, 215 ], [ 214, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 216, 221 ], [ 221, 222 ], [ 221, 223 ], [ 216, 224 ], [ 224, 225 ], [ 216, 226 ], [ 226, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 230, 231 ], [ 227, 232 ], [ 232, 233 ], [ 226, 234 ], [ 234, 235 ], [ 235, 236 ], [ 236, 237 ], [ 236, 238 ], [ 235, 239 ], [ 234, 240 ], [ 240, 241 ], [ 241, 242 ], [ 241, 243 ], [ 243, 244 ], [ 240, 245 ], [ 216, 246 ], [ 246, 247 ], [ 167, 248 ], [ 248, 249 ], [ 248, 250 ], [ 250, 251 ], [ 251, 252 ], [ 251, 253 ], [ 250, 254 ], [ 254, 255 ], [ 254, 256 ], [ 256, 257 ], [ 250, 258 ], [ 258, 259 ], [ 259, 260 ], [ 259, 261 ], [ 258, 262 ], [ 262, 263 ], [ 262, 264 ], [ 264, 265 ], [ 250, 266 ], [ 266, 267 ], [ 266, 268 ], [ 268, 269 ], [ 268, 270 ], [ 250, 271 ], [ 271, 272 ], [ 271, 273 ], [ 273, 274 ], [ 273, 275 ], [ 275, 276 ], [ 250, 277 ], [ 277, 278 ], [ 278, 279 ], [ 279, 280 ], [ 280, 281 ], [ 280, 282 ], [ 282, 283 ], [ 279, 284 ], [ 278, 285 ], [ 285, 286 ], [ 285, 287 ], [ 277, 288 ], [ 288, 289 ], [ 289, 290 ], [ 289, 291 ], [ 291, 292 ], [ 292, 293 ], [ 293, 294 ], [ 293, 295 ], [ 292, 296 ], [ 291, 297 ], [ 250, 298 ], [ 298, 299 ], [ 298, 300 ], [ 300, 301 ], [ 301, 302 ], [ 250, 303 ], [ 303, 304 ], [ 167, 305 ], [ 305, 306 ], [ 305, 307 ], [ 307, 308 ], [ 308, 309 ], [ 308, 310 ], [ 307, 311 ], [ 311, 312 ], [ 311, 313 ], [ 313, 314 ], [ 307, 315 ], [ 315, 316 ], [ 316, 317 ], [ 316, 318 ], [ 315, 319 ], [ 319, 320 ], [ 319, 321 ], [ 321, 322 ], [ 307, 323 ], [ 323, 324 ], [ 323, 325 ], [ 325, 326 ], [ 325, 327 ], [ 307, 328 ], [ 328, 329 ], [ 328, 330 ], [ 330, 331 ], [ 330, 332 ], [ 332, 333 ], [ 307, 334 ], [ 334, 335 ], [ 335, 336 ], [ 336, 337 ], [ 337, 338 ], [ 337, 339 ], [ 339, 340 ], [ 336, 341 ], [ 335, 342 ], [ 342, 343 ], [ 342, 344 ], [ 334, 345 ], [ 345, 346 ], [ 346, 347 ], [ 346, 348 ], [ 348, 349 ], [ 349, 350 ], [ 350, 351 ], [ 350, 352 ], [ 349, 353 ], [ 348, 354 ], [ 307, 355 ], [ 355, 356 ], [ 355, 357 ], [ 357, 358 ], [ 358, 359 ], [ 307, 360 ], [ 360, 361 ], [ 167, 362 ], [ 362, 363 ], [ 362, 364 ], [ 364, 365 ], [ 365, 366 ], [ 365, 367 ], [ 364, 368 ], [ 368, 369 ], [ 368, 370 ], [ 364, 371 ], [ 371, 372 ], [ 371, 373 ], [ 373, 374 ], [ 364, 375 ], [ 375, 376 ], [ 376, 377 ], [ 376, 378 ], [ 375, 379 ], [ 379, 380 ], [ 379, 381 ], [ 381, 382 ], [ 364, 383 ], [ 383, 384 ], [ 383, 385 ], [ 385, 386 ], [ 385, 387 ], [ 364, 388 ], [ 388, 389 ], [ 388, 390 ], [ 390, 391 ], [ 390, 392 ], [ 392, 393 ], [ 364, 394 ], [ 394, 395 ], [ 395, 396 ], [ 396, 397 ], [ 397, 398 ], [ 397, 399 ], [ 399, 400 ], [ 396, 401 ], [ 395, 402 ], [ 402, 403 ], [ 402, 404 ], [ 394, 405 ], [ 405, 406 ], [ 406, 407 ], [ 406, 408 ], [ 408, 409 ], [ 409, 410 ], [ 410, 411 ], [ 410, 412 ], [ 409, 413 ], [ 408, 414 ], [ 364, 415 ], [ 415, 416 ], [ 416, 417 ], [ 416, 418 ], [ 415, 419 ], [ 419, 420 ], [ 420, 421 ], [ 421, 422 ], [ 422, 423 ], [ 423, 424 ], [ 423, 425 ], [ 425, 426 ], [ 422, 427 ], [ 421, 428 ], [ 428, 429 ], [ 428, 430 ], [ 420, 431 ], [ 431, 432 ], [ 432, 433 ], [ 432, 434 ], [ 434, 435 ], [ 435, 436 ], [ 435, 437 ], [ 434, 438 ], [ 438, 439 ], [ 438, 440 ], [ 364, 441 ], [ 441, 442 ], [ 441, 443 ], [ 443, 444 ], [ 444, 445 ], [ 364, 446 ], [ 446, 447 ], [ 167, 448 ], [ 448, 449 ], [ 448, 450 ], [ 450, 451 ], [ 451, 452 ], [ 451, 453 ], [ 453, 454 ], [ 454, 455 ], [ 453, 456 ], [ 453, 457 ], [ 457, 458 ], [ 457, 459 ], [ 453, 460 ], [ 450, 461 ], [ 461, 462 ], [ 462, 463 ], [ 462, 464 ], [ 464, 465 ], [ 461, 466 ], [ 466, 467 ], [ 467, 468 ], [ 467, 469 ], [ 466, 470 ], [ 470, 471 ], [ 167, 472 ], [ 472, 473 ], [ 472, 474 ], [ 474, 475 ], [ 475, 476 ], [ 476, 477 ], [ 476, 478 ], [ 475, 479 ], [ 479, 480 ], [ 474, 481 ], [ 481, 482 ], [ 482, 483 ], [ 482, 484 ], [ 484, 485 ], [ 167, 486 ], [ 486, 487 ], [ 486, 488 ], [ 488, 489 ], [ 489, 490 ], [ 490, 491 ], [ 490, 492 ], [ 489, 493 ], [ 488, 494 ], [ 494, 495 ], [ 495, 496 ], [ 0, 497 ], [ 497, 498 ], [ 497, 499 ] ]
[ "import java.util.*;\nimport java.io.*;\npublic class Main{\n\t\n\t//make it false if Multiple test case is not in the question\n\tstatic boolean multipleTC = false;\n\t\n\t//for pre processing if needed\n\tvoid pre() throws Exception\n\t{}\n\t\tpublic static void main(String[] args) throws Exception{\n\t\t\t\n\t\tnew Main().run();\n\t }\n\t \n\n\n\n\t// input output handled here\n\tprivate String in_out(int tc) throws Exception{\n\t\t //take input here\n\t\t int n=ni();\n\n\n\t\treturn \"\"+(n+(n*n)+(n*n*n));\n\n\t}\n\t\n\n\t\n\n\t\n\t\n\tvoid run() throws Exception{\n\t//\tlong start_time=System.nanoTime();\n\n\t\t//in = new FastReader(\"input.txt\"); out = new PrintWriter(\"output.txt\");\n\t\tin = new FastReader(); out = new PrintWriter(System.out);\n\t\t\n\n\n\t\tStringBuilder print=new StringBuilder(\"\");\n\t\tpre();\n\t\tint T = (multipleTC)?ni():1;\n\t\tfor(int t = 1; t<= T; t++){\n\t\tprint.append(in_out(t)).append(\"\\n\");\n\t\t}\n\n\t\tp(print);\n\t\t//long end_time=System.nanoTime();\n\t\t//System.out.println(\"Running Time in nano sec : \"+(end_time-start_time));\n\t\t\n\t\tout.flush();\n\t\tout.close();\n\t}\n\t\n\tPrintWriter out;\n\t\tFastReader in;\n\t\t\n\t\t\tvoid p(Object o)\n\t\t\t\t{out.print(o);}\n\t\t\tvoid pln(Object o)\n\t\t\t\t{out.println(o);}\n\t\t\tvoid pnf(Object o)\n\t\t\t\t{out.println(o);\n\t\t\t\tout.flush();}\n\t\t\n\t\t\tString n()throws Exception\n\t\t\t\t{return in.readLine();}\n\t\t\n\t\t\tString nln()throws Exception\n\t\t\t\t{return in.readLine();}\n\t\t\n\t\t\tint ni()throws Exception\n\t\t\t\t{return (in.nextInt());}\n\t\t\n\t\t\tlong nl()throws Exception\n\t\t\t\t{return in.nextLong();}\n\t\t\n\t\t\tdouble nd()throws Exception\n\t\t\t\t{return in.nextDouble();}\n\t\n\t\t\t\tstatic class FastReader \n\t\t\t\t{ \n\t\t\t\t\tfinal private int BUFFER_SIZE = 1 << 16; \n\t\t\t\t\tprivate DataInputStream din; \n\t\t\t\t\tprivate byte[] buffer; \n\t\t\t\t\tprivate int bufferPointer, bytesRead; \n\t\t\t \n\t\t\t\t\tpublic FastReader() \n\t\t\t\t\t{ \n\t\t\t\t\t\tdin = new DataInputStream(System.in); \n\t\t\t\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\t\t\t\tbufferPointer = bytesRead = 0; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic FastReader(String file_name) throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tdin = new DataInputStream(new FileInputStream(file_name)); \n\t\t\t\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\t\t\t\tbufferPointer = bytesRead = 0; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic String readLine() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tbyte[] buf = new byte[64]; // line length \n\t\t\t\t\t\tint cnt = 0, c; \n\t\t\t\t\t\twhile ((c = read()) != -1) \n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\tif (c == '\\n') \n\t\t\t\t\t\t\t\tbreak; \n\t\t\t\t\t\t\tbuf[cnt++] = (byte) c; \n\t\t\t\t\t\t} \n\t\t\t\t\t\treturn new String(buf, 0, cnt); \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic int nextInt() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tint ret = 0; \n\t\t\t\t\t\tbyte c = read(); \n\t\t\t\t\t\twhile (c <= ' ') \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tboolean neg = (c == '-'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tdo\n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} while ((c = read()) >= '0' && c <= '9'); \n\t\t\t \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\treturn -ret; \n\t\t\t\t\t\treturn ret; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic long nextLong() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tlong ret = 0; \n\t\t\t\t\t\tbyte c = read(); \n\t\t\t\t\t\twhile (c <= ' ') \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tboolean neg = (c == '-'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tdo { \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} \n\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\treturn -ret; \n\t\t\t\t\t\treturn ret; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic double nextDouble() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tdouble ret = 0, div = 1; \n\t\t\t\t\t\tbyte c = read(); \n\t\t\t\t\t\twhile (c <= ' ') \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tboolean neg = (c == '-'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\tc = read(); \n\t\t\t \n\t\t\t\t\t\tdo { \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} \n\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n\t\t\t \n\t\t\t\t\t\tif (c == '.') \n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9') \n\t\t\t\t\t\t\t{ \n\t\t\t\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t\t\t\t} \n\t\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\treturn -ret; \n\t\t\t\t\t\treturn ret; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tprivate void fillBuffer() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n\t\t\t\t\t\tif (bytesRead == -1) \n\t\t\t\t\t\t\tbuffer[0] = -1; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tprivate byte read() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tif (bufferPointer == bytesRead) \n\t\t\t\t\t\t\tfillBuffer(); \n\t\t\t\t\t\treturn buffer[bufferPointer++]; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic void close() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tif (din == null) \n\t\t\t\t\t\t\treturn; \n\t\t\t\t\t\tdin.close(); \n\t\t\t\t\t} \n\t\t\t\t} \n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main{\n\t\n\t//make it false if Multiple test case is not in the question\n\tstatic boolean multipleTC = false;\n\t\n\t//for pre processing if needed\n\tvoid pre() throws Exception\n\t{}\n\t\tpublic static void main(String[] args) throws Exception{\n\t\t\t\n\t\tnew Main().run();\n\t }\n\t \n\n\n\n\t// input output handled here\n\tprivate String in_out(int tc) throws Exception{\n\t\t //take input here\n\t\t int n=ni();\n\n\n\t\treturn \"\"+(n+(n*n)+(n*n*n));\n\n\t}\n\t\n\n\t\n\n\t\n\t\n\tvoid run() throws Exception{\n\t//\tlong start_time=System.nanoTime();\n\n\t\t//in = new FastReader(\"input.txt\"); out = new PrintWriter(\"output.txt\");\n\t\tin = new FastReader(); out = new PrintWriter(System.out);\n\t\t\n\n\n\t\tStringBuilder print=new StringBuilder(\"\");\n\t\tpre();\n\t\tint T = (multipleTC)?ni():1;\n\t\tfor(int t = 1; t<= T; t++){\n\t\tprint.append(in_out(t)).append(\"\\n\");\n\t\t}\n\n\t\tp(print);\n\t\t//long end_time=System.nanoTime();\n\t\t//System.out.println(\"Running Time in nano sec : \"+(end_time-start_time));\n\t\t\n\t\tout.flush();\n\t\tout.close();\n\t}\n\t\n\tPrintWriter out;\n\t\tFastReader in;\n\t\t\n\t\t\tvoid p(Object o)\n\t\t\t\t{out.print(o);}\n\t\t\tvoid pln(Object o)\n\t\t\t\t{out.println(o);}\n\t\t\tvoid pnf(Object o)\n\t\t\t\t{out.println(o);\n\t\t\t\tout.flush();}\n\t\t\n\t\t\tString n()throws Exception\n\t\t\t\t{return in.readLine();}\n\t\t\n\t\t\tString nln()throws Exception\n\t\t\t\t{return in.readLine();}\n\t\t\n\t\t\tint ni()throws Exception\n\t\t\t\t{return (in.nextInt());}\n\t\t\n\t\t\tlong nl()throws Exception\n\t\t\t\t{return in.nextLong();}\n\t\t\n\t\t\tdouble nd()throws Exception\n\t\t\t\t{return in.nextDouble();}\n\t\n\t\t\t\tstatic class FastReader \n\t\t\t\t{ \n\t\t\t\t\tfinal private int BUFFER_SIZE = 1 << 16; \n\t\t\t\t\tprivate DataInputStream din; \n\t\t\t\t\tprivate byte[] buffer; \n\t\t\t\t\tprivate int bufferPointer, bytesRead; \n\t\t\t \n\t\t\t\t\tpublic FastReader() \n\t\t\t\t\t{ \n\t\t\t\t\t\tdin = new DataInputStream(System.in); \n\t\t\t\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\t\t\t\tbufferPointer = bytesRead = 0; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic FastReader(String file_name) throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tdin = new DataInputStream(new FileInputStream(file_name)); \n\t\t\t\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\t\t\t\tbufferPointer = bytesRead = 0; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic String readLine() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tbyte[] buf = new byte[64]; // line length \n\t\t\t\t\t\tint cnt = 0, c; \n\t\t\t\t\t\twhile ((c = read()) != -1) \n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\tif (c == '\\n') \n\t\t\t\t\t\t\t\tbreak; \n\t\t\t\t\t\t\tbuf[cnt++] = (byte) c; \n\t\t\t\t\t\t} \n\t\t\t\t\t\treturn new String(buf, 0, cnt); \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic int nextInt() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tint ret = 0; \n\t\t\t\t\t\tbyte c = read(); \n\t\t\t\t\t\twhile (c <= ' ') \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tboolean neg = (c == '-'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tdo\n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} while ((c = read()) >= '0' && c <= '9'); \n\t\t\t \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\treturn -ret; \n\t\t\t\t\t\treturn ret; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic long nextLong() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tlong ret = 0; \n\t\t\t\t\t\tbyte c = read(); \n\t\t\t\t\t\twhile (c <= ' ') \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tboolean neg = (c == '-'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tdo { \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} \n\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\treturn -ret; \n\t\t\t\t\t\treturn ret; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic double nextDouble() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tdouble ret = 0, div = 1; \n\t\t\t\t\t\tbyte c = read(); \n\t\t\t\t\t\twhile (c <= ' ') \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tboolean neg = (c == '-'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\tc = read(); \n\t\t\t \n\t\t\t\t\t\tdo { \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} \n\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n\t\t\t \n\t\t\t\t\t\tif (c == '.') \n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9') \n\t\t\t\t\t\t\t{ \n\t\t\t\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t\t\t\t} \n\t\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\treturn -ret; \n\t\t\t\t\t\treturn ret; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tprivate void fillBuffer() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n\t\t\t\t\t\tif (bytesRead == -1) \n\t\t\t\t\t\t\tbuffer[0] = -1; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tprivate byte read() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tif (bufferPointer == bytesRead) \n\t\t\t\t\t\t\tfillBuffer(); \n\t\t\t\t\t\treturn buffer[bufferPointer++]; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic void close() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tif (din == null) \n\t\t\t\t\t\t\treturn; \n\t\t\t\t\t\tdin.close(); \n\t\t\t\t\t} \n\t\t\t\t} \n}", "Main", "//make it false if Multiple test case is not in the question\n\tstatic boolean multipleTC = false;", "multipleTC", "false", "PrintWriter out;", "out", "FastReader in;", "in", "//for pre processing if needed\n\tvoid pre() throws Exception\n\t{}", "pre", "{}", "public static void main(String[] args) throws Exception{\n\t\t\t\n\t\tnew Main().run();\n\t }", "main", "{\n\t\t\t\n\t\tnew Main().run();\n\t }", "new Main().run()", "new Main().run", "new Main()", "String[] args", "args", "// input output handled here\n\tprivate String in_out(int tc) throws Exception{\n\t\t //take input here\n\t\t int n=ni();\n\n\n\t\treturn \"\"+(n+(n*n)+(n*n*n));\n\n\t}", "in_out", "{\n\t\t //take input here\n\t\t int n=ni();\n\n\n\t\treturn \"\"+(n+(n*n)+(n*n*n));\n\n\t}", "int n=ni();", "n", "ni()", "ni", "return \"\"+(n+(n*n)+(n*n*n));", "\"\"+(n+(n*n)+(n*n*n))", "\"\"", "(n+(n*n)+(n*n*n))", "n+(n*n)+(n*n*n)", "n", "(n*n)", "n", "n", "(n*n*n)", "n*n*n", "n", "n", "n", "int tc", "tc", "void run() throws Exception{\n\t//\tlong start_time=System.nanoTime();\n\n\t\t//in = new FastReader(\"input.txt\"); out = new PrintWriter(\"output.txt\");\n\t\tin = new FastReader(); out = new PrintWriter(System.out);\n\t\t\n\n\n\t\tStringBuilder print=new StringBuilder(\"\");\n\t\tpre();\n\t\tint T = (multipleTC)?ni():1;\n\t\tfor(int t = 1; t<= T; t++){\n\t\tprint.append(in_out(t)).append(\"\\n\");\n\t\t}\n\n\t\tp(print);\n\t\t//long end_time=System.nanoTime();\n\t\t//System.out.println(\"Running Time in nano sec : \"+(end_time-start_time));\n\t\t\n\t\tout.flush();\n\t\tout.close();\n\t}", "run", "{\n\t//\tlong start_time=System.nanoTime();\n\n\t\t//in = new FastReader(\"input.txt\"); out = new PrintWriter(\"output.txt\");\n\t\tin = new FastReader(); out = new PrintWriter(System.out);\n\t\t\n\n\n\t\tStringBuilder print=new StringBuilder(\"\");\n\t\tpre();\n\t\tint T = (multipleTC)?ni():1;\n\t\tfor(int t = 1; t<= T; t++){\n\t\tprint.append(in_out(t)).append(\"\\n\");\n\t\t}\n\n\t\tp(print);\n\t\t//long end_time=System.nanoTime();\n\t\t//System.out.println(\"Running Time in nano sec : \"+(end_time-start_time));\n\t\t\n\t\tout.flush();\n\t\tout.close();\n\t}", "in = new FastReader()", "in", "new FastReader()", "out = new PrintWriter(System.out)", "out", "new PrintWriter(System.out)", "StringBuilder print=new StringBuilder(\"\");", "print", "new StringBuilder(\"\")", "pre()", "pre", "int T = (multipleTC)?ni():1;", "T", "(multipleTC)?ni():1", "(multipleTC)", "ni()", "ni", "1", "for(int t = 1; t<= T; t++){\n\t\tprint.append(in_out(t)).append(\"\\n\");\n\t\t}", "int t = 1;", "int t = 1;", "t", "1", "t<= T", "t", "T", "t++", "t++", "t", "{\n\t\tprint.append(in_out(t)).append(\"\\n\");\n\t\t}", "{\n\t\tprint.append(in_out(t)).append(\"\\n\");\n\t\t}", "print.append(in_out(t)).append(\"\\n\")", "print.append(in_out(t)).append", "print.append(in_out(t))", "print.append", "print", "in_out(t)", "in_out", "t", "\"\\n\"", "p(print)", "p", "print", "out.flush()", "out.flush", "out", "out.close()", "out.close", "out", "void p(Object o)\n\t\t\t\t{out.print(o);}", "p", "{out.print(o);}", "out.print(o)", "out.print", "out", "o", "Object o", "o", "void pln(Object o)\n\t\t\t\t{out.println(o);}", "pln", "{out.println(o);}", "out.println(o)", "out.println", "out", "o", "Object o", "o", "void pnf(Object o)\n\t\t\t\t{out.println(o);\n\t\t\t\tout.flush();}", "pnf", "{out.println(o);\n\t\t\t\tout.flush();}", "out.println(o)", "out.println", "out", "o", "out.flush()", "out.flush", "out", "Object o", "o", "String n()throws Exception\n\t\t\t\t{return in.readLine();}", "n", "{return in.readLine();}", "return in.readLine();", "in.readLine()", "in.readLine", "in", "String nln()throws Exception\n\t\t\t\t{return in.readLine();}", "nln", "{return in.readLine();}", "return in.readLine();", "in.readLine()", "in.readLine", "in", "int ni()throws Exception\n\t\t\t\t{return (in.nextInt());}", "ni", "{return (in.nextInt());}", "return (in.nextInt());", "(in.nextInt())", "in.nextInt", "in", "long nl()throws Exception\n\t\t\t\t{return in.nextLong();}", "nl", "{return in.nextLong();}", "return in.nextLong();", "in.nextLong()", "in.nextLong", "in", "double nd()throws Exception\n\t\t\t\t{return in.nextDouble();}", "nd", "{return in.nextDouble();}", "return in.nextDouble();", "in.nextDouble()", "in.nextDouble", "in", "static class FastReader \n\t\t\t\t{ \n\t\t\t\t\tfinal private int BUFFER_SIZE = 1 << 16; \n\t\t\t\t\tprivate DataInputStream din; \n\t\t\t\t\tprivate byte[] buffer; \n\t\t\t\t\tprivate int bufferPointer, bytesRead; \n\t\t\t \n\t\t\t\t\tpublic FastReader() \n\t\t\t\t\t{ \n\t\t\t\t\t\tdin = new DataInputStream(System.in); \n\t\t\t\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\t\t\t\tbufferPointer = bytesRead = 0; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic FastReader(String file_name) throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tdin = new DataInputStream(new FileInputStream(file_name)); \n\t\t\t\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\t\t\t\tbufferPointer = bytesRead = 0; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic String readLine() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tbyte[] buf = new byte[64]; // line length \n\t\t\t\t\t\tint cnt = 0, c; \n\t\t\t\t\t\twhile ((c = read()) != -1) \n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\tif (c == '\\n') \n\t\t\t\t\t\t\t\tbreak; \n\t\t\t\t\t\t\tbuf[cnt++] = (byte) c; \n\t\t\t\t\t\t} \n\t\t\t\t\t\treturn new String(buf, 0, cnt); \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic int nextInt() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tint ret = 0; \n\t\t\t\t\t\tbyte c = read(); \n\t\t\t\t\t\twhile (c <= ' ') \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tboolean neg = (c == '-'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tdo\n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} while ((c = read()) >= '0' && c <= '9'); \n\t\t\t \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\treturn -ret; \n\t\t\t\t\t\treturn ret; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic long nextLong() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tlong ret = 0; \n\t\t\t\t\t\tbyte c = read(); \n\t\t\t\t\t\twhile (c <= ' ') \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tboolean neg = (c == '-'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tdo { \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} \n\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\treturn -ret; \n\t\t\t\t\t\treturn ret; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic double nextDouble() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tdouble ret = 0, div = 1; \n\t\t\t\t\t\tbyte c = read(); \n\t\t\t\t\t\twhile (c <= ' ') \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tboolean neg = (c == '-'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\tc = read(); \n\t\t\t \n\t\t\t\t\t\tdo { \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} \n\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n\t\t\t \n\t\t\t\t\t\tif (c == '.') \n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9') \n\t\t\t\t\t\t\t{ \n\t\t\t\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t\t\t\t} \n\t\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\treturn -ret; \n\t\t\t\t\t\treturn ret; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tprivate void fillBuffer() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n\t\t\t\t\t\tif (bytesRead == -1) \n\t\t\t\t\t\t\tbuffer[0] = -1; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tprivate byte read() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tif (bufferPointer == bytesRead) \n\t\t\t\t\t\t\tfillBuffer(); \n\t\t\t\t\t\treturn buffer[bufferPointer++]; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic void close() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tif (din == null) \n\t\t\t\t\t\t\treturn; \n\t\t\t\t\t\tdin.close(); \n\t\t\t\t\t} \n\t\t\t\t}", "FastReader", "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 FastReader() \n\t\t\t\t\t{ \n\t\t\t\t\t\tdin = new DataInputStream(System.in); \n\t\t\t\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\t\t\t\tbufferPointer = bytesRead = 0; \n\t\t\t\t\t}", "FastReader", "{ \n\t\t\t\t\t\tdin = new DataInputStream(System.in); \n\t\t\t\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\t\t\t\tbufferPointer = bytesRead = 0; \n\t\t\t\t\t}", "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 FastReader(String file_name) throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tdin = new DataInputStream(new FileInputStream(file_name)); \n\t\t\t\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\t\t\t\tbufferPointer = bytesRead = 0; \n\t\t\t\t\t}", "FastReader", "{ \n\t\t\t\t\t\tdin = new DataInputStream(new FileInputStream(file_name)); \n\t\t\t\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\t\t\t\tbufferPointer = bytesRead = 0; \n\t\t\t\t\t}", "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\t\t\t\t\t{ \n\t\t\t\t\t\tbyte[] buf = new byte[64]; // line length \n\t\t\t\t\t\tint cnt = 0, c; \n\t\t\t\t\t\twhile ((c = read()) != -1) \n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\tif (c == '\\n') \n\t\t\t\t\t\t\t\tbreak; \n\t\t\t\t\t\t\tbuf[cnt++] = (byte) c; \n\t\t\t\t\t\t} \n\t\t\t\t\t\treturn new String(buf, 0, cnt); \n\t\t\t\t\t}", "readLine", "{ \n\t\t\t\t\t\tbyte[] buf = new byte[64]; // line length \n\t\t\t\t\t\tint cnt = 0, c; \n\t\t\t\t\t\twhile ((c = read()) != -1) \n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\tif (c == '\\n') \n\t\t\t\t\t\t\t\tbreak; \n\t\t\t\t\t\t\tbuf[cnt++] = (byte) c; \n\t\t\t\t\t\t} \n\t\t\t\t\t\treturn new String(buf, 0, cnt); \n\t\t\t\t\t}", "byte[] buf = new byte[64];", "buf", "new byte[64]", "64", "int cnt = 0", "cnt", "0", "c;", "c", "while ((c = read()) != -1) \n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\tif (c == '\\n') \n\t\t\t\t\t\t\t\tbreak; \n\t\t\t\t\t\t\tbuf[cnt++] = (byte) c; \n\t\t\t\t\t\t}", "(c = read()) != -1", "(c = read())", "c", "read()", "read", "-1", "1", "{ \n\t\t\t\t\t\t\tif (c == '\\n') \n\t\t\t\t\t\t\t\tbreak; \n\t\t\t\t\t\t\tbuf[cnt++] = (byte) c; \n\t\t\t\t\t\t}", "if (c == '\\n') \n\t\t\t\t\t\t\t\tbreak;", "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\t\t\t\t\t{ \n\t\t\t\t\t\tint ret = 0; \n\t\t\t\t\t\tbyte c = read(); \n\t\t\t\t\t\twhile (c <= ' ') \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tboolean neg = (c == '-'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tdo\n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} while ((c = read()) >= '0' && c <= '9'); \n\t\t\t \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\treturn -ret; \n\t\t\t\t\t\treturn ret; \n\t\t\t\t\t}", "nextInt", "{ \n\t\t\t\t\t\tint ret = 0; \n\t\t\t\t\t\tbyte c = read(); \n\t\t\t\t\t\twhile (c <= ' ') \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tboolean neg = (c == '-'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tdo\n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} while ((c = read()) >= '0' && c <= '9'); \n\t\t\t \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\treturn -ret; \n\t\t\t\t\t\treturn ret; \n\t\t\t\t\t}", "int ret = 0;", "ret", "0", "byte c = read();", "c", "read()", "read", "while (c <= ' ') \n\t\t\t\t\t\t\tc = read();", "c <= ' '", "c", "' '", "c = read()", "c", "read()", "read", "boolean neg = (c == '-');", "neg", "(c == '-')", "c", "'-'", "if (neg) \n\t\t\t\t\t\t\tc = read();", "neg", "c = read()", "c", "read()", "read", "do\n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} 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\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t}", "ret = ret * 10 + c - '0'", "ret", "ret * 10 + c - '0'", "ret * 10 + c", "ret * 10", "ret", "10", "c", "'0'", "if (neg) \n\t\t\t\t\t\t\treturn -ret;", "neg", "return -ret;", "-ret", "ret", "return ret;", "ret", "public long nextLong() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tlong ret = 0; \n\t\t\t\t\t\tbyte c = read(); \n\t\t\t\t\t\twhile (c <= ' ') \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tboolean neg = (c == '-'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tdo { \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} \n\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\treturn -ret; \n\t\t\t\t\t\treturn ret; \n\t\t\t\t\t}", "nextLong", "{ \n\t\t\t\t\t\tlong ret = 0; \n\t\t\t\t\t\tbyte c = read(); \n\t\t\t\t\t\twhile (c <= ' ') \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tboolean neg = (c == '-'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tdo { \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} \n\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\treturn -ret; \n\t\t\t\t\t\treturn ret; \n\t\t\t\t\t}", "long ret = 0;", "ret", "0", "byte c = read();", "c", "read()", "read", "while (c <= ' ') \n\t\t\t\t\t\t\tc = read();", "c <= ' '", "c", "' '", "c = read()", "c", "read()", "read", "boolean neg = (c == '-');", "neg", "(c == '-')", "c", "'-'", "if (neg) \n\t\t\t\t\t\t\tc = read();", "neg", "c = read()", "c", "read()", "read", "do { \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} \n\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9');", "(c = read()) >= '0' && c <= '9'", "(c = read()) >= '0'", "(c = read())", "c", "read()", "read", "'0'", "c <= '9'", "c", "'9'", "{ \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t}", "ret = ret * 10 + c - '0'", "ret", "ret * 10 + c - '0'", "ret * 10 + c", "ret * 10", "ret", "10", "c", "'0'", "if (neg) \n\t\t\t\t\t\t\treturn -ret;", "neg", "return -ret;", "-ret", "ret", "return ret;", "ret", "public double nextDouble() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tdouble ret = 0, div = 1; \n\t\t\t\t\t\tbyte c = read(); \n\t\t\t\t\t\twhile (c <= ' ') \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tboolean neg = (c == '-'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\tc = read(); \n\t\t\t \n\t\t\t\t\t\tdo { \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} \n\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n\t\t\t \n\t\t\t\t\t\tif (c == '.') \n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9') \n\t\t\t\t\t\t\t{ \n\t\t\t\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t\t\t\t} \n\t\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\treturn -ret; \n\t\t\t\t\t\treturn ret; \n\t\t\t\t\t}", "nextDouble", "{ \n\t\t\t\t\t\tdouble ret = 0, div = 1; \n\t\t\t\t\t\tbyte c = read(); \n\t\t\t\t\t\twhile (c <= ' ') \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tboolean neg = (c == '-'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\tc = read(); \n\t\t\t \n\t\t\t\t\t\tdo { \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} \n\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n\t\t\t \n\t\t\t\t\t\tif (c == '.') \n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9') \n\t\t\t\t\t\t\t{ \n\t\t\t\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t\t\t\t} \n\t\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\treturn -ret; \n\t\t\t\t\t\treturn ret; \n\t\t\t\t\t}", "double ret = 0", "ret", "0", "div = 1;", "div", "1", "byte c = read();", "c", "read()", "read", "while (c <= ' ') \n\t\t\t\t\t\t\tc = read();", "c <= ' '", "c", "' '", "c = read()", "c", "read()", "read", "boolean neg = (c == '-');", "neg", "(c == '-')", "c", "'-'", "if (neg) \n\t\t\t\t\t\t\tc = read();", "neg", "c = read()", "c", "read()", "read", "do { \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} \n\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9');", "(c = read()) >= '0' && c <= '9'", "(c = read()) >= '0'", "(c = read())", "c", "read()", "read", "'0'", "c <= '9'", "c", "'9'", "{ \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t}", "ret = ret * 10 + c - '0'", "ret", "ret * 10 + c - '0'", "ret * 10 + c", "ret * 10", "ret", "10", "c", "'0'", "if (c == '.') \n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9') \n\t\t\t\t\t\t\t{ \n\t\t\t\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t\t\t\t} \n\t\t\t\t\t\t}", "c == '.'", "c", "'.'", "{ \n\t\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9') \n\t\t\t\t\t\t\t{ \n\t\t\t\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t\t\t\t} \n\t\t\t\t\t\t}", "while ((c = read()) >= '0' && c <= '9') \n\t\t\t\t\t\t\t{ \n\t\t\t\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t\t\t\t}", "(c = read()) >= '0' && c <= '9'", "(c = read()) >= '0'", "(c = read())", "c", "read()", "read", "'0'", "c <= '9'", "c", "'9'", "{ \n\t\t\t\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t\t\t\t}", "ret += (c - '0') / (div *= 10)", "ret", "(c - '0') / (div *= 10)", "(c - '0')", "c", "'0'", "(div *= 10)", "div", "10", "if (neg) \n\t\t\t\t\t\t\treturn -ret;", "neg", "return -ret;", "-ret", "ret", "return ret;", "ret", "private void fillBuffer() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n\t\t\t\t\t\tif (bytesRead == -1) \n\t\t\t\t\t\t\tbuffer[0] = -1; \n\t\t\t\t\t}", "fillBuffer", "{ \n\t\t\t\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n\t\t\t\t\t\tif (bytesRead == -1) \n\t\t\t\t\t\t\tbuffer[0] = -1; \n\t\t\t\t\t}", "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\t\t\t\t\t\t\tbuffer[0] = -1;", "bytesRead == -1", "bytesRead", "-1", "1", "buffer[0] = -1", "buffer[0]", "buffer", "0", "-1", "1", "private byte read() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tif (bufferPointer == bytesRead) \n\t\t\t\t\t\t\tfillBuffer(); \n\t\t\t\t\t\treturn buffer[bufferPointer++]; \n\t\t\t\t\t}", "read", "{ \n\t\t\t\t\t\tif (bufferPointer == bytesRead) \n\t\t\t\t\t\t\tfillBuffer(); \n\t\t\t\t\t\treturn buffer[bufferPointer++]; \n\t\t\t\t\t}", "if (bufferPointer == bytesRead) \n\t\t\t\t\t\t\tfillBuffer();", "bufferPointer == bytesRead", "bufferPointer", "bytesRead", "fillBuffer()", "fillBuffer", "return buffer[bufferPointer++];", "buffer[bufferPointer++]", "buffer", "bufferPointer++", "bufferPointer", "public void close() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tif (din == null) \n\t\t\t\t\t\t\treturn; \n\t\t\t\t\t\tdin.close(); \n\t\t\t\t\t}", "close", "{ \n\t\t\t\t\t\tif (din == null) \n\t\t\t\t\t\t\treturn; \n\t\t\t\t\t\tdin.close(); \n\t\t\t\t\t}", "if (din == null) \n\t\t\t\t\t\t\treturn;", "din == null", "din", "null", "return;", "din.close()", "din.close", "din", "public class Main{\n\t\n\t//make it false if Multiple test case is not in the question\n\tstatic boolean multipleTC = false;\n\t\n\t//for pre processing if needed\n\tvoid pre() throws Exception\n\t{}\n\t\tpublic static void main(String[] args) throws Exception{\n\t\t\t\n\t\tnew Main().run();\n\t }\n\t \n\n\n\n\t// input output handled here\n\tprivate String in_out(int tc) throws Exception{\n\t\t //take input here\n\t\t int n=ni();\n\n\n\t\treturn \"\"+(n+(n*n)+(n*n*n));\n\n\t}\n\t\n\n\t\n\n\t\n\t\n\tvoid run() throws Exception{\n\t//\tlong start_time=System.nanoTime();\n\n\t\t//in = new FastReader(\"input.txt\"); out = new PrintWriter(\"output.txt\");\n\t\tin = new FastReader(); out = new PrintWriter(System.out);\n\t\t\n\n\n\t\tStringBuilder print=new StringBuilder(\"\");\n\t\tpre();\n\t\tint T = (multipleTC)?ni():1;\n\t\tfor(int t = 1; t<= T; t++){\n\t\tprint.append(in_out(t)).append(\"\\n\");\n\t\t}\n\n\t\tp(print);\n\t\t//long end_time=System.nanoTime();\n\t\t//System.out.println(\"Running Time in nano sec : \"+(end_time-start_time));\n\t\t\n\t\tout.flush();\n\t\tout.close();\n\t}\n\t\n\tPrintWriter out;\n\t\tFastReader in;\n\t\t\n\t\t\tvoid p(Object o)\n\t\t\t\t{out.print(o);}\n\t\t\tvoid pln(Object o)\n\t\t\t\t{out.println(o);}\n\t\t\tvoid pnf(Object o)\n\t\t\t\t{out.println(o);\n\t\t\t\tout.flush();}\n\t\t\n\t\t\tString n()throws Exception\n\t\t\t\t{return in.readLine();}\n\t\t\n\t\t\tString nln()throws Exception\n\t\t\t\t{return in.readLine();}\n\t\t\n\t\t\tint ni()throws Exception\n\t\t\t\t{return (in.nextInt());}\n\t\t\n\t\t\tlong nl()throws Exception\n\t\t\t\t{return in.nextLong();}\n\t\t\n\t\t\tdouble nd()throws Exception\n\t\t\t\t{return in.nextDouble();}\n\t\n\t\t\t\tstatic class FastReader \n\t\t\t\t{ \n\t\t\t\t\tfinal private int BUFFER_SIZE = 1 << 16; \n\t\t\t\t\tprivate DataInputStream din; \n\t\t\t\t\tprivate byte[] buffer; \n\t\t\t\t\tprivate int bufferPointer, bytesRead; \n\t\t\t \n\t\t\t\t\tpublic FastReader() \n\t\t\t\t\t{ \n\t\t\t\t\t\tdin = new DataInputStream(System.in); \n\t\t\t\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\t\t\t\tbufferPointer = bytesRead = 0; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic FastReader(String file_name) throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tdin = new DataInputStream(new FileInputStream(file_name)); \n\t\t\t\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\t\t\t\tbufferPointer = bytesRead = 0; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic String readLine() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tbyte[] buf = new byte[64]; // line length \n\t\t\t\t\t\tint cnt = 0, c; \n\t\t\t\t\t\twhile ((c = read()) != -1) \n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\tif (c == '\\n') \n\t\t\t\t\t\t\t\tbreak; \n\t\t\t\t\t\t\tbuf[cnt++] = (byte) c; \n\t\t\t\t\t\t} \n\t\t\t\t\t\treturn new String(buf, 0, cnt); \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic int nextInt() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tint ret = 0; \n\t\t\t\t\t\tbyte c = read(); \n\t\t\t\t\t\twhile (c <= ' ') \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tboolean neg = (c == '-'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tdo\n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} while ((c = read()) >= '0' && c <= '9'); \n\t\t\t \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\treturn -ret; \n\t\t\t\t\t\treturn ret; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic long nextLong() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tlong ret = 0; \n\t\t\t\t\t\tbyte c = read(); \n\t\t\t\t\t\twhile (c <= ' ') \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tboolean neg = (c == '-'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tdo { \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} \n\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\treturn -ret; \n\t\t\t\t\t\treturn ret; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic double nextDouble() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tdouble ret = 0, div = 1; \n\t\t\t\t\t\tbyte c = read(); \n\t\t\t\t\t\twhile (c <= ' ') \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tboolean neg = (c == '-'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\tc = read(); \n\t\t\t \n\t\t\t\t\t\tdo { \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} \n\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n\t\t\t \n\t\t\t\t\t\tif (c == '.') \n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9') \n\t\t\t\t\t\t\t{ \n\t\t\t\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t\t\t\t} \n\t\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\treturn -ret; \n\t\t\t\t\t\treturn ret; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tprivate void fillBuffer() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n\t\t\t\t\t\tif (bytesRead == -1) \n\t\t\t\t\t\t\tbuffer[0] = -1; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tprivate byte read() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tif (bufferPointer == bytesRead) \n\t\t\t\t\t\t\tfillBuffer(); \n\t\t\t\t\t\treturn buffer[bufferPointer++]; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic void close() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tif (din == null) \n\t\t\t\t\t\t\treturn; \n\t\t\t\t\t\tdin.close(); \n\t\t\t\t\t} \n\t\t\t\t} \n}", "public class Main{\n\t\n\t//make it false if Multiple test case is not in the question\n\tstatic boolean multipleTC = false;\n\t\n\t//for pre processing if needed\n\tvoid pre() throws Exception\n\t{}\n\t\tpublic static void main(String[] args) throws Exception{\n\t\t\t\n\t\tnew Main().run();\n\t }\n\t \n\n\n\n\t// input output handled here\n\tprivate String in_out(int tc) throws Exception{\n\t\t //take input here\n\t\t int n=ni();\n\n\n\t\treturn \"\"+(n+(n*n)+(n*n*n));\n\n\t}\n\t\n\n\t\n\n\t\n\t\n\tvoid run() throws Exception{\n\t//\tlong start_time=System.nanoTime();\n\n\t\t//in = new FastReader(\"input.txt\"); out = new PrintWriter(\"output.txt\");\n\t\tin = new FastReader(); out = new PrintWriter(System.out);\n\t\t\n\n\n\t\tStringBuilder print=new StringBuilder(\"\");\n\t\tpre();\n\t\tint T = (multipleTC)?ni():1;\n\t\tfor(int t = 1; t<= T; t++){\n\t\tprint.append(in_out(t)).append(\"\\n\");\n\t\t}\n\n\t\tp(print);\n\t\t//long end_time=System.nanoTime();\n\t\t//System.out.println(\"Running Time in nano sec : \"+(end_time-start_time));\n\t\t\n\t\tout.flush();\n\t\tout.close();\n\t}\n\t\n\tPrintWriter out;\n\t\tFastReader in;\n\t\t\n\t\t\tvoid p(Object o)\n\t\t\t\t{out.print(o);}\n\t\t\tvoid pln(Object o)\n\t\t\t\t{out.println(o);}\n\t\t\tvoid pnf(Object o)\n\t\t\t\t{out.println(o);\n\t\t\t\tout.flush();}\n\t\t\n\t\t\tString n()throws Exception\n\t\t\t\t{return in.readLine();}\n\t\t\n\t\t\tString nln()throws Exception\n\t\t\t\t{return in.readLine();}\n\t\t\n\t\t\tint ni()throws Exception\n\t\t\t\t{return (in.nextInt());}\n\t\t\n\t\t\tlong nl()throws Exception\n\t\t\t\t{return in.nextLong();}\n\t\t\n\t\t\tdouble nd()throws Exception\n\t\t\t\t{return in.nextDouble();}\n\t\n\t\t\t\tstatic class FastReader \n\t\t\t\t{ \n\t\t\t\t\tfinal private int BUFFER_SIZE = 1 << 16; \n\t\t\t\t\tprivate DataInputStream din; \n\t\t\t\t\tprivate byte[] buffer; \n\t\t\t\t\tprivate int bufferPointer, bytesRead; \n\t\t\t \n\t\t\t\t\tpublic FastReader() \n\t\t\t\t\t{ \n\t\t\t\t\t\tdin = new DataInputStream(System.in); \n\t\t\t\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\t\t\t\tbufferPointer = bytesRead = 0; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic FastReader(String file_name) throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tdin = new DataInputStream(new FileInputStream(file_name)); \n\t\t\t\t\t\tbuffer = new byte[BUFFER_SIZE]; \n\t\t\t\t\t\tbufferPointer = bytesRead = 0; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic String readLine() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tbyte[] buf = new byte[64]; // line length \n\t\t\t\t\t\tint cnt = 0, c; \n\t\t\t\t\t\twhile ((c = read()) != -1) \n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\tif (c == '\\n') \n\t\t\t\t\t\t\t\tbreak; \n\t\t\t\t\t\t\tbuf[cnt++] = (byte) c; \n\t\t\t\t\t\t} \n\t\t\t\t\t\treturn new String(buf, 0, cnt); \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic int nextInt() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tint ret = 0; \n\t\t\t\t\t\tbyte c = read(); \n\t\t\t\t\t\twhile (c <= ' ') \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tboolean neg = (c == '-'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tdo\n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} while ((c = read()) >= '0' && c <= '9'); \n\t\t\t \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\treturn -ret; \n\t\t\t\t\t\treturn ret; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic long nextLong() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tlong ret = 0; \n\t\t\t\t\t\tbyte c = read(); \n\t\t\t\t\t\twhile (c <= ' ') \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tboolean neg = (c == '-'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tdo { \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} \n\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\treturn -ret; \n\t\t\t\t\t\treturn ret; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic double nextDouble() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tdouble ret = 0, div = 1; \n\t\t\t\t\t\tbyte c = read(); \n\t\t\t\t\t\twhile (c <= ' ') \n\t\t\t\t\t\t\tc = read(); \n\t\t\t\t\t\tboolean neg = (c == '-'); \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\tc = read(); \n\t\t\t \n\t\t\t\t\t\tdo { \n\t\t\t\t\t\t\tret = ret * 10 + c - '0'; \n\t\t\t\t\t\t} \n\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9'); \n\t\t\t \n\t\t\t\t\t\tif (c == '.') \n\t\t\t\t\t\t{ \n\t\t\t\t\t\t\twhile ((c = read()) >= '0' && c <= '9') \n\t\t\t\t\t\t\t{ \n\t\t\t\t\t\t\t\tret += (c - '0') / (div *= 10); \n\t\t\t\t\t\t\t} \n\t\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\t\tif (neg) \n\t\t\t\t\t\t\treturn -ret; \n\t\t\t\t\t\treturn ret; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tprivate void fillBuffer() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n\t\t\t\t\t\tif (bytesRead == -1) \n\t\t\t\t\t\t\tbuffer[0] = -1; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tprivate byte read() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tif (bufferPointer == bytesRead) \n\t\t\t\t\t\t\tfillBuffer(); \n\t\t\t\t\t\treturn buffer[bufferPointer++]; \n\t\t\t\t\t} \n\t\t\t \n\t\t\t\t\tpublic void close() throws IOException \n\t\t\t\t\t{ \n\t\t\t\t\t\tif (din == null) \n\t\t\t\t\t\t\treturn; \n\t\t\t\t\t\tdin.close(); \n\t\t\t\t\t} \n\t\t\t\t} \n}", "Main" ]
import java.util.*; import java.io.*; public class Main{ //make it false if Multiple test case is not in the question static boolean multipleTC = false; //for pre processing if needed void pre() throws Exception {} public static void main(String[] args) throws Exception{ new Main().run(); } // input output handled here private String in_out(int tc) throws Exception{ //take input here int n=ni(); return ""+(n+(n*n)+(n*n*n)); } void run() throws Exception{ // long start_time=System.nanoTime(); //in = new FastReader("input.txt"); out = new PrintWriter("output.txt"); in = new FastReader(); out = new PrintWriter(System.out); StringBuilder print=new StringBuilder(""); pre(); int T = (multipleTC)?ni():1; for(int t = 1; t<= T; t++){ print.append(in_out(t)).append("\n"); } p(print); //long end_time=System.nanoTime(); //System.out.println("Running Time in nano sec : "+(end_time-start_time)); out.flush(); out.close(); } PrintWriter out; FastReader in; void p(Object o) {out.print(o);} void pln(Object o) {out.println(o);} void pnf(Object o) {out.println(o); out.flush();} String n()throws Exception {return in.readLine();} String nln()throws Exception {return in.readLine();} int ni()throws Exception {return (in.nextInt());} long nl()throws Exception {return in.nextLong();} double nd()throws Exception {return in.nextDouble();} static class FastReader { final private int BUFFER_SIZE = 1 << 16; private DataInputStream din; private byte[] buffer; private int bufferPointer, bytesRead; public FastReader() { din = new DataInputStream(System.in); buffer = new byte[BUFFER_SIZE]; bufferPointer = bytesRead = 0; } public FastReader(String file_name) throws IOException { din = new DataInputStream(new FileInputStream(file_name)); buffer = new byte[BUFFER_SIZE]; bufferPointer = bytesRead = 0; } public String readLine() throws IOException { byte[] buf = new byte[64]; // line length int cnt = 0, c; while ((c = read()) != -1) { if (c == '\n') break; buf[cnt++] = (byte) c; } return new String(buf, 0, cnt); } public int nextInt() throws IOException { int ret = 0; byte c = read(); while (c <= ' ') c = read(); boolean neg = (c == '-'); if (neg) c = read(); do { ret = ret * 10 + c - '0'; } while ((c = read()) >= '0' && c <= '9'); if (neg) return -ret; return ret; } public long nextLong() throws IOException { long ret = 0; byte c = read(); while (c <= ' ') c = read(); boolean neg = (c == '-'); if (neg) c = read(); do { ret = ret * 10 + c - '0'; } while ((c = read()) >= '0' && c <= '9'); if (neg) return -ret; return ret; } public double nextDouble() throws IOException { double ret = 0, div = 1; byte c = read(); while (c <= ' ') c = read(); boolean neg = (c == '-'); if (neg) c = read(); do { ret = ret * 10 + c - '0'; } while ((c = read()) >= '0' && c <= '9'); if (c == '.') { while ((c = read()) >= '0' && c <= '9') { ret += (c - '0') / (div *= 10); } } if (neg) return -ret; return ret; } private void fillBuffer() throws IOException { bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); if (bytesRead == -1) buffer[0] = -1; } private byte read() throws IOException { if (bufferPointer == bytesRead) fillBuffer(); return buffer[bufferPointer++]; } public void close() throws IOException { if (din == null) return; din.close(); } } }
[ 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, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 13, 41, 13, 17, 41, 13, 41, 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, 12, 13, 30, 14, 2, 13, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 4, 18, 18, 13, 13, 17, 30, 0, 13, 18, 13, 13, 0, 13, 20, 0, 13, 20, 4, 13, 12, 13, 30, 4, 18, 20, 23, 13, 6, 13, 41, 13, 41, 13, 20, 17, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 40, 17, 37, 20, 14, 2, 13, 13, 30, 0, 13, 17, 38, 5, 13, 30, 37, 20, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 17, 29, 40, 17, 29, 18, 13, 40, 13, 12, 13, 30, 29, 2, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 40, 17, 23, 13, 12, 13, 30, 29, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 40, 17, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 0, 13, 4, 13, 41, 13, 20, 42, 40, 4, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 0, 13, 4, 13, 41, 13, 20, 42, 40, 4, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 25, 26 ], [ 25, 27 ], [ 0, 28 ], [ 594, 29 ], [ 594, 30 ], [ 30, 31 ], [ 594, 32 ], [ 32, 33 ], [ 32, 34 ], [ 594, 35 ], [ 35, 36 ], [ 35, 37 ], [ 594, 38 ], [ 38, 39 ], [ 38, 40 ], [ 594, 41 ], [ 41, 42 ], [ 41, 43 ], [ 594, 44 ], [ 44, 45 ], [ 594, 46 ], [ 46, 47 ], [ 594, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 50, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 62, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 68, 68 ], [ 68, 69 ], [ 68, 70 ], [ 68, 71 ], [ 594, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 80, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 79, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 75, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 100, 102 ], [ 74, 103 ], [ 103, 104 ], [ 103, 105 ], [ 74, 106 ], [ 106, 107 ], [ 106, 108 ], [ 74, 109 ], [ 109, 110 ], [ 594, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 111, 117 ], [ 117, 118 ], [ 0, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 119, 123 ], [ 123, 124 ], [ 123, 125 ], [ 119, 127 ], [ 127, 128 ], [ 119, 129 ], [ 129, 130 ], [ 119, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 131, 139 ], [ 139, 140 ], [ 119, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 147, 148 ], [ 144, 149 ], [ 149, 150 ], [ 143, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 151, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 162, 163 ], [ 163, 164 ], [ 159, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 169, 170 ], [ 168, 171 ], [ 155, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 172, 176 ], [ 176, 177 ], [ 177, 178 ], [ 143, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 119, 184 ], [ 184, 185 ], [ 184, 186 ], [ 186, 187 ], [ 187, 188 ], [ 191, 189 ], [ 201, 190 ], [ 198, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 191, 195 ], [ 195, 196 ], [ 195, 197 ], [ 198, 198 ], [ 198, 199 ], [ 198, 200 ], [ 201, 201 ], [ 201, 202 ], [ 201, 203 ], [ 191, 204 ], [ 204, 205 ], [ 204, 206 ], [ 206, 207 ], [ 184, 208 ], [ 208, 209 ], [ 119, 210 ], [ 210, 211 ], [ 210, 212 ], [ 212, 213 ], [ 213, 214 ], [ 215, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 215, 219 ], [ 219, 220 ], [ 219, 221 ], [ 215, 222 ], [ 222, 223 ], [ 222, 224 ], [ 224, 225 ], [ 210, 226 ], [ 226, 227 ], [ 119, 228 ], [ 228, 229 ], [ 228, 230 ], [ 230, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 232, 235 ], [ 235, 236 ], [ 119, 237 ], [ 237, 238 ], [ 237, 239 ], [ 239, 240 ], [ 240, 241 ], [ 240, 242 ], [ 239, 244 ], [ 244, 245 ], [ 245, 246 ], [ 246, 247 ], [ 246, 248 ], [ 244, 249 ], [ 249, 250 ], [ 249, 251 ], [ 244, 252 ], [ 252, 253 ], [ 253, 254 ], [ 244, 255 ], [ 255, 256 ], [ 256, 257 ], [ 257, 258 ], [ 257, 259 ], [ 256, 260 ], [ 260, 261 ], [ 239, 262 ], [ 262, 263 ], [ 237, 264 ], [ 264, 265 ], [ 119, 266 ], [ 266, 267 ], [ 266, 268 ], [ 268, 269 ], [ 269, 270 ], [ 269, 271 ], [ 268, 274 ], [ 274, 275 ], [ 275, 276 ], [ 276, 277 ], [ 276, 278 ], [ 274, 279 ], [ 279, 280 ], [ 279, 281 ], [ 274, 282 ], [ 282, 283 ], [ 283, 284 ], [ 274, 285 ], [ 286, 286 ], [ 286, 287 ], [ 287, 288 ], [ 288, 289 ], [ 288, 290 ], [ 287, 291 ], [ 291, 292 ], [ 291, 293 ], [ 268, 294 ], [ 294, 295 ], [ 266, 296 ], [ 296, 297 ], [ 266, 298 ], [ 298, 299 ], [ 119, 300 ], [ 300, 301 ], [ 300, 302 ], [ 302, 303 ], [ 303, 304 ], [ 304, 305 ], [ 305, 306 ], [ 304, 307 ], [ 307, 308 ], [ 119, 309 ], [ 309, 310 ], [ 309, 311 ], [ 311, 312 ], [ 312, 313 ], [ 312, 314 ], [ 311, 316 ], [ 316, 317 ], [ 317, 318 ], [ 318, 319 ], [ 318, 320 ], [ 316, 321 ], [ 321, 322 ], [ 321, 323 ], [ 316, 324 ], [ 324, 325 ], [ 325, 326 ], [ 316, 327 ], [ 327, 328 ], [ 328, 329 ], [ 329, 330 ], [ 329, 331 ], [ 328, 332 ], [ 332, 333 ], [ 311, 334 ], [ 334, 335 ], [ 309, 336 ], [ 336, 337 ], [ 119, 338 ], [ 338, 339 ], [ 338, 340 ], [ 340, 341 ], [ 341, 342 ], [ 341, 343 ], [ 340, 346 ], [ 346, 347 ], [ 347, 348 ], [ 348, 349 ], [ 348, 350 ], [ 346, 351 ], [ 351, 352 ], [ 351, 353 ], [ 346, 354 ], [ 354, 355 ], [ 355, 356 ], [ 346, 357 ], [ 358, 358 ], [ 358, 359 ], [ 359, 360 ], [ 360, 361 ], [ 360, 362 ], [ 359, 363 ], [ 363, 364 ], [ 363, 365 ], [ 340, 366 ], [ 366, 367 ], [ 338, 368 ], [ 368, 369 ], [ 338, 370 ], [ 370, 371 ], [ 119, 372 ], [ 372, 373 ], [ 372, 374 ], [ 374, 375 ], [ 375, 376 ], [ 376, 377 ], [ 377, 378 ], [ 376, 379 ], [ 379, 380 ], [ 119, 381 ], [ 381, 382 ], [ 381, 383 ], [ 383, 384 ], [ 384, 385 ], [ 384, 386 ], [ 383, 388 ], [ 388, 389 ], [ 389, 390 ], [ 390, 391 ], [ 390, 392 ], [ 388, 393 ], [ 393, 394 ], [ 393, 395 ], [ 388, 396 ], [ 396, 397 ], [ 397, 398 ], [ 388, 399 ], [ 399, 400 ], [ 400, 401 ], [ 401, 402 ], [ 401, 403 ], [ 400, 404 ], [ 404, 405 ], [ 383, 406 ], [ 406, 407 ], [ 381, 408 ], [ 408, 409 ], [ 119, 410 ], [ 410, 411 ], [ 410, 412 ], [ 412, 413 ], [ 413, 414 ], [ 413, 415 ], [ 412, 418 ], [ 418, 419 ], [ 419, 420 ], [ 420, 421 ], [ 420, 422 ], [ 418, 423 ], [ 423, 424 ], [ 423, 425 ], [ 418, 426 ], [ 426, 427 ], [ 427, 428 ], [ 418, 429 ], [ 430, 430 ], [ 430, 431 ], [ 431, 432 ], [ 432, 433 ], [ 432, 434 ], [ 431, 435 ], [ 435, 436 ], [ 435, 437 ], [ 412, 438 ], [ 438, 439 ], [ 410, 440 ], [ 440, 441 ], [ 410, 442 ], [ 442, 443 ], [ 119, 444 ], [ 444, 445 ], [ 444, 446 ], [ 446, 447 ], [ 447, 448 ], [ 447, 449 ], [ 449, 450 ], [ 446, 451 ], [ 451, 452 ], [ 452, 453 ], [ 452, 454 ], [ 451, 455 ], [ 455, 456 ], [ 455, 457 ], [ 457, 458 ], [ 446, 459 ], [ 459, 460 ], [ 459, 461 ], [ 446, 462 ], [ 462, 463 ], [ 463, 464 ], [ 464, 465 ], [ 464, 466 ], [ 462, 467 ], [ 467, 468 ], [ 468, 469 ], [ 469, 470 ], [ 468, 471 ], [ 467, 472 ], [ 472, 473 ], [ 472, 474 ], [ 474, 475 ], [ 446, 476 ], [ 476, 477 ], [ 477, 478 ], [ 478, 479 ], [ 119, 480 ], [ 480, 481 ], [ 480, 482 ], [ 482, 483 ], [ 483, 484 ], [ 483, 485 ], [ 482, 487 ], [ 487, 488 ], [ 488, 489 ], [ 489, 490 ], [ 489, 491 ], [ 487, 492 ], [ 492, 493 ], [ 492, 494 ], [ 487, 495 ], [ 495, 496 ], [ 496, 497 ], [ 487, 498 ], [ 498, 499 ], [ 499, 500 ], [ 500, 501 ], [ 500, 502 ], [ 499, 503 ], [ 503, 504 ], [ 482, 505 ], [ 505, 506 ], [ 480, 507 ], [ 507, 508 ], [ 119, 509 ], [ 509, 510 ], [ 509, 511 ], [ 511, 512 ], [ 512, 513 ], [ 512, 514 ], [ 514, 515 ], [ 511, 516 ], [ 516, 517 ], [ 517, 518 ], [ 517, 519 ], [ 516, 520 ], [ 520, 521 ], [ 520, 522 ], [ 522, 523 ], [ 511, 524 ], [ 524, 525 ], [ 524, 526 ], [ 511, 527 ], [ 527, 528 ], [ 528, 529 ], [ 529, 530 ], [ 529, 531 ], [ 527, 532 ], [ 532, 533 ], [ 533, 534 ], [ 534, 535 ], [ 533, 536 ], [ 532, 537 ], [ 537, 538 ], [ 537, 539 ], [ 539, 540 ], [ 511, 541 ], [ 541, 542 ], [ 542, 543 ], [ 543, 544 ], [ 119, 545 ], [ 545, 546 ], [ 545, 547 ], [ 547, 548 ], [ 548, 549 ], [ 548, 550 ], [ 547, 553 ], [ 553, 554 ], [ 554, 555 ], [ 555, 556 ], [ 555, 557 ], [ 553, 558 ], [ 558, 559 ], [ 558, 560 ], [ 553, 561 ], [ 561, 562 ], [ 562, 563 ], [ 553, 564 ], [ 565, 565 ], [ 565, 566 ], [ 566, 567 ], [ 567, 568 ], [ 568, 569 ], [ 568, 570 ], [ 566, 571 ], [ 571, 572 ], [ 571, 573 ], [ 566, 574 ], [ 574, 575 ], [ 575, 576 ], [ 566, 577 ], [ 578, 578 ], [ 578, 579 ], [ 579, 580 ], [ 580, 581 ], [ 581, 582 ], [ 581, 583 ], [ 580, 584 ], [ 579, 585 ], [ 585, 586 ], [ 547, 587 ], [ 587, 588 ], [ 545, 589 ], [ 589, 590 ], [ 545, 591 ], [ 591, 592 ], [ 0, 593 ], [ 593, 594 ], [ 593, 595 ] ]
[ "import java.util.Comparator;\nimport java.util.PriorityQueue;\nimport java.io.IOException;\nimport java.io.PrintWriter;\nimport java.io.InputStream;\nimport java.io.FileInputStream;\nimport java.io.FileNotFoundException;\nimport java.util.InputMismatchException;\nimport java.util.Arrays;\n\npublic class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/F1\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n int a = in.nextInt();\n System.out.println(a + a * a + a * a * a);\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}\n\n\nclass FastScanner {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public FastScanner(InputStream stream) {\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }\n\n int read() {\n if (numChars == -1)\n throw new InputMismatchException();\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 return buf[curChar++];\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public boolean isEndline(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }\n\n public int[][] nextIntMap(int n, int m) {\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public long[] nextLongArray(int n) {\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }\n\n public long[][] nextLongMap(int n, int m) {\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public double[] nextDoubleArray(int n) {\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }\n\n public double[][] nextDoubleMap(int n, int m) {\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }\n\n public String next() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String[] nextStringArray(int n) {\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }\n\n public String nextLine() {\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }\n\n public int[][] nextPackedIntArrays(int packN, int size) {\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }\n}", "import java.util.Comparator;", "Comparator", "java.util", "import java.util.PriorityQueue;", "PriorityQueue", "java.util", "import java.io.IOException;", "IOException", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.FileInputStream;", "FileInputStream", "java.io", "import java.io.FileNotFoundException;", "FileNotFoundException", "java.io", "import java.util.InputMismatchException;", "InputMismatchException", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/F1\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n int a = in.nextInt();\n System.out.println(a + a * a + a * a * a);\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}", "Main", "InputStream is;", "is", "int __t__ = 1;", "__t__", "1", "int __f__ = 0;", "__f__", "0", "int __FILE_DEBUG_FLAG__ = __f__;", "__FILE_DEBUG_FLAG__", "__f__", "String __DEBUG_FILE_NAME__ = \"src/F1\";", "__DEBUG_FILE_NAME__", "\"src/F1\"", "FastScanner in;", "in", "PrintWriter out;", "out", "public void solve() {\n int a = in.nextInt();\n System.out.println(a + a * a + a * a * a);\n }", "solve", "{\n int a = in.nextInt();\n System.out.println(a + a * a + a * a * a);\n }", "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", "public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }", "run", "{\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }", "if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }", "__FILE_DEBUG_FLAG__ == __t__", "__FILE_DEBUG_FLAG__", "__t__", "{\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n }", "try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }", "catch (FileNotFoundException e) {\n e.printStackTrace();\n }", "FileNotFoundException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n }", "is = new FileInputStream(__DEBUG_FILE_NAME__)", "is", "new FileInputStream(__DEBUG_FILE_NAME__)", "System.out.println(\"FILE_INPUT!\")", "System.out.println", "System.out", "System", "System.out", "\"FILE_INPUT!\"", "{\n is = System.in;\n }", "is = System.in", "is", "System.in", "System", "System.in", "in = new FastScanner(is)", "in", "new FastScanner(is)", "out = new PrintWriter(System.out)", "out", "new PrintWriter(System.out)", "solve()", "solve", "public static void main(final String[] args) {\n new Main().run();\n }", "main", "{\n new Main().run();\n }", "new Main().run()", "new Main().run", "new Main()", "final String[] args", "args", "class FastScanner {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public FastScanner(InputStream stream) {\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }\n\n int read() {\n if (numChars == -1)\n throw new InputMismatchException();\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 return buf[curChar++];\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public boolean isEndline(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }\n\n public int[][] nextIntMap(int n, int m) {\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public long[] nextLongArray(int n) {\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }\n\n public long[][] nextLongMap(int n, int m) {\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public double[] nextDoubleArray(int n) {\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }\n\n public double[][] nextDoubleMap(int n, int m) {\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }\n\n public String next() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String[] nextStringArray(int n) {\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }\n\n public String nextLine() {\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }\n\n public int[][] nextPackedIntArrays(int packN, int size) {\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }\n}", "FastScanner", "private InputStream stream;", "stream", "private byte[] buf = new byte[1024];", "buf", "new byte[1024]", "1024", "private int curChar;", "curChar", "private int numChars;", "numChars", "public FastScanner(InputStream stream) {\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }", "FastScanner", "{\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }", "this.stream = stream", "this.stream", "this", "this.stream", "stream", "InputStream stream", "stream", "int read() {\n if (numChars == -1)\n throw new InputMismatchException();\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 return buf[curChar++];\n }", "read", "{\n if (numChars == -1)\n throw new InputMismatchException();\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 return buf[curChar++];\n }", "if (numChars == -1)\n throw new InputMismatchException();", "numChars == -1", "numChars", "-1", "1", "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 }", "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 }", "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;", "numChars <= 0", "numChars", "0", "return -1;", "-1", "1", "return buf[curChar++];", "buf[curChar++]", "buf", "curChar++", "curChar", "public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "isSpaceChar", "{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == '\\t'", "c == '\\r'", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == ' '", "c", "' '", "c == '\\n'", "c", "'\\n'", "c == '\\r'", "c", "'\\r'", "c == '\\t'", "c", "'\\t'", "c == -1", "c", "-1", "1", "int c", "c", "public boolean isEndline(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }", "isEndline", "{\n return c == '\\n' || c == '\\r' || c == -1;\n }", "return c == '\\n' || c == '\\r' || c == -1;", "c == '\\n' || c == '\\r' || c == -1", "c == '\\n' || c == '\\r' || c == -1", "c == '\\n'", "c", "'\\n'", "c == '\\r'", "c", "'\\r'", "c == -1", "c", "-1", "1", "int c", "c", "public 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 int[] nextIntArray(int n) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }", "nextIntArray", "{\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }", "int[] array = new int[n];", "array", "new int[n]", "n", "for (int i = 0; i < n; i++)\n array[i] = nextInt();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "array[i] = nextInt();", "array[i] = nextInt()", "array[i]", "array", "i", "nextInt()", "nextInt", "return array;", "array", "int n", "n", "public int[][] nextIntMap(int n, int m) {\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }", "nextIntMap", "{\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }", "int[][] map = new int[n][m];", "map", "new int[n][m]", "n", "m", "for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n map[i] = nextIntArray(m);\n }", "{\n map[i] = nextIntArray(m);\n }", "map[i] = nextIntArray(m)", "map[i]", "map", "i", "nextIntArray(m)", "nextIntArray", "m", "return map;", "map", "int n", "n", "int m", "m", "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 long[] nextLongArray(int n) {\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }", "nextLongArray", "{\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }", "long[] array = new long[n];", "array", "new long[n]", "n", "for (int i = 0; i < n; i++)\n array[i] = nextLong();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "array[i] = nextLong();", "array[i] = nextLong()", "array[i]", "array", "i", "nextLong()", "nextLong", "return array;", "array", "int n", "n", "public long[][] nextLongMap(int n, int m) {\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }", "nextLongMap", "{\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }", "long[][] map = new long[n][m];", "map", "new long[n][m]", "n", "m", "for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n map[i] = nextLongArray(m);\n }", "{\n map[i] = nextLongArray(m);\n }", "map[i] = nextLongArray(m)", "map[i]", "map", "i", "nextLongArray(m)", "nextLongArray", "m", "return map;", "map", "int n", "n", "int m", "m", "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 double[] nextDoubleArray(int n) {\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }", "nextDoubleArray", "{\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }", "double[] array = new double[n];", "array", "new double[n]", "n", "for (int i = 0; i < n; i++)\n array[i] = nextDouble();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "array[i] = nextDouble();", "array[i] = nextDouble()", "array[i]", "array", "i", "nextDouble()", "nextDouble", "return array;", "array", "int n", "n", "public double[][] nextDoubleMap(int n, int m) {\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }", "nextDoubleMap", "{\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }", "double[][] map = new double[n][m];", "map", "new double[n][m]", "n", "m", "for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n map[i] = nextDoubleArray(m);\n }", "{\n map[i] = nextDoubleArray(m);\n }", "map[i] = nextDoubleArray(m)", "map[i]", "map", "i", "nextDoubleArray(m)", "nextDoubleArray", "m", "return map;", "map", "int n", "n", "int m", "m", "public String next() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }", "next", "{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }", "int c = read();", "c", "read()", "read", "while (isSpaceChar(c))\n c = read();", "isSpaceChar(c)", "isSpaceChar", "c", "c = read()", "c", "read()", "read", "StringBuilder res = new StringBuilder();", "res", "new StringBuilder()", "do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n res.appendCodePoint(c);\n c = read();\n }", "res.appendCodePoint(c)", "res.appendCodePoint", "res", "c", "c = read()", "c", "read()", "read", "return res.toString();", "res.toString()", "res.toString", "res", "public String[] nextStringArray(int n) {\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }", "nextStringArray", "{\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }", "String[] array = new String[n];", "array", "new String[n]", "n", "for (int i = 0; i < n; i++)\n array[i] = next();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "array[i] = next();", "array[i] = next()", "array[i]", "array", "i", "next()", "next", "return array;", "array", "int n", "n", "public String nextLine() {\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }", "nextLine", "{\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }", "int c = read();", "c", "read()", "read", "while (isEndline(c))\n c = read();", "isEndline(c)", "isEndline", "c", "c = read()", "c", "read()", "read", "StringBuilder res = new StringBuilder();", "res", "new StringBuilder()", "do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));", "!isEndline(c)", "isEndline(c)", "isEndline", "c", "{\n res.appendCodePoint(c);\n c = read();\n }", "res.appendCodePoint(c)", "res.appendCodePoint", "res", "c", "c = read()", "c", "read()", "read", "return res.toString();", "res.toString()", "res.toString", "res", "public int[][] nextPackedIntArrays(int packN, int size) {\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }", "nextPackedIntArrays", "{\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }", "int[][] res = new int[packN][size];", "res", "new int[packN][size]", "packN", "size", "for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < size", "i", "size", "i++", "i++", "i", "{\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }", "{\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }", "for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < packN", "j", "packN", "j++", "j++", "j", "{\n res[j][i] = nextInt();\n }", "{\n res[j][i] = nextInt();\n }", "res[j][i] = nextInt()", "res[j][i]", "res[j]", "res", "j", "i", "nextInt()", "nextInt", "return res;", "res", "int packN", "packN", "int size", "size", "public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/F1\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n int a = in.nextInt();\n System.out.println(a + a * a + a * a * a);\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}", "public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/F1\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n int a = in.nextInt();\n System.out.println(a + a * a + a * a * a);\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}", "Main" ]
import java.util.Comparator; import java.util.PriorityQueue; import java.io.IOException; import java.io.PrintWriter; import java.io.InputStream; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.util.InputMismatchException; import java.util.Arrays; public class Main { InputStream is; int __t__ = 1; int __f__ = 0; int __FILE_DEBUG_FLAG__ = __f__; String __DEBUG_FILE_NAME__ = "src/F1"; FastScanner in; PrintWriter out; public void solve() { int a = in.nextInt(); System.out.println(a + a * a + a * a * a); } public void run() { if (__FILE_DEBUG_FLAG__ == __t__) { try { is = new FileInputStream(__DEBUG_FILE_NAME__); } catch (FileNotFoundException e) { e.printStackTrace(); } System.out.println("FILE_INPUT!"); } else { is = System.in; } in = new FastScanner(is); out = new PrintWriter(System.out); solve(); } public static void main(final String[] args) { new Main().run(); } } class FastScanner { private InputStream stream; private byte[] buf = new byte[1024]; private int curChar; private int numChars; public FastScanner(InputStream stream) { this.stream = stream; // stream = new FileInputStream(new File("dec.in")); } 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 boolean isSpaceChar(int c) { return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1; } public boolean isEndline(int c) { return c == '\n' || c == '\r' || c == -1; } public int nextInt() { return Integer.parseInt(next()); } public int[] nextIntArray(int n) { int[] array = new int[n]; for (int i = 0; i < n; i++) array[i] = nextInt(); return array; } public int[][] nextIntMap(int n, int m) { int[][] map = new int[n][m]; for (int i = 0; i < n; i++) { map[i] = nextIntArray(m); } return map; } public long nextLong() { return Long.parseLong(next()); } public long[] nextLongArray(int n) { long[] array = new long[n]; for (int i = 0; i < n; i++) array[i] = nextLong(); return array; } public long[][] nextLongMap(int n, int m) { long[][] map = new long[n][m]; for (int i = 0; i < n; i++) { map[i] = nextLongArray(m); } return map; } public double nextDouble() { return Double.parseDouble(next()); } public double[] nextDoubleArray(int n) { double[] array = new double[n]; for (int i = 0; i < n; i++) array[i] = nextDouble(); return array; } public double[][] nextDoubleMap(int n, int m) { double[][] map = new double[n][m]; for (int i = 0; i < n; i++) { map[i] = nextDoubleArray(m); } return map; } public String next() { int c = read(); while (isSpaceChar(c)) c = read(); StringBuilder res = new StringBuilder(); do { res.appendCodePoint(c); c = read(); } while (!isSpaceChar(c)); return res.toString(); } public String[] nextStringArray(int n) { String[] array = new String[n]; for (int i = 0; i < n; i++) array[i] = next(); return array; } public String nextLine() { int c = read(); while (isEndline(c)) c = read(); StringBuilder res = new StringBuilder(); do { res.appendCodePoint(c); c = read(); } while (!isEndline(c)); return res.toString(); } public int[][] nextPackedIntArrays(int packN, int size) { int[][] res = new int[packN][size]; for (int i = 0; i < size; i++) { for (int j = 0; j < packN; j++) { res[j][i] = nextInt(); } } return 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, 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.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\t\n\t\tSystem.out.println(n+n*n+n*n*n);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\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\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\t\n\t\tSystem.out.println(n+n*n+n*n*n);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\t\n\t\tSystem.out.println(n+n*n+n*n*n);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "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\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\t\n\t\tSystem.out.println(n+n*n+n*n*n);\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\t\n\t\tSystem.out.println(n+n*n+n*n*n);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.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, 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.Scanner;\npublic class Main {\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\tint n = a + (a*a) + (a*a*a);\n\t\tSystem.out.println(n);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint a = scan.nextInt();\n\t\tint n = a + (a*a) + (a*a*a);\n\t\tSystem.out.println(n);\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\tint n = a + (a*a) + (a*a*a);\n\t\tSystem.out.println(n);\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint a = scan.nextInt();\n\t\tint n = a + (a*a) + (a*a*a);\n\t\tSystem.out.println(n);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "int n = a + (a*a) + (a*a*a);", "n", "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(n)", "System.out.println", "System.out", "System", "System.out", "n", "String[] args", "args", "public class Main {\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\tint n = a + (a*a) + (a*a*a);\n\t\tSystem.out.println(n);\n\t}\n}", "public class Main {\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\tint n = a + (a*a) + (a*a*a);\n\t\tSystem.out.println(n);\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 n = a + (a*a) + (a*a*a); System.out.println(n); } }
[ 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.*;\nimport java.util.regex.Matcher;\nimport java.util.regex.Pattern;\n \npublic class Main {\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n\n System.out.println(a + a*a + a*a*a);\n\n }\n}", "import java.util.*;", "util.*", "java", "import java.util.regex.Matcher;", "Matcher", "java.util.regex", "import java.util.regex.Pattern;", "Pattern", "java.util.regex", "public class Main {\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n int a = scan.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 scan = new Scanner(System.in);\n int a = scan.nextInt();\n\n System.out.println(a + a*a + a*a*a);\n\n }", "main", "{\n\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n\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", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n int a = scan.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 scan = new Scanner(System.in);\n int a = scan.nextInt();\n\n System.out.println(a + a*a + a*a*a);\n\n }\n}", "Main" ]
import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(); 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, 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 ], [ 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 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 22, 26 ], [ 11, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 29, 33 ], [ 11, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 40, 40 ], [ 40, 41 ], [ 40, 42 ], [ 40, 43 ], [ 9, 44 ], [ 44, 45 ], [ 0, 46 ], [ 46, 47 ], [ 46, 48 ] ]
[ "import java.util.*;\nimport java.io.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = (int)Math.pow(a,2);\n int c = (int)Math.pow(a,3);\n System.out.println(a+b+c);\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = (int)Math.pow(a,2);\n int c = (int)Math.pow(a,3);\n System.out.println(a+b+c);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = (int)Math.pow(a,2);\n int c = (int)Math.pow(a,3);\n System.out.println(a+b+c);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = (int)Math.pow(a,2);\n int c = (int)Math.pow(a,3);\n System.out.println(a+b+c);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "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 public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = (int)Math.pow(a,2);\n int c = (int)Math.pow(a,3);\n System.out.println(a+b+c);\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = (int)Math.pow(a,2);\n int c = (int)Math.pow(a,3);\n System.out.println(a+b+c);\n }\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int a = sc.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, 41, 13, 41, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 4, 18, 13, 4, 18, 13, 4, 18, 13, 23, 13, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 2, 2, 13, 2, 13, 13, 2, 2, 13, 13, 13, 29, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 77, 5 ], [ 77, 6 ], [ 6, 7 ], [ 77, 8 ], [ 8, 9 ], [ 77, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 12, 16 ], [ 16, 17 ], [ 16, 18 ], [ 12, 19 ], [ 19, 20 ], [ 20, 21 ], [ 19, 22 ], [ 22, 23 ], [ 23, 24 ], [ 12, 25 ], [ 25, 26 ], [ 26, 27 ], [ 10, 28 ], [ 28, 29 ], [ 77, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 32, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 43, 44 ], [ 30, 45 ], [ 45, 46 ], [ 77, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 53, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 59, 59 ], [ 59, 60 ], [ 59, 61 ], [ 59, 62 ], [ 49, 63 ], [ 63, 64 ], [ 77, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 65, 74 ], [ 74, 75 ], [ 0, 76 ], [ 76, 77 ], [ 76, 78 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }\n \n\t//フィールド\n Scanner sc;\n int a;\n \n //入力\n Main(Scanner sc) {\n this.sc = sc;\n this.a = sc.nextInt();\n }\n \n //解答処理\n private int solve() {\n int answer = a + a*a + a*a*a; \n return answer;\n }\n \n //出力\n public void show(int answer) {\n System.out.println(answer);\n }\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }\n \n\t//フィールド\n Scanner sc;\n int a;\n \n //入力\n Main(Scanner sc) {\n this.sc = sc;\n this.a = sc.nextInt();\n }\n \n //解答処理\n private int solve() {\n int answer = a + a*a + a*a*a; \n return answer;\n }\n \n //出力\n public void show(int answer) {\n System.out.println(answer);\n }\n\n}", "Main", "//フィールド\n Scanner sc;", "sc", "int a;", "a", "public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "Main m = new Main(sc);", "m", "new Main(sc)", "m.show(m.solve())", "m.show", "m", "m.solve()", "m.solve", "m", "sc.close()", "sc.close", "sc", "String[] args", "args", "//入力\n Main(Scanner sc) {\n this.sc = sc;\n this.a = sc.nextInt();\n }", "Main", "{\n this.sc = sc;\n this.a = sc.nextInt();\n }", "this.sc = sc", "this.sc", "this", "this.sc", "sc", "this.a = sc.nextInt()", "this.a", "this", "this.a", "sc.nextInt()", "sc.nextInt", "sc", "Scanner sc", "sc", "//解答処理\n private int solve() {\n int answer = a + a*a + a*a*a; \n return answer;\n }", "solve", "{\n int answer = a + a*a + a*a*a; \n return answer;\n }", "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", "return answer;", "answer", "//出力\n public void show(int answer) {\n System.out.println(answer);\n }", "show", "{\n System.out.println(answer);\n }", "System.out.println(answer)", "System.out.println", "System.out", "System", "System.out", "answer", "int answer", "answer", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }\n \n\t//フィールド\n Scanner sc;\n int a;\n \n //入力\n Main(Scanner sc) {\n this.sc = sc;\n this.a = sc.nextInt();\n }\n \n //解答処理\n private int solve() {\n int answer = a + a*a + a*a*a; \n return answer;\n }\n \n //出力\n public void show(int answer) {\n System.out.println(answer);\n }\n\n}", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }\n \n\t//フィールド\n Scanner sc;\n int a;\n \n //入力\n Main(Scanner sc) {\n this.sc = sc;\n this.a = sc.nextInt();\n }\n \n //解答処理\n private int solve() {\n int answer = a + a*a + a*a*a; \n return answer;\n }\n \n //出力\n public void show(int answer) {\n System.out.println(answer);\n }\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); Main m = new Main(sc); m.show(m.solve()); sc.close(); } //フィールド Scanner sc; int a; //入力 Main(Scanner sc) { this.sc = sc; this.a = sc.nextInt(); } //解答処理 private int solve() { int answer = a + a*a + a*a*a; return answer; } //出力 public void show(int answer) { System.out.println(answer); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 41, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 0, 13, 20, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 41, 13, 4, 13, 4, 18, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 66, 8 ], [ 66, 9 ], [ 9, 10 ], [ 9, 11 ], [ 66, 12 ], [ 12, 13 ], [ 12, 14 ], [ 66, 15 ], [ 15, 16 ], [ 66, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 21, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 19, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 37, 38 ], [ 66, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 41, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 50, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 56, 56 ], [ 56, 57 ], [ 56, 58 ], [ 56, 59 ], [ 41, 60 ], [ 60, 61 ], [ 61, 62 ], [ 39, 63 ], [ 63, 64 ], [ 0, 65 ], [ 65, 66 ], [ 65, 67 ] ]
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main {\n private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n private static final PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n private static StringTokenizer st;\n\n private static int readInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return Integer.parseInt(st.nextToken());\n }\n\n public static void main(String[] args) throws IOException {\n int a = readInt();\n pw.println(a + a * a + a * a * a);\n pw.close();\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n private static final PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n private static StringTokenizer st;\n\n private static int readInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return Integer.parseInt(st.nextToken());\n }\n\n public static void main(String[] args) throws IOException {\n int a = readInt();\n pw.println(a + a * a + a * a * a);\n pw.close();\n }\n}", "Main", "private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "private static final PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));", "pw", "new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)))", "private static StringTokenizer st;", "st", "private static int readInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return Integer.parseInt(st.nextToken());\n }", "readInt", "{\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return Integer.parseInt(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 Integer.parseInt(st.nextToken());", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "public static void main(String[] args) throws IOException {\n int a = readInt();\n pw.println(a + a * a + a * a * a);\n pw.close();\n }", "main", "{\n int a = readInt();\n pw.println(a + a * a + a * a * a);\n pw.close();\n }", "int a = readInt();", "a", "readInt()", "readInt", "pw.println(a + a * a + a * a * a)", "pw.println", "pw", "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", "pw.close()", "pw.close", "pw", "String[] args", "args", "public class Main {\n private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n private static final PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n private static StringTokenizer st;\n\n private static int readInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return Integer.parseInt(st.nextToken());\n }\n\n public static void main(String[] args) throws IOException {\n int a = readInt();\n pw.println(a + a * a + a * a * a);\n pw.close();\n }\n}", "public class Main {\n private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n private static final PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n private static StringTokenizer st;\n\n private static int readInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return Integer.parseInt(st.nextToken());\n }\n\n public static void main(String[] args) throws IOException {\n int a = readInt();\n pw.println(a + a * a + a * a * a);\n pw.close();\n }\n}", "Main" ]
import java.io.*; import java.util.*; public class Main { private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); private static final PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out))); private static StringTokenizer st; private static int readInt() throws IOException { while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine()); return Integer.parseInt(st.nextToken()); } public static void main(String[] args) throws IOException { int a = readInt(); pw.println(a + a * a + a * a * a); 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, 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, 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, 37, 20, 14, 2, 13, 13, 30, 0, 13, 17, 38, 5, 13, 30, 37, 20, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 17, 29, 40, 17, 29, 18, 13, 40, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 30, 0, 13, 4, 13, 41, 13, 17, 14, 2, 13, 17, 30, 0, 13, 40, 17, 0, 13, 4, 13, 41, 13, 17, 42, 40, 4, 13, 13, 30, 14, 2, 2, 13, 17, 2, 13, 17, 37, 20, 0, 13, 17, 0, 13, 2, 13, 17, 0, 13, 4, 13, 29, 2, 13, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 30, 0, 13, 4, 13, 41, 13, 17, 14, 2, 13, 17, 30, 0, 13, 40, 17, 0, 13, 4, 13, 41, 13, 17, 42, 40, 4, 13, 13, 30, 14, 2, 2, 13, 17, 2, 13, 17, 37, 20, 0, 13, 17, 0, 13, 2, 13, 17, 0, 13, 4, 13, 29, 2, 13, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 36, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 36, 29, 13, 23, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 30, 0, 13, 4, 13, 41, 13, 20, 42, 40, 4, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 0, 13, 4, 13, 41, 13, 20, 42, 40, 4, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 14, 2, 13, 17, 29, 4, 18, 13, 13, 29, 2, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 40, 17, 23, 13, 12, 13, 30, 29, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 40, 17, 23, 13, 6, 13, 12, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 438, 8 ], [ 438, 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 ], [ 24, 25 ], [ 23, 26 ], [ 27, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 11, 37 ], [ 37, 38 ], [ 38, 39 ], [ 9, 40 ], [ 40, 41 ], [ 438, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 42, 46 ], [ 46, 47 ], [ 46, 48 ], [ 42, 50 ], [ 50, 51 ], [ 42, 52 ], [ 52, 53 ], [ 42, 54 ], [ 54, 55 ], [ 42, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 56, 64 ], [ 64, 65 ], [ 42, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 69, 74 ], [ 74, 75 ], [ 68, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 88, 89 ], [ 84, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 80, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 101, 102 ], [ 102, 103 ], [ 68, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 42, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 111, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 111, 125 ], [ 125, 126 ], [ 125, 127 ], [ 111, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 135, 136 ], [ 132, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 111, 141 ], [ 141, 142 ], [ 141, 143 ], [ 111, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 144, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 151, 155 ], [ 155, 156 ], [ 155, 157 ], [ 150, 158 ], [ 158, 159 ], [ 149, 160 ], [ 160, 161 ], [ 160, 162 ], [ 149, 163 ], [ 163, 164 ], [ 163, 165 ], [ 165, 166 ], [ 165, 167 ], [ 149, 168 ], [ 168, 169 ], [ 168, 170 ], [ 170, 171 ], [ 111, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 42, 176 ], [ 176, 177 ], [ 176, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 181, 182 ], [ 178, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 183, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 190, 191 ], [ 178, 192 ], [ 192, 193 ], [ 192, 194 ], [ 178, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 195, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 199, 204 ], [ 204, 205 ], [ 204, 206 ], [ 206, 207 ], [ 178, 208 ], [ 208, 209 ], [ 208, 210 ], [ 178, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 211, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 218, 222 ], [ 222, 223 ], [ 222, 224 ], [ 217, 225 ], [ 225, 226 ], [ 216, 227 ], [ 227, 228 ], [ 227, 229 ], [ 216, 230 ], [ 230, 231 ], [ 230, 232 ], [ 232, 233 ], [ 232, 234 ], [ 216, 235 ], [ 235, 236 ], [ 235, 237 ], [ 237, 238 ], [ 178, 239 ], [ 239, 240 ], [ 240, 241 ], [ 240, 242 ], [ 42, 243 ], [ 243, 244 ], [ 243, 245 ], [ 245, 246 ], [ 246, 247 ], [ 246, 248 ], [ 245, 250 ], [ 250, 251 ], [ 251, 252 ], [ 252, 253 ], [ 252, 254 ], [ 250, 255 ], [ 255, 256 ], [ 255, 257 ], [ 250, 258 ], [ 258, 259 ], [ 259, 260 ], [ 250, 261 ], [ 262, 262 ], [ 262, 263 ], [ 263, 264 ], [ 264, 265 ], [ 264, 266 ], [ 263, 267 ], [ 267, 268 ], [ 268, 269 ], [ 245, 270 ], [ 270, 271 ], [ 243, 272 ], [ 272, 273 ], [ 42, 274 ], [ 274, 275 ], [ 274, 276 ], [ 276, 277 ], [ 277, 278 ], [ 277, 279 ], [ 276, 281 ], [ 281, 282 ], [ 282, 283 ], [ 283, 284 ], [ 283, 285 ], [ 281, 286 ], [ 286, 287 ], [ 286, 288 ], [ 281, 289 ], [ 289, 290 ], [ 290, 291 ], [ 281, 292 ], [ 293, 293 ], [ 293, 294 ], [ 294, 295 ], [ 295, 296 ], [ 295, 297 ], [ 294, 298 ], [ 298, 299 ], [ 299, 300 ], [ 276, 301 ], [ 301, 302 ], [ 274, 303 ], [ 303, 304 ], [ 42, 305 ], [ 305, 306 ], [ 305, 307 ], [ 307, 308 ], [ 308, 309 ], [ 308, 310 ], [ 310, 311 ], [ 307, 312 ], [ 312, 313 ], [ 313, 314 ], [ 313, 315 ], [ 312, 316 ], [ 316, 317 ], [ 317, 318 ], [ 317, 319 ], [ 319, 320 ], [ 307, 321 ], [ 321, 322 ], [ 321, 323 ], [ 307, 324 ], [ 324, 325 ], [ 325, 326 ], [ 326, 327 ], [ 326, 328 ], [ 324, 329 ], [ 329, 330 ], [ 330, 331 ], [ 331, 332 ], [ 330, 333 ], [ 329, 334 ], [ 334, 335 ], [ 334, 336 ], [ 336, 337 ], [ 307, 338 ], [ 338, 339 ], [ 339, 340 ], [ 340, 341 ], [ 42, 342 ], [ 342, 343 ], [ 342, 344 ], [ 344, 345 ], [ 345, 346 ], [ 345, 347 ], [ 347, 348 ], [ 344, 349 ], [ 349, 350 ], [ 350, 351 ], [ 350, 352 ], [ 349, 353 ], [ 353, 354 ], [ 353, 355 ], [ 355, 356 ], [ 344, 357 ], [ 357, 358 ], [ 357, 359 ], [ 344, 360 ], [ 360, 361 ], [ 361, 362 ], [ 362, 363 ], [ 362, 364 ], [ 360, 365 ], [ 365, 366 ], [ 366, 367 ], [ 367, 368 ], [ 366, 369 ], [ 365, 370 ], [ 370, 371 ], [ 370, 372 ], [ 372, 373 ], [ 344, 374 ], [ 374, 375 ], [ 375, 376 ], [ 376, 377 ], [ 42, 378 ], [ 378, 379 ], [ 378, 380 ], [ 380, 381 ], [ 381, 382 ], [ 382, 383 ], [ 382, 384 ], [ 381, 385 ], [ 385, 386 ], [ 386, 387 ], [ 387, 388 ], [ 386, 389 ], [ 380, 390 ], [ 390, 391 ], [ 394, 392 ], [ 404, 393 ], [ 401, 394 ], [ 394, 395 ], [ 395, 396 ], [ 395, 397 ], [ 394, 398 ], [ 398, 399 ], [ 398, 400 ], [ 401, 401 ], [ 401, 402 ], [ 401, 403 ], [ 404, 404 ], [ 404, 405 ], [ 404, 406 ], [ 394, 407 ], [ 407, 408 ], [ 407, 409 ], [ 409, 410 ], [ 378, 411 ], [ 411, 412 ], [ 42, 413 ], [ 413, 414 ], [ 413, 415 ], [ 415, 416 ], [ 416, 417 ], [ 418, 418 ], [ 418, 419 ], [ 419, 420 ], [ 419, 421 ], [ 418, 422 ], [ 422, 423 ], [ 422, 424 ], [ 418, 425 ], [ 425, 426 ], [ 425, 427 ], [ 427, 428 ], [ 413, 429 ], [ 429, 430 ], [ 42, 431 ], [ 431, 432 ], [ 431, 433 ], [ 433, 434 ], [ 433, 435 ], [ 435, 436 ], [ 0, 437 ], [ 437, 438 ], [ 437, 439 ] ]
[ "\nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n int a = in.nextInt();\n w.println(a + (a * a) + (a * a * a));\n w.close();\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n int a = in.nextInt();\n w.println(a + (a * a) + (a * a * a));\n w.close();\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}", "Main", "public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n int a = in.nextInt();\n w.println(a + (a * a) + (a * a * a));\n w.close();\n }", "main", "{\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n int a = in.nextInt();\n w.println(a + (a * a) + (a * a * a));\n w.close();\n }", "InputReader in = new InputReader(System.in);", "in", "new InputReader(System.in)", "PrintWriter w = new PrintWriter(System.out);", "w", "new PrintWriter(System.out)", "int a = in.nextInt();", "a", "in.nextInt()", "in.nextInt", "in", "w.println(a + (a * a) + (a * a * a))", "w.println", "w", "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", "w.close()", "w.close", "w", "String[] args", "args", "static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }", "InputReader", "private final InputStream stream;", "stream", "private final byte[] buf = new byte[8192];", "buf", "new byte[8192]", "8192", "private int curChar", "curChar", "snumChars;", "snumChars", "private 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 snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }", "snext", "{\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }", "if (snumChars == -1)\n throw new InputMismatchException();", "snumChars == -1", "snumChars", "-1", "1", "throw new InputMismatchException();", "new InputMismatchException()", "if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }", "curChar >= snumChars", "curChar", "snumChars", "{\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }", "curChar = 0", "curChar", "0", "try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }", "catch (IOException e) {\n throw new InputMismatchException();\n }", "IOException e", "{\n throw new InputMismatchException();\n }", "throw new InputMismatchException();", "new InputMismatchException()", "{\n snumChars = stream.read(buf);\n }", "snumChars = stream.read(buf)", "snumChars", "stream.read(buf)", "stream.read", "stream", "buf", "if (snumChars <= 0)\n return -1;", "snumChars <= 0", "snumChars", "0", "return -1;", "-1", "1", "return buf[curChar++];", "buf[curChar++]", "buf", "curChar++", "curChar", "public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "nextInt", "{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "int c = snext();", "c", "snext()", "snext", "while (isSpaceChar(c)) {\n c = snext();\n }", "isSpaceChar(c)", "isSpaceChar", "c", "{\n c = snext();\n }", "c = snext()", "c", "snext()", "snext", "int sgn = 1;", "sgn", "1", "if (c == '-') {\n sgn = -1;\n c = snext();\n }", "c == '-'", "c", "'-'", "{\n sgn = -1;\n c = snext();\n }", "sgn = -1", "sgn", "-1", "1", "c = snext()", "c", "snext()", "snext", "int res = 0;", "res", "0", "do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n }", "if (c < '0' || c > '9')\n throw new InputMismatchException();", "c < '0' || c > '9'", "c < '0'", "c", "'0'", "c > '9'", "c", "'9'", "throw new InputMismatchException();", "new InputMismatchException()", "res *= 10", "res", "10", "res += c - '0'", "res", "c - '0'", "c", "'0'", "c = snext()", "c", "snext()", "snext", "return res * sgn;", "res * sgn", "res", "sgn", "public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "nextLong", "{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "int c = snext();", "c", "snext()", "snext", "while (isSpaceChar(c)) {\n c = snext();\n }", "isSpaceChar(c)", "isSpaceChar", "c", "{\n c = snext();\n }", "c = snext()", "c", "snext()", "snext", "int sgn = 1;", "sgn", "1", "if (c == '-') {\n sgn = -1;\n c = snext();\n }", "c == '-'", "c", "'-'", "{\n sgn = -1;\n c = snext();\n }", "sgn = -1", "sgn", "-1", "1", "c = snext()", "c", "snext()", "snext", "long res = 0;", "res", "0", "do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n }", "if (c < '0' || c > '9')\n throw new InputMismatchException();", "c < '0' || c > '9'", "c < '0'", "c", "'0'", "c > '9'", "c", "'9'", "throw new InputMismatchException();", "new InputMismatchException()", "res *= 10", "res", "10", "res += c - '0'", "res", "c - '0'", "c", "'0'", "c = snext()", "c", "snext()", "snext", "return res * sgn;", "res * sgn", "res", "sgn", "public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }\n return a;\n }", "nextIntArray", "{\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }\n return a;\n }", "int a[] = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n a[i] = this.nextInt();\n }", "{\n a[i] = this.nextInt();\n }", "a[i] = this.nextInt()", "a[i]", "a", "i", "this.nextInt()", "this.nextInt", "this", "return a;", "a", "int n", "n", "public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }", "nextLongArray", "{\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }", "long a[] = new long[n];", "a", "new long[n]", "n", "for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n a[i] = this.nextLong();\n }", "{\n a[i] = this.nextLong();\n }", "a[i] = this.nextLong()", "a[i]", "a", "i", "this.nextLong()", "this.nextLong", "this", "return a;", "a", "int n", "n", "public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }", "readString", "{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }", "int c = snext();", "c", "snext()", "snext", "while (isSpaceChar(c)) {\n c = snext();\n }", "isSpaceChar(c)", "isSpaceChar", "c", "{\n c = snext();\n }", "c = snext()", "c", "snext()", "snext", "StringBuilder res = new StringBuilder();", "res", "new StringBuilder()", "do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n res.appendCodePoint(c);\n c = snext();\n }", "res.appendCodePoint(c)", "res.appendCodePoint", "res", "c", "c = snext()", "c", "snext()", "snext", "return res.toString();", "res.toString()", "res.toString", "res", "public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }", "nextLine", "{\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }", "int c = snext();", "c", "snext()", "snext", "while (isSpaceChar(c))\n c = snext();", "isSpaceChar(c)", "isSpaceChar", "c", "c = snext()", "c", "snext()", "snext", "StringBuilder res = new StringBuilder();", "res", "new StringBuilder()", "do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));", "!isEndOfLine(c)", "isEndOfLine(c)", "isEndOfLine", "c", "{\n res.appendCodePoint(c);\n c = snext();\n }", "res.appendCodePoint(c)", "res.appendCodePoint", "res", "c", "c = snext()", "c", "snext()", "snext", "return res.toString();", "res.toString()", "res.toString", "res", "public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "isSpaceChar", "{\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "if (filter != null)\n return filter.isSpaceChar(c);", "filter != null", "filter", "null", "return filter.isSpaceChar(c);", "filter.isSpaceChar(c)", "filter.isSpaceChar", "filter", "c", "return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == '\\t'", "c == '\\r'", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == ' '", "c", "' '", "c == '\\n'", "c", "'\\n'", "c == '\\r'", "c", "'\\r'", "c == '\\t'", "c", "'\\t'", "c == -1", "c", "-1", "1", "int c", "c", "private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }", "isEndOfLine", "{\n return c == '\\n' || c == '\\r' || c == -1;\n }", "return c == '\\n' || c == '\\r' || c == -1;", "c == '\\n' || c == '\\r' || c == -1", "c == '\\n' || c == '\\r' || c == -1", "c == '\\n'", "c", "'\\n'", "c == '\\r'", "c", "'\\r'", "c == -1", "c", "-1", "1", "int c", "c", "public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }", "SpaceCharFilter", "public boolean isSpaceChar(int ch);", "isSpaceChar", "int ch", "ch", "public class Main {\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n int a = in.nextInt();\n w.println(a + (a * a) + (a * a * a));\n w.close();\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n int a = in.nextInt();\n w.println(a + (a * a) + (a * a * a));\n w.close();\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}", "Main" ]
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { InputReader in = new InputReader(System.in); PrintWriter w = new PrintWriter(System.out); int a = in.nextInt(); w.println(a + (a * a) + (a * a * a)); w.close(); } static class InputReader { private final InputStream stream; private final byte[] buf = new byte[8192]; private int curChar, snumChars; private SpaceCharFilter filter; public InputReader(InputStream stream) { this.stream = stream; } public int snext() { if (snumChars == -1) throw new InputMismatchException(); if (curChar >= snumChars) { curChar = 0; try { snumChars = stream.read(buf); } catch (IOException e) { throw new InputMismatchException(); } if (snumChars <= 0) return -1; } return buf[curChar++]; } public int nextInt() { int c = snext(); while (isSpaceChar(c)) { c = snext(); } int sgn = 1; if (c == '-') { sgn = -1; c = snext(); } int res = 0; do { if (c < '0' || c > '9') throw new InputMismatchException(); res *= 10; res += c - '0'; c = snext(); } while (!isSpaceChar(c)); return res * sgn; } public long nextLong() { int c = snext(); while (isSpaceChar(c)) { c = snext(); } int sgn = 1; if (c == '-') { sgn = -1; c = snext(); } long res = 0; do { if (c < '0' || c > '9') throw new InputMismatchException(); res *= 10; res += c - '0'; c = snext(); } while (!isSpaceChar(c)); return res * sgn; } public int[] nextIntArray(int n) { int a[] = new int[n]; for (int i = 0; i < n; i++) { a[i] = this.nextInt(); } return a; } public long[] nextLongArray(int n) { long a[] = new long[n]; for (int i = 0; i < n; i++) { a[i] = this.nextLong(); } return a; } public String readString() { int c = snext(); while (isSpaceChar(c)) { c = snext(); } StringBuilder res = new StringBuilder(); do { res.appendCodePoint(c); c = snext(); } while (!isSpaceChar(c)); return res.toString(); } public String nextLine() { int c = snext(); while (isSpaceChar(c)) c = snext(); StringBuilder res = new StringBuilder(); do { res.appendCodePoint(c); c = snext(); } while (!isEndOfLine(c)); return res.toString(); } public boolean isSpaceChar(int c) { if (filter != null) return filter.isSpaceChar(c); return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1; } private boolean isEndOfLine(int c) { return c == '\n' || c == '\r' || c == -1; } public interface SpaceCharFilter { public boolean isSpaceChar(int ch); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 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 ], [ 55, 5 ], [ 55, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 19, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 41, 45 ], [ 8, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 6, 52 ], [ 52, 53 ], [ 0, 54 ], [ 54, 55 ], [ 54, 56 ] ]
[ "import java.util.Scanner;\npublic class Main{\n public static void main(String args[]){\n Scanner sc=new Scanner(System.in);\n String a=sc.nextLine();\n double i=Double.parseDouble(a);\n int sum=0;\n for(double j=1;j<=3;j++){\n sum+=(int) Math.pow(i,j);\n }\n System.out.println(sum);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String args[]){\n Scanner sc=new Scanner(System.in);\n String a=sc.nextLine();\n double i=Double.parseDouble(a);\n int sum=0;\n for(double j=1;j<=3;j++){\n sum+=(int) Math.pow(i,j);\n }\n System.out.println(sum);\n }\n}", "Main", "public static void main(String args[]){\n Scanner sc=new Scanner(System.in);\n String a=sc.nextLine();\n double i=Double.parseDouble(a);\n int sum=0;\n for(double j=1;j<=3;j++){\n sum+=(int) Math.pow(i,j);\n }\n System.out.println(sum);\n }", "main", "{\n Scanner sc=new Scanner(System.in);\n String a=sc.nextLine();\n double i=Double.parseDouble(a);\n int sum=0;\n for(double j=1;j<=3;j++){\n sum+=(int) Math.pow(i,j);\n }\n System.out.println(sum);\n }", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "String a=sc.nextLine();", "a", "sc.nextLine()", "sc.nextLine", "sc", "double i=Double.parseDouble(a);", "i", "Double.parseDouble(a)", "Double.parseDouble", "Double", "a", "int sum=0;", "sum", "0", "for(double j=1;j<=3;j++){\n sum+=(int) Math.pow(i,j);\n }", "double j=1;", "double j=1;", "j", "1", "j<=3", "j", "3", "j++", "j++", "j", "{\n sum+=(int) Math.pow(i,j);\n }", "{\n sum+=(int) Math.pow(i,j);\n }", "sum+=(int) Math.pow(i,j)", "sum", "(int) Math.pow(i,j)", "Math.pow", "Math", "i", "j", "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 String a=sc.nextLine();\n double i=Double.parseDouble(a);\n int sum=0;\n for(double j=1;j<=3;j++){\n sum+=(int) Math.pow(i,j);\n }\n System.out.println(sum);\n }\n}", "public class Main{\n public static void main(String args[]){\n Scanner sc=new Scanner(System.in);\n String a=sc.nextLine();\n double i=Double.parseDouble(a);\n int sum=0;\n for(double j=1;j<=3;j++){\n sum+=(int) Math.pow(i,j);\n }\n System.out.println(sum);\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); String a=sc.nextLine(); double i=Double.parseDouble(a); int sum=0; for(double j=1;j<=3;j++){ sum+=(int) Math.pow(i,j); } System.out.println(sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 41, 13, 14, 2, 2, 17, 13, 2, 13, 17, 30, 0, 13, 2, 2, 13, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 0, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 60, 5 ], [ 60, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 26, 28 ], [ 21, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 33, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 35, 39 ], [ 33, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 40, 44 ], [ 29, 45 ], [ 45, 46 ], [ 45, 47 ], [ 29, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 6, 57 ], [ 57, 58 ], [ 0, 59 ], [ 59, 60 ], [ 59, 61 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tdouble kekka;\n\t\tint kekka2;\n\t\t\n\t\tif((1<=a)&&(a<=10)) {\n\t\t\tkekka = a+Math.pow(a,2)+Math.pow(a,3);\n\t\t\tkekka2 = (int)kekka;\n\t\t\tSystem.out.println(kekka2);\n\t\t}\n\t\t\n\t\tsc.close();\n\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tdouble kekka;\n\t\tint kekka2;\n\t\t\n\t\tif((1<=a)&&(a<=10)) {\n\t\t\tkekka = a+Math.pow(a,2)+Math.pow(a,3);\n\t\t\tkekka2 = (int)kekka;\n\t\t\tSystem.out.println(kekka2);\n\t\t}\n\t\t\n\t\tsc.close();\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tdouble kekka;\n\t\tint kekka2;\n\t\t\n\t\tif((1<=a)&&(a<=10)) {\n\t\t\tkekka = a+Math.pow(a,2)+Math.pow(a,3);\n\t\t\tkekka2 = (int)kekka;\n\t\t\tSystem.out.println(kekka2);\n\t\t}\n\t\t\n\t\tsc.close();\n\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tdouble kekka;\n\t\tint kekka2;\n\t\t\n\t\tif((1<=a)&&(a<=10)) {\n\t\t\tkekka = a+Math.pow(a,2)+Math.pow(a,3);\n\t\t\tkekka2 = (int)kekka;\n\t\t\tSystem.out.println(kekka2);\n\t\t}\n\t\t\n\t\tsc.close();\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "double kekka;", "kekka", "int kekka2;", "kekka2", "if((1<=a)&&(a<=10)) {\n\t\t\tkekka = a+Math.pow(a,2)+Math.pow(a,3);\n\t\t\tkekka2 = (int)kekka;\n\t\t\tSystem.out.println(kekka2);\n\t\t}", "(1<=a)&&(a<=10)", "(1<=a)", "1", "a", "(a<=10)", "a", "10", "{\n\t\t\tkekka = a+Math.pow(a,2)+Math.pow(a,3);\n\t\t\tkekka2 = (int)kekka;\n\t\t\tSystem.out.println(kekka2);\n\t\t}", "kekka = a+Math.pow(a,2)+Math.pow(a,3)", "kekka", "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", "kekka2 = (int)kekka", "kekka2", "(int)kekka", "System.out.println(kekka2)", "System.out.println", "System.out", "System", "System.out", "kekka2", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tdouble kekka;\n\t\tint kekka2;\n\t\t\n\t\tif((1<=a)&&(a<=10)) {\n\t\t\tkekka = a+Math.pow(a,2)+Math.pow(a,3);\n\t\t\tkekka2 = (int)kekka;\n\t\t\tSystem.out.println(kekka2);\n\t\t}\n\t\t\n\t\tsc.close();\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tdouble kekka;\n\t\tint kekka2;\n\t\t\n\t\tif((1<=a)&&(a<=10)) {\n\t\t\tkekka = a+Math.pow(a,2)+Math.pow(a,3);\n\t\t\tkekka2 = (int)kekka;\n\t\t\tSystem.out.println(kekka2);\n\t\t}\n\t\t\n\t\tsc.close();\n\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); double kekka; int kekka2; if((1<=a)&&(a<=10)) { kekka = a+Math.pow(a,2)+Math.pow(a,3); kekka2 = (int)kekka; System.out.println(kekka2); } sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 4, 18, 13, 0, 13, 4, 18, 13, 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 ], [ 14, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 26, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 33, 39 ], [ 39, 40 ], [ 40, 41 ], [ 33, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 14, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 54, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 60, 60 ], [ 60, 61 ], [ 60, 62 ], [ 60, 63 ], [ 12, 64 ], [ 64, 65 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main{\n public static void main(String[] args){\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n String str;\n int i=0;\n try {\n str = br.readLine();\n br.close();\n\t\t i=Integer.parseInt(str);\n } catch (IOException e) {\n e.printStackTrace();\n } \n System.out.println(i+i*i+i*i*i);\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "class Main{\n public static void main(String[] args){\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n String str;\n int i=0;\n try {\n str = br.readLine();\n br.close();\n\t\t i=Integer.parseInt(str);\n } catch (IOException e) {\n e.printStackTrace();\n } \n System.out.println(i+i*i+i*i*i);\n }\n}", "Main", "public static void main(String[] args){\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n String str;\n int i=0;\n try {\n str = br.readLine();\n br.close();\n\t\t i=Integer.parseInt(str);\n } catch (IOException e) {\n e.printStackTrace();\n } \n System.out.println(i+i*i+i*i*i);\n }", "main", "{\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n String str;\n int i=0;\n try {\n str = br.readLine();\n br.close();\n\t\t i=Integer.parseInt(str);\n } catch (IOException e) {\n e.printStackTrace();\n } \n System.out.println(i+i*i+i*i*i);\n }", "InputStreamReader isr = new InputStreamReader(System.in);", "isr", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(isr);", "br", "new BufferedReader(isr)", "String str;", "str", "int i=0;", "i", "0", "try {\n str = br.readLine();\n br.close();\n\t\t i=Integer.parseInt(str);\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 br.close();\n\t\t i=Integer.parseInt(str);\n }", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "br.close()", "br.close", "br", "i=Integer.parseInt(str)", "i", "Integer.parseInt(str)", "Integer.parseInt", "Integer", "str", "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[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main{ public static void main(String[] args){ InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); String str; int i=0; try { str = br.readLine(); br.close(); i=Integer.parseInt(str); } catch (IOException e) { e.printStackTrace(); } 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, 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\t\tScanner sc = new Scanner(System.in);\n\t\tInteger num = sc.nextInt();\n\t\tInteger result = num + num * num + num * num * num;\n\t\tSystem.out.println(result);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger num = sc.nextInt();\n\t\tInteger result = num + num * num + num * num * num;\n\t\tSystem.out.println(result);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger num = sc.nextInt();\n\t\tInteger result = num + num * num + num * num * num;\n\t\tSystem.out.println(result);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger num = sc.nextInt();\n\t\tInteger result = num + num * num + num * num * num;\n\t\tSystem.out.println(result);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "Integer num = sc.nextInt();", "num", "sc.nextInt()", "sc.nextInt", "sc", "Integer result = num + num * num + num * num * num;", "result", "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(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger num = sc.nextInt();\n\t\tInteger result = num + num * num + num * num * num;\n\t\tSystem.out.println(result);\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger num = sc.nextInt();\n\t\tInteger result = num + num * num + num * num * num;\n\t\tSystem.out.println(result);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); Integer num = sc.nextInt(); Integer result = num + num * num + num * num * num; System.out.println(result); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 4, 18, 13, 4, 18, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 48, 8 ], [ 48, 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 ], [ 20, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 11, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 32, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 11, 42 ], [ 42, 43 ], [ 43, 44 ], [ 9, 45 ], [ 45, 46 ], [ 0, 47 ], [ 47, 48 ], [ 47, 49 ] ]
[ "import java.io.*;\nimport java.util.*;\npublic class Main{\n public static void main(String args[]) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n int n = Integer.parseInt(br.readLine().trim());\n out.println(n+(n*n)+(n*n*n));\n out.flush();\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String args[]) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n int n = Integer.parseInt(br.readLine().trim());\n out.println(n+(n*n)+(n*n*n));\n out.flush();\n }\n}", "Main", "public static void main(String args[]) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n int n = Integer.parseInt(br.readLine().trim());\n out.println(n+(n*n)+(n*n*n));\n out.flush();\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n int n = Integer.parseInt(br.readLine().trim());\n out.println(n+(n*n)+(n*n*n));\n out.flush();\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));", "out", "new PrintWriter(new OutputStreamWriter(System.out))", "int n = Integer.parseInt(br.readLine().trim());", "n", "Integer.parseInt(br.readLine().trim())", "Integer.parseInt", "Integer", "br.readLine().trim()", "br.readLine().trim", "br.readLine()", "br.readLine", "br", "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", "out.flush()", "out.flush", "out", "String args[]", "args", "public class Main{\n public static void main(String args[]) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n int n = Integer.parseInt(br.readLine().trim());\n out.println(n+(n*n)+(n*n*n));\n out.flush();\n }\n}", "public class Main{\n public static void main(String args[]) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n int n = Integer.parseInt(br.readLine().trim());\n out.println(n+(n*n)+(n*n*n));\n out.flush();\n }\n}", "Main" ]
import java.io.*; import java.util.*; public class Main{ public static void main(String args[]) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out)); int n = Integer.parseInt(br.readLine().trim()); out.println(n+(n*n)+(n*n*n)); out.flush(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 20, 17, 12, 13, 30, 4, 18, 13, 13, 17, 0, 18, 13, 17, 0, 18, 13, 17, 17, 11, 1, 41, 13, 17, 2, 2, 13, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 11, 1, 41, 13, 2, 13, 13, 2, 13, 13, 1, 0, 13, 13, 30, 30, 0, 18, 13, 13, 17, 14, 2, 13, 17, 30, 29, 18, 13, 13, 29, 17, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 29, 30, 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 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 268, 20 ], [ 268, 21 ], [ 21, 22 ], [ 21, 23 ], [ 268, 24 ], [ 24, 25 ], [ 24, 26 ], [ 268, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 31, 35 ], [ 30, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 30, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 45, 55 ], [ 55, 56 ], [ 56, 57 ], [ 45, 58 ], [ 59, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 60, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 71, 73 ], [ 67, 74 ], [ 74, 75 ], [ 74, 76 ], [ 67, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 67, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 30, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 30, 97 ], [ 97, 98 ], [ 28, 99 ], [ 99, 100 ], [ 268, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 108, 109 ], [ 103, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 111, 114 ], [ 114, 115 ], [ 114, 116 ], [ 101, 117 ], [ 117, 118 ], [ 101, 119 ], [ 119, 120 ], [ 268, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 124, 128 ], [ 128, 129 ], [ 123, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 131, 134 ], [ 134, 135 ], [ 134, 136 ], [ 121, 137 ], [ 137, 138 ], [ 121, 139 ], [ 139, 140 ], [ 268, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 143, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 147, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 155, 156 ], [ 156, 157 ], [ 152, 158 ], [ 158, 159 ], [ 158, 160 ], [ 161, 161 ], [ 161, 162 ], [ 161, 163 ], [ 163, 164 ], [ 163, 165 ], [ 161, 166 ], [ 167, 167 ], [ 167, 168 ], [ 167, 169 ], [ 167, 170 ], [ 152, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 171, 176 ], [ 141, 177 ], [ 177, 178 ], [ 268, 179 ], [ 179, 180 ], [ 179, 181 ], [ 181, 182 ], [ 179, 183 ], [ 183, 184 ], [ 179, 185 ], [ 185, 186 ], [ 185, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 179, 191 ], [ 191, 192 ], [ 191, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 195, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 194, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 204, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 193, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 179, 219 ], [ 219, 220 ], [ 219, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 223, 226 ], [ 226, 227 ], [ 179, 228 ], [ 228, 229 ], [ 228, 230 ], [ 230, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 232, 235 ], [ 235, 236 ], [ 179, 237 ], [ 237, 238 ], [ 237, 239 ], [ 239, 240 ], [ 240, 241 ], [ 241, 242 ], [ 242, 243 ], [ 241, 244 ], [ 244, 245 ], [ 179, 246 ], [ 246, 247 ], [ 246, 248 ], [ 248, 249 ], [ 249, 250 ], [ 249, 251 ], [ 248, 252 ], [ 252, 253 ], [ 253, 254 ], [ 253, 255 ], [ 255, 256 ], [ 256, 257 ], [ 257, 258 ], [ 252, 259 ], [ 259, 260 ], [ 260, 261 ], [ 260, 262 ], [ 262, 263 ], [ 263, 264 ], [ 248, 265 ], [ 265, 266 ], [ 0, 267 ], [ 267, 268 ], [ 267, 269 ] ]
[ "import java.io.BufferedReader; \nimport java.io.IOException; \nimport java.io.InputStreamReader; \nimport java.util.Scanner; \nimport java.util.StringTokenizer; \nimport java.util.*;\n \npublic class Main\n{ \n //By shwetank_verma\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 int mod=1000000007;\n static boolean primes[]=new boolean[1000007];\n \n static boolean seive(int n){\n Arrays.fill(primes,true);\n primes[0]=primes[1]=false;\n for(int i=2;i*i<=n;i++){\n if(primes[i]==true){\n for(int p=i*i;p<=n;p+=i){\n primes[p]=false;\n }\n }\n }\n if(n<1000007){\n return primes[n];\n }\n return false;\n \n }\n static int gcd(int a,int b){\n if(b==0)\n return a;\n return gcd(b,a%b);\n }\n static long GCD(long a,long b){\n if(b==0)\n return a;\n return GCD(b,a%b);\n }\n \n \n public static void main(String[] args) \n { \n FastReader sc=new FastReader(); \n try{\n \n \n int n=sc.nextInt();\n \n long ans=n+n*n+n*n*n;\n \n System.out.println(ans);\n \n \n \n \n \n }catch(Exception e){\n return;\n }\n } \n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "import java.util.*;", "util.*", "java", "public class Main\n{ \n //By shwetank_verma\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 int mod=1000000007;\n static boolean primes[]=new boolean[1000007];\n \n static boolean seive(int n){\n Arrays.fill(primes,true);\n primes[0]=primes[1]=false;\n for(int i=2;i*i<=n;i++){\n if(primes[i]==true){\n for(int p=i*i;p<=n;p+=i){\n primes[p]=false;\n }\n }\n }\n if(n<1000007){\n return primes[n];\n }\n return false;\n \n }\n static int gcd(int a,int b){\n if(b==0)\n return a;\n return gcd(b,a%b);\n }\n static long GCD(long a,long b){\n if(b==0)\n return a;\n return GCD(b,a%b);\n }\n \n \n public static void main(String[] args) \n { \n FastReader sc=new FastReader(); \n try{\n \n \n int n=sc.nextInt();\n \n long ans=n+n*n+n*n*n;\n \n System.out.println(ans);\n \n \n \n \n \n }catch(Exception e){\n return;\n }\n } \n}", "Main", "static int mod=1000000007;", "mod", "1000000007", "static boolean primes[]=new boolean[1000007];", "primes", "new boolean[1000007]", "1000007", "static boolean seive(int n){\n Arrays.fill(primes,true);\n primes[0]=primes[1]=false;\n for(int i=2;i*i<=n;i++){\n if(primes[i]==true){\n for(int p=i*i;p<=n;p+=i){\n primes[p]=false;\n }\n }\n }\n if(n<1000007){\n return primes[n];\n }\n return false;\n \n }", "seive", "{\n Arrays.fill(primes,true);\n primes[0]=primes[1]=false;\n for(int i=2;i*i<=n;i++){\n if(primes[i]==true){\n for(int p=i*i;p<=n;p+=i){\n primes[p]=false;\n }\n }\n }\n if(n<1000007){\n return primes[n];\n }\n return false;\n \n }", "Arrays.fill(primes,true)", "Arrays.fill", "Arrays", "primes", "true", "primes[0]=primes[1]=false", "primes[0]", "primes", "0", "primes[1]=false", "primes[1]", "primes", "1", "false", "for(int i=2;i*i<=n;i++){\n if(primes[i]==true){\n for(int p=i*i;p<=n;p+=i){\n primes[p]=false;\n }\n }\n }", "int i=2;", "int i=2;", "i", "2", "i*i<=n", "i*i", "i", "i", "n", "i++", "i++", "i", "{\n if(primes[i]==true){\n for(int p=i*i;p<=n;p+=i){\n primes[p]=false;\n }\n }\n }", "{\n if(primes[i]==true){\n for(int p=i*i;p<=n;p+=i){\n primes[p]=false;\n }\n }\n }", "if(primes[i]==true){\n for(int p=i*i;p<=n;p+=i){\n primes[p]=false;\n }\n }", "primes[i]==true", "primes[i]", "primes", "i", "true", "{\n for(int p=i*i;p<=n;p+=i){\n primes[p]=false;\n }\n }", "for(int p=i*i;p<=n;p+=i){\n primes[p]=false;\n }", "int p=i*i;", "int p=i*i;", "p", "i*i", "i", "i", "p<=n", "p", "n", "p+=i", "p+=i", "p", "i", "{\n primes[p]=false;\n }", "{\n primes[p]=false;\n }", "primes[p]=false", "primes[p]", "primes", "p", "false", "if(n<1000007){\n return primes[n];\n }", "n<1000007", "n", "1000007", "{\n return primes[n];\n }", "return primes[n];", "primes[n]", "primes", "n", "return false;", "false", "int n", "n", "static int gcd(int a,int b){\n if(b==0)\n return a;\n return gcd(b,a%b);\n }", "gcd", "{\n if(b==0)\n return a;\n return gcd(b,a%b);\n }", "if(b==0)\n return a;", "b==0", "b", "0", "return a;", "a", "return gcd(b,a%b);", "gcd(b,a%b)", "gcd", "b", "a%b", "a", "b", "int a", "a", "int b", "b", "static long GCD(long a,long b){\n if(b==0)\n return a;\n return GCD(b,a%b);\n }", "GCD", "{\n if(b==0)\n return a;\n return GCD(b,a%b);\n }", "if(b==0)\n return a;", "b==0", "b", "0", "return a;", "a", "return GCD(b,a%b);", "GCD(b,a%b)", "GCD", "b", "a%b", "a", "b", "long a", "a", "long b", "b", "public static void main(String[] args) \n { \n FastReader sc=new FastReader(); \n try{\n \n \n int n=sc.nextInt();\n \n long ans=n+n*n+n*n*n;\n \n System.out.println(ans);\n \n \n \n \n \n }catch(Exception e){\n return;\n }\n }", "main", "{ \n FastReader sc=new FastReader(); \n try{\n \n \n int n=sc.nextInt();\n \n long ans=n+n*n+n*n*n;\n \n System.out.println(ans);\n \n \n \n \n \n }catch(Exception e){\n return;\n }\n }", "FastReader sc=new FastReader();", "sc", "new FastReader()", "try{\n \n \n int n=sc.nextInt();\n \n long ans=n+n*n+n*n*n;\n \n System.out.println(ans);\n \n \n \n \n \n }catch(Exception e){\n return;\n }", "catch(Exception e){\n return;\n }", "Exception e", "{\n return;\n }", "return;", "{\n \n \n int n=sc.nextInt();\n \n long ans=n+n*n+n*n*n;\n \n System.out.println(ans);\n \n \n \n \n \n }", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "long 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", "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 //By shwetank_verma\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 int mod=1000000007;\n static boolean primes[]=new boolean[1000007];\n \n static boolean seive(int n){\n Arrays.fill(primes,true);\n primes[0]=primes[1]=false;\n for(int i=2;i*i<=n;i++){\n if(primes[i]==true){\n for(int p=i*i;p<=n;p+=i){\n primes[p]=false;\n }\n }\n }\n if(n<1000007){\n return primes[n];\n }\n return false;\n \n }\n static int gcd(int a,int b){\n if(b==0)\n return a;\n return gcd(b,a%b);\n }\n static long GCD(long a,long b){\n if(b==0)\n return a;\n return GCD(b,a%b);\n }\n \n \n public static void main(String[] args) \n { \n FastReader sc=new FastReader(); \n try{\n \n \n int n=sc.nextInt();\n \n long ans=n+n*n+n*n*n;\n \n System.out.println(ans);\n \n \n \n \n \n }catch(Exception e){\n return;\n }\n } \n}", "public class Main\n{ \n //By shwetank_verma\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 int mod=1000000007;\n static boolean primes[]=new boolean[1000007];\n \n static boolean seive(int n){\n Arrays.fill(primes,true);\n primes[0]=primes[1]=false;\n for(int i=2;i*i<=n;i++){\n if(primes[i]==true){\n for(int p=i*i;p<=n;p+=i){\n primes[p]=false;\n }\n }\n }\n if(n<1000007){\n return primes[n];\n }\n return false;\n \n }\n static int gcd(int a,int b){\n if(b==0)\n return a;\n return gcd(b,a%b);\n }\n static long GCD(long a,long b){\n if(b==0)\n return a;\n return GCD(b,a%b);\n }\n \n \n public static void main(String[] args) \n { \n FastReader sc=new FastReader(); \n try{\n \n \n int n=sc.nextInt();\n \n long ans=n+n*n+n*n*n;\n \n System.out.println(ans);\n \n \n \n \n \n }catch(Exception e){\n return;\n }\n } \n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Scanner; import java.util.StringTokenizer; import java.util.*; public class Main { //By shwetank_verma 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 int mod=1000000007; static boolean primes[]=new boolean[1000007]; static boolean seive(int n){ Arrays.fill(primes,true); primes[0]=primes[1]=false; for(int i=2;i*i<=n;i++){ if(primes[i]==true){ for(int p=i*i;p<=n;p+=i){ primes[p]=false; } } } if(n<1000007){ return primes[n]; } return false; } static int gcd(int a,int b){ if(b==0) return a; return gcd(b,a%b); } static long GCD(long a,long b){ if(b==0) return a; return GCD(b,a%b); } public static void main(String[] args) { FastReader sc=new FastReader(); try{ int n=sc.nextInt(); long ans=n+n*n+n*n*n; System.out.println(ans); }catch(Exception e){ return; } } }