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, 4, 18, 13, 14, 4, 18, 4, 18, 13, 17, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 25, 29 ], [ 29, 30 ], [ 30, 31 ], [ 23, 32 ], [ 22, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 22, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 6, 47 ], [ 47, 48 ] ]
[ "import java.util.*;\n\nclass Main {\n public static void main (String[] args) {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n if (T.substring(0, S.length()).equals(S)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "import java.util.*;", "util.*", "java", "class Main {\n public static void main (String[] args) {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n if (T.substring(0, S.length()).equals(S)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "Main", "public static void main (String[] args) {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n if (T.substring(0, S.length()).equals(S)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n if (T.substring(0, S.length()).equals(S)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String S = sc.next();", "S", "sc.next()", "sc.next", "sc", "String T = sc.next();", "T", "sc.next()", "sc.next", "sc", "if (T.substring(0, S.length()).equals(S)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }", "T.substring(0, S.length()).equals(S)", "T.substring(0, S.length()).equals", "T.substring(0, S.length())", "T.substring", "T", "0", "S.length()", "S.length", "S", "S", "{\n System.out.println(\"Yes\");\n }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n System.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args" ]
import java.util.*; class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); String S = sc.next(); String T = sc.next(); if (T.substring(0, S.length()).equals(S)) { System.out.println("Yes"); } else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 4, 18, 13, 13, 2, 13, 17, 14, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 32, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 39, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 39, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 6, 58 ], [ 58, 59 ] ]
[ "import java.util.*;\nclass Main {\n \n \n public static void main(String[] str)\n {\n \tScanner s=new Scanner(System.in);\n \tString s1=s.next();\n \tString s2=s.next();\n \tint n=s2.length();\n \tint i=0;\n \tString res=s2.substring(i,n-1);\n \tif(res.equals(s1))\n \t{\n \t\tSystem.out.println(\"Yes\");\n \t}\n \telse\n \t{\n \t\tSystem.out.println(\"No\");\n \t}\n \n \t\n }\n}", "import java.util.*;", "util.*", "java", "class Main {\n \n \n public static void main(String[] str)\n {\n \tScanner s=new Scanner(System.in);\n \tString s1=s.next();\n \tString s2=s.next();\n \tint n=s2.length();\n \tint i=0;\n \tString res=s2.substring(i,n-1);\n \tif(res.equals(s1))\n \t{\n \t\tSystem.out.println(\"Yes\");\n \t}\n \telse\n \t{\n \t\tSystem.out.println(\"No\");\n \t}\n \n \t\n }\n}", "Main", "public static void main(String[] str)\n {\n \tScanner s=new Scanner(System.in);\n \tString s1=s.next();\n \tString s2=s.next();\n \tint n=s2.length();\n \tint i=0;\n \tString res=s2.substring(i,n-1);\n \tif(res.equals(s1))\n \t{\n \t\tSystem.out.println(\"Yes\");\n \t}\n \telse\n \t{\n \t\tSystem.out.println(\"No\");\n \t}\n \n \t\n }", "main", "{\n \tScanner s=new Scanner(System.in);\n \tString s1=s.next();\n \tString s2=s.next();\n \tint n=s2.length();\n \tint i=0;\n \tString res=s2.substring(i,n-1);\n \tif(res.equals(s1))\n \t{\n \t\tSystem.out.println(\"Yes\");\n \t}\n \telse\n \t{\n \t\tSystem.out.println(\"No\");\n \t}\n \n \t\n }", "Scanner s=new Scanner(System.in);", "s", "new Scanner(System.in)", "String s1=s.next();", "s1", "s.next()", "s.next", "s", "String s2=s.next();", "s2", "s.next()", "s.next", "s", "int n=s2.length();", "n", "s2.length()", "s2.length", "s2", "int i=0;", "i", "0", "String res=s2.substring(i,n-1);", "res", "s2.substring(i,n-1)", "s2.substring", "s2", "i", "n-1", "n", "1", "if(res.equals(s1))\n \t{\n \t\tSystem.out.println(\"Yes\");\n \t}\n \telse\n \t{\n \t\tSystem.out.println(\"No\");\n \t}", "res.equals(s1)", "res.equals", "res", "s1", "{\n \t\tSystem.out.println(\"Yes\");\n \t}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n \t\tSystem.out.println(\"No\");\n \t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] str", "str" ]
import java.util.*; class Main { public static void main(String[] str) { Scanner s=new Scanner(System.in); String s1=s.next(); String s2=s.next(); int n=s2.length(); int i=0; String res=s2.substring(i,n-1); if(res.equals(s1)) { System.out.println("Yes"); } else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 4, 18, 13, 14, 2, 13, 17, 30, 0, 13, 4, 18, 13, 17, 17, 30, 0, 13, 4, 18, 13, 17, 2, 13, 17, 14, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 74, 5 ], [ 74, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 37, 41 ], [ 30, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 45, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 52, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 52, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 6, 71 ], [ 71, 72 ], [ 0, 73 ], [ 73, 74 ], [ 73, 75 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString pass1 = scan.nextLine();\n\t\tString pass2 = scan.nextLine();\n\t\tString passCheck = \"0K\";\n\n\t\tint length = pass2.length();\n\n\t\tif(length == 2) {\n\t\t\tpassCheck = pass2.substring(0 , 1);\n\t\t}else {\n\t\t\tpassCheck = pass2.substring(0 , length - 1);\n\t\t}\n\n\t\tif(pass1.equals(passCheck)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString pass1 = scan.nextLine();\n\t\tString pass2 = scan.nextLine();\n\t\tString passCheck = \"0K\";\n\n\t\tint length = pass2.length();\n\n\t\tif(length == 2) {\n\t\t\tpassCheck = pass2.substring(0 , 1);\n\t\t}else {\n\t\t\tpassCheck = pass2.substring(0 , length - 1);\n\t\t}\n\n\t\tif(pass1.equals(passCheck)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString pass1 = scan.nextLine();\n\t\tString pass2 = scan.nextLine();\n\t\tString passCheck = \"0K\";\n\n\t\tint length = pass2.length();\n\n\t\tif(length == 2) {\n\t\t\tpassCheck = pass2.substring(0 , 1);\n\t\t}else {\n\t\t\tpassCheck = pass2.substring(0 , length - 1);\n\t\t}\n\n\t\tif(pass1.equals(passCheck)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString pass1 = scan.nextLine();\n\t\tString pass2 = scan.nextLine();\n\t\tString passCheck = \"0K\";\n\n\t\tint length = pass2.length();\n\n\t\tif(length == 2) {\n\t\t\tpassCheck = pass2.substring(0 , 1);\n\t\t}else {\n\t\t\tpassCheck = pass2.substring(0 , length - 1);\n\t\t}\n\n\t\tif(pass1.equals(passCheck)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "String pass1 = scan.nextLine();", "pass1", "scan.nextLine()", "scan.nextLine", "scan", "String pass2 = scan.nextLine();", "pass2", "scan.nextLine()", "scan.nextLine", "scan", "String passCheck = \"0K\";", "passCheck", "\"0K\"", "int length = pass2.length();", "length", "pass2.length()", "pass2.length", "pass2", "if(length == 2) {\n\t\t\tpassCheck = pass2.substring(0 , 1);\n\t\t}else {\n\t\t\tpassCheck = pass2.substring(0 , length - 1);\n\t\t}", "length == 2", "length", "2", "{\n\t\t\tpassCheck = pass2.substring(0 , 1);\n\t\t}", "passCheck = pass2.substring(0 , 1)", "passCheck", "pass2.substring(0 , 1)", "pass2.substring", "pass2", "0", "1", "{\n\t\t\tpassCheck = pass2.substring(0 , length - 1);\n\t\t}", "passCheck = pass2.substring(0 , length - 1)", "passCheck", "pass2.substring(0 , length - 1)", "pass2.substring", "pass2", "0", "length - 1", "length", "1", "if(pass1.equals(passCheck)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "pass1.equals(passCheck)", "pass1.equals", "pass1", "passCheck", "{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString pass1 = scan.nextLine();\n\t\tString pass2 = scan.nextLine();\n\t\tString passCheck = \"0K\";\n\n\t\tint length = pass2.length();\n\n\t\tif(length == 2) {\n\t\t\tpassCheck = pass2.substring(0 , 1);\n\t\t}else {\n\t\t\tpassCheck = pass2.substring(0 , length - 1);\n\t\t}\n\n\t\tif(pass1.equals(passCheck)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString pass1 = scan.nextLine();\n\t\tString pass2 = scan.nextLine();\n\t\tString passCheck = \"0K\";\n\n\t\tint length = pass2.length();\n\n\t\tif(length == 2) {\n\t\t\tpassCheck = pass2.substring(0 , 1);\n\t\t}else {\n\t\t\tpassCheck = pass2.substring(0 , length - 1);\n\t\t}\n\n\t\tif(pass1.equals(passCheck)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String pass1 = scan.nextLine(); String pass2 = scan.nextLine(); String passCheck = "0K"; int length = pass2.length(); if(length == 2) { passCheck = pass2.substring(0 , 1); }else { passCheck = pass2.substring(0 , length - 1); } if(pass1.equals(passCheck)) { System.out.println("Yes"); }else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 8, 4, 18, 13, 13, 17, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 37, 5 ], [ 37, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 27, 32 ], [ 27, 33 ], [ 6, 34 ], [ 34, 35 ], [ 0, 36 ], [ 36, 37 ], [ 36, 38 ] ]
[ "import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n System.out.println(b.startsWith(a) ? \"Yes\" : \"No\");\n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n System.out.println(b.startsWith(a) ? \"Yes\" : \"No\");\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n System.out.println(b.startsWith(a) ? \"Yes\" : \"No\");\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n System.out.println(b.startsWith(a) ? \"Yes\" : \"No\");\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String a = sc.next();", "a", "sc.next()", "sc.next", "sc", "String b = sc.next();", "b", "sc.next()", "sc.next", "sc", "System.out.println(b.startsWith(a) ? \"Yes\" : \"No\")", "System.out.println", "System.out", "System", "System.out", "b.startsWith(a) ? \"Yes\" : \"No\"", "b.startsWith(a)", "b.startsWith", "b", "a", "\"Yes\"", "\"No\"", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n System.out.println(b.startsWith(a) ? \"Yes\" : \"No\");\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n System.out.println(b.startsWith(a) ? \"Yes\" : \"No\");\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String a = sc.next(); String b = sc.next(); System.out.println(b.startsWith(a) ? "Yes" : "No"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 13, 4, 18, 13, 13, 30, 0, 13, 17, 3, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 64, 5 ], [ 64, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 25, 35 ], [ 35, 36 ], [ 36, 37 ], [ 25, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 41, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 40, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 8, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 6, 61 ], [ 61, 62 ], [ 0, 63 ], [ 63, 64 ], [ 63, 65 ] ]
[ "import java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n\n String res = \"Yes\";\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) {\n res = \"No\";\n break;\n }\n }\n\n System.out.println(res);\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 String s = sc.next();\n String t = sc.next();\n\n String res = \"Yes\";\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) {\n res = \"No\";\n break;\n }\n }\n\n System.out.println(res);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n\n String res = \"Yes\";\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) {\n res = \"No\";\n break;\n }\n }\n\n System.out.println(res);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n\n String res = \"Yes\";\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) {\n res = \"No\";\n break;\n }\n }\n\n System.out.println(res);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "String t = sc.next();", "t", "sc.next()", "sc.next", "sc", "String res = \"Yes\";", "res", "\"Yes\"", "for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) {\n res = \"No\";\n break;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < s.length()", "i", "s.length()", "s.length", "s", "i++", "i++", "i", "{\n if (s.charAt(i) != t.charAt(i)) {\n res = \"No\";\n break;\n }\n }", "{\n if (s.charAt(i) != t.charAt(i)) {\n res = \"No\";\n break;\n }\n }", "if (s.charAt(i) != t.charAt(i)) {\n res = \"No\";\n break;\n }", "s.charAt(i) != t.charAt(i)", "s.charAt(i)", "s.charAt", "s", "i", "t.charAt(i)", "t.charAt", "t", "i", "{\n res = \"No\";\n break;\n }", "res = \"No\"", "res", "\"No\"", "break;", "System.out.println(res)", "System.out.println", "System.out", "System", "System.out", "res", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n\n String res = \"Yes\";\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) {\n res = \"No\";\n break;\n }\n }\n\n System.out.println(res);\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n\n String res = \"Yes\";\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i)) {\n res = \"No\";\n break;\n }\n }\n\n System.out.println(res);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); String t = sc.next(); String res = "Yes"; for (int i = 0; i < s.length(); i++) { if (s.charAt(i) != t.charAt(i)) { res = "No"; break; } } System.out.println(res); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 13, 4, 18, 13, 13, 0, 13, 17, 4, 18, 18, 13, 13, 8, 13, 17, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 68, 5 ], [ 68, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 44, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 43, 53 ], [ 53, 54 ], [ 53, 55 ], [ 8, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 61, 62 ], [ 61, 63 ], [ 61, 64 ], [ 6, 65 ], [ 65, 66 ], [ 0, 67 ], [ 67, 68 ], [ 67, 69 ] ]
[ "import java.util.*;\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tint len = s.length();\n\t\tboolean ok = true;\n\t\tfor(int i = 0;i < len; ++i){\n\t\t\tif(s.charAt(i) != t.charAt(i))ok = false;\n\t\t}\n\t\tSystem.out.print(ok ? \"Yes\":\"No\");\n\t}\n}\n", "import java.util.*;", "util.*", "java", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tint len = s.length();\n\t\tboolean ok = true;\n\t\tfor(int i = 0;i < len; ++i){\n\t\t\tif(s.charAt(i) != t.charAt(i))ok = false;\n\t\t}\n\t\tSystem.out.print(ok ? \"Yes\":\"No\");\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tint len = s.length();\n\t\tboolean ok = true;\n\t\tfor(int i = 0;i < len; ++i){\n\t\t\tif(s.charAt(i) != t.charAt(i))ok = false;\n\t\t}\n\t\tSystem.out.print(ok ? \"Yes\":\"No\");\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tint len = s.length();\n\t\tboolean ok = true;\n\t\tfor(int i = 0;i < len; ++i){\n\t\t\tif(s.charAt(i) != t.charAt(i))ok = false;\n\t\t}\n\t\tSystem.out.print(ok ? \"Yes\":\"No\");\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "String s = scan.next();", "s", "scan.next()", "scan.next", "scan", "String t = scan.next();", "t", "scan.next()", "scan.next", "scan", "int len = s.length();", "len", "s.length()", "s.length", "s", "boolean ok = true;", "ok", "true", "for(int i = 0;i < len; ++i){\n\t\t\tif(s.charAt(i) != t.charAt(i))ok = false;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < len", "i", "len", "++i", "++i", "i", "{\n\t\t\tif(s.charAt(i) != t.charAt(i))ok = false;\n\t\t}", "{\n\t\t\tif(s.charAt(i) != t.charAt(i))ok = false;\n\t\t}", "if(s.charAt(i) != t.charAt(i))ok = false;", "s.charAt(i) != t.charAt(i)", "s.charAt(i)", "s.charAt", "s", "i", "t.charAt(i)", "t.charAt", "t", "i", "ok = false", "ok", "false", "System.out.print(ok ? \"Yes\":\"No\")", "System.out.print", "System.out", "System", "System.out", "ok ? \"Yes\":\"No\"", "ok", "\"Yes\"", "\"No\"", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tint len = s.length();\n\t\tboolean ok = true;\n\t\tfor(int i = 0;i < len; ++i){\n\t\t\tif(s.charAt(i) != t.charAt(i))ok = false;\n\t\t}\n\t\tSystem.out.print(ok ? \"Yes\":\"No\");\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tint len = s.length();\n\t\tboolean ok = true;\n\t\tfor(int i = 0;i < len; ++i){\n\t\t\tif(s.charAt(i) != t.charAt(i))ok = false;\n\t\t}\n\t\tSystem.out.print(ok ? \"Yes\":\"No\");\n\t}\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); String s = scan.next(); String t = scan.next(); int len = s.length(); boolean ok = true; for(int i = 0;i < len; ++i){ if(s.charAt(i) != t.charAt(i))ok = false; } System.out.print(ok ? "Yes":"No"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 41, 13, 17, 14, 2, 4, 18, 13, 2, 4, 18, 13, 17, 30, 40, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 18, 13, 13, 30, 40, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 100, 5 ], [ 100, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 31, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 35, 39 ], [ 30, 40 ], [ 40, 41 ], [ 41, 42 ], [ 8, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 8, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 8, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 53, 63 ], [ 63, 64 ], [ 64, 65 ], [ 53, 66 ], [ 67, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 73, 75 ], [ 68, 76 ], [ 76, 77 ], [ 77, 78 ], [ 8, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 79, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 6, 97 ], [ 97, 98 ], [ 0, 99 ], [ 99, 100 ], [ 99, 101 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tString st = s + t;\n\t\tint count = 0;\n\t\tif (s.length() != t.length() - 1) {\n\t\t\tcount++;\n\n\t\t}\n\t\tchar[] s1 = s.toCharArray();\n\t\tchar[] t1 = t.toCharArray();\n\t\tfor (int i = 0; i < s1.length; i++) {\n\t\t\tif (s1[i] != t1[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tif (count == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\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\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tString st = s + t;\n\t\tint count = 0;\n\t\tif (s.length() != t.length() - 1) {\n\t\t\tcount++;\n\n\t\t}\n\t\tchar[] s1 = s.toCharArray();\n\t\tchar[] t1 = t.toCharArray();\n\t\tfor (int i = 0; i < s1.length; i++) {\n\t\t\tif (s1[i] != t1[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tif (count == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tString st = s + t;\n\t\tint count = 0;\n\t\tif (s.length() != t.length() - 1) {\n\t\t\tcount++;\n\n\t\t}\n\t\tchar[] s1 = s.toCharArray();\n\t\tchar[] t1 = t.toCharArray();\n\t\tfor (int i = 0; i < s1.length; i++) {\n\t\t\tif (s1[i] != t1[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tif (count == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tString st = s + t;\n\t\tint count = 0;\n\t\tif (s.length() != t.length() - 1) {\n\t\t\tcount++;\n\n\t\t}\n\t\tchar[] s1 = s.toCharArray();\n\t\tchar[] t1 = t.toCharArray();\n\t\tfor (int i = 0; i < s1.length; i++) {\n\t\t\tif (s1[i] != t1[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tif (count == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "String t = sc.next();", "t", "sc.next()", "sc.next", "sc", "String st = s + t;", "st", "s + t", "s", "t", "int count = 0;", "count", "0", "if (s.length() != t.length() - 1) {\n\t\t\tcount++;\n\n\t\t}", "s.length() != t.length() - 1", "s.length()", "s.length", "s", "t.length() - 1", "t.length()", "t.length", "t", "1", "{\n\t\t\tcount++;\n\n\t\t}", "count++", "count", "char[] s1 = s.toCharArray();", "s1", "s.toCharArray()", "s.toCharArray", "s", "char[] t1 = t.toCharArray();", "t1", "t.toCharArray()", "t.toCharArray", "t", "for (int i = 0; i < s1.length; i++) {\n\t\t\tif (s1[i] != t1[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < s1.length", "i", "s1.length", "s1", "s1.length", "i++", "i++", "i", "{\n\t\t\tif (s1[i] != t1[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}", "{\n\t\t\tif (s1[i] != t1[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}", "if (s1[i] != t1[i]) {\n\t\t\t\tcount++;\n\t\t\t}", "s1[i] != t1[i]", "s1[i]", "s1", "i", "t1[i]", "t1", "i", "{\n\t\t\t\tcount++;\n\t\t\t}", "count++", "count", "if (count == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "count == 0", "count", "0", "{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tString st = s + t;\n\t\tint count = 0;\n\t\tif (s.length() != t.length() - 1) {\n\t\t\tcount++;\n\n\t\t}\n\t\tchar[] s1 = s.toCharArray();\n\t\tchar[] t1 = t.toCharArray();\n\t\tfor (int i = 0; i < s1.length; i++) {\n\t\t\tif (s1[i] != t1[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tif (count == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\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\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tString st = s + t;\n\t\tint count = 0;\n\t\tif (s.length() != t.length() - 1) {\n\t\t\tcount++;\n\n\t\t}\n\t\tchar[] s1 = s.toCharArray();\n\t\tchar[] t1 = t.toCharArray();\n\t\tfor (int i = 0; i < s1.length; i++) {\n\t\t\tif (s1[i] != t1[i]) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tif (count == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\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); String s = sc.next(); String t = sc.next(); String st = s + t; int count = 0; if (s.length() != t.length() - 1) { count++; } char[] s1 = s.toCharArray(); char[] t1 = t.toCharArray(); for (int i = 0; i < s1.length; i++) { if (s1[i] != t1[i]) { count++; } } if (count == 0) { System.out.println("Yes"); } else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 2, 13, 17, 41, 13, 8, 13, 17, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 48, 5 ], [ 48, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 30, 31 ], [ 30, 32 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 35, 37 ], [ 35, 38 ], [ 8, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 6, 45 ], [ 45, 46 ], [ 0, 47 ], [ 47, 48 ], [ 47, 49 ] ]
[ "import java.util.*;\n\npublic class Main {\n\n public static void main(String args[]) {\n\n // 入力\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n sc.close();\n\n // 主処理\n boolean judge = t.matches(s + \".\");\n String result = judge ? \"Yes\" : \"No\";\n\n // 出力\n System.out.println(result);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\n public static void main(String args[]) {\n\n // 入力\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n sc.close();\n\n // 主処理\n boolean judge = t.matches(s + \".\");\n String result = judge ? \"Yes\" : \"No\";\n\n // 出力\n System.out.println(result);\n }\n}", "Main", "public static void main(String args[]) {\n\n // 入力\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n sc.close();\n\n // 主処理\n boolean judge = t.matches(s + \".\");\n String result = judge ? \"Yes\" : \"No\";\n\n // 出力\n System.out.println(result);\n }", "main", "{\n\n // 入力\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n sc.close();\n\n // 主処理\n boolean judge = t.matches(s + \".\");\n String result = judge ? \"Yes\" : \"No\";\n\n // 出力\n System.out.println(result);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "String t = sc.next();", "t", "sc.next()", "sc.next", "sc", "sc.close()", "sc.close", "sc", "boolean judge = t.matches(s + \".\");", "judge", "t.matches(s + \".\")", "t.matches", "t", "s + \".\"", "s", "\".\"", "String result = judge ? \"Yes\" : \"No\";", "result", "judge ? \"Yes\" : \"No\"", "judge", "\"Yes\"", "\"No\"", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String args[]", "args", "public class Main {\n\n public static void main(String args[]) {\n\n // 入力\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n sc.close();\n\n // 主処理\n boolean judge = t.matches(s + \".\");\n String result = judge ? \"Yes\" : \"No\";\n\n // 出力\n System.out.println(result);\n }\n}", "public class Main {\n\n public static void main(String args[]) {\n\n // 入力\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n sc.close();\n\n // 主処理\n boolean judge = t.matches(s + \".\");\n String result = judge ? \"Yes\" : \"No\";\n\n // 出力\n System.out.println(result);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String args[]) { // 入力 Scanner sc = new Scanner(System.in); String s = sc.next(); String t = sc.next(); sc.close(); // 主処理 boolean judge = t.matches(s + "."); String result = judge ? "Yes" : "No"; // 出力 System.out.println(result); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 23, 26 ], [ 26, 27 ], [ 26, 28 ], [ 22, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 22, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 6, 43 ], [ 43, 44 ] ]
[ "import java.util.*;\nclass Main{\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n String input = scanner.nextLine();\n String check = scanner.nextLine();\n\n if (check.matches(input + \"[a-z]\")) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "import java.util.*;", "util.*", "java", "class Main{\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n String input = scanner.nextLine();\n String check = scanner.nextLine();\n\n if (check.matches(input + \"[a-z]\")) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "Main", "public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n String input = scanner.nextLine();\n String check = scanner.nextLine();\n\n if (check.matches(input + \"[a-z]\")) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n String input = scanner.nextLine();\n String check = scanner.nextLine();\n\n if (check.matches(input + \"[a-z]\")) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "String input = scanner.nextLine();", "input", "scanner.nextLine()", "scanner.nextLine", "scanner", "String check = scanner.nextLine();", "check", "scanner.nextLine()", "scanner.nextLine", "scanner", "if (check.matches(input + \"[a-z]\")) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }", "check.matches(input + \"[a-z]\")", "check.matches", "check", "input + \"[a-z]\"", "input", "\"[a-z]\"", "{\n System.out.println(\"Yes\");\n }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n System.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String args[]", "args" ]
import java.util.*; class Main{ public static void main(String args[]){ Scanner scanner = new Scanner(System.in); String input = scanner.nextLine(); String check = scanner.nextLine(); if (check.matches(input + "[a-z]")) { System.out.println("Yes"); } else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 0, 13, 4, 18, 13, 17, 2, 4, 18, 13, 17, 14, 4, 18, 13, 13, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 59, 11 ], [ 59, 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 ], [ 14, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 30, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 34, 38 ], [ 14, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 39, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 39, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 12, 56 ], [ 56, 57 ], [ 0, 58 ], [ 58, 59 ], [ 58, 60 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String []args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n String t = br.readLine();\n t=t.substring(0,t.length()-1);\n if(s.equals(t))\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n public static void main(String []args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n String t = br.readLine();\n t=t.substring(0,t.length()-1);\n if(s.equals(t))\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}", "Main", "public static void main(String []args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n String t = br.readLine();\n t=t.substring(0,t.length()-1);\n if(s.equals(t))\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }", "main", "{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n String t = br.readLine();\n t=t.substring(0,t.length()-1);\n if(s.equals(t))\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String s = br.readLine();", "s", "br.readLine()", "br.readLine", "br", "String t = br.readLine();", "t", "br.readLine()", "br.readLine", "br", "t=t.substring(0,t.length()-1)", "t", "t.substring(0,t.length()-1)", "t.substring", "t", "0", "t.length()-1", "t.length()", "t.length", "t", "1", "if(s.equals(t))\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");", "s.equals(t)", "s.equals", "s", "t", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "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 String s = br.readLine();\n String t = br.readLine();\n t=t.substring(0,t.length()-1);\n if(s.equals(t))\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}", "public class Main {\n public static void main(String []args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n String t = br.readLine();\n t=t.substring(0,t.length()-1);\n if(s.equals(t))\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String []args) throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String s = br.readLine(); String t = br.readLine(); t=t.substring(0,t.length()-1); if(s.equals(t)) System.out.println("Yes"); else System.out.println("No"); } }
[ 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, 14, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 6, 13, 41, 13, 20, 41, 13, 12, 13, 30, 38, 5, 13, 30, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 25, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 25, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 9, 44 ], [ 44, 45 ], [ 7, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 46, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 61, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 55, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 46, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 85, 86 ], [ 46, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 94, 95 ] ]
[ "import java.io.*;\nimport java.util.*;\n\nclass Main {\n\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n \n String s = sc.next();\n String t = sc.next();\n\n if(t.startsWith(s)){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n\n }\n\n static class MyScanner {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1 << 15);\n StringTokenizer tokenizer;\n \n String next() {\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }\n return tokenizer.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "class Main {\n\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n \n String s = sc.next();\n String t = sc.next();\n\n if(t.startsWith(s)){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n\n }\n\n static class MyScanner {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1 << 15);\n StringTokenizer tokenizer;\n \n String next() {\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }\n return tokenizer.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}", "Main", "public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n \n String s = sc.next();\n String t = sc.next();\n\n if(t.startsWith(s)){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n\n }", "main", "{\n MyScanner sc = new MyScanner();\n \n String s = sc.next();\n String t = sc.next();\n\n if(t.startsWith(s)){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n\n }", "MyScanner sc = new MyScanner();", "sc", "new MyScanner()", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "String t = sc.next();", "t", "sc.next()", "sc.next", "sc", "if(t.startsWith(s)){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }", "t.startsWith(s)", "t.startsWith", "t", "s", "{\n System.out.println(\"Yes\");\n }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n System.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "static class MyScanner {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1 << 15);\n StringTokenizer tokenizer;\n \n String next() {\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }\n return tokenizer.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n }", "MyScanner", "BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1 << 15);", "reader", "new BufferedReader(new InputStreamReader(System.in), 1 << 15)", "StringTokenizer tokenizer;", "tokenizer", "String next() {\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }\n return tokenizer.nextToken();\n }", "next", "{\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }\n return tokenizer.nextToken();\n }", "try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }", "catch (IOException ignored) {\n }", "IOException ignored", "{\n }", "{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n }", "while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }", "tokenizer == null || !tokenizer.hasMoreTokens()", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "{\n tokenizer = new StringTokenizer(reader.readLine());\n }", "tokenizer = new StringTokenizer(reader.readLine())", "tokenizer", "new StringTokenizer(reader.readLine())", "return tokenizer.nextToken();", "tokenizer.nextToken()", "tokenizer.nextToken", "tokenizer", "int nextInt() {\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" ]
import java.io.*; import java.util.*; class Main { public static void main(String[] args) { MyScanner sc = new MyScanner(); String s = sc.next(); String t = sc.next(); if(t.startsWith(s)){ System.out.println("Yes"); } else{ System.out.println("No"); } } static class MyScanner { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1 << 15); StringTokenizer tokenizer; String next() { try { while (tokenizer == null || !tokenizer.hasMoreTokens()) { tokenizer = new StringTokenizer(reader.readLine()); } } catch (IOException ignored) { } return tokenizer.nextToken(); } int nextInt() { return Integer.parseInt(next()); } long nextLong() { return Long.parseLong(next()); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 13, 0, 18, 13, 13, 4, 18, 13, 13, 14, 2, 18, 13, 13, 18, 13, 13, 30, 0, 13, 17, 3, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 90, 5 ], [ 90, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 20, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 31, 32 ], [ 32, 33 ], [ 8, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 37, 47 ], [ 47, 48 ], [ 48, 49 ], [ 37, 50 ], [ 51, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 51, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 51, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 73, 75 ], [ 68, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 8, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 6, 87 ], [ 87, 88 ], [ 0, 89 ], [ 89, 90 ], [ 89, 91 ] ]
[ "import java.util.Scanner;\npublic class Main{\n\tpublic static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n\tString S = s.next(); \n\tchar[] Schrs = new char[S.length()];\n\tString T = s.next();\n\tchar[] Tchrs = new char[T.length()];\n\tString ans = \"Yes\";\n\t\n\tfor(int i=0; i<S.length(); i++) {\n\t\tSchrs[i]= S.charAt(i);\n\t\tTchrs[i]= T.charAt(i);\n\t\tif(Schrs[i]!=Tchrs[i]) {ans =\"No\"; break;}\n\t\t\n\t}\n\t\tSystem.out.println(ans);\n\t\t\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n\tString S = s.next(); \n\tchar[] Schrs = new char[S.length()];\n\tString T = s.next();\n\tchar[] Tchrs = new char[T.length()];\n\tString ans = \"Yes\";\n\t\n\tfor(int i=0; i<S.length(); i++) {\n\t\tSchrs[i]= S.charAt(i);\n\t\tTchrs[i]= T.charAt(i);\n\t\tif(Schrs[i]!=Tchrs[i]) {ans =\"No\"; break;}\n\t\t\n\t}\n\t\tSystem.out.println(ans);\n\t\t\n\t}\n\n}", "Main", "public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n\tString S = s.next(); \n\tchar[] Schrs = new char[S.length()];\n\tString T = s.next();\n\tchar[] Tchrs = new char[T.length()];\n\tString ans = \"Yes\";\n\t\n\tfor(int i=0; i<S.length(); i++) {\n\t\tSchrs[i]= S.charAt(i);\n\t\tTchrs[i]= T.charAt(i);\n\t\tif(Schrs[i]!=Tchrs[i]) {ans =\"No\"; break;}\n\t\t\n\t}\n\t\tSystem.out.println(ans);\n\t\t\n\t}", "main", "{\n Scanner s = new Scanner(System.in);\n\tString S = s.next(); \n\tchar[] Schrs = new char[S.length()];\n\tString T = s.next();\n\tchar[] Tchrs = new char[T.length()];\n\tString ans = \"Yes\";\n\t\n\tfor(int i=0; i<S.length(); i++) {\n\t\tSchrs[i]= S.charAt(i);\n\t\tTchrs[i]= T.charAt(i);\n\t\tif(Schrs[i]!=Tchrs[i]) {ans =\"No\"; break;}\n\t\t\n\t}\n\t\tSystem.out.println(ans);\n\t\t\n\t}", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "String S = s.next();", "S", "s.next()", "s.next", "s", "char[] Schrs = new char[S.length()];", "Schrs", "new char[S.length()]", "S.length()", "S.length", "S", "String T = s.next();", "T", "s.next()", "s.next", "s", "char[] Tchrs = new char[T.length()];", "Tchrs", "new char[T.length()]", "T.length()", "T.length", "T", "String ans = \"Yes\";", "ans", "\"Yes\"", "for(int i=0; i<S.length(); i++) {\n\t\tSchrs[i]= S.charAt(i);\n\t\tTchrs[i]= T.charAt(i);\n\t\tif(Schrs[i]!=Tchrs[i]) {ans =\"No\"; break;}\n\t\t\n\t}", "int i=0;", "int i=0;", "i", "0", "i<S.length()", "i", "S.length()", "S.length", "S", "i++", "i++", "i", "{\n\t\tSchrs[i]= S.charAt(i);\n\t\tTchrs[i]= T.charAt(i);\n\t\tif(Schrs[i]!=Tchrs[i]) {ans =\"No\"; break;}\n\t\t\n\t}", "{\n\t\tSchrs[i]= S.charAt(i);\n\t\tTchrs[i]= T.charAt(i);\n\t\tif(Schrs[i]!=Tchrs[i]) {ans =\"No\"; break;}\n\t\t\n\t}", "Schrs[i]= S.charAt(i)", "Schrs[i]", "Schrs", "i", "S.charAt(i)", "S.charAt", "S", "i", "Tchrs[i]= T.charAt(i)", "Tchrs[i]", "Tchrs", "i", "T.charAt(i)", "T.charAt", "T", "i", "if(Schrs[i]!=Tchrs[i]) {ans =\"No\"; break;}", "Schrs[i]!=Tchrs[i]", "Schrs[i]", "Schrs", "i", "Tchrs[i]", "Tchrs", "i", "{ans =\"No\"; break;}", "ans =\"No\"", "ans", "\"No\"", "break;", "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 Scanner s = new Scanner(System.in);\n\tString S = s.next(); \n\tchar[] Schrs = new char[S.length()];\n\tString T = s.next();\n\tchar[] Tchrs = new char[T.length()];\n\tString ans = \"Yes\";\n\t\n\tfor(int i=0; i<S.length(); i++) {\n\t\tSchrs[i]= S.charAt(i);\n\t\tTchrs[i]= T.charAt(i);\n\t\tif(Schrs[i]!=Tchrs[i]) {ans =\"No\"; break;}\n\t\t\n\t}\n\t\tSystem.out.println(ans);\n\t\t\n\t}\n\n}", "public class Main{\n\tpublic static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n\tString S = s.next(); \n\tchar[] Schrs = new char[S.length()];\n\tString T = s.next();\n\tchar[] Tchrs = new char[T.length()];\n\tString ans = \"Yes\";\n\t\n\tfor(int i=0; i<S.length(); i++) {\n\t\tSchrs[i]= S.charAt(i);\n\t\tTchrs[i]= T.charAt(i);\n\t\tif(Schrs[i]!=Tchrs[i]) {ans =\"No\"; break;}\n\t\t\n\t}\n\t\tSystem.out.println(ans);\n\t\t\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner s = new Scanner(System.in); String S = s.next(); char[] Schrs = new char[S.length()]; String T = s.next(); char[] Tchrs = new char[T.length()]; String ans = "Yes"; for(int i=0; i<S.length(); i++) { Schrs[i]= S.charAt(i); Tchrs[i]= T.charAt(i); if(Schrs[i]!=Tchrs[i]) {ans ="No"; break;} } System.out.println(ans); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 18, 13, 13, 17, 18, 13, 13, 30, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 18, 13, 13, 30, 4, 18, 18, 13, 13, 17, 29, 4, 18, 18, 13, 13, 17, 29, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 90, 5 ], [ 90, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 33, 39 ], [ 39, 40 ], [ 39, 41 ], [ 32, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 43, 53 ], [ 53, 54 ], [ 54, 55 ], [ 43, 56 ], [ 57, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 63, 64 ], [ 63, 65 ], [ 58, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 66, 73 ], [ 42, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 42, 80 ], [ 8, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 6, 87 ], [ 87, 88 ], [ 0, 89 ], [ 89, 90 ], [ 89, 91 ] ]
[ "import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n char[] c1 = s.toCharArray();\n String t = sc.next();\n char[] c2 = t.toCharArray();\n\n if(c1.length+1 == c2.length){\n for(int i=0; i<c1.length; i++){\n if(c1[i]!=c2[i]){\n System.out.println(\"No\");\n return ;\n } \n }\n System.out.println(\"Yes\");\n return;\n }\n\n System.out.println(\"No\");\n\n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n char[] c1 = s.toCharArray();\n String t = sc.next();\n char[] c2 = t.toCharArray();\n\n if(c1.length+1 == c2.length){\n for(int i=0; i<c1.length; i++){\n if(c1[i]!=c2[i]){\n System.out.println(\"No\");\n return ;\n } \n }\n System.out.println(\"Yes\");\n return;\n }\n\n System.out.println(\"No\");\n\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n char[] c1 = s.toCharArray();\n String t = sc.next();\n char[] c2 = t.toCharArray();\n\n if(c1.length+1 == c2.length){\n for(int i=0; i<c1.length; i++){\n if(c1[i]!=c2[i]){\n System.out.println(\"No\");\n return ;\n } \n }\n System.out.println(\"Yes\");\n return;\n }\n\n System.out.println(\"No\");\n\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n char[] c1 = s.toCharArray();\n String t = sc.next();\n char[] c2 = t.toCharArray();\n\n if(c1.length+1 == c2.length){\n for(int i=0; i<c1.length; i++){\n if(c1[i]!=c2[i]){\n System.out.println(\"No\");\n return ;\n } \n }\n System.out.println(\"Yes\");\n return;\n }\n\n System.out.println(\"No\");\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "char[] c1 = s.toCharArray();", "c1", "s.toCharArray()", "s.toCharArray", "s", "String t = sc.next();", "t", "sc.next()", "sc.next", "sc", "char[] c2 = t.toCharArray();", "c2", "t.toCharArray()", "t.toCharArray", "t", "if(c1.length+1 == c2.length){\n for(int i=0; i<c1.length; i++){\n if(c1[i]!=c2[i]){\n System.out.println(\"No\");\n return ;\n } \n }\n System.out.println(\"Yes\");\n return;\n }", "c1.length+1 == c2.length", "c1.length+1", "c1.length", "c1", "c1.length", "1", "c2.length", "c2", "c2.length", "{\n for(int i=0; i<c1.length; i++){\n if(c1[i]!=c2[i]){\n System.out.println(\"No\");\n return ;\n } \n }\n System.out.println(\"Yes\");\n return;\n }", "for(int i=0; i<c1.length; i++){\n if(c1[i]!=c2[i]){\n System.out.println(\"No\");\n return ;\n } \n }", "int i=0;", "int i=0;", "i", "0", "i<c1.length", "i", "c1.length", "c1", "c1.length", "i++", "i++", "i", "{\n if(c1[i]!=c2[i]){\n System.out.println(\"No\");\n return ;\n } \n }", "{\n if(c1[i]!=c2[i]){\n System.out.println(\"No\");\n return ;\n } \n }", "if(c1[i]!=c2[i]){\n System.out.println(\"No\");\n return ;\n }", "c1[i]!=c2[i]", "c1[i]", "c1", "i", "c2[i]", "c2", "i", "{\n System.out.println(\"No\");\n return ;\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "return ;", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "return;", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n char[] c1 = s.toCharArray();\n String t = sc.next();\n char[] c2 = t.toCharArray();\n\n if(c1.length+1 == c2.length){\n for(int i=0; i<c1.length; i++){\n if(c1[i]!=c2[i]){\n System.out.println(\"No\");\n return ;\n } \n }\n System.out.println(\"Yes\");\n return;\n }\n\n System.out.println(\"No\");\n\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n char[] c1 = s.toCharArray();\n String t = sc.next();\n char[] c2 = t.toCharArray();\n\n if(c1.length+1 == c2.length){\n for(int i=0; i<c1.length; i++){\n if(c1[i]!=c2[i]){\n System.out.println(\"No\");\n return ;\n } \n }\n System.out.println(\"Yes\");\n return;\n }\n\n System.out.println(\"No\");\n\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s = sc.next(); char[] c1 = s.toCharArray(); String t = sc.next(); char[] c2 = t.toCharArray(); if(c1.length+1 == c2.length){ for(int i=0; i<c1.length; i++){ if(c1[i]!=c2[i]){ System.out.println("No"); return ; } } System.out.println("Yes"); return; } System.out.println("No"); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 41, 13, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 0, 13, 4, 18, 13, 17, 0, 13, 4, 18, 13, 17, 4, 13, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 17, 41, 13, 17, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 2, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 14, 2, 13, 17, 30, 42, 2, 13, 13, 30, 0, 18, 13, 13, 4, 18, 13, 13, 0, 18, 13, 13, 4, 18, 13, 13, 14, 2, 18, 13, 13, 18, 13, 13, 30, 0, 13, 17, 30, 0, 13, 17, 3, 40, 13, 30, 4, 18, 18, 13, 13, 17, 29, 14, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 29, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 170, 8 ], [ 170, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 11, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 22, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 26, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 11, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 11, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 11, 48 ], [ 48, 49 ], [ 48, 50 ], [ 48, 51 ], [ 11, 52 ], [ 52, 53 ], [ 53, 54 ], [ 9, 55 ], [ 55, 56 ], [ 170, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 62, 63 ], [ 59, 64 ], [ 64, 65 ], [ 59, 66 ], [ 66, 67 ], [ 66, 68 ], [ 59, 69 ], [ 69, 70 ], [ 69, 71 ], [ 59, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 59, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 59, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 59, 87 ], [ 87, 88 ], [ 87, 89 ], [ 59, 91 ], [ 91, 92 ], [ 91, 93 ], [ 59, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 104, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 117, 118 ], [ 118, 119 ], [ 117, 120 ], [ 104, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 126, 127 ], [ 126, 128 ], [ 121, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 121, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 133, 137 ], [ 104, 138 ], [ 138, 139 ], [ 95, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 140, 147 ], [ 59, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 151, 156 ], [ 148, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 158, 163 ], [ 59, 164 ], [ 57, 165 ], [ 165, 166 ], [ 57, 167 ], [ 167, 168 ], [ 0, 169 ], [ 169, 170 ], [ 169, 171 ] ]
[ "import java.util.Scanner;\nimport java.util.ArrayList;\n \npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n ArrayList<String> list = new ArrayList<String>();\n String S,T;\n \n while (scan.hasNextLine()) {\n String an = scan.nextLine();\n list.add(an);\n }\n S = list.get(0);\n T = list.get(1);\n check(S,T);\n scan.close();\n }\n \n public static void check(String S , String T){\n int l,s,t;\n int i = 0;\n boolean flag = true;\n s = S.length();\n t = T.length();\n l = t - s;\n char[] tst = new char[t];\n char[] sst = new char[s];\n if(l == 1){\n while(i < s){\n tst[i] = T.charAt(i);\n sst[i] = S.charAt(i);\n if( tst[i] == sst[i]){\n flag = true;\n }else{\n flag = false;\n break;\n }\n i++;\n }\n }else{\n System.out.println(\"No\");\n return;\n }\n \n if(flag){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n return;\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.ArrayList;", "ArrayList", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n ArrayList<String> list = new ArrayList<String>();\n String S,T;\n \n while (scan.hasNextLine()) {\n String an = scan.nextLine();\n list.add(an);\n }\n S = list.get(0);\n T = list.get(1);\n check(S,T);\n scan.close();\n }\n \n public static void check(String S , String T){\n int l,s,t;\n int i = 0;\n boolean flag = true;\n s = S.length();\n t = T.length();\n l = t - s;\n char[] tst = new char[t];\n char[] sst = new char[s];\n if(l == 1){\n while(i < s){\n tst[i] = T.charAt(i);\n sst[i] = S.charAt(i);\n if( tst[i] == sst[i]){\n flag = true;\n }else{\n flag = false;\n break;\n }\n i++;\n }\n }else{\n System.out.println(\"No\");\n return;\n }\n \n if(flag){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n return;\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n ArrayList<String> list = new ArrayList<String>();\n String S,T;\n \n while (scan.hasNextLine()) {\n String an = scan.nextLine();\n list.add(an);\n }\n S = list.get(0);\n T = list.get(1);\n check(S,T);\n scan.close();\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n ArrayList<String> list = new ArrayList<String>();\n String S,T;\n \n while (scan.hasNextLine()) {\n String an = scan.nextLine();\n list.add(an);\n }\n S = list.get(0);\n T = list.get(1);\n check(S,T);\n scan.close();\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "ArrayList<String> list = new ArrayList<String>();", "list", "new ArrayList<String>()", "String S", "S", "T;", "T", "while (scan.hasNextLine()) {\n String an = scan.nextLine();\n list.add(an);\n }", "scan.hasNextLine()", "scan.hasNextLine", "scan", "{\n String an = scan.nextLine();\n list.add(an);\n }", "String an = scan.nextLine();", "an", "scan.nextLine()", "scan.nextLine", "scan", "list.add(an)", "list.add", "list", "an", "S = list.get(0)", "S", "list.get(0)", "list.get", "list", "0", "T = list.get(1)", "T", "list.get(1)", "list.get", "list", "1", "check(S,T)", "check", "S", "T", "scan.close()", "scan.close", "scan", "String[] args", "args", "public static void check(String S , String T){\n int l,s,t;\n int i = 0;\n boolean flag = true;\n s = S.length();\n t = T.length();\n l = t - s;\n char[] tst = new char[t];\n char[] sst = new char[s];\n if(l == 1){\n while(i < s){\n tst[i] = T.charAt(i);\n sst[i] = S.charAt(i);\n if( tst[i] == sst[i]){\n flag = true;\n }else{\n flag = false;\n break;\n }\n i++;\n }\n }else{\n System.out.println(\"No\");\n return;\n }\n \n if(flag){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n return;\n }", "check", "{\n int l,s,t;\n int i = 0;\n boolean flag = true;\n s = S.length();\n t = T.length();\n l = t - s;\n char[] tst = new char[t];\n char[] sst = new char[s];\n if(l == 1){\n while(i < s){\n tst[i] = T.charAt(i);\n sst[i] = S.charAt(i);\n if( tst[i] == sst[i]){\n flag = true;\n }else{\n flag = false;\n break;\n }\n i++;\n }\n }else{\n System.out.println(\"No\");\n return;\n }\n \n if(flag){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n return;\n }", "int l", "l", "s", "s", "t;", "t", "int i = 0;", "i", "0", "boolean flag = true;", "flag", "true", "s = S.length()", "s", "S.length()", "S.length", "S", "t = T.length()", "t", "T.length()", "T.length", "T", "l = t - s", "l", "t - s", "t", "s", "char[] tst = new char[t];", "tst", "new char[t]", "t", "char[] sst = new char[s];", "sst", "new char[s]", "s", "if(l == 1){\n while(i < s){\n tst[i] = T.charAt(i);\n sst[i] = S.charAt(i);\n if( tst[i] == sst[i]){\n flag = true;\n }else{\n flag = false;\n break;\n }\n i++;\n }\n }else{\n System.out.println(\"No\");\n return;\n }", "l == 1", "l", "1", "{\n while(i < s){\n tst[i] = T.charAt(i);\n sst[i] = S.charAt(i);\n if( tst[i] == sst[i]){\n flag = true;\n }else{\n flag = false;\n break;\n }\n i++;\n }\n }", "while(i < s){\n tst[i] = T.charAt(i);\n sst[i] = S.charAt(i);\n if( tst[i] == sst[i]){\n flag = true;\n }else{\n flag = false;\n break;\n }\n i++;\n }", "i < s", "i", "s", "{\n tst[i] = T.charAt(i);\n sst[i] = S.charAt(i);\n if( tst[i] == sst[i]){\n flag = true;\n }else{\n flag = false;\n break;\n }\n i++;\n }", "tst[i] = T.charAt(i)", "tst[i]", "tst", "i", "T.charAt(i)", "T.charAt", "T", "i", "sst[i] = S.charAt(i)", "sst[i]", "sst", "i", "S.charAt(i)", "S.charAt", "S", "i", "if( tst[i] == sst[i]){\n flag = true;\n }else{\n flag = false;\n break;\n }", "tst[i] == sst[i]", "tst[i]", "tst", "i", "sst[i]", "sst", "i", "{\n flag = true;\n }", "flag = true", "flag", "true", "{\n flag = false;\n break;\n }", "flag = false", "flag", "false", "break;", "i++", "i", "{\n System.out.println(\"No\");\n return;\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "return;", "if(flag){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }", "flag", "{\n System.out.println(\"Yes\");\n }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n System.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "return;", "String S", "S", "String T", "T", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n ArrayList<String> list = new ArrayList<String>();\n String S,T;\n \n while (scan.hasNextLine()) {\n String an = scan.nextLine();\n list.add(an);\n }\n S = list.get(0);\n T = list.get(1);\n check(S,T);\n scan.close();\n }\n \n public static void check(String S , String T){\n int l,s,t;\n int i = 0;\n boolean flag = true;\n s = S.length();\n t = T.length();\n l = t - s;\n char[] tst = new char[t];\n char[] sst = new char[s];\n if(l == 1){\n while(i < s){\n tst[i] = T.charAt(i);\n sst[i] = S.charAt(i);\n if( tst[i] == sst[i]){\n flag = true;\n }else{\n flag = false;\n break;\n }\n i++;\n }\n }else{\n System.out.println(\"No\");\n return;\n }\n \n if(flag){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n return;\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n ArrayList<String> list = new ArrayList<String>();\n String S,T;\n \n while (scan.hasNextLine()) {\n String an = scan.nextLine();\n list.add(an);\n }\n S = list.get(0);\n T = list.get(1);\n check(S,T);\n scan.close();\n }\n \n public static void check(String S , String T){\n int l,s,t;\n int i = 0;\n boolean flag = true;\n s = S.length();\n t = T.length();\n l = t - s;\n char[] tst = new char[t];\n char[] sst = new char[s];\n if(l == 1){\n while(i < s){\n tst[i] = T.charAt(i);\n sst[i] = S.charAt(i);\n if( tst[i] == sst[i]){\n flag = true;\n }else{\n flag = false;\n break;\n }\n i++;\n }\n }else{\n System.out.println(\"No\");\n return;\n }\n \n if(flag){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n return;\n }\n}", "Main" ]
import java.util.Scanner; import java.util.ArrayList; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); ArrayList<String> list = new ArrayList<String>(); String S,T; while (scan.hasNextLine()) { String an = scan.nextLine(); list.add(an); } S = list.get(0); T = list.get(1); check(S,T); scan.close(); } public static void check(String S , String T){ int l,s,t; int i = 0; boolean flag = true; s = S.length(); t = T.length(); l = t - s; char[] tst = new char[t]; char[] sst = new char[s]; if(l == 1){ while(i < s){ tst[i] = T.charAt(i); sst[i] = S.charAt(i); if( tst[i] == sst[i]){ flag = true; }else{ flag = false; break; } i++; } }else{ System.out.println("No"); return; } if(flag){ System.out.println("Yes"); }else{ System.out.println("No"); } return; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 4, 18, 13, 13, 14, 4, 18, 13, 13, 30, 14, 2, 13, 2, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 17, 3, 30, 4, 18, 18, 13, 13, 17, 3, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 88, 5 ], [ 88, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 22, 32 ], [ 32, 33 ], [ 33, 34 ], [ 22, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 36, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 36, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 55, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 64, 68 ], [ 61, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 69, 76 ], [ 55, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 77, 84 ], [ 6, 85 ], [ 85, 86 ], [ 0, 87 ], [ 87, 88 ], [ 87, 89 ] ]
[ "\nimport java.util.Scanner;\npublic class Main {\n\t public static void main(String args[]){\n\tScanner scanner = new Scanner(System.in);\n\t// \"abc\"という文字列\n\tString a=scanner.next();\n\tString b=scanner.next();\n\t// 変数strの長さ分回す\n\tfor (int i = 0; i < a.length(); i++) {\n\t // strの先頭から1文字ずつString型にして取り出す\n\t String str1 = String.valueOf(a.charAt(i));\n\t String str2 = String.valueOf(b.charAt(i));\n\t if(str1.equals(str2)){\n\t \tif(i==a.length()-1) {\n\t \t\tSystem.out.println(\"Yes\");\n\t \t\tbreak;\n\t \t}\n }\n\t else {\n\t \tSystem.out.println(\"No\");\n\t \tbreak;\n\t }\n\n\t}}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t public static void main(String args[]){\n\tScanner scanner = new Scanner(System.in);\n\t// \"abc\"という文字列\n\tString a=scanner.next();\n\tString b=scanner.next();\n\t// 変数strの長さ分回す\n\tfor (int i = 0; i < a.length(); i++) {\n\t // strの先頭から1文字ずつString型にして取り出す\n\t String str1 = String.valueOf(a.charAt(i));\n\t String str2 = String.valueOf(b.charAt(i));\n\t if(str1.equals(str2)){\n\t \tif(i==a.length()-1) {\n\t \t\tSystem.out.println(\"Yes\");\n\t \t\tbreak;\n\t \t}\n }\n\t else {\n\t \tSystem.out.println(\"No\");\n\t \tbreak;\n\t }\n\n\t}}\n}", "Main", "public static void main(String args[]){\n\tScanner scanner = new Scanner(System.in);\n\t// \"abc\"という文字列\n\tString a=scanner.next();\n\tString b=scanner.next();\n\t// 変数strの長さ分回す\n\tfor (int i = 0; i < a.length(); i++) {\n\t // strの先頭から1文字ずつString型にして取り出す\n\t String str1 = String.valueOf(a.charAt(i));\n\t String str2 = String.valueOf(b.charAt(i));\n\t if(str1.equals(str2)){\n\t \tif(i==a.length()-1) {\n\t \t\tSystem.out.println(\"Yes\");\n\t \t\tbreak;\n\t \t}\n }\n\t else {\n\t \tSystem.out.println(\"No\");\n\t \tbreak;\n\t }\n\n\t}}", "main", "{\n\tScanner scanner = new Scanner(System.in);\n\t// \"abc\"という文字列\n\tString a=scanner.next();\n\tString b=scanner.next();\n\t// 変数strの長さ分回す\n\tfor (int i = 0; i < a.length(); i++) {\n\t // strの先頭から1文字ずつString型にして取り出す\n\t String str1 = String.valueOf(a.charAt(i));\n\t String str2 = String.valueOf(b.charAt(i));\n\t if(str1.equals(str2)){\n\t \tif(i==a.length()-1) {\n\t \t\tSystem.out.println(\"Yes\");\n\t \t\tbreak;\n\t \t}\n }\n\t else {\n\t \tSystem.out.println(\"No\");\n\t \tbreak;\n\t }\n\n\t}}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "String a=scanner.next();", "a", "scanner.next()", "scanner.next", "scanner", "String b=scanner.next();", "b", "scanner.next()", "scanner.next", "scanner", "for (int i = 0; i < a.length(); i++) {\n\t // strの先頭から1文字ずつString型にして取り出す\n\t String str1 = String.valueOf(a.charAt(i));\n\t String str2 = String.valueOf(b.charAt(i));\n\t if(str1.equals(str2)){\n\t \tif(i==a.length()-1) {\n\t \t\tSystem.out.println(\"Yes\");\n\t \t\tbreak;\n\t \t}\n }\n\t else {\n\t \tSystem.out.println(\"No\");\n\t \tbreak;\n\t }\n\n\t}", "int i = 0;", "int i = 0;", "i", "0", "i < a.length()", "i", "a.length()", "a.length", "a", "i++", "i++", "i", "{\n\t // strの先頭から1文字ずつString型にして取り出す\n\t String str1 = String.valueOf(a.charAt(i));\n\t String str2 = String.valueOf(b.charAt(i));\n\t if(str1.equals(str2)){\n\t \tif(i==a.length()-1) {\n\t \t\tSystem.out.println(\"Yes\");\n\t \t\tbreak;\n\t \t}\n }\n\t else {\n\t \tSystem.out.println(\"No\");\n\t \tbreak;\n\t }\n\n\t}", "{\n\t // strの先頭から1文字ずつString型にして取り出す\n\t String str1 = String.valueOf(a.charAt(i));\n\t String str2 = String.valueOf(b.charAt(i));\n\t if(str1.equals(str2)){\n\t \tif(i==a.length()-1) {\n\t \t\tSystem.out.println(\"Yes\");\n\t \t\tbreak;\n\t \t}\n }\n\t else {\n\t \tSystem.out.println(\"No\");\n\t \tbreak;\n\t }\n\n\t}", "String str1 = String.valueOf(a.charAt(i));", "str1", "String.valueOf(a.charAt(i))", "String.valueOf", "String", "a.charAt(i)", "a.charAt", "a", "i", "String str2 = String.valueOf(b.charAt(i));", "str2", "String.valueOf(b.charAt(i))", "String.valueOf", "String", "b.charAt(i)", "b.charAt", "b", "i", "if(str1.equals(str2)){\n\t \tif(i==a.length()-1) {\n\t \t\tSystem.out.println(\"Yes\");\n\t \t\tbreak;\n\t \t}\n }\n\t else {\n\t \tSystem.out.println(\"No\");\n\t \tbreak;\n\t }", "str1.equals(str2)", "str1.equals", "str1", "str2", "{\n\t \tif(i==a.length()-1) {\n\t \t\tSystem.out.println(\"Yes\");\n\t \t\tbreak;\n\t \t}\n }", "if(i==a.length()-1) {\n\t \t\tSystem.out.println(\"Yes\");\n\t \t\tbreak;\n\t \t}", "i==a.length()-1", "i", "a.length()-1", "a.length()", "a.length", "a", "1", "{\n\t \t\tSystem.out.println(\"Yes\");\n\t \t\tbreak;\n\t \t}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "break;", "{\n\t \tSystem.out.println(\"No\");\n\t \tbreak;\n\t }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "break;", "String args[]", "args", "public class Main {\n\t public static void main(String args[]){\n\tScanner scanner = new Scanner(System.in);\n\t// \"abc\"という文字列\n\tString a=scanner.next();\n\tString b=scanner.next();\n\t// 変数strの長さ分回す\n\tfor (int i = 0; i < a.length(); i++) {\n\t // strの先頭から1文字ずつString型にして取り出す\n\t String str1 = String.valueOf(a.charAt(i));\n\t String str2 = String.valueOf(b.charAt(i));\n\t if(str1.equals(str2)){\n\t \tif(i==a.length()-1) {\n\t \t\tSystem.out.println(\"Yes\");\n\t \t\tbreak;\n\t \t}\n }\n\t else {\n\t \tSystem.out.println(\"No\");\n\t \tbreak;\n\t }\n\n\t}}\n}", "public class Main {\n\t public static void main(String args[]){\n\tScanner scanner = new Scanner(System.in);\n\t// \"abc\"という文字列\n\tString a=scanner.next();\n\tString b=scanner.next();\n\t// 変数strの長さ分回す\n\tfor (int i = 0; i < a.length(); i++) {\n\t // strの先頭から1文字ずつString型にして取り出す\n\t String str1 = String.valueOf(a.charAt(i));\n\t String str2 = String.valueOf(b.charAt(i));\n\t if(str1.equals(str2)){\n\t \tif(i==a.length()-1) {\n\t \t\tSystem.out.println(\"Yes\");\n\t \t\tbreak;\n\t \t}\n }\n\t else {\n\t \tSystem.out.println(\"No\");\n\t \tbreak;\n\t }\n\n\t}}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String args[]){ Scanner scanner = new Scanner(System.in); // "abc"という文字列 String a=scanner.next(); String b=scanner.next(); // 変数strの長さ分回す for (int i = 0; i < a.length(); i++) { // strの先頭から1文字ずつString型にして取り出す String str1 = String.valueOf(a.charAt(i)); String str2 = String.valueOf(b.charAt(i)); if(str1.equals(str2)){ if(i==a.length()-1) { System.out.println("Yes"); break; } } else { System.out.println("No"); break; } }} }
[ 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, 41, 13, 4, 18, 13, 14, 2, 2, 4, 18, 13, 2, 4, 18, 13, 17, 4, 18, 13, 13, 30, 4, 18, 13, 17, 30, 4, 18, 13, 17, 23, 13, 23, 13, 23, 13, 6, 13, 41, 13, 41, 13, 20, 17, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 40, 17, 30, 37, 20, 14, 2, 13, 13, 30, 0, 13, 17, 38, 5, 13, 30, 37, 20, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 17, 30, 29, 40, 17, 29, 18, 13, 40, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 30, 0, 13, 4, 13, 41, 13, 20, 42, 40, 4, 13, 13, 30, 14, 4, 18, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 4, 18, 13, 13, 29, 4, 13, 13, 23, 13, 12, 13, 30, 29, 2, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 40, 17, 23, 13, 6, 13, 12, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 267, 23 ], [ 267, 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 ], [ 267, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 61, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 61, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 74, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 78, 82 ], [ 73, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 72, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 72, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 59, 97 ], [ 97, 98 ], [ 59, 99 ], [ 99, 100 ], [ 59, 101 ], [ 101, 102 ], [ 267, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 103, 107 ], [ 107, 108 ], [ 107, 109 ], [ 103, 111 ], [ 111, 112 ], [ 103, 113 ], [ 113, 114 ], [ 103, 115 ], [ 115, 116 ], [ 103, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 117, 125 ], [ 125, 126 ], [ 103, 127 ], [ 127, 128 ], [ 127, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 130, 135 ], [ 135, 136 ], [ 136, 137 ], [ 129, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 138, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 149, 150 ], [ 150, 151 ], [ 146, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 155, 156 ], [ 156, 157 ], [ 155, 158 ], [ 142, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 159, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 129, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 170, 171 ], [ 103, 172 ], [ 172, 173 ], [ 172, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 177, 178 ], [ 174, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 179, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 186, 187 ], [ 174, 188 ], [ 188, 189 ], [ 188, 190 ], [ 174, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 191, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 198, 201 ], [ 197, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 203, 206 ], [ 196, 207 ], [ 207, 208 ], [ 207, 209 ], [ 209, 210 ], [ 174, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 103, 215 ], [ 215, 216 ], [ 215, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 218, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 224, 227 ], [ 217, 228 ], [ 228, 229 ], [ 229, 230 ], [ 229, 231 ], [ 215, 232 ], [ 232, 233 ], [ 103, 234 ], [ 234, 235 ], [ 234, 236 ], [ 236, 237 ], [ 237, 238 ], [ 241, 239 ], [ 251, 240 ], [ 248, 241 ], [ 241, 242 ], [ 242, 243 ], [ 242, 244 ], [ 241, 245 ], [ 245, 246 ], [ 245, 247 ], [ 248, 248 ], [ 248, 249 ], [ 248, 250 ], [ 251, 251 ], [ 251, 252 ], [ 251, 253 ], [ 241, 254 ], [ 254, 255 ], [ 254, 256 ], [ 256, 257 ], [ 234, 258 ], [ 258, 259 ], [ 103, 260 ], [ 260, 261 ], [ 260, 262 ], [ 262, 263 ], [ 262, 264 ], [ 264, 265 ], [ 0, 266 ], [ 266, 267 ], [ 266, 268 ] ]
[ "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 */\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 ARegistration solver = new ARegistration();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ARegistration {\n public void solve(int testNumber, FastReader s, PrintWriter out) {\n String str1 = s.nextString();\n String str2 = s.nextString();\n if (str2.length() == str1.length() + 1 && str2.startsWith(str1)) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}\n", "import java.io.OutputStream;", "OutputStream", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.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 ARegistration solver = new ARegistration();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ARegistration {\n public void solve(int testNumber, FastReader s, PrintWriter out) {\n String str1 = s.nextString();\n String str2 = s.nextString();\n if (str2.length() == str1.length() + 1 && str2.startsWith(str1)) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ARegistration solver = new ARegistration();\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 ARegistration solver = new ARegistration();\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)", "ARegistration solver = new ARegistration();", "solver", "new ARegistration()", "solver.solve(1, in, out)", "solver.solve", "solver", "1", "in", "out", "out.close()", "out.close", "out", "String[] args", "args", "static class ARegistration {\n public void solve(int testNumber, FastReader s, PrintWriter out) {\n String str1 = s.nextString();\n String str2 = s.nextString();\n if (str2.length() == str1.length() + 1 && str2.startsWith(str1)) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }\n }\n\n }", "ARegistration", "public void solve(int testNumber, FastReader s, PrintWriter out) {\n String str1 = s.nextString();\n String str2 = s.nextString();\n if (str2.length() == str1.length() + 1 && str2.startsWith(str1)) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }\n }", "solve", "{\n String str1 = s.nextString();\n String str2 = s.nextString();\n if (str2.length() == str1.length() + 1 && str2.startsWith(str1)) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }\n }", "String str1 = s.nextString();", "str1", "s.nextString()", "s.nextString", "s", "String str2 = s.nextString();", "str2", "s.nextString()", "s.nextString", "s", "if (str2.length() == str1.length() + 1 && str2.startsWith(str1)) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }", "str2.length() == str1.length() + 1 && str2.startsWith(str1)", "str2.length() == str1.length() + 1", "str2.length()", "str2.length", "str2", "str1.length() + 1", "str1.length()", "str1.length", "str1", "1", "str2.startsWith(str1)", "str2.startsWith", "str2", "str1", "{\n out.println(\"Yes\");\n }", "out.println(\"Yes\")", "out.println", "out", "\"Yes\"", "{\n out.println(\"No\");\n }", "out.println(\"No\")", "out.println", "out", "\"No\"", "int testNumber", "testNumber", "FastReader s", "s", "PrintWriter out", "out", "static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }", "FastReader", "private InputStream stream;", "stream", "private byte[] buf = new byte[1024];", "buf", "new byte[1024]", "1024", "private int curChar;", "curChar", "private int numChars;", "numChars", "private FastReader.SpaceCharFilter filter;", "filter", "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", "public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }", "read", "{\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }", "if (numChars == -1) {\n throw new InputMismatchException();\n }", "numChars == -1", "numChars", "-1", "1", "{\n throw new InputMismatchException();\n }", "throw new InputMismatchException();", "new InputMismatchException()", "if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }", "curChar >= numChars", "curChar", "numChars", "{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }", "curChar = 0", "curChar", "0", "try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }", "catch (IOException e) {\n throw new InputMismatchException();\n }", "IOException e", "{\n throw new InputMismatchException();\n }", "throw new InputMismatchException();", "new InputMismatchException()", "{\n numChars = stream.read(buf);\n }", "numChars = stream.read(buf)", "numChars", "stream.read(buf)", "stream.read", "stream", "buf", "if (numChars <= 0) {\n return -1;\n }", "numChars <= 0", "numChars", "0", "{\n return -1;\n }", "return -1;", "-1", "1", "return buf[curChar++];", "buf[curChar++]", "buf", "curChar++", "curChar", "public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }", "nextString", "{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }", "int c = read();", "c", "read()", "read", "while (isSpaceChar(c)) {\n c = read();\n }", "isSpaceChar(c)", "isSpaceChar", "c", "{\n c = read();\n }", "c = read()", "c", "read()", "read", "StringBuilder res = new StringBuilder();", "res", "new StringBuilder()", "do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n }", "if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }", "Character.isValidCodePoint(c)", "Character.isValidCodePoint", "Character", "c", "{\n res.appendCodePoint(c);\n }", "res.appendCodePoint(c)", "res.appendCodePoint", "res", "c", "c = read()", "c", "read()", "read", "return res.toString();", "res.toString()", "res.toString", "res", "public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }", "isSpaceChar", "{\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }", "if (filter != null) {\n return filter.isSpaceChar(c);\n }", "filter != null", "filter", "null", "{\n return filter.isSpaceChar(c);\n }", "return filter.isSpaceChar(c);", "filter.isSpaceChar(c)", "filter.isSpaceChar", "filter", "c", "return isWhitespace(c);", "isWhitespace(c)", "isWhitespace", "c", "int c", "c", "public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "isWhitespace", "{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == '\\t'", "c == '\\r'", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == ' '", "c", "' '", "c == '\\n'", "c", "'\\n'", "c == '\\r'", "c", "'\\r'", "c == '\\t'", "c", "'\\t'", "c == -1", "c", "-1", "1", "int c", "c", "public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }", "SpaceCharFilter", "public boolean isSpaceChar(int ch);", "isSpaceChar", "int ch", "ch", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ARegistration solver = new ARegistration();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ARegistration {\n public void solve(int testNumber, FastReader s, PrintWriter out) {\n String str1 = s.nextString();\n String str2 = s.nextString();\n if (str2.length() == str1.length() + 1 && str2.startsWith(str1)) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ARegistration solver = new ARegistration();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ARegistration {\n public void solve(int testNumber, FastReader s, PrintWriter out) {\n String str1 = s.nextString();\n String str2 = s.nextString();\n if (str2.length() == str1.length() + 1 && str2.startsWith(str1)) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}", "Main" ]
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.InputMismatchException; import java.io.IOException; import java.io.InputStream; /** * Built using CHelper plug-in * Actual solution is at the top */ public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; FastReader in = new FastReader(inputStream); PrintWriter out = new PrintWriter(outputStream); ARegistration solver = new ARegistration(); solver.solve(1, in, out); out.close(); } static class ARegistration { public void solve(int testNumber, FastReader s, PrintWriter out) { String str1 = s.nextString(); String str2 = s.nextString(); if (str2.length() == str1.length() + 1 && str2.startsWith(str1)) { out.println("Yes"); } else { out.println("No"); } } } static class FastReader { private InputStream stream; private byte[] buf = new byte[1024]; private int curChar; private int numChars; private FastReader.SpaceCharFilter filter; public FastReader(InputStream stream) { this.stream = stream; } public int read() { if (numChars == -1) { throw new InputMismatchException(); } if (curChar >= numChars) { curChar = 0; try { numChars = stream.read(buf); } catch (IOException e) { throw new InputMismatchException(); } if (numChars <= 0) { return -1; } } return buf[curChar++]; } public String nextString() { int c = read(); while (isSpaceChar(c)) { c = read(); } StringBuilder res = new StringBuilder(); do { if (Character.isValidCodePoint(c)) { res.appendCodePoint(c); } c = read(); } while (!isSpaceChar(c)); return res.toString(); } public boolean isSpaceChar(int c) { if (filter != null) { return filter.isSpaceChar(c); } return isWhitespace(c); } public static boolean isWhitespace(int c) { return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1; } public interface SpaceCharFilter { public boolean isSpaceChar(int ch); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 13, 30, 14, 2, 4, 18, 13, 17, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 62, 5 ], [ 62, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 23, 26 ], [ 22, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 29, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 28, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 28, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 22, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 6, 59 ], [ 59, 60 ], [ 0, 61 ], [ 61, 62 ], [ 61, 63 ] ]
[ "import java.util.Scanner;\n\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n String line2 = sc.nextLine();\n \n \tif(line2.contains(line)){\n \t\tif(line.charAt(0) == line2.charAt(0)){\n \t\t\tSystem.out.println(\"Yes\");\n \t\t}else{\n \t\t\tSystem.out.println(\"No\");\n \t\t}\n }else{\n \tSystem.out.println(\"No\");\n }\n\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n String line2 = sc.nextLine();\n \n \tif(line2.contains(line)){\n \t\tif(line.charAt(0) == line2.charAt(0)){\n \t\t\tSystem.out.println(\"Yes\");\n \t\t}else{\n \t\t\tSystem.out.println(\"No\");\n \t\t}\n }else{\n \tSystem.out.println(\"No\");\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n String line2 = sc.nextLine();\n \n \tif(line2.contains(line)){\n \t\tif(line.charAt(0) == line2.charAt(0)){\n \t\t\tSystem.out.println(\"Yes\");\n \t\t}else{\n \t\t\tSystem.out.println(\"No\");\n \t\t}\n }else{\n \tSystem.out.println(\"No\");\n }\n\n }", "main", "{\n\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n String line2 = sc.nextLine();\n \n \tif(line2.contains(line)){\n \t\tif(line.charAt(0) == line2.charAt(0)){\n \t\t\tSystem.out.println(\"Yes\");\n \t\t}else{\n \t\t\tSystem.out.println(\"No\");\n \t\t}\n }else{\n \tSystem.out.println(\"No\");\n }\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String line = sc.nextLine();", "line", "sc.nextLine()", "sc.nextLine", "sc", "String line2 = sc.nextLine();", "line2", "sc.nextLine()", "sc.nextLine", "sc", "if(line2.contains(line)){\n \t\tif(line.charAt(0) == line2.charAt(0)){\n \t\t\tSystem.out.println(\"Yes\");\n \t\t}else{\n \t\t\tSystem.out.println(\"No\");\n \t\t}\n }else{\n \tSystem.out.println(\"No\");\n }", "line2.contains(line)", "line2.contains", "line2", "line", "{\n \t\tif(line.charAt(0) == line2.charAt(0)){\n \t\t\tSystem.out.println(\"Yes\");\n \t\t}else{\n \t\t\tSystem.out.println(\"No\");\n \t\t}\n }", "if(line.charAt(0) == line2.charAt(0)){\n \t\t\tSystem.out.println(\"Yes\");\n \t\t}else{\n \t\t\tSystem.out.println(\"No\");\n \t\t}", "line.charAt(0) == line2.charAt(0)", "line.charAt(0)", "line.charAt", "line", "0", "line2.charAt(0)", "line2.charAt", "line2", "0", "{\n \t\t\tSystem.out.println(\"Yes\");\n \t\t}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n \t\t\tSystem.out.println(\"No\");\n \t\t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "{\n \tSystem.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n String line2 = sc.nextLine();\n \n \tif(line2.contains(line)){\n \t\tif(line.charAt(0) == line2.charAt(0)){\n \t\t\tSystem.out.println(\"Yes\");\n \t\t}else{\n \t\t\tSystem.out.println(\"No\");\n \t\t}\n }else{\n \tSystem.out.println(\"No\");\n }\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n String line2 = sc.nextLine();\n \n \tif(line2.contains(line)){\n \t\tif(line.charAt(0) == line2.charAt(0)){\n \t\t\tSystem.out.println(\"Yes\");\n \t\t}else{\n \t\t\tSystem.out.println(\"No\");\n \t\t}\n }else{\n \tSystem.out.println(\"No\");\n }\n\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String line = sc.nextLine(); String line2 = sc.nextLine(); if(line2.contains(line)){ if(line.charAt(0) == line2.charAt(0)){ System.out.println("Yes"); }else{ System.out.println("No"); } }else{ System.out.println("No"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 13, 4, 18, 13, 13, 0, 13, 17, 14, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 78, 11 ], [ 78, 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 ], [ 14, 28 ], [ 28, 29 ], [ 28, 30 ], [ 14, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 31, 41 ], [ 41, 42 ], [ 42, 43 ], [ 31, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 46, 56 ], [ 56, 57 ], [ 56, 58 ], [ 14, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 59, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 12, 75 ], [ 75, 76 ], [ 0, 77 ], [ 77, 78 ], [ 77, 79 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String s = reader.readLine();\n String t = reader.readLine();\n boolean flag = true;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i))\n flag = false;\n }\n if (flag) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String s = reader.readLine();\n String t = reader.readLine();\n boolean flag = true;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i))\n flag = false;\n }\n if (flag) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String s = reader.readLine();\n String t = reader.readLine();\n boolean flag = true;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i))\n flag = false;\n }\n if (flag) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }", "main", "{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String s = reader.readLine();\n String t = reader.readLine();\n boolean flag = true;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i))\n flag = false;\n }\n if (flag) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }", "BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));", "reader", "new BufferedReader(new InputStreamReader(System.in))", "String s = reader.readLine();", "s", "reader.readLine()", "reader.readLine", "reader", "String t = reader.readLine();", "t", "reader.readLine()", "reader.readLine", "reader", "boolean flag = true;", "flag", "true", "for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i))\n flag = false;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < s.length()", "i", "s.length()", "s.length", "s", "i++", "i++", "i", "{\n if (s.charAt(i) != t.charAt(i))\n flag = false;\n }", "{\n if (s.charAt(i) != t.charAt(i))\n flag = false;\n }", "if (s.charAt(i) != t.charAt(i))\n flag = false;", "s.charAt(i) != t.charAt(i)", "s.charAt(i)", "s.charAt", "s", "i", "t.charAt(i)", "t.charAt", "t", "i", "flag = false", "flag", "false", "if (flag) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }", "flag", "{\n System.out.println(\"Yes\");\n }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n System.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String s = reader.readLine();\n String t = reader.readLine();\n boolean flag = true;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i))\n flag = false;\n }\n if (flag) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String s = reader.readLine();\n String t = reader.readLine();\n boolean flag = true;\n for (int i = 0; i < s.length(); i++) {\n if (s.charAt(i) != t.charAt(i))\n flag = false;\n }\n if (flag) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String s = reader.readLine(); String t = reader.readLine(); boolean flag = true; for (int i = 0; i < s.length(); i++) { if (s.charAt(i) != t.charAt(i)) flag = false; } if (flag) { System.out.println("Yes"); } else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 20, 12, 13, 30, 41, 13, 20, 17, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 41, 13, 4, 18, 18, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 4, 18, 18, 13, 17, 17, 30, 0, 13, 4, 18, 18, 13, 17, 2, 13, 17, 0, 13, 2, 18, 13, 17, 13, 14, 4, 18, 13, 18, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 12, 13, 30, 41, 13, 20, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 129, 5 ], [ 129, 6 ], [ 6, 7 ], [ 129, 8 ], [ 8, 9 ], [ 129, 10 ], [ 10, 11 ], [ 129, 12 ], [ 12, 13 ], [ 129, 14 ], [ 14, 15 ], [ 129, 16 ], [ 16, 17 ], [ 129, 18 ], [ 18, 19 ], [ 129, 20 ], [ 20, 21 ], [ 129, 22 ], [ 22, 23 ], [ 129, 24 ], [ 24, 25 ], [ 129, 26 ], [ 26, 27 ], [ 26, 28 ], [ 129, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 36, 44 ], [ 44, 45 ], [ 45, 46 ], [ 36, 47 ], [ 48, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 54, 55 ], [ 31, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 31, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 63, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 63, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 86, 87 ], [ 86, 88 ], [ 31, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 31, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 97, 100 ], [ 100, 101 ], [ 100, 102 ], [ 96, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 96, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 129, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 123, 124 ], [ 124, 125 ], [ 117, 126 ], [ 126, 127 ], [ 0, 128 ], [ 128, 129 ], [ 128, 130 ] ]
[ "import java.util.Scanner;\npublic class Main{\n\tint o,h,s,e;\n\tdouble q,w,a;\n\tString i,l,k;\n\tScanner scan=new Scanner(System.in);\n\tpublic void output() {\nString[] date=new String[2];\nfor(o=0;o<2;o++) {\n\tdate[o]=scan.next();\n}\nint len = date[1].length();\nif(len-1==0) {\n\ti = date[1].substring(1);\n}else {\n i = date[1].substring(len-1);\n}\nl=date[0]+i;\n if(l.equals(date[1])) {\n\t System.out.println(\"Yes\");\n }else {\n\t System.out.println(\"No\");\n }\n// System.out.println(date[0]);\n //System.out.println(i);\n //System.out.println(l);\n\t}\n\tpublic static void main(String[] args) {\n\t\tMain p=new Main();\n\t\tp.output();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tint o,h,s,e;\n\tdouble q,w,a;\n\tString i,l,k;\n\tScanner scan=new Scanner(System.in);\n\tpublic void output() {\nString[] date=new String[2];\nfor(o=0;o<2;o++) {\n\tdate[o]=scan.next();\n}\nint len = date[1].length();\nif(len-1==0) {\n\ti = date[1].substring(1);\n}else {\n i = date[1].substring(len-1);\n}\nl=date[0]+i;\n if(l.equals(date[1])) {\n\t System.out.println(\"Yes\");\n }else {\n\t System.out.println(\"No\");\n }\n// System.out.println(date[0]);\n //System.out.println(i);\n //System.out.println(l);\n\t}\n\tpublic static void main(String[] args) {\n\t\tMain p=new Main();\n\t\tp.output();\n\t}\n}", "Main", "int o", "o", "h", "h", "s", "s", "e;", "e", "double q", "q", "w", "w", "a;", "a", "String i", "i", "l", "l", "k;", "k", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "public void output() {\nString[] date=new String[2];\nfor(o=0;o<2;o++) {\n\tdate[o]=scan.next();\n}\nint len = date[1].length();\nif(len-1==0) {\n\ti = date[1].substring(1);\n}else {\n i = date[1].substring(len-1);\n}\nl=date[0]+i;\n if(l.equals(date[1])) {\n\t System.out.println(\"Yes\");\n }else {\n\t System.out.println(\"No\");\n }\n// System.out.println(date[0]);\n //System.out.println(i);\n //System.out.println(l);\n\t}", "output", "{\nString[] date=new String[2];\nfor(o=0;o<2;o++) {\n\tdate[o]=scan.next();\n}\nint len = date[1].length();\nif(len-1==0) {\n\ti = date[1].substring(1);\n}else {\n i = date[1].substring(len-1);\n}\nl=date[0]+i;\n if(l.equals(date[1])) {\n\t System.out.println(\"Yes\");\n }else {\n\t System.out.println(\"No\");\n }\n// System.out.println(date[0]);\n //System.out.println(i);\n //System.out.println(l);\n\t}", "String[] date=new String[2];", "date", "new String[2]", "2", "for(o=0;o<2;o++) {\n\tdate[o]=scan.next();\n}", "o=0;", "o=0", "o", "0", "o<2", "o", "2", "o++", "o++", "o", "{\n\tdate[o]=scan.next();\n}", "{\n\tdate[o]=scan.next();\n}", "date[o]=scan.next()", "date[o]", "date", "o", "scan.next()", "scan.next", "scan", "int len = date[1].length();", "len", "date[1].length()", "date[1].length", "date[1]", "date", "1", "if(len-1==0) {\n\ti = date[1].substring(1);\n}else {\n i = date[1].substring(len-1);\n}", "len-1==0", "len-1", "len", "1", "0", "{\n\ti = date[1].substring(1);\n}", "i = date[1].substring(1)", "i", "date[1].substring(1)", "date[1].substring", "date[1]", "date", "1", "1", "{\n i = date[1].substring(len-1);\n}", "i = date[1].substring(len-1)", "i", "date[1].substring(len-1)", "date[1].substring", "date[1]", "date", "1", "len-1", "len", "1", "l=date[0]+i", "l", "date[0]+i", "date[0]", "date", "0", "i", "if(l.equals(date[1])) {\n\t System.out.println(\"Yes\");\n }else {\n\t System.out.println(\"No\");\n }", "l.equals(date[1])", "l.equals", "l", "date[1]", "date", "1", "{\n\t System.out.println(\"Yes\");\n }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n\t System.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "public static void main(String[] args) {\n\t\tMain p=new Main();\n\t\tp.output();\n\t}", "main", "{\n\t\tMain p=new Main();\n\t\tp.output();\n\t}", "Main p=new Main();", "p", "new Main()", "p.output()", "p.output", "p", "String[] args", "args", "public class Main{\n\tint o,h,s,e;\n\tdouble q,w,a;\n\tString i,l,k;\n\tScanner scan=new Scanner(System.in);\n\tpublic void output() {\nString[] date=new String[2];\nfor(o=0;o<2;o++) {\n\tdate[o]=scan.next();\n}\nint len = date[1].length();\nif(len-1==0) {\n\ti = date[1].substring(1);\n}else {\n i = date[1].substring(len-1);\n}\nl=date[0]+i;\n if(l.equals(date[1])) {\n\t System.out.println(\"Yes\");\n }else {\n\t System.out.println(\"No\");\n }\n// System.out.println(date[0]);\n //System.out.println(i);\n //System.out.println(l);\n\t}\n\tpublic static void main(String[] args) {\n\t\tMain p=new Main();\n\t\tp.output();\n\t}\n}", "public class Main{\n\tint o,h,s,e;\n\tdouble q,w,a;\n\tString i,l,k;\n\tScanner scan=new Scanner(System.in);\n\tpublic void output() {\nString[] date=new String[2];\nfor(o=0;o<2;o++) {\n\tdate[o]=scan.next();\n}\nint len = date[1].length();\nif(len-1==0) {\n\ti = date[1].substring(1);\n}else {\n i = date[1].substring(len-1);\n}\nl=date[0]+i;\n if(l.equals(date[1])) {\n\t System.out.println(\"Yes\");\n }else {\n\t System.out.println(\"No\");\n }\n// System.out.println(date[0]);\n //System.out.println(i);\n //System.out.println(l);\n\t}\n\tpublic static void main(String[] args) {\n\t\tMain p=new Main();\n\t\tp.output();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ int o,h,s,e; double q,w,a; String i,l,k; Scanner scan=new Scanner(System.in); public void output() { String[] date=new String[2]; for(o=0;o<2;o++) { date[o]=scan.next(); } int len = date[1].length(); if(len-1==0) { i = date[1].substring(1); }else { i = date[1].substring(len-1); } l=date[0]+i; if(l.equals(date[1])) { System.out.println("Yes"); }else { System.out.println("No"); } // System.out.println(date[0]); //System.out.println(i); //System.out.println(l); } public static void main(String[] args) { Main p=new Main(); p.output(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 2, 13, 17, 14, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 58, 5 ], [ 58, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 29, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 36, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 36, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 6, 55 ], [ 55, 56 ], [ 0, 57 ], [ 57, 58 ], [ 57, 59 ] ]
[ "import java.util.Scanner;\n \npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String S=sc.next();\n String T=sc.next();\n int X=T.length();\n String Z=T.substring(0,X-1);\n if(S.equals(Z)) {\n \tSystem.out.println(\"Yes\");\n }else {\n \tSystem.out.println(\"No\");\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String S=sc.next();\n String T=sc.next();\n int X=T.length();\n String Z=T.substring(0,X-1);\n if(S.equals(Z)) {\n \tSystem.out.println(\"Yes\");\n }else {\n \tSystem.out.println(\"No\");\n }\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String S=sc.next();\n String T=sc.next();\n int X=T.length();\n String Z=T.substring(0,X-1);\n if(S.equals(Z)) {\n \tSystem.out.println(\"Yes\");\n }else {\n \tSystem.out.println(\"No\");\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String S=sc.next();\n String T=sc.next();\n int X=T.length();\n String Z=T.substring(0,X-1);\n if(S.equals(Z)) {\n \tSystem.out.println(\"Yes\");\n }else {\n \tSystem.out.println(\"No\");\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String S=sc.next();", "S", "sc.next()", "sc.next", "sc", "String T=sc.next();", "T", "sc.next()", "sc.next", "sc", "int X=T.length();", "X", "T.length()", "T.length", "T", "String Z=T.substring(0,X-1);", "Z", "T.substring(0,X-1)", "T.substring", "T", "0", "X-1", "X", "1", "if(S.equals(Z)) {\n \tSystem.out.println(\"Yes\");\n }else {\n \tSystem.out.println(\"No\");\n }", "S.equals(Z)", "S.equals", "S", "Z", "{\n \tSystem.out.println(\"Yes\");\n }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n \tSystem.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String S=sc.next();\n String T=sc.next();\n int X=T.length();\n String Z=T.substring(0,X-1);\n if(S.equals(Z)) {\n \tSystem.out.println(\"Yes\");\n }else {\n \tSystem.out.println(\"No\");\n }\n }\n}", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String S=sc.next();\n String T=sc.next();\n int X=T.length();\n String Z=T.substring(0,X-1);\n if(S.equals(Z)) {\n \tSystem.out.println(\"Yes\");\n }else {\n \tSystem.out.println(\"No\");\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String S=sc.next(); String T=sc.next(); int X=T.length(); String Z=T.substring(0,X-1); if(S.equals(Z)) { System.out.println("Yes"); }else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 2, 13, 17, 14, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 61, 5 ], [ 61, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 29, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 36, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 36, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 8, 55 ], [ 55, 56 ], [ 56, 57 ], [ 6, 58 ], [ 58, 59 ], [ 0, 60 ], [ 60, 61 ], [ 60, 62 ] ]
[ "import java.util.Scanner;\npublic class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n\n// 2つの文字列を入力してもらう\n String s = scanner.next();\n String t = scanner.next();\n\n// tから最後の1文字を切り離した文字列を抽出\n int tLength = t.length();\n String T = t.substring( 0 , tLength - 1);\n\n// 最初に入力してもらった文字列と先ほど抽出した文字列を比較する\n if( s.equals(T)) {\n System.out.println(\"Yes\");\n }else {\n System.out.println(\"No\");\n }\n\n scanner.close();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n\n// 2つの文字列を入力してもらう\n String s = scanner.next();\n String t = scanner.next();\n\n// tから最後の1文字を切り離した文字列を抽出\n int tLength = t.length();\n String T = t.substring( 0 , tLength - 1);\n\n// 最初に入力してもらった文字列と先ほど抽出した文字列を比較する\n if( s.equals(T)) {\n System.out.println(\"Yes\");\n }else {\n System.out.println(\"No\");\n }\n\n scanner.close();\n }\n}", "Main", "public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n\n// 2つの文字列を入力してもらう\n String s = scanner.next();\n String t = scanner.next();\n\n// tから最後の1文字を切り離した文字列を抽出\n int tLength = t.length();\n String T = t.substring( 0 , tLength - 1);\n\n// 最初に入力してもらった文字列と先ほど抽出した文字列を比較する\n if( s.equals(T)) {\n System.out.println(\"Yes\");\n }else {\n System.out.println(\"No\");\n }\n\n scanner.close();\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n\n// 2つの文字列を入力してもらう\n String s = scanner.next();\n String t = scanner.next();\n\n// tから最後の1文字を切り離した文字列を抽出\n int tLength = t.length();\n String T = t.substring( 0 , tLength - 1);\n\n// 最初に入力してもらった文字列と先ほど抽出した文字列を比較する\n if( s.equals(T)) {\n System.out.println(\"Yes\");\n }else {\n System.out.println(\"No\");\n }\n\n scanner.close();\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "String s = scanner.next();", "s", "scanner.next()", "scanner.next", "scanner", "String t = scanner.next();", "t", "scanner.next()", "scanner.next", "scanner", "int tLength = t.length();", "tLength", "t.length()", "t.length", "t", "String T = t.substring( 0 , tLength - 1);", "T", "t.substring( 0 , tLength - 1)", "t.substring", "t", "0", "tLength - 1", "tLength", "1", "if( s.equals(T)) {\n System.out.println(\"Yes\");\n }else {\n System.out.println(\"No\");\n }", "s.equals(T)", "s.equals", "s", "T", "{\n System.out.println(\"Yes\");\n }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n System.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "scanner.close()", "scanner.close", "scanner", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n\n// 2つの文字列を入力してもらう\n String s = scanner.next();\n String t = scanner.next();\n\n// tから最後の1文字を切り離した文字列を抽出\n int tLength = t.length();\n String T = t.substring( 0 , tLength - 1);\n\n// 最初に入力してもらった文字列と先ほど抽出した文字列を比較する\n if( s.equals(T)) {\n System.out.println(\"Yes\");\n }else {\n System.out.println(\"No\");\n }\n\n scanner.close();\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n\n// 2つの文字列を入力してもらう\n String s = scanner.next();\n String t = scanner.next();\n\n// tから最後の1文字を切り離した文字列を抽出\n int tLength = t.length();\n String T = t.substring( 0 , tLength - 1);\n\n// 最初に入力してもらった文字列と先ほど抽出した文字列を比較する\n if( s.equals(T)) {\n System.out.println(\"Yes\");\n }else {\n System.out.println(\"No\");\n }\n\n scanner.close();\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); // 2つの文字列を入力してもらう String s = scanner.next(); String t = scanner.next(); // tから最後の1文字を切り離した文字列を抽出 int tLength = t.length(); String T = t.substring( 0 , tLength - 1); // 最初に入力してもらった文字列と先ほど抽出した文字列を比較する if( s.equals(T)) { System.out.println("Yes"); }else { System.out.println("No"); } scanner.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 41, 13, 17, 12, 13, 30, 4, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 13, 4, 18, 13, 13, 30, 0, 13, 17, 3, 4, 18, 13, 8, 2, 13, 17, 17, 17, 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, 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, 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 ], [ 203, 8 ], [ 203, 9 ], [ 9, 10 ], [ 9, 11 ], [ 203, 12 ], [ 12, 13 ], [ 12, 14 ], [ 203, 15 ], [ 15, 16 ], [ 15, 17 ], [ 203, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 23, 24 ], [ 24, 25 ], [ 18, 26 ], [ 26, 27 ], [ 203, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 30, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 41, 42 ], [ 42, 43 ], [ 30, 44 ], [ 44, 45 ], [ 44, 46 ], [ 30, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 47, 57 ], [ 57, 58 ], [ 58, 59 ], [ 47, 60 ], [ 61, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 63, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 62, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 30, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 80, 85 ], [ 203, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 86, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 97, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 102, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 96, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 86, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 124, 125 ], [ 86, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 130, 133 ], [ 133, 134 ], [ 86, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 142, 147 ], [ 147, 148 ], [ 147, 149 ], [ 142, 150 ], [ 150, 151 ], [ 151, 152 ], [ 142, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 154, 158 ], [ 158, 159 ], [ 137, 160 ], [ 160, 161 ], [ 135, 162 ], [ 162, 163 ], [ 86, 164 ], [ 164, 165 ], [ 164, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 168, 171 ], [ 171, 172 ], [ 86, 173 ], [ 173, 174 ], [ 173, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 175, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 180, 185 ], [ 185, 186 ], [ 185, 187 ], [ 180, 188 ], [ 188, 189 ], [ 189, 190 ], [ 180, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 192, 196 ], [ 196, 197 ], [ 175, 198 ], [ 198, 199 ], [ 173, 200 ], [ 200, 201 ], [ 0, 202 ], [ 202, 203 ], [ 202, 204 ] ]
[ "import java.util.*;\nimport java.io.*;\n\npublic class Main {\n\tstatic class FS {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tint[] readArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic long[] readLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}\n\n\tstatic final FS sc = new FS();\n\tstatic final PrintWriter out = new PrintWriter(System.out);\n\tstatic final int mod = 1000000007;\n\n\tpublic static void main(String[] args) {\n\t\tsolve();\n\t\tout.close();\n\t}\n\n\tstatic void solve() {\n\n\t\tString s1 = sc.next();\n\t\tString s2 = sc.next();\n\t\tout.flush();\n\t\tboolean ok = true;\n\n\t\tfor (int i = 0; i < s1.length(); i++) {\n\t\t\tif (s1.charAt(i) != s2.charAt(i)) {\n\t\t\t\tok = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\n\t\t}\n\t\tout.println(ok == true ? \"Yes\" : \"No\");\n\t}\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n\tstatic class FS {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tint[] readArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic long[] readLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}\n\n\tstatic final FS sc = new FS();\n\tstatic final PrintWriter out = new PrintWriter(System.out);\n\tstatic final int mod = 1000000007;\n\n\tpublic static void main(String[] args) {\n\t\tsolve();\n\t\tout.close();\n\t}\n\n\tstatic void solve() {\n\n\t\tString s1 = sc.next();\n\t\tString s2 = sc.next();\n\t\tout.flush();\n\t\tboolean ok = true;\n\n\t\tfor (int i = 0; i < s1.length(); i++) {\n\t\t\tif (s1.charAt(i) != s2.charAt(i)) {\n\t\t\t\tok = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\n\t\t}\n\t\tout.println(ok == true ? \"Yes\" : \"No\");\n\t}\n}", "Main", "static final FS sc = new FS();", "sc", "new FS()", "static final PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "static final int mod = 1000000007;", "mod", "1000000007", "public static void main(String[] args) {\n\t\tsolve();\n\t\tout.close();\n\t}", "main", "{\n\t\tsolve();\n\t\tout.close();\n\t}", "solve()", "solve", "out.close()", "out.close", "out", "String[] args", "args", "static void solve() {\n\n\t\tString s1 = sc.next();\n\t\tString s2 = sc.next();\n\t\tout.flush();\n\t\tboolean ok = true;\n\n\t\tfor (int i = 0; i < s1.length(); i++) {\n\t\t\tif (s1.charAt(i) != s2.charAt(i)) {\n\t\t\t\tok = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\n\t\t}\n\t\tout.println(ok == true ? \"Yes\" : \"No\");\n\t}", "solve", "{\n\n\t\tString s1 = sc.next();\n\t\tString s2 = sc.next();\n\t\tout.flush();\n\t\tboolean ok = true;\n\n\t\tfor (int i = 0; i < s1.length(); i++) {\n\t\t\tif (s1.charAt(i) != s2.charAt(i)) {\n\t\t\t\tok = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\n\t\t}\n\t\tout.println(ok == true ? \"Yes\" : \"No\");\n\t}", "String s1 = sc.next();", "s1", "sc.next()", "sc.next", "sc", "String s2 = sc.next();", "s2", "sc.next()", "sc.next", "sc", "out.flush()", "out.flush", "out", "boolean ok = true;", "ok", "true", "for (int i = 0; i < s1.length(); i++) {\n\t\t\tif (s1.charAt(i) != s2.charAt(i)) {\n\t\t\t\tok = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < s1.length()", "i", "s1.length()", "s1.length", "s1", "i++", "i++", "i", "{\n\t\t\tif (s1.charAt(i) != s2.charAt(i)) {\n\t\t\t\tok = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\n\t\t}", "{\n\t\t\tif (s1.charAt(i) != s2.charAt(i)) {\n\t\t\t\tok = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\n\t\t}", "if (s1.charAt(i) != s2.charAt(i)) {\n\t\t\t\tok = false;\n\t\t\t\tbreak;\n\t\t\t}", "s1.charAt(i) != s2.charAt(i)", "s1.charAt(i)", "s1.charAt", "s1", "i", "s2.charAt(i)", "s2.charAt", "s2", "i", "{\n\t\t\t\tok = false;\n\t\t\t\tbreak;\n\t\t\t}", "ok = false", "ok", "false", "break;", "out.println(ok == true ? \"Yes\" : \"No\")", "out.println", "out", "ok == true ? \"Yes\" : \"No\"", "ok == true", "ok", "true", "\"Yes\"", "\"No\"", "static class FS {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tint[] readArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic long[] readLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}", "FS", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringTokenizer st = new StringTokenizer(\"\");", "st", "new StringTokenizer(\"\")", "String next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}", "next", "{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}", "while (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "try {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "IOException e", "{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t}", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "nextInt", "{\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}", "nextDouble", "{\n\t\t\treturn Double.parseDouble(next());\n\t\t}", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "int[] readArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}", "readArray", "{\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}", "int[] a = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = nextInt();", "a[i] = nextInt()", "a[i]", "a", "i", "nextInt()", "nextInt", "return a;", "a", "int n", "n", "long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}", "nextLong", "{\n\t\t\treturn Long.parseLong(next());\n\t\t}", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public long[] readLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}", "readLongArray", "{\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}", "long[] a = new long[n];", "a", "new long[n]", "n", "for (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = nextLong();", "a[i] = nextLong()", "a[i]", "a", "i", "nextLong()", "nextLong", "return a;", "a", "int n", "n", "public class Main {\n\tstatic class FS {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tint[] readArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic long[] readLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}\n\n\tstatic final FS sc = new FS();\n\tstatic final PrintWriter out = new PrintWriter(System.out);\n\tstatic final int mod = 1000000007;\n\n\tpublic static void main(String[] args) {\n\t\tsolve();\n\t\tout.close();\n\t}\n\n\tstatic void solve() {\n\n\t\tString s1 = sc.next();\n\t\tString s2 = sc.next();\n\t\tout.flush();\n\t\tboolean ok = true;\n\n\t\tfor (int i = 0; i < s1.length(); i++) {\n\t\t\tif (s1.charAt(i) != s2.charAt(i)) {\n\t\t\t\tok = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\n\t\t}\n\t\tout.println(ok == true ? \"Yes\" : \"No\");\n\t}\n}", "public class Main {\n\tstatic class FS {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tint[] readArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic long[] readLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}\n\n\tstatic final FS sc = new FS();\n\tstatic final PrintWriter out = new PrintWriter(System.out);\n\tstatic final int mod = 1000000007;\n\n\tpublic static void main(String[] args) {\n\t\tsolve();\n\t\tout.close();\n\t}\n\n\tstatic void solve() {\n\n\t\tString s1 = sc.next();\n\t\tString s2 = sc.next();\n\t\tout.flush();\n\t\tboolean ok = true;\n\n\t\tfor (int i = 0; i < s1.length(); i++) {\n\t\t\tif (s1.charAt(i) != s2.charAt(i)) {\n\t\t\t\tok = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\n\t\t}\n\t\tout.println(ok == true ? \"Yes\" : \"No\");\n\t}\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { static class FS { 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()); } double nextDouble() { return Double.parseDouble(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()); } public long[] readLongArray(int n) { long[] a = new long[n]; for (int i = 0; i < n; i++) a[i] = nextLong(); return a; } } static final FS sc = new FS(); static final PrintWriter out = new PrintWriter(System.out); static final int mod = 1000000007; public static void main(String[] args) { solve(); out.close(); } static void solve() { String s1 = sc.next(); String s2 = sc.next(); out.flush(); boolean ok = true; for (int i = 0; i < s1.length(); i++) { if (s1.charAt(i) != s2.charAt(i)) { ok = false; break; } } out.println(ok == true ? "Yes" : "No"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 13, 17, 13, 30, 4, 18, 18, 13, 13, 17, 29, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 29, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 13, 4, 18, 13, 13, 30, 0, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 109, 5 ], [ 109, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 32, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 38, 45 ], [ 32, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 50, 57 ], [ 8, 58 ], [ 58, 59 ], [ 58, 60 ], [ 8, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 61, 69 ], [ 69, 70 ], [ 70, 71 ], [ 61, 72 ], [ 73, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 75, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 74, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 8, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 88, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 6, 106 ], [ 106, 107 ], [ 0, 108 ], [ 108, 109 ], [ 108, 110 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n static public void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n String s = sc.nextLine();\n String t = sc.nextLine();\n \n int sLength = s.length();\n int tLength = t.length();\n \n if((sLength+1) != tLength){\n System.out.println(\"No\");\n return;\n }else if(sLength == 0){\n System.out.println(\"No\");\n return;\n }\n \n int errFlag = 0;\n for(int i=0; i<sLength; i++){\n if(s.charAt(i) != t.charAt(i)){\n errFlag = 1;\n }\n }\n \n if(errFlag == 0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n \n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n static public void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n String s = sc.nextLine();\n String t = sc.nextLine();\n \n int sLength = s.length();\n int tLength = t.length();\n \n if((sLength+1) != tLength){\n System.out.println(\"No\");\n return;\n }else if(sLength == 0){\n System.out.println(\"No\");\n return;\n }\n \n int errFlag = 0;\n for(int i=0; i<sLength; i++){\n if(s.charAt(i) != t.charAt(i)){\n errFlag = 1;\n }\n }\n \n if(errFlag == 0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n \n }\n}", "Main", "static public void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n String s = sc.nextLine();\n String t = sc.nextLine();\n \n int sLength = s.length();\n int tLength = t.length();\n \n if((sLength+1) != tLength){\n System.out.println(\"No\");\n return;\n }else if(sLength == 0){\n System.out.println(\"No\");\n return;\n }\n \n int errFlag = 0;\n for(int i=0; i<sLength; i++){\n if(s.charAt(i) != t.charAt(i)){\n errFlag = 1;\n }\n }\n \n if(errFlag == 0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n \n }", "main", "{\n \n Scanner sc = new Scanner(System.in);\n \n String s = sc.nextLine();\n String t = sc.nextLine();\n \n int sLength = s.length();\n int tLength = t.length();\n \n if((sLength+1) != tLength){\n System.out.println(\"No\");\n return;\n }else if(sLength == 0){\n System.out.println(\"No\");\n return;\n }\n \n int errFlag = 0;\n for(int i=0; i<sLength; i++){\n if(s.charAt(i) != t.charAt(i)){\n errFlag = 1;\n }\n }\n \n if(errFlag == 0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String s = sc.nextLine();", "s", "sc.nextLine()", "sc.nextLine", "sc", "String t = sc.nextLine();", "t", "sc.nextLine()", "sc.nextLine", "sc", "int sLength = s.length();", "sLength", "s.length()", "s.length", "s", "int tLength = t.length();", "tLength", "t.length()", "t.length", "t", "if((sLength+1) != tLength){\n System.out.println(\"No\");\n return;\n }else if(sLength == 0){\n System.out.println(\"No\");\n return;\n }", "(sLength+1) != tLength", "(sLength+1)", "sLength", "1", "tLength", "{\n System.out.println(\"No\");\n return;\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "return;", "if(sLength == 0){\n System.out.println(\"No\");\n return;\n }", "sLength == 0", "sLength", "0", "{\n System.out.println(\"No\");\n return;\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "return;", "int errFlag = 0;", "errFlag", "0", "for(int i=0; i<sLength; i++){\n if(s.charAt(i) != t.charAt(i)){\n errFlag = 1;\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<sLength", "i", "sLength", "i++", "i++", "i", "{\n if(s.charAt(i) != t.charAt(i)){\n errFlag = 1;\n }\n }", "{\n if(s.charAt(i) != t.charAt(i)){\n errFlag = 1;\n }\n }", "if(s.charAt(i) != t.charAt(i)){\n errFlag = 1;\n }", "s.charAt(i) != t.charAt(i)", "s.charAt(i)", "s.charAt", "s", "i", "t.charAt(i)", "t.charAt", "t", "i", "{\n errFlag = 1;\n }", "errFlag = 1", "errFlag", "1", "if(errFlag == 0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }", "errFlag == 0", "errFlag", "0", "{\n System.out.println(\"Yes\");\n }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n System.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main{\n static public void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n String s = sc.nextLine();\n String t = sc.nextLine();\n \n int sLength = s.length();\n int tLength = t.length();\n \n if((sLength+1) != tLength){\n System.out.println(\"No\");\n return;\n }else if(sLength == 0){\n System.out.println(\"No\");\n return;\n }\n \n int errFlag = 0;\n for(int i=0; i<sLength; i++){\n if(s.charAt(i) != t.charAt(i)){\n errFlag = 1;\n }\n }\n \n if(errFlag == 0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n \n }\n}", "public class Main{\n static public void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n String s = sc.nextLine();\n String t = sc.nextLine();\n \n int sLength = s.length();\n int tLength = t.length();\n \n if((sLength+1) != tLength){\n System.out.println(\"No\");\n return;\n }else if(sLength == 0){\n System.out.println(\"No\");\n return;\n }\n \n int errFlag = 0;\n for(int i=0; i<sLength; i++){\n if(s.charAt(i) != t.charAt(i)){\n errFlag = 1;\n }\n }\n \n if(errFlag == 0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n \n }\n}", "Main" ]
import java.util.Scanner; public class Main{ static public void main(String[] args){ Scanner sc = new Scanner(System.in); String s = sc.nextLine(); String t = sc.nextLine(); int sLength = s.length(); int tLength = t.length(); if((sLength+1) != tLength){ System.out.println("No"); return; }else if(sLength == 0){ System.out.println("No"); return; } int errFlag = 0; for(int i=0; i<sLength; i++){ if(s.charAt(i) != t.charAt(i)){ errFlag = 1; } } if(errFlag == 0){ System.out.println("Yes"); }else{ System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 2, 4, 18, 13, 17, 41, 13, 2, 13, 13, 14, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 59, 5 ], [ 59, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 27, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 37, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 37, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 6, 56 ], [ 56, 57 ], [ 0, 58 ], [ 58, 59 ], [ 58, 60 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tString S=sc.next();\n\t\tString T=sc.next();\n\t\tchar toridasi=T.charAt(T.length()-1);\n\t\tString tasi=S+toridasi;\n\t\t\n\t\t\n\t\tif(T.equals(tasi)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}\n\n\t\n }\n\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tString S=sc.next();\n\t\tString T=sc.next();\n\t\tchar toridasi=T.charAt(T.length()-1);\n\t\tString tasi=S+toridasi;\n\t\t\n\t\t\n\t\tif(T.equals(tasi)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}\n\n\t\n }", "Main", "public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tString S=sc.next();\n\t\tString T=sc.next();\n\t\tchar toridasi=T.charAt(T.length()-1);\n\t\tString tasi=S+toridasi;\n\t\t\n\t\t\n\t\tif(T.equals(tasi)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tString S=sc.next();\n\t\tString T=sc.next();\n\t\tchar toridasi=T.charAt(T.length()-1);\n\t\tString tasi=S+toridasi;\n\t\t\n\t\t\n\t\tif(T.equals(tasi)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "String S=sc.next();", "S", "sc.next()", "sc.next", "sc", "String T=sc.next();", "T", "sc.next()", "sc.next", "sc", "char toridasi=T.charAt(T.length()-1);", "toridasi", "T.charAt(T.length()-1)", "T.charAt", "T", "T.length()-1", "T.length()", "T.length", "T", "1", "String tasi=S+toridasi;", "tasi", "S+toridasi", "S", "toridasi", "if(T.equals(tasi)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}", "T.equals(tasi)", "T.equals", "T", "tasi", "{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tString S=sc.next();\n\t\tString T=sc.next();\n\t\tchar toridasi=T.charAt(T.length()-1);\n\t\tString tasi=S+toridasi;\n\t\t\n\t\t\n\t\tif(T.equals(tasi)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}\n\n\t\n }", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tString S=sc.next();\n\t\tString T=sc.next();\n\t\tchar toridasi=T.charAt(T.length()-1);\n\t\tString tasi=S+toridasi;\n\t\t\n\t\t\n\t\tif(T.equals(tasi)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}\n\n\t\n }", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc=new Scanner(System.in); String S=sc.next(); String T=sc.next(); char toridasi=T.charAt(T.length()-1); String tasi=S+toridasi; if(T.equals(tasi)) { System.out.println("Yes"); }else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 4, 18, 13, 17, 4, 18, 13, 4, 18, 18, 13, 13, 8, 4, 18, 13, 13, 17, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 43, 5 ], [ 43, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 19, 24 ], [ 19, 25 ], [ 25, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 33, 38 ], [ 33, 39 ], [ 6, 40 ], [ 40, 41 ], [ 0, 42 ], [ 42, 43 ], [ 42, 44 ] ]
[ "import java.util.*;\n \npublic class Main{\n public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine().substring(0,s.length());\n System.out.println(s.equals(t) ? \"Yes\" : \"No\");\n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine().substring(0,s.length());\n System.out.println(s.equals(t) ? \"Yes\" : \"No\");\n }\n}", "Main", "public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine().substring(0,s.length());\n System.out.println(s.equals(t) ? \"Yes\" : \"No\");\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine().substring(0,s.length());\n System.out.println(s.equals(t) ? \"Yes\" : \"No\");\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String s = sc.nextLine();", "s", "sc.nextLine()", "sc.nextLine", "sc", "String t = sc.nextLine().substring(0,s.length());", "t", "sc.nextLine().substring(0,s.length())", "sc.nextLine().substring", "sc.nextLine()", "sc.nextLine", "sc", "0", "s.length()", "s.length", "s", "System.out.println(s.equals(t) ? \"Yes\" : \"No\")", "System.out.println", "System.out", "System", "System.out", "s.equals(t) ? \"Yes\" : \"No\"", "s.equals(t)", "s.equals", "s", "t", "\"Yes\"", "\"No\"", "String[]args", "args", "public class Main{\n public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine().substring(0,s.length());\n System.out.println(s.equals(t) ? \"Yes\" : \"No\");\n }\n}", "public class Main{\n public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine().substring(0,s.length());\n System.out.println(s.equals(t) ? \"Yes\" : \"No\");\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[]args){ Scanner sc = new Scanner(System.in); String s = sc.nextLine(); String t = sc.nextLine().substring(0,s.length()); System.out.println(s.equals(t) ? "Yes" : "No"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 13, 4, 18, 13, 13, 0, 13, 17, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 65, 5 ], [ 65, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 25, 35 ], [ 35, 36 ], [ 36, 37 ], [ 25, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 41, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 40, 50 ], [ 50, 51 ], [ 50, 52 ], [ 8, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 8, 59 ], [ 59, 60 ], [ 60, 61 ], [ 6, 62 ], [ 62, 63 ], [ 0, 64 ], [ 64, 65 ], [ 64, 66 ] ]
[ "import java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner keyboard = new Scanner(System.in);\n\n\t\tString S = keyboard.next();\n\t\tString T = keyboard.next();\n\t\t\n\t\tString ans = \"Yes\"; \n\t\tfor(int x=0; x<S.length(); x++) {\n\t\t\tif(S.charAt(x) != T.charAt(x))\n\t\t\tans = \"No\";\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner keyboard = new Scanner(System.in);\n\n\t\tString S = keyboard.next();\n\t\tString T = keyboard.next();\n\t\t\n\t\tString ans = \"Yes\"; \n\t\tfor(int x=0; x<S.length(); x++) {\n\t\t\tif(S.charAt(x) != T.charAt(x))\n\t\t\tans = \"No\";\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner keyboard = new Scanner(System.in);\n\n\t\tString S = keyboard.next();\n\t\tString T = keyboard.next();\n\t\t\n\t\tString ans = \"Yes\"; \n\t\tfor(int x=0; x<S.length(); x++) {\n\t\t\tif(S.charAt(x) != T.charAt(x))\n\t\t\tans = \"No\";\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\n\t}", "main", "{\n\n\t\tScanner keyboard = new Scanner(System.in);\n\n\t\tString S = keyboard.next();\n\t\tString T = keyboard.next();\n\t\t\n\t\tString ans = \"Yes\"; \n\t\tfor(int x=0; x<S.length(); x++) {\n\t\t\tif(S.charAt(x) != T.charAt(x))\n\t\t\tans = \"No\";\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\n\t}", "Scanner keyboard = new Scanner(System.in);", "keyboard", "new Scanner(System.in)", "String S = keyboard.next();", "S", "keyboard.next()", "keyboard.next", "keyboard", "String T = keyboard.next();", "T", "keyboard.next()", "keyboard.next", "keyboard", "String ans = \"Yes\";", "ans", "\"Yes\"", "for(int x=0; x<S.length(); x++) {\n\t\t\tif(S.charAt(x) != T.charAt(x))\n\t\t\tans = \"No\";\n\t\t}", "int x=0;", "int x=0;", "x", "0", "x<S.length()", "x", "S.length()", "S.length", "S", "x++", "x++", "x", "{\n\t\t\tif(S.charAt(x) != T.charAt(x))\n\t\t\tans = \"No\";\n\t\t}", "{\n\t\t\tif(S.charAt(x) != T.charAt(x))\n\t\t\tans = \"No\";\n\t\t}", "if(S.charAt(x) != T.charAt(x))\n\t\t\tans = \"No\";", "S.charAt(x) != T.charAt(x)", "S.charAt(x)", "S.charAt", "S", "x", "T.charAt(x)", "T.charAt", "T", "x", "ans = \"No\"", "ans", "\"No\"", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "keyboard.close()", "keyboard.close", "keyboard", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner keyboard = new Scanner(System.in);\n\n\t\tString S = keyboard.next();\n\t\tString T = keyboard.next();\n\t\t\n\t\tString ans = \"Yes\"; \n\t\tfor(int x=0; x<S.length(); x++) {\n\t\t\tif(S.charAt(x) != T.charAt(x))\n\t\t\tans = \"No\";\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner keyboard = new Scanner(System.in);\n\n\t\tString S = keyboard.next();\n\t\tString T = keyboard.next();\n\t\t\n\t\tString ans = \"Yes\"; \n\t\tfor(int x=0; x<S.length(); x++) {\n\t\t\tif(S.charAt(x) != T.charAt(x))\n\t\t\tans = \"No\";\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner keyboard = new Scanner(System.in); String S = keyboard.next(); String T = keyboard.next(); String ans = "Yes"; for(int x=0; x<S.length(); x++) { if(S.charAt(x) != T.charAt(x)) ans = "No"; } System.out.println(ans); keyboard.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 13, 13, 13, 14, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 12, 13, 30, 14, 2, 2, 2, 4, 18, 13, 4, 18, 13, 2, 2, 4, 18, 13, 4, 18, 13, 17, 2, 4, 18, 13, 4, 18, 13, 30, 29, 17, 41, 13, 17, 41, 13, 17, 42, 2, 13, 4, 18, 13, 30, 14, 2, 4, 18, 13, 13, 4, 18, 13, 13, 30, 29, 17, 40, 13, 40, 13, 14, 2, 2, 13, 4, 18, 13, 2, 13, 4, 18, 13, 30, 29, 17, 30, 29, 17, 23, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 24, 26 ], [ 24, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 28, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 6, 44 ], [ 44, 45 ], [ 4, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 51, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 52, 56 ], [ 56, 57 ], [ 57, 58 ], [ 51, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 60, 64 ], [ 64, 65 ], [ 65, 66 ], [ 59, 67 ], [ 51, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 68, 72 ], [ 72, 73 ], [ 73, 74 ], [ 49, 75 ], [ 75, 76 ], [ 76, 77 ], [ 48, 78 ], [ 78, 79 ], [ 78, 80 ], [ 48, 81 ], [ 81, 82 ], [ 81, 83 ], [ 48, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 88, 89 ], [ 84, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 92, 97 ], [ 97, 98 ], [ 98, 99 ], [ 97, 100 ], [ 91, 101 ], [ 101, 102 ], [ 102, 103 ], [ 90, 104 ], [ 104, 105 ], [ 90, 106 ], [ 106, 107 ], [ 48, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 109, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 108, 120 ], [ 120, 121 ], [ 121, 122 ], [ 108, 123 ], [ 123, 124 ], [ 124, 125 ], [ 46, 126 ], [ 126, 127 ], [ 46, 128 ], [ 128, 129 ] ]
[ "import java.util.*;\n class Main {\n public static void main(String[] args) throws Exception{\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n String T = scan.next();\n boolean flag = stringMatching(S, T);\n if(flag){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n public static boolean stringMatching(String S, String T){\n if(S.length() == T.length() || T.length() - S.length() > 1 || T.length() < S.length()){\n return false;\n }\n int i = 0;\n int j = 0;\n while(i < S.length()){\n if(S.charAt(i) != T.charAt(i)){\n return false;\n }\n i++;\n j++;\n }\n\n if(i == S.length() && j != T.length()){\n return true;\n }else{\n return false;\n }\n }\n}", "import java.util.*;", "util.*", "java", "class Main {\n public static void main(String[] args) throws Exception{\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n String T = scan.next();\n boolean flag = stringMatching(S, T);\n if(flag){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n public static boolean stringMatching(String S, String T){\n if(S.length() == T.length() || T.length() - S.length() > 1 || T.length() < S.length()){\n return false;\n }\n int i = 0;\n int j = 0;\n while(i < S.length()){\n if(S.charAt(i) != T.charAt(i)){\n return false;\n }\n i++;\n j++;\n }\n\n if(i == S.length() && j != T.length()){\n return true;\n }else{\n return false;\n }\n }\n}", "Main", "public static void main(String[] args) throws Exception{\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n String T = scan.next();\n boolean flag = stringMatching(S, T);\n if(flag){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n String T = scan.next();\n boolean flag = stringMatching(S, T);\n if(flag){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "String S = scan.next();", "S", "scan.next()", "scan.next", "scan", "String T = scan.next();", "T", "scan.next()", "scan.next", "scan", "boolean flag = stringMatching(S, T);", "flag", "stringMatching(S, T)", "stringMatching", "S", "T", "if(flag){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }", "flag", "{\n System.out.println(\"Yes\");\n }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n System.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public static boolean stringMatching(String S, String T){\n if(S.length() == T.length() || T.length() - S.length() > 1 || T.length() < S.length()){\n return false;\n }\n int i = 0;\n int j = 0;\n while(i < S.length()){\n if(S.charAt(i) != T.charAt(i)){\n return false;\n }\n i++;\n j++;\n }\n\n if(i == S.length() && j != T.length()){\n return true;\n }else{\n return false;\n }\n }", "stringMatching", "{\n if(S.length() == T.length() || T.length() - S.length() > 1 || T.length() < S.length()){\n return false;\n }\n int i = 0;\n int j = 0;\n while(i < S.length()){\n if(S.charAt(i) != T.charAt(i)){\n return false;\n }\n i++;\n j++;\n }\n\n if(i == S.length() && j != T.length()){\n return true;\n }else{\n return false;\n }\n }", "if(S.length() == T.length() || T.length() - S.length() > 1 || T.length() < S.length()){\n return false;\n }", "S.length() == T.length() || T.length() - S.length() > 1 || T.length() < S.length()", "S.length() == T.length() || T.length() - S.length() > 1 || T.length() < S.length()", "S.length() == T.length()", "S.length()", "S.length", "S", "T.length()", "T.length", "T", "T.length() - S.length() > 1", "T.length() - S.length()", "T.length()", "T.length", "T", "S.length()", "S.length", "S", "1", "T.length() < S.length()", "T.length()", "T.length", "T", "S.length()", "S.length", "S", "{\n return false;\n }", "return false;", "false", "int i = 0;", "i", "0", "int j = 0;", "j", "0", "while(i < S.length()){\n if(S.charAt(i) != T.charAt(i)){\n return false;\n }\n i++;\n j++;\n }", "i < S.length()", "i", "S.length()", "S.length", "S", "{\n if(S.charAt(i) != T.charAt(i)){\n return false;\n }\n i++;\n j++;\n }", "if(S.charAt(i) != T.charAt(i)){\n return false;\n }", "S.charAt(i) != T.charAt(i)", "S.charAt(i)", "S.charAt", "S", "i", "T.charAt(i)", "T.charAt", "T", "i", "{\n return false;\n }", "return false;", "false", "i++", "i", "j++", "j", "if(i == S.length() && j != T.length()){\n return true;\n }else{\n return false;\n }", "i == S.length() && j != T.length()", "i == S.length()", "i", "S.length()", "S.length", "S", "j != T.length()", "j", "T.length()", "T.length", "T", "{\n return true;\n }", "return true;", "true", "{\n return false;\n }", "return false;", "false", "String S", "S", "String T", "T" ]
import java.util.*; class Main { public static void main(String[] args) throws Exception{ Scanner scan = new Scanner(System.in); String S = scan.next(); String T = scan.next(); boolean flag = stringMatching(S, T); if(flag){ System.out.println("Yes"); }else{ System.out.println("No"); } } public static boolean stringMatching(String S, String T){ if(S.length() == T.length() || T.length() - S.length() > 1 || T.length() < S.length()){ return false; } int i = 0; int j = 0; while(i < S.length()){ if(S.charAt(i) != T.charAt(i)){ return false; } i++; j++; } if(i == S.length() && j != T.length()){ return true; }else{ return false; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 8, 4, 18, 13, 13, 17, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 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 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 24, 29 ], [ 24, 30 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 6, 37 ], [ 37, 38 ], [ 0, 39 ], [ 39, 40 ], [ 39, 41 ] ]
[ "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 String S = sc.nextLine(), T = sc.nextLine();\n String result = T.startsWith(S) ? \"Yes\" : \"No\";\n\n System.out.println(result);\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 String S = sc.nextLine(), T = sc.nextLine();\n String result = T.startsWith(S) ? \"Yes\" : \"No\";\n\n System.out.println(result);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine(), T = sc.nextLine();\n String result = T.startsWith(S) ? \"Yes\" : \"No\";\n\n System.out.println(result);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine(), T = sc.nextLine();\n String result = T.startsWith(S) ? \"Yes\" : \"No\";\n\n System.out.println(result);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String S = sc.nextLine()", "S", "sc.nextLine()", "sc.nextLine", "sc", "T = sc.nextLine();", "T", "sc.nextLine()", "sc.nextLine", "sc", "String result = T.startsWith(S) ? \"Yes\" : \"No\";", "result", "T.startsWith(S) ? \"Yes\" : \"No\"", "T.startsWith(S)", "T.startsWith", "T", "S", "\"Yes\"", "\"No\"", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine(), T = sc.nextLine();\n String result = T.startsWith(S) ? \"Yes\" : \"No\";\n\n System.out.println(result);\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine(), T = sc.nextLine();\n String result = T.startsWith(S) ? \"Yes\" : \"No\";\n\n System.out.println(result);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); String S = sc.nextLine(), T = sc.nextLine(); String result = T.startsWith(S) ? "Yes" : "No"; System.out.println(result); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 17, 41, 13, 20, 17, 41, 13, 17, 41, 13, 17, 12, 13, 30, 41, 13, 4, 13, 41, 13, 4, 13, 4, 18, 13, 8, 4, 18, 13, 4, 18, 13, 17, 2, 4, 18, 13, 17, 17, 17, 12, 13, 30, 0, 13, 8, 4, 18, 13, 18, 13, 13, 20, 0, 13, 20, 41, 13, 4, 18, 13, 4, 13, 4, 18, 13, 14, 40, 4, 18, 13, 4, 13, 2, 2, 4, 18, 13, 13, 17, 12, 13, 30, 4, 18, 20, 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, 40, 2, 2, 13, 17, 2, 13, 17, 23, 13, 12, 13, 30, 41, 13, 42, 2, 2, 0, 13, 4, 13, 40, 17, 4, 13, 13, 29, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 13, 12, 13, 30, 41, 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, 41, 13, 4, 13, 41, 13, 17, 42, 2, 2, 13, 13, 40, 4, 13, 13, 30, 0, 18, 13, 40, 13, 13, 0, 13, 4, 13, 29, 8, 2, 13, 13, 13, 4, 18, 13, 13, 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, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 41, 13, 17, 42, 2, 2, 0, 13, 4, 13, 40, 17, 40, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 0, 13, 4, 13, 42, 17, 30, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 2, 2, 13, 17, 2, 13, 17, 30, 29, 8, 13, 40, 13, 13, 0, 13, 4, 13, 12, 13, 30, 41, 13, 17, 41, 13, 41, 13, 17, 42, 2, 2, 0, 13, 4, 13, 40, 17, 40, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 0, 13, 4, 13, 42, 17, 30, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 2, 2, 13, 17, 2, 13, 17, 30, 29, 8, 13, 40, 13, 13, 0, 13, 4, 13, 12, 13, 30, 4, 18, 18, 13, 13, 4, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 509, 20 ], [ 509, 21 ], [ 21, 22 ], [ 509, 23 ], [ 23, 24 ], [ 509, 25 ], [ 25, 26 ], [ 25, 27 ], [ 509, 28 ], [ 28, 29 ], [ 28, 30 ], [ 509, 32 ], [ 32, 33 ], [ 32, 34 ], [ 509, 35 ], [ 35, 36 ], [ 35, 37 ], [ 509, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 40, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 40, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 56, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 60, 64 ], [ 52, 65 ], [ 52, 66 ], [ 509, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 72, 76 ], [ 76, 77 ], [ 76, 78 ], [ 72, 79 ], [ 69, 80 ], [ 80, 81 ], [ 80, 82 ], [ 69, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 69, 88 ], [ 88, 89 ], [ 69, 90 ], [ 90, 91 ], [ 91, 92 ], [ 69, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 101, 105 ], [ 100, 106 ], [ 509, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 107, 113 ], [ 113, 114 ], [ 509, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 118, 123 ], [ 123, 124 ], [ 117, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 125, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 136, 137 ], [ 137, 138 ], [ 133, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 142, 145 ], [ 129, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 146, 150 ], [ 150, 151 ], [ 151, 152 ], [ 117, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 509, 158 ], [ 158, 159 ], [ 158, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 167, 168 ], [ 167, 169 ], [ 158, 170 ], [ 170, 171 ], [ 509, 172 ], [ 172, 173 ], [ 172, 174 ], [ 174, 175 ], [ 175, 176 ], [ 174, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 179, 184 ], [ 184, 185 ], [ 178, 186 ], [ 186, 187 ], [ 186, 188 ], [ 174, 189 ], [ 189, 190 ], [ 509, 191 ], [ 191, 192 ], [ 191, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 195, 198 ], [ 198, 199 ], [ 509, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 509, 206 ], [ 206, 207 ], [ 206, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 211, 212 ], [ 208, 213 ], [ 213, 214 ], [ 213, 215 ], [ 208, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 218, 220 ], [ 216, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 222, 225 ], [ 221, 226 ], [ 226, 227 ], [ 226, 228 ], [ 228, 229 ], [ 208, 230 ], [ 230, 231 ], [ 231, 232 ], [ 232, 233 ], [ 509, 234 ], [ 234, 235 ], [ 234, 236 ], [ 236, 237 ], [ 237, 238 ], [ 237, 239 ], [ 236, 241 ], [ 241, 242 ], [ 241, 243 ], [ 243, 244 ], [ 236, 245 ], [ 245, 246 ], [ 245, 247 ], [ 236, 248 ], [ 248, 249 ], [ 249, 250 ], [ 250, 251 ], [ 250, 252 ], [ 249, 253 ], [ 253, 254 ], [ 254, 255 ], [ 254, 256 ], [ 248, 257 ], [ 257, 258 ], [ 258, 259 ], [ 259, 260 ], [ 259, 261 ], [ 261, 262 ], [ 258, 263 ], [ 257, 264 ], [ 264, 265 ], [ 264, 266 ], [ 266, 267 ], [ 236, 268 ], [ 268, 269 ], [ 269, 270 ], [ 270, 271 ], [ 270, 272 ], [ 269, 273 ], [ 269, 274 ], [ 274, 275 ], [ 275, 276 ], [ 274, 277 ], [ 274, 278 ], [ 234, 279 ], [ 279, 280 ], [ 509, 281 ], [ 281, 282 ], [ 281, 283 ], [ 283, 284 ], [ 284, 285 ], [ 284, 286 ], [ 283, 288 ], [ 288, 289 ], [ 289, 290 ], [ 290, 291 ], [ 290, 292 ], [ 288, 293 ], [ 293, 294 ], [ 293, 295 ], [ 288, 296 ], [ 296, 297 ], [ 297, 298 ], [ 288, 299 ], [ 299, 300 ], [ 300, 301 ], [ 301, 302 ], [ 301, 303 ], [ 300, 304 ], [ 304, 305 ], [ 304, 306 ], [ 283, 307 ], [ 307, 308 ], [ 281, 309 ], [ 309, 310 ], [ 281, 311 ], [ 311, 312 ], [ 509, 313 ], [ 313, 314 ], [ 313, 315 ], [ 315, 316 ], [ 316, 317 ], [ 316, 318 ], [ 315, 320 ], [ 320, 321 ], [ 321, 322 ], [ 322, 323 ], [ 322, 324 ], [ 320, 325 ], [ 325, 326 ], [ 325, 327 ], [ 320, 328 ], [ 328, 329 ], [ 329, 330 ], [ 320, 331 ], [ 331, 332 ], [ 332, 333 ], [ 333, 334 ], [ 333, 335 ], [ 332, 336 ], [ 336, 337 ], [ 315, 338 ], [ 338, 339 ], [ 313, 340 ], [ 340, 341 ], [ 509, 342 ], [ 342, 343 ], [ 342, 344 ], [ 344, 345 ], [ 345, 346 ], [ 345, 347 ], [ 344, 348 ], [ 348, 349 ], [ 344, 350 ], [ 350, 351 ], [ 350, 352 ], [ 344, 353 ], [ 353, 354 ], [ 354, 355 ], [ 355, 356 ], [ 356, 357 ], [ 356, 358 ], [ 358, 359 ], [ 355, 360 ], [ 360, 361 ], [ 354, 362 ], [ 362, 363 ], [ 363, 364 ], [ 364, 365 ], [ 365, 366 ], [ 365, 367 ], [ 364, 368 ], [ 368, 369 ], [ 368, 370 ], [ 363, 371 ], [ 371, 372 ], [ 371, 373 ], [ 344, 374 ], [ 374, 375 ], [ 375, 376 ], [ 375, 377 ], [ 374, 378 ], [ 378, 379 ], [ 379, 380 ], [ 379, 381 ], [ 378, 382 ], [ 382, 383 ], [ 382, 384 ], [ 384, 385 ], [ 344, 386 ], [ 386, 387 ], [ 386, 388 ], [ 388, 389 ], [ 389, 390 ], [ 390, 391 ], [ 391, 392 ], [ 391, 393 ], [ 390, 394 ], [ 394, 395 ], [ 394, 396 ], [ 389, 397 ], [ 397, 398 ], [ 398, 399 ], [ 398, 400 ], [ 400, 401 ], [ 401, 402 ], [ 401, 403 ], [ 400, 404 ], [ 404, 405 ], [ 404, 406 ], [ 389, 407 ], [ 407, 408 ], [ 408, 409 ], [ 409, 410 ], [ 409, 411 ], [ 411, 412 ], [ 409, 413 ], [ 388, 414 ], [ 414, 415 ], [ 414, 416 ], [ 416, 417 ], [ 509, 418 ], [ 418, 419 ], [ 418, 420 ], [ 420, 421 ], [ 421, 422 ], [ 421, 423 ], [ 420, 424 ], [ 424, 425 ], [ 420, 426 ], [ 426, 427 ], [ 426, 428 ], [ 420, 429 ], [ 429, 430 ], [ 430, 431 ], [ 431, 432 ], [ 432, 433 ], [ 432, 434 ], [ 434, 435 ], [ 431, 436 ], [ 436, 437 ], [ 430, 438 ], [ 438, 439 ], [ 439, 440 ], [ 440, 441 ], [ 441, 442 ], [ 441, 443 ], [ 440, 444 ], [ 444, 445 ], [ 444, 446 ], [ 439, 447 ], [ 447, 448 ], [ 447, 449 ], [ 420, 450 ], [ 450, 451 ], [ 451, 452 ], [ 451, 453 ], [ 450, 454 ], [ 454, 455 ], [ 455, 456 ], [ 455, 457 ], [ 454, 458 ], [ 458, 459 ], [ 458, 460 ], [ 460, 461 ], [ 420, 462 ], [ 462, 463 ], [ 462, 464 ], [ 464, 465 ], [ 465, 466 ], [ 466, 467 ], [ 467, 468 ], [ 467, 469 ], [ 466, 470 ], [ 470, 471 ], [ 470, 472 ], [ 465, 473 ], [ 473, 474 ], [ 474, 475 ], [ 474, 476 ], [ 476, 477 ], [ 477, 478 ], [ 477, 479 ], [ 476, 480 ], [ 480, 481 ], [ 480, 482 ], [ 465, 483 ], [ 483, 484 ], [ 484, 485 ], [ 485, 486 ], [ 485, 487 ], [ 487, 488 ], [ 485, 489 ], [ 464, 490 ], [ 490, 491 ], [ 490, 492 ], [ 492, 493 ], [ 509, 494 ], [ 494, 495 ], [ 494, 496 ], [ 496, 497 ], [ 497, 498 ], [ 498, 499 ], [ 499, 500 ], [ 499, 501 ], [ 497, 502 ], [ 502, 503 ], [ 503, 504 ], [ 502, 505 ], [ 494, 506 ], [ 506, 507 ], [ 0, 508 ], [ 508, 509 ], [ 508, 510 ] ]
[ "import java.io.ByteArrayInputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Arrays;\nimport java.util.InputMismatchException;\n\npublic class Main {\n\tInputStream is;\n\tPrintWriter out;\n\tString INPUT = \"\";\n\n\tvoid solve() {\n\t\tString s = ns(), t = ns();\n\t\tout.println(s.equals(t.substring(0, t.length() - 1)) ? \"Yes\" : \"No\");\n\t}\n\n\tvoid run() throws Exception {\n\t\tis = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n\t\tout = new PrintWriter(System.out);\n\n\t\tlong s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n\t\tif (!INPUT.isEmpty())\n\t\t\ttr(System.currentTimeMillis() - s + \"ms\");\n\t}\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tnew Main().run();\n\t}\n\n\tprivate byte[] inbuf = new byte[1024];\n\tpublic int lenbuf = 0, ptrbuf = 0;\n\n\tprivate int readByte() {\n\t\tif (lenbuf == -1)\n\t\t\tthrow new InputMismatchException();\n\t\tif (ptrbuf >= lenbuf) {\n\t\t\tptrbuf = 0;\n\t\t\ttry {\n\t\t\t\tlenbuf = is.read(inbuf);\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}\n\t\t\tif (lenbuf <= 0)\n\t\t\t\treturn -1;\n\t\t}\n\t\treturn inbuf[ptrbuf++];\n\t}\n\n\tprivate boolean isSpaceChar(int c) {\n\t\treturn !(c >= 33 && c <= 126);\n\t}\n\n\tprivate int skip() {\n\t\tint b;\n\t\twhile ((b = readByte()) != -1 && isSpaceChar(b))\n\t\t\t;\n\t\treturn b;\n\t}\n\n\tprivate double nd() {\n\t\treturn Double.parseDouble(ns());\n\t}\n\n\tprivate char nc() {\n\t\treturn (char) skip();\n\t}\n\n\tprivate String ns() {\n\t\tint b = skip();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (!(isSpaceChar(b))) { // when nextLine, (isSpaceChar(b) && b != ' ')\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}\n\n\tprivate char[] ns(int n) {\n\t\tchar[] buf = new char[n];\n\t\tint b = skip(), p = 0;\n\t\twhile (p < n && !(isSpaceChar(b))) {\n\t\t\tbuf[p++] = (char) b;\n\t\t\tb = readByte();\n\t\t}\n\t\treturn n == p ? buf : Arrays.copyOf(buf, p);\n\t}\n\n\tprivate char[][] nm(int n, int m) {\n\t\tchar[][] map = new char[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\tmap[i] = ns(m);\n\t\treturn map;\n\t}\n\n\tprivate int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\n\tprivate int ni() {\n\t\tint num = 0, b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\n\tprivate long nl() {\n\t\tlong num = 0;\n\t\tint b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\n\tprivate static void tr(Object... o) {\n\t\tSystem.out.println(Arrays.deepToString(o));\n\t}\n}", "import java.io.ByteArrayInputStream;", "ByteArrayInputStream", "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.Arrays;", "Arrays", "java.util", "import java.util.InputMismatchException;", "InputMismatchException", "java.util", "public class Main {\n\tInputStream is;\n\tPrintWriter out;\n\tString INPUT = \"\";\n\n\tvoid solve() {\n\t\tString s = ns(), t = ns();\n\t\tout.println(s.equals(t.substring(0, t.length() - 1)) ? \"Yes\" : \"No\");\n\t}\n\n\tvoid run() throws Exception {\n\t\tis = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n\t\tout = new PrintWriter(System.out);\n\n\t\tlong s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n\t\tif (!INPUT.isEmpty())\n\t\t\ttr(System.currentTimeMillis() - s + \"ms\");\n\t}\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tnew Main().run();\n\t}\n\n\tprivate byte[] inbuf = new byte[1024];\n\tpublic int lenbuf = 0, ptrbuf = 0;\n\n\tprivate int readByte() {\n\t\tif (lenbuf == -1)\n\t\t\tthrow new InputMismatchException();\n\t\tif (ptrbuf >= lenbuf) {\n\t\t\tptrbuf = 0;\n\t\t\ttry {\n\t\t\t\tlenbuf = is.read(inbuf);\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}\n\t\t\tif (lenbuf <= 0)\n\t\t\t\treturn -1;\n\t\t}\n\t\treturn inbuf[ptrbuf++];\n\t}\n\n\tprivate boolean isSpaceChar(int c) {\n\t\treturn !(c >= 33 && c <= 126);\n\t}\n\n\tprivate int skip() {\n\t\tint b;\n\t\twhile ((b = readByte()) != -1 && isSpaceChar(b))\n\t\t\t;\n\t\treturn b;\n\t}\n\n\tprivate double nd() {\n\t\treturn Double.parseDouble(ns());\n\t}\n\n\tprivate char nc() {\n\t\treturn (char) skip();\n\t}\n\n\tprivate String ns() {\n\t\tint b = skip();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (!(isSpaceChar(b))) { // when nextLine, (isSpaceChar(b) && b != ' ')\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}\n\n\tprivate char[] ns(int n) {\n\t\tchar[] buf = new char[n];\n\t\tint b = skip(), p = 0;\n\t\twhile (p < n && !(isSpaceChar(b))) {\n\t\t\tbuf[p++] = (char) b;\n\t\t\tb = readByte();\n\t\t}\n\t\treturn n == p ? buf : Arrays.copyOf(buf, p);\n\t}\n\n\tprivate char[][] nm(int n, int m) {\n\t\tchar[][] map = new char[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\tmap[i] = ns(m);\n\t\treturn map;\n\t}\n\n\tprivate int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\n\tprivate int ni() {\n\t\tint num = 0, b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\n\tprivate long nl() {\n\t\tlong num = 0;\n\t\tint b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\n\tprivate static void tr(Object... o) {\n\t\tSystem.out.println(Arrays.deepToString(o));\n\t}\n}", "Main", "InputStream is;", "is", "PrintWriter out;", "out", "String INPUT = \"\";", "INPUT", "\"\"", "private byte[] inbuf = new byte[1024];", "inbuf", "new byte[1024]", "1024", "public int lenbuf = 0", "lenbuf", "0", "ptrbuf = 0;", "ptrbuf", "0", "void solve() {\n\t\tString s = ns(), t = ns();\n\t\tout.println(s.equals(t.substring(0, t.length() - 1)) ? \"Yes\" : \"No\");\n\t}", "solve", "{\n\t\tString s = ns(), t = ns();\n\t\tout.println(s.equals(t.substring(0, t.length() - 1)) ? \"Yes\" : \"No\");\n\t}", "String s = ns()", "s", "ns()", "ns", "t = ns();", "t", "ns()", "ns", "out.println(s.equals(t.substring(0, t.length() - 1)) ? \"Yes\" : \"No\")", "out.println", "out", "s.equals(t.substring(0, t.length() - 1)) ? \"Yes\" : \"No\"", "s.equals(t.substring(0, t.length() - 1))", "s.equals", "s", "t.substring(0, t.length() - 1)", "t.substring", "t", "0", "t.length() - 1", "t.length()", "t.length", "t", "1", "\"Yes\"", "\"No\"", "void run() throws Exception {\n\t\tis = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n\t\tout = new PrintWriter(System.out);\n\n\t\tlong s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n\t\tif (!INPUT.isEmpty())\n\t\t\ttr(System.currentTimeMillis() - s + \"ms\");\n\t}", "run", "{\n\t\tis = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n\t\tout = new PrintWriter(System.out);\n\n\t\tlong s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n\t\tif (!INPUT.isEmpty())\n\t\t\ttr(System.currentTimeMillis() - s + \"ms\");\n\t}", "is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes())", "is", "INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes())", "INPUT.isEmpty()", "INPUT.isEmpty", "INPUT", "System.in", "System", "System.in", "new ByteArrayInputStream(INPUT.getBytes())", "out = new PrintWriter(System.out)", "out", "new PrintWriter(System.out)", "long s = System.currentTimeMillis();", "s", "System.currentTimeMillis()", "System.currentTimeMillis", "System", "solve()", "solve", "out.flush()", "out.flush", "out", "if (!INPUT.isEmpty())\n\t\t\ttr(System.currentTimeMillis() - s + \"ms\");", "!INPUT.isEmpty()", "INPUT.isEmpty()", "INPUT.isEmpty", "INPUT", "tr(System.currentTimeMillis() - s + \"ms\")", "tr", "System.currentTimeMillis() - s + \"ms\"", "System.currentTimeMillis() - s", "System.currentTimeMillis()", "System.currentTimeMillis", "System", "s", "\"ms\"", "public static void main(String[] args) throws Exception {\n\t\tnew Main().run();\n\t}", "main", "{\n\t\tnew Main().run();\n\t}", "new Main().run()", "new Main().run", "new Main()", "String[] args", "args", "private int readByte() {\n\t\tif (lenbuf == -1)\n\t\t\tthrow new InputMismatchException();\n\t\tif (ptrbuf >= lenbuf) {\n\t\t\tptrbuf = 0;\n\t\t\ttry {\n\t\t\t\tlenbuf = is.read(inbuf);\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}\n\t\t\tif (lenbuf <= 0)\n\t\t\t\treturn -1;\n\t\t}\n\t\treturn inbuf[ptrbuf++];\n\t}", "readByte", "{\n\t\tif (lenbuf == -1)\n\t\t\tthrow new InputMismatchException();\n\t\tif (ptrbuf >= lenbuf) {\n\t\t\tptrbuf = 0;\n\t\t\ttry {\n\t\t\t\tlenbuf = is.read(inbuf);\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}\n\t\t\tif (lenbuf <= 0)\n\t\t\t\treturn -1;\n\t\t}\n\t\treturn inbuf[ptrbuf++];\n\t}", "if (lenbuf == -1)\n\t\t\tthrow new InputMismatchException();", "lenbuf == -1", "lenbuf", "-1", "1", "throw new InputMismatchException();", "new InputMismatchException()", "if (ptrbuf >= lenbuf) {\n\t\t\tptrbuf = 0;\n\t\t\ttry {\n\t\t\t\tlenbuf = is.read(inbuf);\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}\n\t\t\tif (lenbuf <= 0)\n\t\t\t\treturn -1;\n\t\t}", "ptrbuf >= lenbuf", "ptrbuf", "lenbuf", "{\n\t\t\tptrbuf = 0;\n\t\t\ttry {\n\t\t\t\tlenbuf = is.read(inbuf);\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}\n\t\t\tif (lenbuf <= 0)\n\t\t\t\treturn -1;\n\t\t}", "ptrbuf = 0", "ptrbuf", "0", "try {\n\t\t\t\tlenbuf = is.read(inbuf);\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}", "catch (IOException e) {\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}", "IOException e", "{\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}", "throw new InputMismatchException();", "new InputMismatchException()", "{\n\t\t\t\tlenbuf = is.read(inbuf);\n\t\t\t}", "lenbuf = is.read(inbuf)", "lenbuf", "is.read(inbuf)", "is.read", "is", "inbuf", "if (lenbuf <= 0)\n\t\t\t\treturn -1;", "lenbuf <= 0", "lenbuf", "0", "return -1;", "-1", "1", "return inbuf[ptrbuf++];", "inbuf[ptrbuf++]", "inbuf", "ptrbuf++", "ptrbuf", "private boolean isSpaceChar(int c) {\n\t\treturn !(c >= 33 && c <= 126);\n\t}", "isSpaceChar", "{\n\t\treturn !(c >= 33 && c <= 126);\n\t}", "return !(c >= 33 && c <= 126);", "!(c >= 33 && c <= 126)", "(c >= 33 && c <= 126)", "c >= 33", "c", "33", "c <= 126", "c", "126", "int c", "c", "private int skip() {\n\t\tint b;\n\t\twhile ((b = readByte()) != -1 && isSpaceChar(b))\n\t\t\t;\n\t\treturn b;\n\t}", "skip", "{\n\t\tint b;\n\t\twhile ((b = readByte()) != -1 && isSpaceChar(b))\n\t\t\t;\n\t\treturn b;\n\t}", "int b;", "b", "while ((b = readByte()) != -1 && isSpaceChar(b))\n\t\t\t;", "(b = readByte()) != -1 && isSpaceChar(b)", "(b = readByte()) != -1", "(b = readByte())", "b", "readByte()", "readByte", "-1", "1", "isSpaceChar(b)", "isSpaceChar", "b", "return b;", "b", "private double nd() {\n\t\treturn Double.parseDouble(ns());\n\t}", "nd", "{\n\t\treturn Double.parseDouble(ns());\n\t}", "return Double.parseDouble(ns());", "Double.parseDouble(ns())", "Double.parseDouble", "Double", "ns()", "ns", "private char nc() {\n\t\treturn (char) skip();\n\t}", "nc", "{\n\t\treturn (char) skip();\n\t}", "return (char) skip();", "(char) skip()", "skip", "private String ns() {\n\t\tint b = skip();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (!(isSpaceChar(b))) { // when nextLine, (isSpaceChar(b) && b != ' ')\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}", "ns", "{\n\t\tint b = skip();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (!(isSpaceChar(b))) { // when nextLine, (isSpaceChar(b) && b != ' ')\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}", "int b = skip();", "b", "skip()", "skip", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "while (!(isSpaceChar(b))) { // when nextLine, (isSpaceChar(b) && b != ' ')\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}", "!(isSpaceChar(b))", "(isSpaceChar(b))", "isSpaceChar", "b", "{ // when nextLine, (isSpaceChar(b) && b != ' ')\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}", "sb.appendCodePoint(b)", "sb.appendCodePoint", "sb", "b", "b = readByte()", "b", "readByte()", "readByte", "return sb.toString();", "sb.toString()", "sb.toString", "sb", "private char[] ns(int n) {\n\t\tchar[] buf = new char[n];\n\t\tint b = skip(), p = 0;\n\t\twhile (p < n && !(isSpaceChar(b))) {\n\t\t\tbuf[p++] = (char) b;\n\t\t\tb = readByte();\n\t\t}\n\t\treturn n == p ? buf : Arrays.copyOf(buf, p);\n\t}", "ns", "{\n\t\tchar[] buf = new char[n];\n\t\tint b = skip(), p = 0;\n\t\twhile (p < n && !(isSpaceChar(b))) {\n\t\t\tbuf[p++] = (char) b;\n\t\t\tb = readByte();\n\t\t}\n\t\treturn n == p ? buf : Arrays.copyOf(buf, p);\n\t}", "char[] buf = new char[n];", "buf", "new char[n]", "n", "int b = skip()", "b", "skip()", "skip", "p = 0;", "p", "0", "while (p < n && !(isSpaceChar(b))) {\n\t\t\tbuf[p++] = (char) b;\n\t\t\tb = readByte();\n\t\t}", "p < n && !(isSpaceChar(b))", "p < n", "p", "n", "!(isSpaceChar(b))", "(isSpaceChar(b))", "isSpaceChar", "b", "{\n\t\t\tbuf[p++] = (char) b;\n\t\t\tb = readByte();\n\t\t}", "buf[p++] = (char) b", "buf[p++]", "buf", "p++", "p", "(char) b", "b = readByte()", "b", "readByte()", "readByte", "return n == p ? buf : Arrays.copyOf(buf, p);", "n == p ? buf : Arrays.copyOf(buf, p)", "n == p", "n", "p", "buf", "Arrays.copyOf(buf, p)", "Arrays.copyOf", "Arrays", "buf", "p", "int n", "n", "private char[][] nm(int n, int m) {\n\t\tchar[][] map = new char[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\tmap[i] = ns(m);\n\t\treturn map;\n\t}", "nm", "{\n\t\tchar[][] map = new char[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\tmap[i] = ns(m);\n\t\treturn map;\n\t}", "char[][] map = new char[n][];", "map", "new char[n][]", "n", "for (int i = 0; i < n; i++)\n\t\t\tmap[i] = ns(m);", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "map[i] = ns(m);", "map[i] = ns(m)", "map[i]", "map", "i", "ns(m)", "ns", "m", "return map;", "map", "int n", "n", "int m", "m", "private int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}", "na", "{\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}", "int[] a = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = ni();", "a[i] = ni()", "a[i]", "a", "i", "ni()", "ni", "return a;", "a", "int n", "n", "private int ni() {\n\t\tint num = 0, b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}", "ni", "{\n\t\tint num = 0, b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}", "int num = 0", "num", "0", "b;", "b", "boolean minus = false;", "minus", "false", "while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;", "(b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')", "(b = readByte()) != -1", "(b = readByte())", "b", "readByte()", "readByte", "-1", "1", "!((b >= '0' && b <= '9') || b == '-')", "((b >= '0' && b <= '9') || b == '-')", "(b >= '0' && b <= '9')", "b >= '0'", "b", "'0'", "b <= '9'", "b", "'9'", "b == '-'", "b", "'-'", "if (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}", "b == '-'", "b", "'-'", "{\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}", "minus = true", "minus", "true", "b = readByte()", "b", "readByte()", "readByte", "while (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}", "true", "{\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}", "if (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}", "b >= '0' && b <= '9'", "b >= '0'", "b", "'0'", "b <= '9'", "b", "'9'", "{\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t}", "num = num * 10 + (b - '0')", "num", "num * 10 + (b - '0')", "num * 10", "num", "10", "(b - '0')", "b", "'0'", "{\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}", "return minus ? -num : num;", "minus ? -num : num", "minus", "-num", "num", "num", "b = readByte()", "b", "readByte()", "readByte", "private long nl() {\n\t\tlong num = 0;\n\t\tint b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}", "nl", "{\n\t\tlong num = 0;\n\t\tint b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}", "long num = 0;", "num", "0", "int b;", "b", "boolean minus = false;", "minus", "false", "while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;", "(b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')", "(b = readByte()) != -1", "(b = readByte())", "b", "readByte()", "readByte", "-1", "1", "!((b >= '0' && b <= '9') || b == '-')", "((b >= '0' && b <= '9') || b == '-')", "(b >= '0' && b <= '9')", "b >= '0'", "b", "'0'", "b <= '9'", "b", "'9'", "b == '-'", "b", "'-'", "if (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}", "b == '-'", "b", "'-'", "{\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}", "minus = true", "minus", "true", "b = readByte()", "b", "readByte()", "readByte", "while (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}", "true", "{\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}", "if (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}", "b >= '0' && b <= '9'", "b >= '0'", "b", "'0'", "b <= '9'", "b", "'9'", "{\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t}", "num = num * 10 + (b - '0')", "num", "num * 10 + (b - '0')", "num * 10", "num", "10", "(b - '0')", "b", "'0'", "{\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}", "return minus ? -num : num;", "minus ? -num : num", "minus", "-num", "num", "num", "b = readByte()", "b", "readByte()", "readByte", "private static void tr(Object... o) {\n\t\tSystem.out.println(Arrays.deepToString(o));\n\t}", "tr", "{\n\t\tSystem.out.println(Arrays.deepToString(o));\n\t}", "System.out.println(Arrays.deepToString(o))", "System.out.println", "System.out", "System", "System.out", "Arrays.deepToString(o)", "Arrays.deepToString", "Arrays", "o", "Object... o", "o", "public class Main {\n\tInputStream is;\n\tPrintWriter out;\n\tString INPUT = \"\";\n\n\tvoid solve() {\n\t\tString s = ns(), t = ns();\n\t\tout.println(s.equals(t.substring(0, t.length() - 1)) ? \"Yes\" : \"No\");\n\t}\n\n\tvoid run() throws Exception {\n\t\tis = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n\t\tout = new PrintWriter(System.out);\n\n\t\tlong s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n\t\tif (!INPUT.isEmpty())\n\t\t\ttr(System.currentTimeMillis() - s + \"ms\");\n\t}\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tnew Main().run();\n\t}\n\n\tprivate byte[] inbuf = new byte[1024];\n\tpublic int lenbuf = 0, ptrbuf = 0;\n\n\tprivate int readByte() {\n\t\tif (lenbuf == -1)\n\t\t\tthrow new InputMismatchException();\n\t\tif (ptrbuf >= lenbuf) {\n\t\t\tptrbuf = 0;\n\t\t\ttry {\n\t\t\t\tlenbuf = is.read(inbuf);\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}\n\t\t\tif (lenbuf <= 0)\n\t\t\t\treturn -1;\n\t\t}\n\t\treturn inbuf[ptrbuf++];\n\t}\n\n\tprivate boolean isSpaceChar(int c) {\n\t\treturn !(c >= 33 && c <= 126);\n\t}\n\n\tprivate int skip() {\n\t\tint b;\n\t\twhile ((b = readByte()) != -1 && isSpaceChar(b))\n\t\t\t;\n\t\treturn b;\n\t}\n\n\tprivate double nd() {\n\t\treturn Double.parseDouble(ns());\n\t}\n\n\tprivate char nc() {\n\t\treturn (char) skip();\n\t}\n\n\tprivate String ns() {\n\t\tint b = skip();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (!(isSpaceChar(b))) { // when nextLine, (isSpaceChar(b) && b != ' ')\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}\n\n\tprivate char[] ns(int n) {\n\t\tchar[] buf = new char[n];\n\t\tint b = skip(), p = 0;\n\t\twhile (p < n && !(isSpaceChar(b))) {\n\t\t\tbuf[p++] = (char) b;\n\t\t\tb = readByte();\n\t\t}\n\t\treturn n == p ? buf : Arrays.copyOf(buf, p);\n\t}\n\n\tprivate char[][] nm(int n, int m) {\n\t\tchar[][] map = new char[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\tmap[i] = ns(m);\n\t\treturn map;\n\t}\n\n\tprivate int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\n\tprivate int ni() {\n\t\tint num = 0, b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\n\tprivate long nl() {\n\t\tlong num = 0;\n\t\tint b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\n\tprivate static void tr(Object... o) {\n\t\tSystem.out.println(Arrays.deepToString(o));\n\t}\n}", "public class Main {\n\tInputStream is;\n\tPrintWriter out;\n\tString INPUT = \"\";\n\n\tvoid solve() {\n\t\tString s = ns(), t = ns();\n\t\tout.println(s.equals(t.substring(0, t.length() - 1)) ? \"Yes\" : \"No\");\n\t}\n\n\tvoid run() throws Exception {\n\t\tis = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n\t\tout = new PrintWriter(System.out);\n\n\t\tlong s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n\t\tif (!INPUT.isEmpty())\n\t\t\ttr(System.currentTimeMillis() - s + \"ms\");\n\t}\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tnew Main().run();\n\t}\n\n\tprivate byte[] inbuf = new byte[1024];\n\tpublic int lenbuf = 0, ptrbuf = 0;\n\n\tprivate int readByte() {\n\t\tif (lenbuf == -1)\n\t\t\tthrow new InputMismatchException();\n\t\tif (ptrbuf >= lenbuf) {\n\t\t\tptrbuf = 0;\n\t\t\ttry {\n\t\t\t\tlenbuf = is.read(inbuf);\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}\n\t\t\tif (lenbuf <= 0)\n\t\t\t\treturn -1;\n\t\t}\n\t\treturn inbuf[ptrbuf++];\n\t}\n\n\tprivate boolean isSpaceChar(int c) {\n\t\treturn !(c >= 33 && c <= 126);\n\t}\n\n\tprivate int skip() {\n\t\tint b;\n\t\twhile ((b = readByte()) != -1 && isSpaceChar(b))\n\t\t\t;\n\t\treturn b;\n\t}\n\n\tprivate double nd() {\n\t\treturn Double.parseDouble(ns());\n\t}\n\n\tprivate char nc() {\n\t\treturn (char) skip();\n\t}\n\n\tprivate String ns() {\n\t\tint b = skip();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (!(isSpaceChar(b))) { // when nextLine, (isSpaceChar(b) && b != ' ')\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}\n\n\tprivate char[] ns(int n) {\n\t\tchar[] buf = new char[n];\n\t\tint b = skip(), p = 0;\n\t\twhile (p < n && !(isSpaceChar(b))) {\n\t\t\tbuf[p++] = (char) b;\n\t\t\tb = readByte();\n\t\t}\n\t\treturn n == p ? buf : Arrays.copyOf(buf, p);\n\t}\n\n\tprivate char[][] nm(int n, int m) {\n\t\tchar[][] map = new char[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\tmap[i] = ns(m);\n\t\treturn map;\n\t}\n\n\tprivate int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\n\tprivate int ni() {\n\t\tint num = 0, b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\n\tprivate long nl() {\n\t\tlong num = 0;\n\t\tint b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\n\tprivate static void tr(Object... o) {\n\t\tSystem.out.println(Arrays.deepToString(o));\n\t}\n}", "Main" ]
import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.InputMismatchException; public class Main { InputStream is; PrintWriter out; String INPUT = ""; void solve() { String s = ns(), t = ns(); out.println(s.equals(t.substring(0, t.length() - 1)) ? "Yes" : "No"); } void run() throws Exception { is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes()); out = new PrintWriter(System.out); long s = System.currentTimeMillis(); solve(); out.flush(); if (!INPUT.isEmpty()) tr(System.currentTimeMillis() - s + "ms"); } public static void main(String[] args) throws Exception { new Main().run(); } private byte[] inbuf = new byte[1024]; public int lenbuf = 0, ptrbuf = 0; private int readByte() { if (lenbuf == -1) throw new InputMismatchException(); if (ptrbuf >= lenbuf) { ptrbuf = 0; try { lenbuf = is.read(inbuf); } catch (IOException e) { throw new InputMismatchException(); } if (lenbuf <= 0) return -1; } return inbuf[ptrbuf++]; } private boolean isSpaceChar(int c) { return !(c >= 33 && c <= 126); } private int skip() { int b; while ((b = readByte()) != -1 && isSpaceChar(b)) ; return b; } private double nd() { return Double.parseDouble(ns()); } private char nc() { return (char) skip(); } private String ns() { int b = skip(); StringBuilder sb = new StringBuilder(); while (!(isSpaceChar(b))) { // when nextLine, (isSpaceChar(b) && b != ' ') sb.appendCodePoint(b); b = readByte(); } return sb.toString(); } private char[] ns(int n) { char[] buf = new char[n]; int b = skip(), p = 0; while (p < n && !(isSpaceChar(b))) { buf[p++] = (char) b; b = readByte(); } return n == p ? buf : Arrays.copyOf(buf, p); } private char[][] nm(int n, int m) { char[][] map = new char[n][]; for (int i = 0; i < n; i++) map[i] = ns(m); return map; } private int[] na(int n) { int[] a = new int[n]; for (int i = 0; i < n; i++) a[i] = ni(); return a; } private int ni() { int num = 0, b; boolean minus = false; while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')) ; if (b == '-') { minus = true; b = readByte(); } while (true) { if (b >= '0' && b <= '9') { num = num * 10 + (b - '0'); } else { return minus ? -num : num; } b = readByte(); } } private long nl() { long num = 0; int b; boolean minus = false; while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')) ; if (b == '-') { minus = true; b = readByte(); } while (true) { if (b >= '0' && b <= '9') { num = num * 10 + (b - '0'); } else { return minus ? -num : num; } b = readByte(); } } private static void tr(Object... o) { System.out.println(Arrays.deepToString(o)); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 4, 18, 13, 17, 2, 4, 18, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 56, 11 ], [ 56, 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 ], [ 14, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 32, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 36, 40 ], [ 28, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 28, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 12, 53 ], [ 53, 54 ], [ 0, 55 ], [ 55, 56 ], [ 55, 57 ] ]
[ "import java.util.*;\nimport java.io.*;\nimport java.lang.*;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String a = sc.next();\n String b = sc.next();\n\n if (a.equals(b.substring(0,b.length()-1)))\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "import java.lang.*;", "lang.*", "java", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String a = sc.next();\n String b = sc.next();\n\n if (a.equals(b.substring(0,b.length()-1)))\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String a = sc.next();\n String b = sc.next();\n\n if (a.equals(b.substring(0,b.length()-1)))\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n String a = sc.next();\n String b = sc.next();\n\n if (a.equals(b.substring(0,b.length()-1)))\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String a = sc.next();", "a", "sc.next()", "sc.next", "sc", "String b = sc.next();", "b", "sc.next()", "sc.next", "sc", "if (a.equals(b.substring(0,b.length()-1)))\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");", "a.equals(b.substring(0,b.length()-1))", "a.equals", "a", "b.substring(0,b.length()-1)", "b.substring", "b", "0", "b.length()-1", "b.length()", "b.length", "b", "1", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String a = sc.next();\n String b = sc.next();\n\n if (a.equals(b.substring(0,b.length()-1)))\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String a = sc.next();\n String b = sc.next();\n\n if (a.equals(b.substring(0,b.length()-1)))\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}", "Main" ]
import java.util.*; import java.io.*; import java.lang.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String a = sc.next(); String b = sc.next(); if (a.equals(b.substring(0,b.length()-1))) System.out.println("Yes"); else System.out.println("No"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 17, 14, 2, 2, 18, 13, 13, 17, 18, 13, 13, 30, 4, 18, 18, 13, 13, 17, 29, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 40, 4, 18, 18, 13, 13, 18, 13, 13, 30, 4, 18, 18, 13, 13, 17, 29, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 94, 5 ], [ 94, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 8, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 35, 41 ], [ 41, 42 ], [ 41, 43 ], [ 34, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 44, 51 ], [ 8, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 52, 62 ], [ 62, 63 ], [ 63, 64 ], [ 52, 65 ], [ 66, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 67, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 77, 84 ], [ 8, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 6, 91 ], [ 91, 92 ], [ 0, 93 ], [ 93, 94 ], [ 93, 95 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n // 入力\n String s = sc.nextLine();\n String t = sc.nextLine();\n\n // 出力\n String[] array_s = s.split(\"\");\n String[] array_t = t.split(\"\");\n if (array_s.length + 1 != array_t.length) {\n System.out.println(\"No\");\n return;\n }\n for (int i = 0; i < array_s.length; i++) {\n if (!array_s[i].equals(array_t[i])) {\n System.out.println(\"No\");\n return;\n }\n }\n System.out.println(\"Yes\");\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n // 入力\n String s = sc.nextLine();\n String t = sc.nextLine();\n\n // 出力\n String[] array_s = s.split(\"\");\n String[] array_t = t.split(\"\");\n if (array_s.length + 1 != array_t.length) {\n System.out.println(\"No\");\n return;\n }\n for (int i = 0; i < array_s.length; i++) {\n if (!array_s[i].equals(array_t[i])) {\n System.out.println(\"No\");\n return;\n }\n }\n System.out.println(\"Yes\");\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n // 入力\n String s = sc.nextLine();\n String t = sc.nextLine();\n\n // 出力\n String[] array_s = s.split(\"\");\n String[] array_t = t.split(\"\");\n if (array_s.length + 1 != array_t.length) {\n System.out.println(\"No\");\n return;\n }\n for (int i = 0; i < array_s.length; i++) {\n if (!array_s[i].equals(array_t[i])) {\n System.out.println(\"No\");\n return;\n }\n }\n System.out.println(\"Yes\");\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n // 入力\n String s = sc.nextLine();\n String t = sc.nextLine();\n\n // 出力\n String[] array_s = s.split(\"\");\n String[] array_t = t.split(\"\");\n if (array_s.length + 1 != array_t.length) {\n System.out.println(\"No\");\n return;\n }\n for (int i = 0; i < array_s.length; i++) {\n if (!array_s[i].equals(array_t[i])) {\n System.out.println(\"No\");\n return;\n }\n }\n System.out.println(\"Yes\");\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String s = sc.nextLine();", "s", "sc.nextLine()", "sc.nextLine", "sc", "String t = sc.nextLine();", "t", "sc.nextLine()", "sc.nextLine", "sc", "String[] array_s = s.split(\"\");", "array_s", "s.split(\"\")", "s.split", "s", "\"\"", "String[] array_t = t.split(\"\");", "array_t", "t.split(\"\")", "t.split", "t", "\"\"", "if (array_s.length + 1 != array_t.length) {\n System.out.println(\"No\");\n return;\n }", "array_s.length + 1 != array_t.length", "array_s.length + 1", "array_s.length", "array_s", "array_s.length", "1", "array_t.length", "array_t", "array_t.length", "{\n System.out.println(\"No\");\n return;\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "return;", "for (int i = 0; i < array_s.length; i++) {\n if (!array_s[i].equals(array_t[i])) {\n System.out.println(\"No\");\n return;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < array_s.length", "i", "array_s.length", "array_s", "array_s.length", "i++", "i++", "i", "{\n if (!array_s[i].equals(array_t[i])) {\n System.out.println(\"No\");\n return;\n }\n }", "{\n if (!array_s[i].equals(array_t[i])) {\n System.out.println(\"No\");\n return;\n }\n }", "if (!array_s[i].equals(array_t[i])) {\n System.out.println(\"No\");\n return;\n }", "!array_s[i].equals(array_t[i])", "array_s[i].equals(array_t[i])", "array_s[i].equals", "array_s[i]", "array_s", "i", "array_t[i]", "array_t", "i", "{\n System.out.println(\"No\");\n return;\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "return;", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n // 入力\n String s = sc.nextLine();\n String t = sc.nextLine();\n\n // 出力\n String[] array_s = s.split(\"\");\n String[] array_t = t.split(\"\");\n if (array_s.length + 1 != array_t.length) {\n System.out.println(\"No\");\n return;\n }\n for (int i = 0; i < array_s.length; i++) {\n if (!array_s[i].equals(array_t[i])) {\n System.out.println(\"No\");\n return;\n }\n }\n System.out.println(\"Yes\");\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n // 入力\n String s = sc.nextLine();\n String t = sc.nextLine();\n\n // 出力\n String[] array_s = s.split(\"\");\n String[] array_t = t.split(\"\");\n if (array_s.length + 1 != array_t.length) {\n System.out.println(\"No\");\n return;\n }\n for (int i = 0; i < array_s.length; i++) {\n if (!array_s[i].equals(array_t[i])) {\n System.out.println(\"No\");\n return;\n }\n }\n System.out.println(\"Yes\");\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); // 入力 String s = sc.nextLine(); String t = sc.nextLine(); // 出力 String[] array_s = s.split(""); String[] array_t = t.split(""); if (array_s.length + 1 != array_t.length) { System.out.println("No"); return; } for (int i = 0; i < array_s.length; i++) { if (!array_s[i].equals(array_t[i])) { System.out.println("No"); return; } } System.out.println("Yes"); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 4, 18, 13, 17, 4, 18, 13, 4, 18, 13, 4, 18, 13, 17, 4, 18, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 63, 8 ], [ 63, 9 ], [ 9, 10 ], [ 9, 11 ], [ 63, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 28, 32 ], [ 27, 33 ], [ 33, 34 ], [ 34, 35 ], [ 26, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 39, 43 ], [ 43, 44 ], [ 44, 45 ], [ 25, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 25, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 12, 60 ], [ 60, 61 ], [ 0, 62 ], [ 62, 63 ], [ 62, 64 ] ]
[ "import java.io.BufferedInputStream;\nimport java.util.Scanner;\n\npublic class Main {\n private static Scanner sc = new Scanner(new BufferedInputStream(System.in));\n\n public static void main(String[] args) {\n String s1 = sc.nextLine();\n String s2 = sc.nextLine();\n if (s1.length() + 1 == s2.length() && s1.equals(s2.substring(0, s1.length()))) {\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n}", "import java.io.BufferedInputStream;", "BufferedInputStream", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n private static Scanner sc = new Scanner(new BufferedInputStream(System.in));\n\n public static void main(String[] args) {\n String s1 = sc.nextLine();\n String s2 = sc.nextLine();\n if (s1.length() + 1 == s2.length() && s1.equals(s2.substring(0, s1.length()))) {\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n}", "Main", "private static Scanner sc = new Scanner(new BufferedInputStream(System.in));", "sc", "new Scanner(new BufferedInputStream(System.in))", "public static void main(String[] args) {\n String s1 = sc.nextLine();\n String s2 = sc.nextLine();\n if (s1.length() + 1 == s2.length() && s1.equals(s2.substring(0, s1.length()))) {\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }", "main", "{\n String s1 = sc.nextLine();\n String s2 = sc.nextLine();\n if (s1.length() + 1 == s2.length() && s1.equals(s2.substring(0, s1.length()))) {\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }", "String s1 = sc.nextLine();", "s1", "sc.nextLine()", "sc.nextLine", "sc", "String s2 = sc.nextLine();", "s2", "sc.nextLine()", "sc.nextLine", "sc", "if (s1.length() + 1 == s2.length() && s1.equals(s2.substring(0, s1.length()))) {\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }", "s1.length() + 1 == s2.length() && s1.equals(s2.substring(0, s1.length()))", "s1.length() + 1 == s2.length()", "s1.length() + 1", "s1.length()", "s1.length", "s1", "1", "s2.length()", "s2.length", "s2", "s1.equals(s2.substring(0, s1.length()))", "s1.equals", "s1", "s2.substring(0, s1.length())", "s2.substring", "s2", "0", "s1.length()", "s1.length", "s1", "{\n System.out.println(\"Yes\");\n }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n System.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n private static Scanner sc = new Scanner(new BufferedInputStream(System.in));\n\n public static void main(String[] args) {\n String s1 = sc.nextLine();\n String s2 = sc.nextLine();\n if (s1.length() + 1 == s2.length() && s1.equals(s2.substring(0, s1.length()))) {\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n}", "public class Main {\n private static Scanner sc = new Scanner(new BufferedInputStream(System.in));\n\n public static void main(String[] args) {\n String s1 = sc.nextLine();\n String s2 = sc.nextLine();\n if (s1.length() + 1 == s2.length() && s1.equals(s2.substring(0, s1.length()))) {\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n}", "Main" ]
import java.io.BufferedInputStream; import java.util.Scanner; public class Main { private static Scanner sc = new Scanner(new BufferedInputStream(System.in)); public static void main(String[] args) { String s1 = sc.nextLine(); String s2 = sc.nextLine(); if (s1.length() + 1 == s2.length() && s1.equals(s2.substring(0, s1.length()))) { System.out.println("Yes"); }else{ System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 14, 40, 4, 18, 18, 13, 13, 18, 13, 13, 30, 0, 13, 17, 3, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 8, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 37, 47 ], [ 47, 48 ], [ 48, 49 ], [ 37, 50 ], [ 51, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 52, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 8, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 67, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 8, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 6, 90 ], [ 90, 91 ] ]
[ "import java.util.*; \n \nclass Main{\npublic static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\t\tString k=sc.next();\n String l=sc.next();\n\t\tString[] a=k.split(\"\");\n \t\tString[] b=l.split(\"\");\n \t\tint co=0;\n \n\t\tfor(int c=0;c<k.length();c++){\n \t\tif(!a[c].equals(b[c])){\n co=1;\n break;\n }\n \t}\n \n \tif(co==1){\n \t\tSystem.out.println(\"No\");\n \t}else{\n \t\tSystem.out.println(\"Yes\");\n \t }\n \n \tSystem.out.println();\n }\n}", "import java.util.*;", "util.*", "java", "class Main{\npublic static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\t\tString k=sc.next();\n String l=sc.next();\n\t\tString[] a=k.split(\"\");\n \t\tString[] b=l.split(\"\");\n \t\tint co=0;\n \n\t\tfor(int c=0;c<k.length();c++){\n \t\tif(!a[c].equals(b[c])){\n co=1;\n break;\n }\n \t}\n \n \tif(co==1){\n \t\tSystem.out.println(\"No\");\n \t}else{\n \t\tSystem.out.println(\"Yes\");\n \t }\n \n \tSystem.out.println();\n }\n}", "Main", "public static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\t\tString k=sc.next();\n String l=sc.next();\n\t\tString[] a=k.split(\"\");\n \t\tString[] b=l.split(\"\");\n \t\tint co=0;\n \n\t\tfor(int c=0;c<k.length();c++){\n \t\tif(!a[c].equals(b[c])){\n co=1;\n break;\n }\n \t}\n \n \tif(co==1){\n \t\tSystem.out.println(\"No\");\n \t}else{\n \t\tSystem.out.println(\"Yes\");\n \t }\n \n \tSystem.out.println();\n }", "main", "{\n\tScanner sc=new Scanner(System.in);\n\t\tString k=sc.next();\n String l=sc.next();\n\t\tString[] a=k.split(\"\");\n \t\tString[] b=l.split(\"\");\n \t\tint co=0;\n \n\t\tfor(int c=0;c<k.length();c++){\n \t\tif(!a[c].equals(b[c])){\n co=1;\n break;\n }\n \t}\n \n \tif(co==1){\n \t\tSystem.out.println(\"No\");\n \t}else{\n \t\tSystem.out.println(\"Yes\");\n \t }\n \n \tSystem.out.println();\n }", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "String k=sc.next();", "k", "sc.next()", "sc.next", "sc", "String l=sc.next();", "l", "sc.next()", "sc.next", "sc", "String[] a=k.split(\"\");", "a", "k.split(\"\")", "k.split", "k", "\"\"", "String[] b=l.split(\"\");", "b", "l.split(\"\")", "l.split", "l", "\"\"", "int co=0;", "co", "0", "for(int c=0;c<k.length();c++){\n \t\tif(!a[c].equals(b[c])){\n co=1;\n break;\n }\n \t}", "int c=0;", "int c=0;", "c", "0", "c<k.length()", "c", "k.length()", "k.length", "k", "c++", "c++", "c", "{\n \t\tif(!a[c].equals(b[c])){\n co=1;\n break;\n }\n \t}", "{\n \t\tif(!a[c].equals(b[c])){\n co=1;\n break;\n }\n \t}", "if(!a[c].equals(b[c])){\n co=1;\n break;\n }", "!a[c].equals(b[c])", "a[c].equals(b[c])", "a[c].equals", "a[c]", "a", "c", "b[c]", "b", "c", "{\n co=1;\n break;\n }", "co=1", "co", "1", "break;", "if(co==1){\n \t\tSystem.out.println(\"No\");\n \t}else{\n \t\tSystem.out.println(\"Yes\");\n \t }", "co==1", "co", "1", "{\n \t\tSystem.out.println(\"No\");\n \t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "{\n \t\tSystem.out.println(\"Yes\");\n \t }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args" ]
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); String k=sc.next(); String l=sc.next(); String[] a=k.split(""); String[] b=l.split(""); int co=0; for(int c=0;c<k.length();c++){ if(!a[c].equals(b[c])){ co=1; break; } } if(co==1){ System.out.println("No"); }else{ System.out.println("Yes"); } System.out.println(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 4, 18, 13, 13, 4, 18, 13, 13, 2, 2, 13, 2, 13, 17, 17, 30, 40, 13, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 90, 5 ], [ 90, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 49, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 59, 65 ], [ 48, 66 ], [ 66, 67 ], [ 67, 68 ], [ 8, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 69, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 6, 87 ], [ 87, 88 ], [ 0, 89 ], [ 89, 90 ], [ 89, 91 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String a = in.next();\n String f = in.next();\n int t = a.length();\n int k = f.length();\n int h = 0;\n\n for (int i = 0; i < t; i++) {\n if (a.charAt(i) == f.charAt(i) && (t - (k - 1) == 0)) {\n h++;\n }\n\n\n }\n\n\n if (h == t) {\n System.out.print(\"Yes\");\n } else {\n System.out.print(\"No\");\n }\n\n }\n}\n\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 in = new Scanner(System.in);\n String a = in.next();\n String f = in.next();\n int t = a.length();\n int k = f.length();\n int h = 0;\n\n for (int i = 0; i < t; i++) {\n if (a.charAt(i) == f.charAt(i) && (t - (k - 1) == 0)) {\n h++;\n }\n\n\n }\n\n\n if (h == t) {\n System.out.print(\"Yes\");\n } else {\n System.out.print(\"No\");\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String a = in.next();\n String f = in.next();\n int t = a.length();\n int k = f.length();\n int h = 0;\n\n for (int i = 0; i < t; i++) {\n if (a.charAt(i) == f.charAt(i) && (t - (k - 1) == 0)) {\n h++;\n }\n\n\n }\n\n\n if (h == t) {\n System.out.print(\"Yes\");\n } else {\n System.out.print(\"No\");\n }\n\n }", "main", "{\n Scanner in = new Scanner(System.in);\n String a = in.next();\n String f = in.next();\n int t = a.length();\n int k = f.length();\n int h = 0;\n\n for (int i = 0; i < t; i++) {\n if (a.charAt(i) == f.charAt(i) && (t - (k - 1) == 0)) {\n h++;\n }\n\n\n }\n\n\n if (h == t) {\n System.out.print(\"Yes\");\n } else {\n System.out.print(\"No\");\n }\n\n }", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "String a = in.next();", "a", "in.next()", "in.next", "in", "String f = in.next();", "f", "in.next()", "in.next", "in", "int t = a.length();", "t", "a.length()", "a.length", "a", "int k = f.length();", "k", "f.length()", "f.length", "f", "int h = 0;", "h", "0", "for (int i = 0; i < t; i++) {\n if (a.charAt(i) == f.charAt(i) && (t - (k - 1) == 0)) {\n h++;\n }\n\n\n }", "int i = 0;", "int i = 0;", "i", "0", "i < t", "i", "t", "i++", "i++", "i", "{\n if (a.charAt(i) == f.charAt(i) && (t - (k - 1) == 0)) {\n h++;\n }\n\n\n }", "{\n if (a.charAt(i) == f.charAt(i) && (t - (k - 1) == 0)) {\n h++;\n }\n\n\n }", "if (a.charAt(i) == f.charAt(i) && (t - (k - 1) == 0)) {\n h++;\n }", "a.charAt(i) == f.charAt(i) && (t - (k - 1) == 0)", "a.charAt(i) == f.charAt(i)", "a.charAt(i)", "a.charAt", "a", "i", "f.charAt(i)", "f.charAt", "f", "i", "(t - (k - 1) == 0)", "t - (k - 1)", "t", "(k - 1)", "k", "1", "0", "{\n h++;\n }", "h++", "h", "if (h == t) {\n System.out.print(\"Yes\");\n } else {\n System.out.print(\"No\");\n }", "h == t", "h", "t", "{\n System.out.print(\"Yes\");\n }", "System.out.print(\"Yes\")", "System.out.print", "System.out", "System", "System.out", "\"Yes\"", "{\n System.out.print(\"No\");\n }", "System.out.print(\"No\")", "System.out.print", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String a = in.next();\n String f = in.next();\n int t = a.length();\n int k = f.length();\n int h = 0;\n\n for (int i = 0; i < t; i++) {\n if (a.charAt(i) == f.charAt(i) && (t - (k - 1) == 0)) {\n h++;\n }\n\n\n }\n\n\n if (h == t) {\n System.out.print(\"Yes\");\n } else {\n System.out.print(\"No\");\n }\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String a = in.next();\n String f = in.next();\n int t = a.length();\n int k = f.length();\n int h = 0;\n\n for (int i = 0; i < t; i++) {\n if (a.charAt(i) == f.charAt(i) && (t - (k - 1) == 0)) {\n h++;\n }\n\n\n }\n\n\n if (h == t) {\n System.out.print(\"Yes\");\n } else {\n System.out.print(\"No\");\n }\n\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); String a = in.next(); String f = in.next(); int t = a.length(); int k = f.length(); int h = 0; for (int i = 0; i < t; i++) { if (a.charAt(i) == f.charAt(i) && (t - (k - 1) == 0)) { h++; } } if (h == t) { System.out.print("Yes"); } else { System.out.print("No"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 18, 13, 13, 30, 40, 13, 14, 2, 2, 18, 13, 13, 17, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 8, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 37, 47 ], [ 47, 48 ], [ 48, 49 ], [ 37, 50 ], [ 51, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 52, 61 ], [ 61, 62 ], [ 62, 63 ], [ 8, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 65, 71 ], [ 64, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 64, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 6, 86 ], [ 86, 87 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\n public static void main(String[] args) {\n Scanner stdIn=new Scanner(System.in);\n\n String a=stdIn.next();\n String b=stdIn.next();\n int sum=0;\n\n String []c=a.split(\"\");\n String []d=b.split(\"\");\n for(int i=0; i<c.length; i++){\n if(c[i].equals(d[i])){\n sum++;\n }\n }\n \n if(d.length-1==sum){\n System.out.println(\"Yes\");\n \n }\n else{\n System.out.println(\"No\");\n \n }\n \n \n \n }\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\n public static void main(String[] args) {\n Scanner stdIn=new Scanner(System.in);\n\n String a=stdIn.next();\n String b=stdIn.next();\n int sum=0;\n\n String []c=a.split(\"\");\n String []d=b.split(\"\");\n for(int i=0; i<c.length; i++){\n if(c[i].equals(d[i])){\n sum++;\n }\n }\n \n if(d.length-1==sum){\n System.out.println(\"Yes\");\n \n }\n else{\n System.out.println(\"No\");\n \n }\n \n \n \n }\n\n}", "Main", "public static void main(String[] args) {\n Scanner stdIn=new Scanner(System.in);\n\n String a=stdIn.next();\n String b=stdIn.next();\n int sum=0;\n\n String []c=a.split(\"\");\n String []d=b.split(\"\");\n for(int i=0; i<c.length; i++){\n if(c[i].equals(d[i])){\n sum++;\n }\n }\n \n if(d.length-1==sum){\n System.out.println(\"Yes\");\n \n }\n else{\n System.out.println(\"No\");\n \n }\n \n \n \n }", "main", "{\n Scanner stdIn=new Scanner(System.in);\n\n String a=stdIn.next();\n String b=stdIn.next();\n int sum=0;\n\n String []c=a.split(\"\");\n String []d=b.split(\"\");\n for(int i=0; i<c.length; i++){\n if(c[i].equals(d[i])){\n sum++;\n }\n }\n \n if(d.length-1==sum){\n System.out.println(\"Yes\");\n \n }\n else{\n System.out.println(\"No\");\n \n }\n \n \n \n }", "Scanner stdIn=new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "String a=stdIn.next();", "a", "stdIn.next()", "stdIn.next", "stdIn", "String b=stdIn.next();", "b", "stdIn.next()", "stdIn.next", "stdIn", "int sum=0;", "sum", "0", "String []c=a.split(\"\");", "c", "a.split(\"\")", "a.split", "a", "\"\"", "String []d=b.split(\"\");", "d", "b.split(\"\")", "b.split", "b", "\"\"", "for(int i=0; i<c.length; i++){\n if(c[i].equals(d[i])){\n sum++;\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<c.length", "i", "c.length", "c", "c.length", "i++", "i++", "i", "{\n if(c[i].equals(d[i])){\n sum++;\n }\n }", "{\n if(c[i].equals(d[i])){\n sum++;\n }\n }", "if(c[i].equals(d[i])){\n sum++;\n }", "c[i].equals(d[i])", "c[i].equals", "c[i]", "c", "i", "d[i]", "d", "i", "{\n sum++;\n }", "sum++", "sum", "if(d.length-1==sum){\n System.out.println(\"Yes\");\n \n }\n else{\n System.out.println(\"No\");\n \n }", "d.length-1==sum", "d.length-1", "d.length", "d", "d.length", "1", "sum", "{\n System.out.println(\"Yes\");\n \n }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n System.out.println(\"No\");\n \n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner stdIn=new Scanner(System.in); String a=stdIn.next(); String b=stdIn.next(); int sum=0; String []c=a.split(""); String []d=b.split(""); for(int i=0; i<c.length; i++){ if(c[i].equals(d[i])){ sum++; } } if(d.length-1==sum){ System.out.println("Yes"); } else{ System.out.println("No"); } } }
[ 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, 4, 18, 13, 0, 13, 4, 18, 13, 2, 4, 18, 13, 17, 4, 18, 18, 13, 13, 8, 4, 18, 13, 13, 17, 17, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 41, 13, 4, 13, 41, 13, 20, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 14, 2, 4, 18, 13, 17, 17, 30, 0, 13, 17, 40, 13, 11, 1, 41, 13, 13, 2, 13, 4, 18, 13, 1, 40, 13, 30, 14, 2, 4, 18, 13, 13, 17, 30, 0, 13, 4, 18, 13, 4, 18, 13, 0, 13, 20, 0, 13, 17, 30, 4, 18, 13, 4, 18, 13, 13, 14, 13, 0, 13, 17, 0, 13, 2, 4, 18, 13, 4, 18, 13, 13, 29, 2, 13, 8, 13, 40, 17, 17, 12, 13, 30, 29, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 229, 17 ], [ 229, 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 ], [ 31, 32 ], [ 32, 33 ], [ 20, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 39, 43 ], [ 20, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 49, 54 ], [ 49, 55 ], [ 18, 56 ], [ 56, 57 ], [ 0, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 58, 62 ], [ 62, 63 ], [ 58, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 64, 70 ], [ 70, 71 ], [ 58, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 75, 84 ], [ 84, 85 ], [ 84, 86 ], [ 74, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 58, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 98, 99 ], [ 58, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 107, 108 ], [ 58, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 58, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 118, 123 ], [ 123, 124 ], [ 123, 125 ], [ 118, 126 ], [ 126, 127 ], [ 126, 128 ], [ 118, 129 ], [ 129, 130 ], [ 129, 131 ], [ 118, 132 ], [ 132, 133 ], [ 132, 134 ], [ 118, 135 ], [ 135, 136 ], [ 135, 137 ], [ 118, 138 ], [ 138, 139 ], [ 138, 140 ], [ 118, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 143, 146 ], [ 142, 147 ], [ 141, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 148, 152 ], [ 152, 153 ], [ 118, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 154, 159 ], [ 159, 160 ], [ 159, 161 ], [ 161, 162 ], [ 162, 163 ], [ 154, 164 ], [ 164, 165 ], [ 165, 166 ], [ 154, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 170, 173 ], [ 169, 174 ], [ 168, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 178, 179 ], [ 179, 180 ], [ 178, 181 ], [ 181, 182 ], [ 182, 183 ], [ 175, 184 ], [ 184, 185 ], [ 184, 186 ], [ 175, 187 ], [ 187, 188 ], [ 187, 189 ], [ 168, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 191, 194 ], [ 194, 195 ], [ 195, 196 ], [ 194, 197 ], [ 190, 198 ], [ 198, 199 ], [ 198, 200 ], [ 200, 201 ], [ 200, 202 ], [ 118, 203 ], [ 203, 204 ], [ 203, 205 ], [ 205, 206 ], [ 206, 207 ], [ 207, 208 ], [ 206, 209 ], [ 209, 210 ], [ 210, 211 ], [ 205, 212 ], [ 118, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 216, 217 ], [ 216, 218 ], [ 218, 219 ], [ 216, 220 ], [ 58, 221 ], [ 221, 222 ], [ 221, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 0, 228 ], [ 228, 229 ], [ 228, 230 ] ]
[ "\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.*;\n\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner s = new Scanner(System.in);\n String word1 = s.next(),word2=s.next();\n word1+=word2.charAt(word2.length()-1);\n System.out.println(word1.equals(word2)?\"Yes\":\"No\");\n\n\n }\n\n}\n\n\n\n\nclass Scanner\n{\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}\n\n public String next() throws IOException\n {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {return Integer.parseInt(next());}\n\n public long nextLong() throws IOException {return Long.parseLong(next());}\n\n public String nextLine() throws IOException {return br.readLine();}\n\n public double nextDouble() throws IOException\n {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if(x.charAt(0) == '-')\n {\n neg = true;\n start++;\n }\n for(int i = start; i < x.length(); i++)\n if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg?-1:1);\n }\n\n public boolean ready() throws IOException {return br.ready();}\n\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.*;", "util.*", "java", "public class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner s = new Scanner(System.in);\n String word1 = s.next(),word2=s.next();\n word1+=word2.charAt(word2.length()-1);\n System.out.println(word1.equals(word2)?\"Yes\":\"No\");\n\n\n }\n\n}", "Main", "public static void main(String[] args) throws IOException {\n Scanner s = new Scanner(System.in);\n String word1 = s.next(),word2=s.next();\n word1+=word2.charAt(word2.length()-1);\n System.out.println(word1.equals(word2)?\"Yes\":\"No\");\n\n\n }", "main", "{\n Scanner s = new Scanner(System.in);\n String word1 = s.next(),word2=s.next();\n word1+=word2.charAt(word2.length()-1);\n System.out.println(word1.equals(word2)?\"Yes\":\"No\");\n\n\n }", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "String word1 = s.next()", "word1", "s.next()", "s.next", "s", "word2=s.next();", "word2", "s.next()", "s.next", "s", "word1+=word2.charAt(word2.length()-1)", "word1", "word2.charAt(word2.length()-1)", "word2.charAt", "word2", "word2.length()-1", "word2.length()", "word2.length", "word2", "1", "System.out.println(word1.equals(word2)?\"Yes\":\"No\")", "System.out.println", "System.out", "System", "System.out", "word1.equals(word2)?\"Yes\":\"No\"", "word1.equals(word2)", "word1.equals", "word1", "word2", "\"Yes\"", "\"No\"", "String[] args", "args", "class Scanner\n{\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}\n\n public String next() throws IOException\n {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {return Integer.parseInt(next());}\n\n public long nextLong() throws IOException {return Long.parseLong(next());}\n\n public String nextLine() throws IOException {return br.readLine();}\n\n public double nextDouble() throws IOException\n {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if(x.charAt(0) == '-')\n {\n neg = true;\n start++;\n }\n for(int i = start; i < x.length(); i++)\n if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg?-1:1);\n }\n\n public boolean ready() throws IOException {return br.ready();}\n\n\n}", "Scanner", "StringTokenizer st;", "st", "BufferedReader br;", "br", "public Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}", "Scanner", "{\tbr = new BufferedReader(new InputStreamReader(s));}", "br = new BufferedReader(new InputStreamReader(s))", "br", "new BufferedReader(new InputStreamReader(s))", "InputStream s", "s", "public String next() throws IOException\n {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }", "while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "public int nextInt() throws IOException {return Integer.parseInt(next());}", "nextInt", "{return Integer.parseInt(next());}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public long nextLong() throws IOException {return Long.parseLong(next());}", "nextLong", "{return Long.parseLong(next());}", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public String nextLine() throws IOException {return br.readLine();}", "nextLine", "{return br.readLine();}", "return br.readLine();", "br.readLine()", "br.readLine", "br", "public double nextDouble() throws IOException\n {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if(x.charAt(0) == '-')\n {\n neg = true;\n start++;\n }\n for(int i = start; i < x.length(); i++)\n if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg?-1:1);\n }", "nextDouble", "{\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if(x.charAt(0) == '-')\n {\n neg = true;\n start++;\n }\n for(int i = start; i < x.length(); i++)\n if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg?-1:1);\n }", "String x = next();", "x", "next()", "next", "StringBuilder sb = new StringBuilder(\"0\");", "sb", "new StringBuilder(\"0\")", "double res = 0", "res", "0", "f = 1;", "f", "1", "boolean dec = false", "dec", "false", "neg = false;", "neg", "false", "int start = 0;", "start", "0", "if(x.charAt(0) == '-')\n {\n neg = true;\n start++;\n }", "x.charAt(0) == '-'", "x.charAt(0)", "x.charAt", "x", "0", "'-'", "{\n neg = true;\n start++;\n }", "neg = true", "neg", "true", "start++", "start", "for(int i = start; i < x.length(); i++)\n if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }", "int i = start;", "int i = start;", "i", "start", "i < x.length()", "i", "x.length()", "x.length", "x", "i++", "i++", "i", "if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }", "if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }", "x.charAt(i) == '.'", "x.charAt(i)", "x.charAt", "x", "i", "'.'", "{\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }", "res = Long.parseLong(sb.toString())", "res", "Long.parseLong(sb.toString())", "Long.parseLong", "Long", "sb.toString()", "sb.toString", "sb", "sb = new StringBuilder(\"0\")", "sb", "new StringBuilder(\"0\")", "dec = true", "dec", "true", "{\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }", "sb.append(x.charAt(i))", "sb.append", "sb", "x.charAt(i)", "x.charAt", "x", "i", "if(dec)\n f *= 10;", "dec", "f *= 10", "f", "10", "res += Long.parseLong(sb.toString()) / f", "res", "Long.parseLong(sb.toString()) / f", "Long.parseLong(sb.toString())", "Long.parseLong", "Long", "sb.toString()", "sb.toString", "sb", "f", "return res * (neg?-1:1);", "res * (neg?-1:1)", "res", "(neg?-1:1)", "neg", "-1", "1", "1", "public boolean ready() throws IOException {return br.ready();}", "ready", "{return br.ready();}", "return br.ready();", "br.ready()", "br.ready", "br", "public class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner s = new Scanner(System.in);\n String word1 = s.next(),word2=s.next();\n word1+=word2.charAt(word2.length()-1);\n System.out.println(word1.equals(word2)?\"Yes\":\"No\");\n\n\n }\n\n}", "public class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner s = new Scanner(System.in);\n String word1 = s.next(),word2=s.next();\n word1+=word2.charAt(word2.length()-1);\n System.out.println(word1.equals(word2)?\"Yes\":\"No\");\n\n\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.*; public class Main { public static void main(String[] args) throws IOException { Scanner s = new Scanner(System.in); String word1 = s.next(),word2=s.next(); word1+=word2.charAt(word2.length()-1); System.out.println(word1.equals(word2)?"Yes":"No"); } } class Scanner { StringTokenizer st; BufferedReader br; public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));} public String next() throws IOException { while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine()); return st.nextToken(); } public int nextInt() throws IOException {return Integer.parseInt(next());} public long nextLong() throws IOException {return Long.parseLong(next());} public String nextLine() throws IOException {return br.readLine();} public double nextDouble() throws IOException { String x = next(); StringBuilder sb = new StringBuilder("0"); double res = 0, f = 1; boolean dec = false, neg = false; int start = 0; if(x.charAt(0) == '-') { neg = true; start++; } for(int i = start; i < x.length(); i++) if(x.charAt(i) == '.') { res = Long.parseLong(sb.toString()); sb = new StringBuilder("0"); dec = true; } else { sb.append(x.charAt(i)); if(dec) f *= 10; } res += Long.parseLong(sb.toString()) / f; return res * (neg?-1:1); } public boolean ready() throws IOException {return br.ready();} }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 13, 4, 18, 13, 13, 30, 0, 13, 17, 14, 2, 4, 18, 13, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 77, 5 ], [ 77, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 25, 35 ], [ 35, 36 ], [ 36, 37 ], [ 25, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 41, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 40, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 55, 59 ], [ 59, 60 ], [ 59, 61 ], [ 54, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 54, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 6, 74 ], [ 74, 75 ], [ 0, 76 ], [ 76, 77 ], [ 76, 78 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner (System.in);\n\t\tString s=scan.nextLine();\n\t\tString t=scan.nextLine();\n\t\tint c=0;\n\t\tfor(int i=0;i<s.length();i++)\n\t\t{\n\t\t\tif(s.charAt(i)==t.charAt(i))\n\t\t\t{\n\t\t\t\tc+=1;\n\t\t\t}\n\t\t}\n\t\tif(t.length()==c+1) System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");\n\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner (System.in);\n\t\tString s=scan.nextLine();\n\t\tString t=scan.nextLine();\n\t\tint c=0;\n\t\tfor(int i=0;i<s.length();i++)\n\t\t{\n\t\t\tif(s.charAt(i)==t.charAt(i))\n\t\t\t{\n\t\t\t\tc+=1;\n\t\t\t}\n\t\t}\n\t\tif(t.length()==c+1) System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner (System.in);\n\t\tString s=scan.nextLine();\n\t\tString t=scan.nextLine();\n\t\tint c=0;\n\t\tfor(int i=0;i<s.length();i++)\n\t\t{\n\t\t\tif(s.charAt(i)==t.charAt(i))\n\t\t\t{\n\t\t\t\tc+=1;\n\t\t\t}\n\t\t}\n\t\tif(t.length()==c+1) System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");\n\n\t}", "main", "{\n\t\tScanner scan = new Scanner (System.in);\n\t\tString s=scan.nextLine();\n\t\tString t=scan.nextLine();\n\t\tint c=0;\n\t\tfor(int i=0;i<s.length();i++)\n\t\t{\n\t\t\tif(s.charAt(i)==t.charAt(i))\n\t\t\t{\n\t\t\t\tc+=1;\n\t\t\t}\n\t\t}\n\t\tif(t.length()==c+1) System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");\n\n\t}", "Scanner scan = new Scanner (System.in);", "scan", "new Scanner (System.in)", "String s=scan.nextLine();", "s", "scan.nextLine()", "scan.nextLine", "scan", "String t=scan.nextLine();", "t", "scan.nextLine()", "scan.nextLine", "scan", "int c=0;", "c", "0", "for(int i=0;i<s.length();i++)\n\t\t{\n\t\t\tif(s.charAt(i)==t.charAt(i))\n\t\t\t{\n\t\t\t\tc+=1;\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<s.length()", "i", "s.length()", "s.length", "s", "i++", "i++", "i", "{\n\t\t\tif(s.charAt(i)==t.charAt(i))\n\t\t\t{\n\t\t\t\tc+=1;\n\t\t\t}\n\t\t}", "{\n\t\t\tif(s.charAt(i)==t.charAt(i))\n\t\t\t{\n\t\t\t\tc+=1;\n\t\t\t}\n\t\t}", "if(s.charAt(i)==t.charAt(i))\n\t\t\t{\n\t\t\t\tc+=1;\n\t\t\t}", "s.charAt(i)==t.charAt(i)", "s.charAt(i)", "s.charAt", "s", "i", "t.charAt(i)", "t.charAt", "t", "i", "{\n\t\t\t\tc+=1;\n\t\t\t}", "c+=1", "c", "1", "if(t.length()==c+1) System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");", "t.length()==c+1", "t.length()", "t.length", "t", "c+1", "c", "1", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner (System.in);\n\t\tString s=scan.nextLine();\n\t\tString t=scan.nextLine();\n\t\tint c=0;\n\t\tfor(int i=0;i<s.length();i++)\n\t\t{\n\t\t\tif(s.charAt(i)==t.charAt(i))\n\t\t\t{\n\t\t\t\tc+=1;\n\t\t\t}\n\t\t}\n\t\tif(t.length()==c+1) System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner (System.in);\n\t\tString s=scan.nextLine();\n\t\tString t=scan.nextLine();\n\t\tint c=0;\n\t\tfor(int i=0;i<s.length();i++)\n\t\t{\n\t\t\tif(s.charAt(i)==t.charAt(i))\n\t\t\t{\n\t\t\t\tc+=1;\n\t\t\t}\n\t\t}\n\t\tif(t.length()==c+1) System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");\n\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner (System.in); String s=scan.nextLine(); String t=scan.nextLine(); int c=0; for(int i=0;i<s.length();i++) { if(s.charAt(i)==t.charAt(i)) { c+=1; } } if(t.length()==c+1) System.out.println("Yes"); else System.out.println("No"); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 4, 18, 13, 17, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 11, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 34, 38 ], [ 38, 39 ], [ 38, 40 ], [ 30, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 30, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 9, 53 ], [ 53, 54 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\nclass Main {\n\tpublic static void main(String args[])throws Exception\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine();\n\t\tString t=br.readLine();\n\t\tint len=t.length();\n\t\tif(s.contentEquals(t.substring(0,len-1)))\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "class Main {\n\tpublic static void main(String args[])throws Exception\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine();\n\t\tString t=br.readLine();\n\t\tint len=t.length();\n\t\tif(s.contentEquals(t.substring(0,len-1)))\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}\n}", "Main", "public static void main(String args[])throws Exception\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine();\n\t\tString t=br.readLine();\n\t\tint len=t.length();\n\t\tif(s.contentEquals(t.substring(0,len-1)))\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}", "main", "{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine();\n\t\tString t=br.readLine();\n\t\tint len=t.length();\n\t\tif(s.contentEquals(t.substring(0,len-1)))\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String s=br.readLine();", "s", "br.readLine()", "br.readLine", "br", "String t=br.readLine();", "t", "br.readLine()", "br.readLine", "br", "int len=t.length();", "len", "t.length()", "t.length", "t", "if(s.contentEquals(t.substring(0,len-1)))\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");", "s.contentEquals(t.substring(0,len-1))", "s.contentEquals", "s", "t.substring(0,len-1)", "t.substring", "t", "0", "len-1", "len", "1", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String args[]", "args" ]
import java.io.BufferedReader; import java.io.InputStreamReader; class Main { public static void main(String args[])throws Exception { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String s=br.readLine(); String t=br.readLine(); int len=t.length(); if(s.contentEquals(t.substring(0,len-1))) System.out.println("Yes"); else System.out.println("No"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 4, 18, 13, 17, 4, 18, 13, 30, 4, 18, 18, 13, 13, 17, 29, 14, 40, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 17, 29, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 63, 5 ], [ 63, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 24, 28 ], [ 23, 29 ], [ 29, 30 ], [ 30, 31 ], [ 22, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 32, 39 ], [ 8, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 40, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 46, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 6, 60 ], [ 60, 61 ], [ 0, 62 ], [ 62, 63 ], [ 62, 64 ] ]
[ "import java.util.Scanner;\npublic class Main {\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n String s = scanner.next();\n String t = scanner.next();\n\n if(s.length() + 1 != t.length()){\n System.out.println(\"No\");\n return;\n }\n if(!t.startsWith(s)){\n System.out.println(\"No\");\n return;\n }\n System.out.println(\"Yes\");\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 String s = scanner.next();\n String t = scanner.next();\n\n if(s.length() + 1 != t.length()){\n System.out.println(\"No\");\n return;\n }\n if(!t.startsWith(s)){\n System.out.println(\"No\");\n return;\n }\n System.out.println(\"Yes\");\n }\n}", "Main", "public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n String s = scanner.next();\n String t = scanner.next();\n\n if(s.length() + 1 != t.length()){\n System.out.println(\"No\");\n return;\n }\n if(!t.startsWith(s)){\n System.out.println(\"No\");\n return;\n }\n System.out.println(\"Yes\");\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n String s = scanner.next();\n String t = scanner.next();\n\n if(s.length() + 1 != t.length()){\n System.out.println(\"No\");\n return;\n }\n if(!t.startsWith(s)){\n System.out.println(\"No\");\n return;\n }\n System.out.println(\"Yes\");\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "String s = scanner.next();", "s", "scanner.next()", "scanner.next", "scanner", "String t = scanner.next();", "t", "scanner.next()", "scanner.next", "scanner", "if(s.length() + 1 != t.length()){\n System.out.println(\"No\");\n return;\n }", "s.length() + 1 != t.length()", "s.length() + 1", "s.length()", "s.length", "s", "1", "t.length()", "t.length", "t", "{\n System.out.println(\"No\");\n return;\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "return;", "if(!t.startsWith(s)){\n System.out.println(\"No\");\n return;\n }", "!t.startsWith(s)", "t.startsWith(s)", "t.startsWith", "t", "s", "{\n System.out.println(\"No\");\n return;\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "return;", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n String s = scanner.next();\n String t = scanner.next();\n\n if(s.length() + 1 != t.length()){\n System.out.println(\"No\");\n return;\n }\n if(!t.startsWith(s)){\n System.out.println(\"No\");\n return;\n }\n System.out.println(\"Yes\");\n }\n}", "public class Main {\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n String s = scanner.next();\n String t = scanner.next();\n\n if(s.length() + 1 != t.length()){\n System.out.println(\"No\");\n return;\n }\n if(!t.startsWith(s)){\n System.out.println(\"No\");\n return;\n }\n System.out.println(\"Yes\");\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scanner = new Scanner(System.in); String s = scanner.next(); String t = scanner.next(); if(s.length() + 1 != t.length()){ System.out.println("No"); return; } if(!t.startsWith(s)){ System.out.println("No"); return; } System.out.println("Yes"); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 12, 13, 30, 14, 2, 2, 2, 4, 18, 13, 17, 2, 4, 18, 13, 17, 2, 2, 4, 18, 13, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 18, 13, 13, 30, 4, 18, 18, 13, 13, 17, 29, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 102, 5 ], [ 102, 6 ], [ 6, 7 ], [ 6, 8 ], [ 102, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 102, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 102, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 24, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 25, 29 ], [ 24, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 30, 34 ], [ 24, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 36, 40 ], [ 40, 41 ], [ 41, 42 ], [ 35, 43 ], [ 22, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 22, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 51, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 51, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 62, 72 ], [ 72, 73 ], [ 73, 74 ], [ 62, 75 ], [ 76, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 82, 83 ], [ 82, 84 ], [ 77, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 85, 92 ], [ 51, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 19, 99 ], [ 99, 100 ], [ 0, 101 ], [ 101, 102 ], [ 101, 103 ] ]
[ "\nimport java.util.Scanner;\n\npublic class Main {\n static Scanner sc = new Scanner(System.in);\n static String S = sc.next();\n static String T = sc.next();\n\n public static void main(String[] args) {\n if (S.length() < 1 || S.length() > 10 || T.length() - S.length() != 1){\n System.out.println(\"No\");\n } else {\n char strS[] = S.toCharArray();\n char strT[] = T.toCharArray();\n for (int i = 0; i < S.length(); i++){\n if (strS[i] != strT[i]) {\n System.out.println(\"No\");\n return;\n }\n }\n System.out.println(\"Yes\");\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n static Scanner sc = new Scanner(System.in);\n static String S = sc.next();\n static String T = sc.next();\n\n public static void main(String[] args) {\n if (S.length() < 1 || S.length() > 10 || T.length() - S.length() != 1){\n System.out.println(\"No\");\n } else {\n char strS[] = S.toCharArray();\n char strT[] = T.toCharArray();\n for (int i = 0; i < S.length(); i++){\n if (strS[i] != strT[i]) {\n System.out.println(\"No\");\n return;\n }\n }\n System.out.println(\"Yes\");\n }\n }\n}", "Main", "static Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "static String S = sc.next();", "S", "sc.next()", "sc.next", "sc", "static String T = sc.next();", "T", "sc.next()", "sc.next", "sc", "public static void main(String[] args) {\n if (S.length() < 1 || S.length() > 10 || T.length() - S.length() != 1){\n System.out.println(\"No\");\n } else {\n char strS[] = S.toCharArray();\n char strT[] = T.toCharArray();\n for (int i = 0; i < S.length(); i++){\n if (strS[i] != strT[i]) {\n System.out.println(\"No\");\n return;\n }\n }\n System.out.println(\"Yes\");\n }\n }", "main", "{\n if (S.length() < 1 || S.length() > 10 || T.length() - S.length() != 1){\n System.out.println(\"No\");\n } else {\n char strS[] = S.toCharArray();\n char strT[] = T.toCharArray();\n for (int i = 0; i < S.length(); i++){\n if (strS[i] != strT[i]) {\n System.out.println(\"No\");\n return;\n }\n }\n System.out.println(\"Yes\");\n }\n }", "if (S.length() < 1 || S.length() > 10 || T.length() - S.length() != 1){\n System.out.println(\"No\");\n } else {\n char strS[] = S.toCharArray();\n char strT[] = T.toCharArray();\n for (int i = 0; i < S.length(); i++){\n if (strS[i] != strT[i]) {\n System.out.println(\"No\");\n return;\n }\n }\n System.out.println(\"Yes\");\n }", "S.length() < 1 || S.length() > 10 || T.length() - S.length() != 1", "S.length() < 1 || S.length() > 10 || T.length() - S.length() != 1", "S.length() < 1", "S.length()", "S.length", "S", "1", "S.length() > 10", "S.length()", "S.length", "S", "10", "T.length() - S.length() != 1", "T.length() - S.length()", "T.length()", "T.length", "T", "S.length()", "S.length", "S", "1", "{\n System.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "{\n char strS[] = S.toCharArray();\n char strT[] = T.toCharArray();\n for (int i = 0; i < S.length(); i++){\n if (strS[i] != strT[i]) {\n System.out.println(\"No\");\n return;\n }\n }\n System.out.println(\"Yes\");\n }", "char strS[] = S.toCharArray();", "strS", "S.toCharArray()", "S.toCharArray", "S", "char strT[] = T.toCharArray();", "strT", "T.toCharArray()", "T.toCharArray", "T", "for (int i = 0; i < S.length(); i++){\n if (strS[i] != strT[i]) {\n System.out.println(\"No\");\n return;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < S.length()", "i", "S.length()", "S.length", "S", "i++", "i++", "i", "{\n if (strS[i] != strT[i]) {\n System.out.println(\"No\");\n return;\n }\n }", "{\n if (strS[i] != strT[i]) {\n System.out.println(\"No\");\n return;\n }\n }", "if (strS[i] != strT[i]) {\n System.out.println(\"No\");\n return;\n }", "strS[i] != strT[i]", "strS[i]", "strS", "i", "strT[i]", "strT", "i", "{\n System.out.println(\"No\");\n return;\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "return;", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "String[] args", "args", "public class Main {\n static Scanner sc = new Scanner(System.in);\n static String S = sc.next();\n static String T = sc.next();\n\n public static void main(String[] args) {\n if (S.length() < 1 || S.length() > 10 || T.length() - S.length() != 1){\n System.out.println(\"No\");\n } else {\n char strS[] = S.toCharArray();\n char strT[] = T.toCharArray();\n for (int i = 0; i < S.length(); i++){\n if (strS[i] != strT[i]) {\n System.out.println(\"No\");\n return;\n }\n }\n System.out.println(\"Yes\");\n }\n }\n}", "public class Main {\n static Scanner sc = new Scanner(System.in);\n static String S = sc.next();\n static String T = sc.next();\n\n public static void main(String[] args) {\n if (S.length() < 1 || S.length() > 10 || T.length() - S.length() != 1){\n System.out.println(\"No\");\n } else {\n char strS[] = S.toCharArray();\n char strT[] = T.toCharArray();\n for (int i = 0; i < S.length(); i++){\n if (strS[i] != strT[i]) {\n System.out.println(\"No\");\n return;\n }\n }\n System.out.println(\"Yes\");\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { static Scanner sc = new Scanner(System.in); static String S = sc.next(); static String T = sc.next(); public static void main(String[] args) { if (S.length() < 1 || S.length() > 10 || T.length() - S.length() != 1){ System.out.println("No"); } else { char strS[] = S.toCharArray(); char strT[] = T.toCharArray(); for (int i = 0; i < S.length(); i++){ if (strS[i] != strT[i]) { System.out.println("No"); return; } } System.out.println("Yes"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 14, 2, 13, 2, 4, 18, 13, 17, 30, 14, 2, 4, 18, 13, 13, 4, 18, 13, 13, 30, 9, 30, 4, 18, 18, 13, 13, 17, 3, 30, 14, 2, 4, 18, 13, 13, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 94, 5 ], [ 94, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 22, 32 ], [ 32, 33 ], [ 33, 34 ], [ 22, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 40, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 46, 56 ], [ 56, 57 ], [ 46, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 58, 65 ], [ 37, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 68, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 67, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 67, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 6, 91 ], [ 91, 92 ], [ 0, 93 ], [ 93, 94 ], [ 93, 95 ] ]
[ "import java.util.*;\npublic class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n\n for(int i=0 ; i<s.length() ; i++){\n if(i<s.length()-1){\n if(s.charAt(i)==t.charAt(i)){\n continue;\n }else{\n System.out.println(\"No\");\n break;\n }\n }else{\n if(s.charAt(i)==t.charAt(i)){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n }\n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n\n for(int i=0 ; i<s.length() ; i++){\n if(i<s.length()-1){\n if(s.charAt(i)==t.charAt(i)){\n continue;\n }else{\n System.out.println(\"No\");\n break;\n }\n }else{\n if(s.charAt(i)==t.charAt(i)){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n\n for(int i=0 ; i<s.length() ; i++){\n if(i<s.length()-1){\n if(s.charAt(i)==t.charAt(i)){\n continue;\n }else{\n System.out.println(\"No\");\n break;\n }\n }else{\n if(s.charAt(i)==t.charAt(i)){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n\n for(int i=0 ; i<s.length() ; i++){\n if(i<s.length()-1){\n if(s.charAt(i)==t.charAt(i)){\n continue;\n }else{\n System.out.println(\"No\");\n break;\n }\n }else{\n if(s.charAt(i)==t.charAt(i)){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "String t = sc.next();", "t", "sc.next()", "sc.next", "sc", "for(int i=0 ; i<s.length() ; i++){\n if(i<s.length()-1){\n if(s.charAt(i)==t.charAt(i)){\n continue;\n }else{\n System.out.println(\"No\");\n break;\n }\n }else{\n if(s.charAt(i)==t.charAt(i)){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n }", "int i=0 ;", "int i=0 ;", "i", "0", "i<s.length()", "i", "s.length()", "s.length", "s", "i++", "i++", "i", "{\n if(i<s.length()-1){\n if(s.charAt(i)==t.charAt(i)){\n continue;\n }else{\n System.out.println(\"No\");\n break;\n }\n }else{\n if(s.charAt(i)==t.charAt(i)){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n }", "{\n if(i<s.length()-1){\n if(s.charAt(i)==t.charAt(i)){\n continue;\n }else{\n System.out.println(\"No\");\n break;\n }\n }else{\n if(s.charAt(i)==t.charAt(i)){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n }", "if(i<s.length()-1){\n if(s.charAt(i)==t.charAt(i)){\n continue;\n }else{\n System.out.println(\"No\");\n break;\n }\n }else{\n if(s.charAt(i)==t.charAt(i)){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }", "i<s.length()-1", "i", "s.length()-1", "s.length()", "s.length", "s", "1", "{\n if(s.charAt(i)==t.charAt(i)){\n continue;\n }else{\n System.out.println(\"No\");\n break;\n }\n }", "if(s.charAt(i)==t.charAt(i)){\n continue;\n }else{\n System.out.println(\"No\");\n break;\n }", "s.charAt(i)==t.charAt(i)", "s.charAt(i)", "s.charAt", "s", "i", "t.charAt(i)", "t.charAt", "t", "i", "{\n continue;\n }", "continue;", "{\n System.out.println(\"No\");\n break;\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "break;", "{\n if(s.charAt(i)==t.charAt(i)){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }", "if(s.charAt(i)==t.charAt(i)){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }", "s.charAt(i)==t.charAt(i)", "s.charAt(i)", "s.charAt", "s", "i", "t.charAt(i)", "t.charAt", "t", "i", "{\n System.out.println(\"Yes\");\n }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n System.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n\n for(int i=0 ; i<s.length() ; i++){\n if(i<s.length()-1){\n if(s.charAt(i)==t.charAt(i)){\n continue;\n }else{\n System.out.println(\"No\");\n break;\n }\n }else{\n if(s.charAt(i)==t.charAt(i)){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n }\n }\n}", "public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n\n for(int i=0 ; i<s.length() ; i++){\n if(i<s.length()-1){\n if(s.charAt(i)==t.charAt(i)){\n continue;\n }else{\n System.out.println(\"No\");\n break;\n }\n }else{\n if(s.charAt(i)==t.charAt(i)){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n }\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); String t = sc.next(); for(int i=0 ; i<s.length() ; i++){ if(i<s.length()-1){ if(s.charAt(i)==t.charAt(i)){ continue; }else{ System.out.println("No"); break; } }else{ if(s.charAt(i)==t.charAt(i)){ System.out.println("Yes"); }else{ System.out.println("No"); } } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 12, 13, 30, 41, 13, 41, 13, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 8, 4, 18, 13, 4, 18, 13, 17, 4, 18, 13, 17, 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 ], [ 66, 20 ], [ 66, 21 ], [ 21, 22 ], [ 21, 23 ], [ 66, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 29, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 26, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 26, 44 ], [ 44, 45 ], [ 45, 46 ], [ 26, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 54, 58 ], [ 58, 59 ], [ 59, 60 ], [ 50, 61 ], [ 50, 62 ], [ 24, 63 ], [ 63, 64 ], [ 0, 65 ], [ 65, 66 ], [ 65, 67 ] ]
[ "import java.util.*;\nimport java.io.PrintWriter;\nimport static java.lang.Integer.*;\nimport static java.lang.Long.*;\nimport static java.lang.Math.*;\nimport static java.lang.System.*;\n\npublic class Main {\n\tpublic static final int MOD = 1000000007;\n\tpublic static void main(String[] args) {\n\t\tint i,j;\n\t\tScanner sc = new Scanner(in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tsc.close();\n\t\tout.println(s.equals(t.substring(0,s.length()))?\"Yes\":\"No\");\n\t}\n}", "import java.util.*;", "util.*", "java", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import static java.lang.Integer.*;", "import static java.lang.Integer.*;", "import static java.lang.Integer.*;", "import static java.lang.Long.*;", "import static java.lang.Long.*;", "import static java.lang.Long.*;", "import static java.lang.Math.*;", "import static java.lang.Math.*;", "import static java.lang.Math.*;", "import static java.lang.System.*;", "import static java.lang.System.*;", "import static java.lang.System.*;", "public class Main {\n\tpublic static final int MOD = 1000000007;\n\tpublic static void main(String[] args) {\n\t\tint i,j;\n\t\tScanner sc = new Scanner(in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tsc.close();\n\t\tout.println(s.equals(t.substring(0,s.length()))?\"Yes\":\"No\");\n\t}\n}", "Main", "public static final int MOD = 1000000007;", "MOD", "1000000007", "public static void main(String[] args) {\n\t\tint i,j;\n\t\tScanner sc = new Scanner(in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tsc.close();\n\t\tout.println(s.equals(t.substring(0,s.length()))?\"Yes\":\"No\");\n\t}", "main", "{\n\t\tint i,j;\n\t\tScanner sc = new Scanner(in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tsc.close();\n\t\tout.println(s.equals(t.substring(0,s.length()))?\"Yes\":\"No\");\n\t}", "int i", "i", "j;", "j", "Scanner sc = new Scanner(in);", "sc", "new Scanner(in)", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "String t = sc.next();", "t", "sc.next()", "sc.next", "sc", "sc.close()", "sc.close", "sc", "out.println(s.equals(t.substring(0,s.length()))?\"Yes\":\"No\")", "out.println", "out", "s.equals(t.substring(0,s.length()))?\"Yes\":\"No\"", "s.equals(t.substring(0,s.length()))", "s.equals", "s", "t.substring(0,s.length())", "t.substring", "t", "0", "s.length()", "s.length", "s", "\"Yes\"", "\"No\"", "String[] args", "args", "public class Main {\n\tpublic static final int MOD = 1000000007;\n\tpublic static void main(String[] args) {\n\t\tint i,j;\n\t\tScanner sc = new Scanner(in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tsc.close();\n\t\tout.println(s.equals(t.substring(0,s.length()))?\"Yes\":\"No\");\n\t}\n}", "public class Main {\n\tpublic static final int MOD = 1000000007;\n\tpublic static void main(String[] args) {\n\t\tint i,j;\n\t\tScanner sc = new Scanner(in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tsc.close();\n\t\tout.println(s.equals(t.substring(0,s.length()))?\"Yes\":\"No\");\n\t}\n}", "Main" ]
import java.util.*; import java.io.PrintWriter; import static java.lang.Integer.*; import static java.lang.Long.*; import static java.lang.Math.*; import static java.lang.System.*; public class Main { public static final int MOD = 1000000007; public static void main(String[] args) { int i,j; Scanner sc = new Scanner(in); String s = sc.next(); String t = sc.next(); sc.close(); out.println(s.equals(t.substring(0,s.length()))?"Yes":"No"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 18, 13, 13, 30, 30, 0, 13, 17, 14, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 79, 5 ], [ 79, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 14, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 22, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 31, 41 ], [ 41, 42 ], [ 42, 43 ], [ 31, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 46, 55 ], [ 46, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 8, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 60, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 6, 76 ], [ 76, 77 ], [ 0, 78 ], [ 78, 79 ], [ 78, 80 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String [] s_arr = sc.nextLine().split(\"\");\n String [] t_arr = sc.nextLine().split(\"\");\n \n //sの文字列長文loopして全部同じかどうかをチェックする\n boolean flg = true;\n for (int i=0;i<s_arr.length;i++){\n if (s_arr[i].equals(t_arr[i])){\n //\n }else{\n flg = false;\n }\n }\n \n if (flg){\n System.out.println(\"Yes\"); \n }else{\n System.out.println(\"No\"); \n }\n\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String [] s_arr = sc.nextLine().split(\"\");\n String [] t_arr = sc.nextLine().split(\"\");\n \n //sの文字列長文loopして全部同じかどうかをチェックする\n boolean flg = true;\n for (int i=0;i<s_arr.length;i++){\n if (s_arr[i].equals(t_arr[i])){\n //\n }else{\n flg = false;\n }\n }\n \n if (flg){\n System.out.println(\"Yes\"); \n }else{\n System.out.println(\"No\"); \n }\n\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String [] s_arr = sc.nextLine().split(\"\");\n String [] t_arr = sc.nextLine().split(\"\");\n \n //sの文字列長文loopして全部同じかどうかをチェックする\n boolean flg = true;\n for (int i=0;i<s_arr.length;i++){\n if (s_arr[i].equals(t_arr[i])){\n //\n }else{\n flg = false;\n }\n }\n \n if (flg){\n System.out.println(\"Yes\"); \n }else{\n System.out.println(\"No\"); \n }\n\n }", "main", "{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String [] s_arr = sc.nextLine().split(\"\");\n String [] t_arr = sc.nextLine().split(\"\");\n \n //sの文字列長文loopして全部同じかどうかをチェックする\n boolean flg = true;\n for (int i=0;i<s_arr.length;i++){\n if (s_arr[i].equals(t_arr[i])){\n //\n }else{\n flg = false;\n }\n }\n \n if (flg){\n System.out.println(\"Yes\"); \n }else{\n System.out.println(\"No\"); \n }\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String [] s_arr = sc.nextLine().split(\"\");", "s_arr", "sc.nextLine().split(\"\")", "sc.nextLine().split", "sc.nextLine()", "sc.nextLine", "sc", "\"\"", "String [] t_arr = sc.nextLine().split(\"\");", "t_arr", "sc.nextLine().split(\"\")", "sc.nextLine().split", "sc.nextLine()", "sc.nextLine", "sc", "\"\"", "boolean flg = true;", "flg", "true", "for (int i=0;i<s_arr.length;i++){\n if (s_arr[i].equals(t_arr[i])){\n //\n }else{\n flg = false;\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<s_arr.length", "i", "s_arr.length", "s_arr", "s_arr.length", "i++", "i++", "i", "{\n if (s_arr[i].equals(t_arr[i])){\n //\n }else{\n flg = false;\n }\n }", "{\n if (s_arr[i].equals(t_arr[i])){\n //\n }else{\n flg = false;\n }\n }", "if (s_arr[i].equals(t_arr[i])){\n //\n }else{\n flg = false;\n }", "s_arr[i].equals(t_arr[i])", "s_arr[i].equals", "s_arr[i]", "s_arr", "i", "t_arr[i]", "t_arr", "i", "{\n //\n }", "{\n flg = false;\n }", "flg = false", "flg", "false", "if (flg){\n System.out.println(\"Yes\"); \n }else{\n System.out.println(\"No\"); \n }", "flg", "{\n System.out.println(\"Yes\"); \n }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n System.out.println(\"No\"); \n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String [] s_arr = sc.nextLine().split(\"\");\n String [] t_arr = sc.nextLine().split(\"\");\n \n //sの文字列長文loopして全部同じかどうかをチェックする\n boolean flg = true;\n for (int i=0;i<s_arr.length;i++){\n if (s_arr[i].equals(t_arr[i])){\n //\n }else{\n flg = false;\n }\n }\n \n if (flg){\n System.out.println(\"Yes\"); \n }else{\n System.out.println(\"No\"); \n }\n\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String [] s_arr = sc.nextLine().split(\"\");\n String [] t_arr = sc.nextLine().split(\"\");\n \n //sの文字列長文loopして全部同じかどうかをチェックする\n boolean flg = true;\n for (int i=0;i<s_arr.length;i++){\n if (s_arr[i].equals(t_arr[i])){\n //\n }else{\n flg = false;\n }\n }\n \n if (flg){\n System.out.println(\"Yes\"); \n }else{\n System.out.println(\"No\"); \n }\n\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner sc = new Scanner(System.in); String [] s_arr = sc.nextLine().split(""); String [] t_arr = sc.nextLine().split(""); //sの文字列長文loopして全部同じかどうかをチェックする boolean flg = true; for (int i=0;i<s_arr.length;i++){ if (s_arr[i].equals(t_arr[i])){ // }else{ flg = false; } } if (flg){ System.out.println("Yes"); }else{ System.out.println("No"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 8, 2, 4, 18, 13, 13, 2, 4, 18, 13, 2, 4, 18, 13, 17, 17, 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 ], [ 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 ], [ 25, 26 ], [ 26, 27 ], [ 14, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 34, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 39, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 43, 47 ], [ 33, 48 ], [ 33, 49 ], [ 12, 50 ], [ 50, 51 ], [ 0, 52 ], [ 52, 53 ], [ 52, 54 ] ]
[ "\nimport java.io.BufferedInputStream;\nimport java.io.IOException;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(new BufferedInputStream(System.in));\n String s = sc.next();\n String t = sc.next();\n System.out.println(t.startsWith(s)&&t.length() == s.length()+1?\"Yes\":\"No\");\n }\n}", "import java.io.BufferedInputStream;", "BufferedInputStream", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(new BufferedInputStream(System.in));\n String s = sc.next();\n String t = sc.next();\n System.out.println(t.startsWith(s)&&t.length() == s.length()+1?\"Yes\":\"No\");\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(new BufferedInputStream(System.in));\n String s = sc.next();\n String t = sc.next();\n System.out.println(t.startsWith(s)&&t.length() == s.length()+1?\"Yes\":\"No\");\n }", "main", "{\n Scanner sc = new Scanner(new BufferedInputStream(System.in));\n String s = sc.next();\n String t = sc.next();\n System.out.println(t.startsWith(s)&&t.length() == s.length()+1?\"Yes\":\"No\");\n }", "Scanner sc = new Scanner(new BufferedInputStream(System.in));", "sc", "new Scanner(new BufferedInputStream(System.in))", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "String t = sc.next();", "t", "sc.next()", "sc.next", "sc", "System.out.println(t.startsWith(s)&&t.length() == s.length()+1?\"Yes\":\"No\")", "System.out.println", "System.out", "System", "System.out", "t.startsWith(s)&&t.length() == s.length()+1?\"Yes\":\"No\"", "t.startsWith(s)&&t.length() == s.length()+1", "t.startsWith(s)", "t.startsWith", "t", "s", "t.length() == s.length()+1", "t.length()", "t.length", "t", "s.length()+1", "s.length()", "s.length", "s", "1", "\"Yes\"", "\"No\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(new BufferedInputStream(System.in));\n String s = sc.next();\n String t = sc.next();\n System.out.println(t.startsWith(s)&&t.length() == s.length()+1?\"Yes\":\"No\");\n }\n}", "public class Main {\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(new BufferedInputStream(System.in));\n String s = sc.next();\n String t = sc.next();\n System.out.println(t.startsWith(s)&&t.length() == s.length()+1?\"Yes\":\"No\");\n }\n}", "Main" ]
import java.io.BufferedInputStream; import java.io.IOException; import java.util.Scanner; public class Main { public static void main(String[] args) throws IOException { Scanner sc = new Scanner(new BufferedInputStream(System.in)); String s = sc.next(); String t = sc.next(); System.out.println(t.startsWith(s)&&t.length() == s.length()+1?"Yes":"No"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 13, 14, 2, 4, 18, 13, 13, 2, 4, 18, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 67, 5 ], [ 67, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 29, 33 ], [ 8, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 35, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 40, 44 ], [ 44, 45 ], [ 44, 46 ], [ 34, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 34, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 8, 61 ], [ 61, 62 ], [ 62, 63 ], [ 6, 64 ], [ 64, 65 ], [ 0, 66 ], [ 66, 67 ], [ 66, 68 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n\t\tString T = scan.nextLine();\n\n\t\tint amt = S.length();\n\t\tString T_part = T.substring(0, amt);\n\n\t\tif(T_part.equals(S) && T.length() == (amt + 1)){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t\tscan.close();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n\t\tString T = scan.nextLine();\n\n\t\tint amt = S.length();\n\t\tString T_part = T.substring(0, amt);\n\n\t\tif(T_part.equals(S) && T.length() == (amt + 1)){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t\tscan.close();\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n\t\tString T = scan.nextLine();\n\n\t\tint amt = S.length();\n\t\tString T_part = T.substring(0, amt);\n\n\t\tif(T_part.equals(S) && T.length() == (amt + 1)){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t\tscan.close();\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n\t\tString T = scan.nextLine();\n\n\t\tint amt = S.length();\n\t\tString T_part = T.substring(0, amt);\n\n\t\tif(T_part.equals(S) && T.length() == (amt + 1)){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t\tscan.close();\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "String S = scan.nextLine();", "S", "scan.nextLine()", "scan.nextLine", "scan", "String T = scan.nextLine();", "T", "scan.nextLine()", "scan.nextLine", "scan", "int amt = S.length();", "amt", "S.length()", "S.length", "S", "String T_part = T.substring(0, amt);", "T_part", "T.substring(0, amt)", "T.substring", "T", "0", "amt", "if(T_part.equals(S) && T.length() == (amt + 1)){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "T_part.equals(S) && T.length() == (amt + 1)", "T_part.equals(S)", "T_part.equals", "T_part", "S", "T.length() == (amt + 1)", "T.length()", "T.length", "T", "(amt + 1)", "amt", "1", "{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n\t\tString T = scan.nextLine();\n\n\t\tint amt = S.length();\n\t\tString T_part = T.substring(0, amt);\n\n\t\tif(T_part.equals(S) && T.length() == (amt + 1)){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t\tscan.close();\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n\t\tString T = scan.nextLine();\n\n\t\tint amt = S.length();\n\t\tString T_part = T.substring(0, amt);\n\n\t\tif(T_part.equals(S) && T.length() == (amt + 1)){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t\tscan.close();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); String S = scan.nextLine(); String T = scan.nextLine(); int amt = S.length(); String T_part = T.substring(0, amt); if(T_part.equals(S) && T.length() == (amt + 1)){ System.out.println("Yes"); }else{ System.out.println("No"); } scan.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 41, 13, 17, 14, 2, 2, 2, 4, 18, 13, 4, 18, 13, 17, 4, 18, 13, 4, 18, 13, 2, 4, 18, 13, 17, 30, 11, 1, 0, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 13, 4, 18, 13, 13, 0, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 113, 8 ], [ 113, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 11, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 11, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 11, 29 ], [ 29, 30 ], [ 11, 31 ], [ 31, 32 ], [ 31, 33 ], [ 11, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 37, 41 ], [ 41, 42 ], [ 42, 43 ], [ 36, 44 ], [ 35, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 51, 55 ], [ 34, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 57, 67 ], [ 67, 68 ], [ 68, 69 ], [ 57, 70 ], [ 71, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 73, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 72, 82 ], [ 82, 83 ], [ 82, 84 ], [ 56, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 85, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 34, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 9, 110 ], [ 110, 111 ], [ 0, 112 ], [ 112, 113 ], [ 112, 114 ] ]
[ "import java.util.*;\nimport java.lang.*;\n \npublic class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString s,s1;\n\t\ts=sc.next();\n\t\ts1=sc.next();\n\t\tint t,f=0;\n\t\tif(((s1.length()-s.length()) ==1) && (Character.isLetter(s1.charAt(s1.length()-1))))\n\t\t{\n\t\t for(t=0;t<s.length();t++)\n\t\t {\n\t\t if(s.charAt(t) != s1.charAt(t))\n\t\t f=1;\n\t\t }\n\t\t if(f==0)\n\t\t {\n\t\t System.out.println(\"Yes\");\n\t\t }\n\t\t else{\n\t\t System.out.println(\"No\");\n\t\t }\n\t\t}\n\t\telse{\n\t\t System.out.println(\"No\");\n\t\t \n\t\t}\n\t\t \n\t\t \n\t\t}\n}", "import java.util.*;", "util.*", "java", "import java.lang.*;", "lang.*", "java", "public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString s,s1;\n\t\ts=sc.next();\n\t\ts1=sc.next();\n\t\tint t,f=0;\n\t\tif(((s1.length()-s.length()) ==1) && (Character.isLetter(s1.charAt(s1.length()-1))))\n\t\t{\n\t\t for(t=0;t<s.length();t++)\n\t\t {\n\t\t if(s.charAt(t) != s1.charAt(t))\n\t\t f=1;\n\t\t }\n\t\t if(f==0)\n\t\t {\n\t\t System.out.println(\"Yes\");\n\t\t }\n\t\t else{\n\t\t System.out.println(\"No\");\n\t\t }\n\t\t}\n\t\telse{\n\t\t System.out.println(\"No\");\n\t\t \n\t\t}\n\t\t \n\t\t \n\t\t}\n}", "Main", "public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString s,s1;\n\t\ts=sc.next();\n\t\ts1=sc.next();\n\t\tint t,f=0;\n\t\tif(((s1.length()-s.length()) ==1) && (Character.isLetter(s1.charAt(s1.length()-1))))\n\t\t{\n\t\t for(t=0;t<s.length();t++)\n\t\t {\n\t\t if(s.charAt(t) != s1.charAt(t))\n\t\t f=1;\n\t\t }\n\t\t if(f==0)\n\t\t {\n\t\t System.out.println(\"Yes\");\n\t\t }\n\t\t else{\n\t\t System.out.println(\"No\");\n\t\t }\n\t\t}\n\t\telse{\n\t\t System.out.println(\"No\");\n\t\t \n\t\t}\n\t\t \n\t\t \n\t\t}", "main", "{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString s,s1;\n\t\ts=sc.next();\n\t\ts1=sc.next();\n\t\tint t,f=0;\n\t\tif(((s1.length()-s.length()) ==1) && (Character.isLetter(s1.charAt(s1.length()-1))))\n\t\t{\n\t\t for(t=0;t<s.length();t++)\n\t\t {\n\t\t if(s.charAt(t) != s1.charAt(t))\n\t\t f=1;\n\t\t }\n\t\t if(f==0)\n\t\t {\n\t\t System.out.println(\"Yes\");\n\t\t }\n\t\t else{\n\t\t System.out.println(\"No\");\n\t\t }\n\t\t}\n\t\telse{\n\t\t System.out.println(\"No\");\n\t\t \n\t\t}\n\t\t \n\t\t \n\t\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "String s", "s", "s1;", "s1", "s=sc.next()", "s", "sc.next()", "sc.next", "sc", "s1=sc.next()", "s1", "sc.next()", "sc.next", "sc", "int t", "t", "f=0;", "f", "0", "if(((s1.length()-s.length()) ==1) && (Character.isLetter(s1.charAt(s1.length()-1))))\n\t\t{\n\t\t for(t=0;t<s.length();t++)\n\t\t {\n\t\t if(s.charAt(t) != s1.charAt(t))\n\t\t f=1;\n\t\t }\n\t\t if(f==0)\n\t\t {\n\t\t System.out.println(\"Yes\");\n\t\t }\n\t\t else{\n\t\t System.out.println(\"No\");\n\t\t }\n\t\t}\n\t\telse{\n\t\t System.out.println(\"No\");\n\t\t \n\t\t}", "((s1.length()-s.length()) ==1) && (Character.isLetter(s1.charAt(s1.length()-1)))", "((s1.length()-s.length()) ==1)", "(s1.length()-s.length())", "s1.length()", "s1.length", "s1", "s.length()", "s.length", "s", "1", "(Character.isLetter(s1.charAt(s1.length()-1)))", "Character.isLetter", "Character", "s1.charAt(s1.length()-1)", "s1.charAt", "s1", "s1.length()-1", "s1.length()", "s1.length", "s1", "1", "{\n\t\t for(t=0;t<s.length();t++)\n\t\t {\n\t\t if(s.charAt(t) != s1.charAt(t))\n\t\t f=1;\n\t\t }\n\t\t if(f==0)\n\t\t {\n\t\t System.out.println(\"Yes\");\n\t\t }\n\t\t else{\n\t\t System.out.println(\"No\");\n\t\t }\n\t\t}", "for(t=0;t<s.length();t++)\n\t\t {\n\t\t if(s.charAt(t) != s1.charAt(t))\n\t\t f=1;\n\t\t }", "t=0;", "t=0", "t", "0", "t<s.length()", "t", "s.length()", "s.length", "s", "t++", "t++", "t", "{\n\t\t if(s.charAt(t) != s1.charAt(t))\n\t\t f=1;\n\t\t }", "{\n\t\t if(s.charAt(t) != s1.charAt(t))\n\t\t f=1;\n\t\t }", "if(s.charAt(t) != s1.charAt(t))\n\t\t f=1;", "s.charAt(t) != s1.charAt(t)", "s.charAt(t)", "s.charAt", "s", "t", "s1.charAt(t)", "s1.charAt", "s1", "t", "f=1", "f", "1", "if(f==0)\n\t\t {\n\t\t System.out.println(\"Yes\");\n\t\t }\n\t\t else{\n\t\t System.out.println(\"No\");\n\t\t }", "f==0", "f", "0", "{\n\t\t System.out.println(\"Yes\");\n\t\t }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n\t\t System.out.println(\"No\");\n\t\t }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "{\n\t\t System.out.println(\"No\");\n\t\t \n\t\t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString s,s1;\n\t\ts=sc.next();\n\t\ts1=sc.next();\n\t\tint t,f=0;\n\t\tif(((s1.length()-s.length()) ==1) && (Character.isLetter(s1.charAt(s1.length()-1))))\n\t\t{\n\t\t for(t=0;t<s.length();t++)\n\t\t {\n\t\t if(s.charAt(t) != s1.charAt(t))\n\t\t f=1;\n\t\t }\n\t\t if(f==0)\n\t\t {\n\t\t System.out.println(\"Yes\");\n\t\t }\n\t\t else{\n\t\t System.out.println(\"No\");\n\t\t }\n\t\t}\n\t\telse{\n\t\t System.out.println(\"No\");\n\t\t \n\t\t}\n\t\t \n\t\t \n\t\t}\n}", "public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString s,s1;\n\t\ts=sc.next();\n\t\ts1=sc.next();\n\t\tint t,f=0;\n\t\tif(((s1.length()-s.length()) ==1) && (Character.isLetter(s1.charAt(s1.length()-1))))\n\t\t{\n\t\t for(t=0;t<s.length();t++)\n\t\t {\n\t\t if(s.charAt(t) != s1.charAt(t))\n\t\t f=1;\n\t\t }\n\t\t if(f==0)\n\t\t {\n\t\t System.out.println(\"Yes\");\n\t\t }\n\t\t else{\n\t\t System.out.println(\"No\");\n\t\t }\n\t\t}\n\t\telse{\n\t\t System.out.println(\"No\");\n\t\t \n\t\t}\n\t\t \n\t\t \n\t\t}\n}", "Main" ]
import java.util.*; import java.lang.*; public class Main { public static void main (String[] args) throws java.lang.Exception { Scanner sc=new Scanner(System.in); String s,s1; s=sc.next(); s1=sc.next(); int t,f=0; if(((s1.length()-s.length()) ==1) && (Character.isLetter(s1.charAt(s1.length()-1)))) { for(t=0;t<s.length();t++) { if(s.charAt(t) != s1.charAt(t)) f=1; } if(f==0) { System.out.println("Yes"); } else{ System.out.println("No"); } } else{ System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 4, 18, 13, 4, 18, 13, 17, 4, 18, 13, 2, 2, 4, 18, 13, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 63, 5 ], [ 63, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 27, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 35, 39 ], [ 39, 40 ], [ 40, 41 ], [ 34, 42 ], [ 22, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 22, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 8, 57 ], [ 57, 58 ], [ 58, 59 ], [ 6, 60 ], [ 60, 61 ], [ 0, 62 ], [ 62, 63 ], [ 62, 64 ] ]
[ "// 提出時に消す\n\n\nimport java.util.Scanner;\n\n// 提出時にMainに変更する\npublic class Main {\n public static void main(String[] args) throws Exception {\n // System.out.println(\"Hello Java\");\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n if (s.equals(t.substring(0, s.length())) && (t.length() - s.length() == 1)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n sc.close();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) throws Exception {\n // System.out.println(\"Hello Java\");\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n if (s.equals(t.substring(0, s.length())) && (t.length() - s.length() == 1)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n sc.close();\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n // System.out.println(\"Hello Java\");\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n if (s.equals(t.substring(0, s.length())) && (t.length() - s.length() == 1)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n sc.close();\n }", "main", "{\n // System.out.println(\"Hello Java\");\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n if (s.equals(t.substring(0, s.length())) && (t.length() - s.length() == 1)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "String t = sc.next();", "t", "sc.next()", "sc.next", "sc", "if (s.equals(t.substring(0, s.length())) && (t.length() - s.length() == 1)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }", "s.equals(t.substring(0, s.length())) && (t.length() - s.length() == 1)", "s.equals(t.substring(0, s.length()))", "s.equals", "s", "t.substring(0, s.length())", "t.substring", "t", "0", "s.length()", "s.length", "s", "(t.length() - s.length() == 1)", "t.length() - s.length()", "t.length()", "t.length", "t", "s.length()", "s.length", "s", "1", "{\n System.out.println(\"Yes\");\n }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n System.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n // System.out.println(\"Hello Java\");\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n if (s.equals(t.substring(0, s.length())) && (t.length() - s.length() == 1)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n sc.close();\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n // System.out.println(\"Hello Java\");\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n String t = sc.next();\n if (s.equals(t.substring(0, s.length())) && (t.length() - s.length() == 1)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n sc.close();\n }\n}", "Main" ]
// 提出時に消す import java.util.Scanner; // 提出時にMainに変更する public class Main { public static void main(String[] args) throws Exception { // System.out.println("Hello Java"); Scanner sc = new Scanner(System.in); String s = sc.next(); String t = sc.next(); if (s.equals(t.substring(0, s.length())) && (t.length() - s.length() == 1)) { System.out.println("Yes"); } else { System.out.println("No"); } sc.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 20, 17, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 4, 18, 13, 14, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 61, 5 ], [ 61, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 32, 36 ], [ 36, 37 ], [ 37, 38 ], [ 8, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 39, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 39, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 6, 58 ], [ 58, 59 ], [ 0, 60 ], [ 60, 61 ], [ 60, 62 ] ]
[ "\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S, T;\n\t\tchar a[] = new char[13];\n\t\tS = sc.next();\n\t\tT = sc.next();\n\n\n\n\t\tString B = T.substring(0, S.length());\n\n\t\tif(S.equals(B)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S, T;\n\t\tchar a[] = new char[13];\n\t\tS = sc.next();\n\t\tT = sc.next();\n\n\n\n\t\tString B = T.substring(0, S.length());\n\n\t\tif(S.equals(B)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S, T;\n\t\tchar a[] = new char[13];\n\t\tS = sc.next();\n\t\tT = sc.next();\n\n\n\n\t\tString B = T.substring(0, S.length());\n\n\t\tif(S.equals(B)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S, T;\n\t\tchar a[] = new char[13];\n\t\tS = sc.next();\n\t\tT = sc.next();\n\n\n\n\t\tString B = T.substring(0, S.length());\n\n\t\tif(S.equals(B)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String S", "S", "T;", "T", "char a[] = new char[13];", "a", "new char[13]", "13", "S = sc.next()", "S", "sc.next()", "sc.next", "sc", "T = sc.next()", "T", "sc.next()", "sc.next", "sc", "String B = T.substring(0, S.length());", "B", "T.substring(0, S.length())", "T.substring", "T", "0", "S.length()", "S.length", "S", "if(S.equals(B)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "S.equals(B)", "S.equals", "S", "B", "{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S, T;\n\t\tchar a[] = new char[13];\n\t\tS = sc.next();\n\t\tT = sc.next();\n\n\n\n\t\tString B = T.substring(0, S.length());\n\n\t\tif(S.equals(B)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S, T;\n\t\tchar a[] = new char[13];\n\t\tS = sc.next();\n\t\tT = sc.next();\n\n\n\n\t\tString B = T.substring(0, S.length());\n\n\t\tif(S.equals(B)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); String S, T; char a[] = new char[13]; S = sc.next(); T = sc.next(); String B = T.substring(0, S.length()); if(S.equals(B)) { System.out.println("Yes"); }else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 17, 14, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 54, 8 ], [ 54, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 27, 31 ], [ 11, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 32, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 32, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 9, 51 ], [ 51, 52 ], [ 0, 53 ], [ 53, 54 ], [ 53, 55 ] ]
[ "import java.lang.System.*;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner S = new Scanner(System.in);\n String s = S.nextLine();\n String t = S.nextLine();\n\n String p = t.replaceFirst(\".$\", \"\");\n if (s.equals(p)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}\n", "import java.lang.System.*;", "System.*", "java.lang", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner S = new Scanner(System.in);\n String s = S.nextLine();\n String t = S.nextLine();\n\n String p = t.replaceFirst(\".$\", \"\");\n if (s.equals(p)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner S = new Scanner(System.in);\n String s = S.nextLine();\n String t = S.nextLine();\n\n String p = t.replaceFirst(\".$\", \"\");\n if (s.equals(p)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }", "main", "{\n Scanner S = new Scanner(System.in);\n String s = S.nextLine();\n String t = S.nextLine();\n\n String p = t.replaceFirst(\".$\", \"\");\n if (s.equals(p)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }", "Scanner S = new Scanner(System.in);", "S", "new Scanner(System.in)", "String s = S.nextLine();", "s", "S.nextLine()", "S.nextLine", "S", "String t = S.nextLine();", "t", "S.nextLine()", "S.nextLine", "S", "String p = t.replaceFirst(\".$\", \"\");", "p", "t.replaceFirst(\".$\", \"\")", "t.replaceFirst", "t", "\".$\"", "\"\"", "if (s.equals(p)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }", "s.equals(p)", "s.equals", "s", "p", "{\n System.out.println(\"Yes\");\n }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n System.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner S = new Scanner(System.in);\n String s = S.nextLine();\n String t = S.nextLine();\n\n String p = t.replaceFirst(\".$\", \"\");\n if (s.equals(p)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner S = new Scanner(System.in);\n String s = S.nextLine();\n String t = S.nextLine();\n\n String p = t.replaceFirst(\".$\", \"\");\n if (s.equals(p)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "Main" ]
import java.lang.System.*; import java.util.*; public class Main { public static void main(String[] args) { Scanner S = new Scanner(System.in); String s = S.nextLine(); String t = S.nextLine(); String p = t.replaceFirst(".$", ""); if (s.equals(p)) { System.out.println("Yes"); } else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 8, 2, 2, 4, 18, 13, 17, 4, 18, 13, 17, 2, 4, 18, 4, 18, 13, 13, 17, 17, 17, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 52, 5 ], [ 52, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 29, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 28, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 41, 45 ], [ 38, 46 ], [ 27, 47 ], [ 27, 48 ], [ 6, 49 ], [ 49, 50 ], [ 0, 51 ], [ 51, 52 ], [ 51, 53 ] ]
[ "import java.util.Scanner;\n//import java.util.Arrays;\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tSystem.out.println(s.charAt(0) == t.charAt(0) && t.replaceFirst(s, \"\").length() == 1 ? \"Yes\" : \"No\");\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tSystem.out.println(s.charAt(0) == t.charAt(0) && t.replaceFirst(s, \"\").length() == 1 ? \"Yes\" : \"No\");\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tSystem.out.println(s.charAt(0) == t.charAt(0) && t.replaceFirst(s, \"\").length() == 1 ? \"Yes\" : \"No\");\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tSystem.out.println(s.charAt(0) == t.charAt(0) && t.replaceFirst(s, \"\").length() == 1 ? \"Yes\" : \"No\");\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "String t = sc.next();", "t", "sc.next()", "sc.next", "sc", "System.out.println(s.charAt(0) == t.charAt(0) && t.replaceFirst(s, \"\").length() == 1 ? \"Yes\" : \"No\")", "System.out.println", "System.out", "System", "System.out", "s.charAt(0) == t.charAt(0) && t.replaceFirst(s, \"\").length() == 1 ? \"Yes\" : \"No\"", "s.charAt(0) == t.charAt(0) && t.replaceFirst(s, \"\").length() == 1", "s.charAt(0) == t.charAt(0)", "s.charAt(0)", "s.charAt", "s", "0", "t.charAt(0)", "t.charAt", "t", "0", "t.replaceFirst(s, \"\").length() == 1", "t.replaceFirst(s, \"\").length()", "t.replaceFirst(s, \"\").length", "t.replaceFirst(s, \"\")", "t.replaceFirst", "t", "s", "\"\"", "1", "\"Yes\"", "\"No\"", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tSystem.out.println(s.charAt(0) == t.charAt(0) && t.replaceFirst(s, \"\").length() == 1 ? \"Yes\" : \"No\");\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tSystem.out.println(s.charAt(0) == t.charAt(0) && t.replaceFirst(s, \"\").length() == 1 ? \"Yes\" : \"No\");\n\t}\n}", "Main" ]
import java.util.Scanner; //import java.util.Arrays; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s = sc.next(); String t = sc.next(); System.out.println(s.charAt(0) == t.charAt(0) && t.replaceFirst(s, "").length() == 1 ? "Yes" : "No"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 13, 14, 2, 13, 13, 30, 0, 13, 17, 3, 14, 13, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 78, 5 ], [ 78, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 25, 35 ], [ 35, 36 ], [ 36, 37 ], [ 25, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 39, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 39, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 8, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 61, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 6, 75 ], [ 75, 76 ], [ 0, 77 ], [ 77, 78 ], [ 77, 79 ] ]
[ "\n\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sr = new Scanner(System.in);\n\t\tString str = sr.next();\n\t\tString str2 = sr.next();\n\t\tboolean flag = true; \n\t\tfor(int i = 0; i < str.length(); i++) {\n\t\t\tchar ch = str.charAt(i);\n\t\t\tchar ch2 = str2.charAt(i);\n\t\t\tif(ch != ch2) {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(flag)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sr = new Scanner(System.in);\n\t\tString str = sr.next();\n\t\tString str2 = sr.next();\n\t\tboolean flag = true; \n\t\tfor(int i = 0; i < str.length(); i++) {\n\t\t\tchar ch = str.charAt(i);\n\t\t\tchar ch2 = str2.charAt(i);\n\t\t\tif(ch != ch2) {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(flag)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sr = new Scanner(System.in);\n\t\tString str = sr.next();\n\t\tString str2 = sr.next();\n\t\tboolean flag = true; \n\t\tfor(int i = 0; i < str.length(); i++) {\n\t\t\tchar ch = str.charAt(i);\n\t\t\tchar ch2 = str2.charAt(i);\n\t\t\tif(ch != ch2) {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(flag)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}", "main", "{\n\t\tScanner sr = new Scanner(System.in);\n\t\tString str = sr.next();\n\t\tString str2 = sr.next();\n\t\tboolean flag = true; \n\t\tfor(int i = 0; i < str.length(); i++) {\n\t\t\tchar ch = str.charAt(i);\n\t\t\tchar ch2 = str2.charAt(i);\n\t\t\tif(ch != ch2) {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(flag)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}", "Scanner sr = new Scanner(System.in);", "sr", "new Scanner(System.in)", "String str = sr.next();", "str", "sr.next()", "sr.next", "sr", "String str2 = sr.next();", "str2", "sr.next()", "sr.next", "sr", "boolean flag = true;", "flag", "true", "for(int i = 0; i < str.length(); i++) {\n\t\t\tchar ch = str.charAt(i);\n\t\t\tchar ch2 = str2.charAt(i);\n\t\t\tif(ch != ch2) {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < str.length()", "i", "str.length()", "str.length", "str", "i++", "i++", "i", "{\n\t\t\tchar ch = str.charAt(i);\n\t\t\tchar ch2 = str2.charAt(i);\n\t\t\tif(ch != ch2) {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "{\n\t\t\tchar ch = str.charAt(i);\n\t\t\tchar ch2 = str2.charAt(i);\n\t\t\tif(ch != ch2) {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "char ch = str.charAt(i);", "ch", "str.charAt(i)", "str.charAt", "str", "i", "char ch2 = str2.charAt(i);", "ch2", "str2.charAt(i)", "str2.charAt", "str2", "i", "if(ch != ch2) {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}", "ch != ch2", "ch", "ch2", "{\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}", "flag = false", "flag", "false", "break;", "if(flag)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");", "flag", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sr = new Scanner(System.in);\n\t\tString str = sr.next();\n\t\tString str2 = sr.next();\n\t\tboolean flag = true; \n\t\tfor(int i = 0; i < str.length(); i++) {\n\t\t\tchar ch = str.charAt(i);\n\t\t\tchar ch2 = str2.charAt(i);\n\t\t\tif(ch != ch2) {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(flag)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sr = new Scanner(System.in);\n\t\tString str = sr.next();\n\t\tString str2 = sr.next();\n\t\tboolean flag = true; \n\t\tfor(int i = 0; i < str.length(); i++) {\n\t\t\tchar ch = str.charAt(i);\n\t\t\tchar ch2 = str2.charAt(i);\n\t\t\tif(ch != ch2) {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(flag)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sr = new Scanner(System.in); String str = sr.next(); String str2 = sr.next(); boolean flag = true; for(int i = 0; i < str.length(); i++) { char ch = str.charAt(i); char ch2 = str2.charAt(i); if(ch != ch2) { flag = false; break; } } if(flag) System.out.println("Yes"); else System.out.println("No"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 4, 18, 13, 4, 18, 13, 17, 2, 4, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 54, 5 ], [ 54, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 27, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 31, 35 ], [ 23, 36 ], [ 22, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 22, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 6, 51 ], [ 51, 52 ], [ 0, 53 ], [ 53, 54 ], [ 53, 55 ] ]
[ "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 in = new Scanner(System.in);\n\t\tString s=in.next();\n\t\tString str=in.next();\n\t\tif(s.compareToIgnoreCase(str.substring(0,str.length()-1))==0)\n\t\t{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\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 in = new Scanner(System.in);\n\t\tString s=in.next();\n\t\tString str=in.next();\n\t\tif(s.compareToIgnoreCase(str.substring(0,str.length()-1))==0)\n\t\t{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner in = new Scanner(System.in);\n\t\tString s=in.next();\n\t\tString str=in.next();\n\t\tif(s.compareToIgnoreCase(str.substring(0,str.length()-1))==0)\n\t\t{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\tScanner in = new Scanner(System.in);\n\t\tString s=in.next();\n\t\tString str=in.next();\n\t\tif(s.compareToIgnoreCase(str.substring(0,str.length()-1))==0)\n\t\t{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "String s=in.next();", "s", "in.next()", "in.next", "in", "String str=in.next();", "str", "in.next()", "in.next", "in", "if(s.compareToIgnoreCase(str.substring(0,str.length()-1))==0)\n\t\t{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "s.compareToIgnoreCase(str.substring(0,str.length()-1))==0", "s.compareToIgnoreCase(str.substring(0,str.length()-1))", "s.compareToIgnoreCase", "s", "str.substring(0,str.length()-1)", "str.substring", "str", "0", "str.length()-1", "str.length()", "str.length", "str", "1", "0", "{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n \n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner in = new Scanner(System.in);\n\t\tString s=in.next();\n\t\tString str=in.next();\n\t\tif(s.compareToIgnoreCase(str.substring(0,str.length()-1))==0)\n\t\t{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"No\");\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\tScanner in = new Scanner(System.in);\n\t\tString s=in.next();\n\t\tString str=in.next();\n\t\tif(s.compareToIgnoreCase(str.substring(0,str.length()-1))==0)\n\t\t{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner in = new Scanner(System.in); String s=in.next(); String str=in.next(); if(s.compareToIgnoreCase(str.substring(0,str.length()-1))==0) { System.out.println("Yes"); } else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 13, 4, 18, 13, 13, 0, 13, 17, 4, 18, 13, 8, 13, 17, 17, 4, 18, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 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 ], [ 160, 8 ], [ 160, 9 ], [ 9, 10 ], [ 9, 11 ], [ 160, 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 ], [ 14, 28 ], [ 28, 29 ], [ 28, 30 ], [ 14, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 31, 41 ], [ 41, 42 ], [ 42, 43 ], [ 31, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 46, 56 ], [ 56, 57 ], [ 56, 58 ], [ 14, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 62, 63 ], [ 62, 64 ], [ 62, 65 ], [ 14, 66 ], [ 66, 67 ], [ 67, 68 ], [ 12, 69 ], [ 69, 70 ], [ 160, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 71, 75 ], [ 75, 76 ], [ 71, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 71, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 86, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 96, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 85, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 71, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 115, 118 ], [ 118, 119 ], [ 71, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 124, 127 ], [ 127, 128 ], [ 71, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 133, 136 ], [ 136, 137 ], [ 71, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 144, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 140, 157 ], [ 157, 158 ], [ 0, 159 ], [ 159, 160 ], [ 159, 161 ] ]
[ "import java.util.*;\nimport java.io.*;\npublic class Main {\n static PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n \n public static void main(String[] args) {\n MyScanner ms = new MyScanner();\n String T = ms.nextLine();\n String S = ms.nextLine();\n boolean game = true;\n for(int i=0;i<T.length();i++){\n if(S.charAt(i)!=T.charAt(i))\n game = false;\n }\n pw.println(game?\"Yes\":\"No\");\n pw.flush();\n }\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n static PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n \n public static void main(String[] args) {\n MyScanner ms = new MyScanner();\n String T = ms.nextLine();\n String S = ms.nextLine();\n boolean game = true;\n for(int i=0;i<T.length();i++){\n if(S.charAt(i)!=T.charAt(i))\n game = false;\n }\n pw.println(game?\"Yes\":\"No\");\n pw.flush();\n }\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }\n}", "Main", "static PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));", "pw", "new PrintWriter(new OutputStreamWriter(System.out))", "public static void main(String[] args) {\n MyScanner ms = new MyScanner();\n String T = ms.nextLine();\n String S = ms.nextLine();\n boolean game = true;\n for(int i=0;i<T.length();i++){\n if(S.charAt(i)!=T.charAt(i))\n game = false;\n }\n pw.println(game?\"Yes\":\"No\");\n pw.flush();\n }", "main", "{\n MyScanner ms = new MyScanner();\n String T = ms.nextLine();\n String S = ms.nextLine();\n boolean game = true;\n for(int i=0;i<T.length();i++){\n if(S.charAt(i)!=T.charAt(i))\n game = false;\n }\n pw.println(game?\"Yes\":\"No\");\n pw.flush();\n }", "MyScanner ms = new MyScanner();", "ms", "new MyScanner()", "String T = ms.nextLine();", "T", "ms.nextLine()", "ms.nextLine", "ms", "String S = ms.nextLine();", "S", "ms.nextLine()", "ms.nextLine", "ms", "boolean game = true;", "game", "true", "for(int i=0;i<T.length();i++){\n if(S.charAt(i)!=T.charAt(i))\n game = false;\n }", "int i=0;", "int i=0;", "i", "0", "i<T.length()", "i", "T.length()", "T.length", "T", "i++", "i++", "i", "{\n if(S.charAt(i)!=T.charAt(i))\n game = false;\n }", "{\n if(S.charAt(i)!=T.charAt(i))\n game = false;\n }", "if(S.charAt(i)!=T.charAt(i))\n game = false;", "S.charAt(i)!=T.charAt(i)", "S.charAt(i)", "S.charAt", "S", "i", "T.charAt(i)", "T.charAt", "T", "i", "game = false", "game", "false", "pw.println(game?\"Yes\":\"No\")", "pw.println", "pw", "game?\"Yes\":\"No\"", "game", "\"Yes\"", "\"No\"", "pw.flush()", "pw.flush", "pw", "String[] args", "args", "public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }", "MyScanner", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "MyScanner", "{\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble() {\n return Double.parseDouble(next());\n }", "nextDouble", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }", "nextLine", "{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }", "String str = \"\";", "str", "\"\"", "try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n str = br.readLine();\n }", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str", "public class Main {\n static PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n \n public static void main(String[] args) {\n MyScanner ms = new MyScanner();\n String T = ms.nextLine();\n String S = ms.nextLine();\n boolean game = true;\n for(int i=0;i<T.length();i++){\n if(S.charAt(i)!=T.charAt(i))\n game = false;\n }\n pw.println(game?\"Yes\":\"No\");\n pw.flush();\n }\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }\n}", "public class Main {\n static PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n \n public static void main(String[] args) {\n MyScanner ms = new MyScanner();\n String T = ms.nextLine();\n String S = ms.nextLine();\n boolean game = true;\n for(int i=0;i<T.length();i++){\n if(S.charAt(i)!=T.charAt(i))\n game = false;\n }\n pw.println(game?\"Yes\":\"No\");\n pw.flush();\n }\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { static PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out)); public static void main(String[] args) { MyScanner ms = new MyScanner(); String T = ms.nextLine(); String S = ms.nextLine(); boolean game = true; for(int i=0;i<T.length();i++){ if(S.charAt(i)!=T.charAt(i)) game = false; } pw.println(game?"Yes":"No"); pw.flush(); } public static class MyScanner { BufferedReader br; StringTokenizer st; public MyScanner() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while (st == null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } long nextLong() { return Long.parseLong(next()); } double nextDouble() { return Double.parseDouble(next()); } String nextLine(){ String str = ""; try { str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } return str; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 14, 2, 2, 4, 18, 13, 17, 4, 18, 13, 30, 0, 13, 17, 14, 4, 18, 13, 4, 18, 13, 17, 2, 4, 18, 13, 17, 30, 30, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 66, 5 ], [ 66, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 27, 31 ], [ 26, 32 ], [ 32, 33 ], [ 33, 34 ], [ 25, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 43, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 47, 51 ], [ 39, 52 ], [ 39, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 8, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 6, 63 ], [ 63, 64 ], [ 0, 65 ], [ 65, 66 ], [ 65, 67 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tString ans = \"Yes\";\n\t\t\n\t\tif (S.length()+1!=T.length()) {\n\t\t\tans = \"No\";\t\n\t\t}\n\t\tif (S.equals(T.substring(0, T.length()-1))) {\t\n\t\t}\n\t\telse{\n\t\tans = \"No\";}\n\t\tSystem.out.println(ans);\n\t\t\n\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tString ans = \"Yes\";\n\t\t\n\t\tif (S.length()+1!=T.length()) {\n\t\t\tans = \"No\";\t\n\t\t}\n\t\tif (S.equals(T.substring(0, T.length()-1))) {\t\n\t\t}\n\t\telse{\n\t\tans = \"No\";}\n\t\tSystem.out.println(ans);\n\t\t\n\n }\n}", "Main", "public static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tString ans = \"Yes\";\n\t\t\n\t\tif (S.length()+1!=T.length()) {\n\t\t\tans = \"No\";\t\n\t\t}\n\t\tif (S.equals(T.substring(0, T.length()-1))) {\t\n\t\t}\n\t\telse{\n\t\tans = \"No\";}\n\t\tSystem.out.println(ans);\n\t\t\n\n }", "main", "{\n \tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tString ans = \"Yes\";\n\t\t\n\t\tif (S.length()+1!=T.length()) {\n\t\t\tans = \"No\";\t\n\t\t}\n\t\tif (S.equals(T.substring(0, T.length()-1))) {\t\n\t\t}\n\t\telse{\n\t\tans = \"No\";}\n\t\tSystem.out.println(ans);\n\t\t\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String S = sc.next();", "S", "sc.next()", "sc.next", "sc", "String T = sc.next();", "T", "sc.next()", "sc.next", "sc", "String ans = \"Yes\";", "ans", "\"Yes\"", "if (S.length()+1!=T.length()) {\n\t\t\tans = \"No\";\t\n\t\t}", "S.length()+1!=T.length()", "S.length()+1", "S.length()", "S.length", "S", "1", "T.length()", "T.length", "T", "{\n\t\t\tans = \"No\";\t\n\t\t}", "ans = \"No\"", "ans", "\"No\"", "if (S.equals(T.substring(0, T.length()-1))) {\t\n\t\t}\n\t\telse{\n\t\tans = \"No\";}", "S.equals(T.substring(0, T.length()-1))", "S.equals", "S", "T.substring(0, T.length()-1)", "T.substring", "T", "0", "T.length()-1", "T.length()", "T.length", "T", "1", "{\t\n\t\t}", "{\n\t\tans = \"No\";}", "ans = \"No\"", "ans", "\"No\"", "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 \tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tString ans = \"Yes\";\n\t\t\n\t\tif (S.length()+1!=T.length()) {\n\t\t\tans = \"No\";\t\n\t\t}\n\t\tif (S.equals(T.substring(0, T.length()-1))) {\t\n\t\t}\n\t\telse{\n\t\tans = \"No\";}\n\t\tSystem.out.println(ans);\n\t\t\n\n }\n}", "public class Main {\n\tpublic static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString T = sc.next();\n\t\tString ans = \"Yes\";\n\t\t\n\t\tif (S.length()+1!=T.length()) {\n\t\t\tans = \"No\";\t\n\t\t}\n\t\tif (S.equals(T.substring(0, T.length()-1))) {\t\n\t\t}\n\t\telse{\n\t\tans = \"No\";}\n\t\tSystem.out.println(ans);\n\t\t\n\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String S = sc.next(); String T = sc.next(); String ans = "Yes"; if (S.length()+1!=T.length()) { ans = "No"; } if (S.equals(T.substring(0, T.length()-1))) { } else{ ans = "No";} System.out.println(ans); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 4, 18, 13, 4, 18, 13, 17, 2, 4, 18, 13, 17, 2, 4, 18, 13, 2, 4, 18, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 66, 11 ], [ 66, 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 ], [ 14, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 33, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 37, 41 ], [ 29, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 46, 50 ], [ 28, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 28, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 12, 63 ], [ 63, 64 ], [ 0, 65 ], [ 65, 66 ], [ 65, 67 ] ]
[ "import java.util.*;\nimport java.io.*;\nimport java.lang.*;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String a = sc.next();\n String b = sc.next();\n\n if (a.equals(b.substring(0,b.length()-1)) && (b.length() == (a.length()+1)))\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "import java.lang.*;", "lang.*", "java", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String a = sc.next();\n String b = sc.next();\n\n if (a.equals(b.substring(0,b.length()-1)) && (b.length() == (a.length()+1)))\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String a = sc.next();\n String b = sc.next();\n\n if (a.equals(b.substring(0,b.length()-1)) && (b.length() == (a.length()+1)))\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n String a = sc.next();\n String b = sc.next();\n\n if (a.equals(b.substring(0,b.length()-1)) && (b.length() == (a.length()+1)))\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String a = sc.next();", "a", "sc.next()", "sc.next", "sc", "String b = sc.next();", "b", "sc.next()", "sc.next", "sc", "if (a.equals(b.substring(0,b.length()-1)) && (b.length() == (a.length()+1)))\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");", "a.equals(b.substring(0,b.length()-1)) && (b.length() == (a.length()+1))", "a.equals(b.substring(0,b.length()-1))", "a.equals", "a", "b.substring(0,b.length()-1)", "b.substring", "b", "0", "b.length()-1", "b.length()", "b.length", "b", "1", "(b.length() == (a.length()+1))", "b.length()", "b.length", "b", "(a.length()+1)", "a.length()", "a.length", "a", "1", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String a = sc.next();\n String b = sc.next();\n\n if (a.equals(b.substring(0,b.length()-1)) && (b.length() == (a.length()+1)))\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n String a = sc.next();\n String b = sc.next();\n\n if (a.equals(b.substring(0,b.length()-1)) && (b.length() == (a.length()+1)))\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}", "Main" ]
import java.util.*; import java.io.*; import java.lang.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String a = sc.next(); String b = sc.next(); if (a.equals(b.substring(0,b.length()-1)) && (b.length() == (a.length()+1))) System.out.println("Yes"); else System.out.println("No"); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 18, 13, 13, 30, 0, 13, 17, 3, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 87, 8 ], [ 87, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 11, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 11, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 11, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 38, 48 ], [ 48, 49 ], [ 49, 50 ], [ 38, 51 ], [ 52, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 58, 60 ], [ 53, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 11, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 66, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 9, 84 ], [ 84, 85 ], [ 0, 86 ], [ 86, 87 ], [ 86, 88 ] ]
[ "import java.util.*;\nimport java.util.Arrays;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n int flag = 0;\n char []x =a.toCharArray();\n char []y =b.toCharArray();\n for(int i=0;i<x.length;i++){\n if(x[i]!=y[i]){\n flag = 1;\n break;\n }\n }\n if(flag==0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n\n }\n\n \n\n \n }\n}", "import java.util.*;", "util.*", "java", "import java.util.Arrays;", "Arrays", "java.util", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n int flag = 0;\n char []x =a.toCharArray();\n char []y =b.toCharArray();\n for(int i=0;i<x.length;i++){\n if(x[i]!=y[i]){\n flag = 1;\n break;\n }\n }\n if(flag==0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n\n }\n\n \n\n \n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n int flag = 0;\n char []x =a.toCharArray();\n char []y =b.toCharArray();\n for(int i=0;i<x.length;i++){\n if(x[i]!=y[i]){\n flag = 1;\n break;\n }\n }\n if(flag==0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n\n }\n\n \n\n \n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n int flag = 0;\n char []x =a.toCharArray();\n char []y =b.toCharArray();\n for(int i=0;i<x.length;i++){\n if(x[i]!=y[i]){\n flag = 1;\n break;\n }\n }\n if(flag==0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n\n }\n\n \n\n \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String a = sc.next();", "a", "sc.next()", "sc.next", "sc", "String b = sc.next();", "b", "sc.next()", "sc.next", "sc", "int flag = 0;", "flag", "0", "char []x =a.toCharArray();", "x", "a.toCharArray()", "a.toCharArray", "a", "char []y =b.toCharArray();", "y", "b.toCharArray()", "b.toCharArray", "b", "for(int i=0;i<x.length;i++){\n if(x[i]!=y[i]){\n flag = 1;\n break;\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<x.length", "i", "x.length", "x", "x.length", "i++", "i++", "i", "{\n if(x[i]!=y[i]){\n flag = 1;\n break;\n }\n }", "{\n if(x[i]!=y[i]){\n flag = 1;\n break;\n }\n }", "if(x[i]!=y[i]){\n flag = 1;\n break;\n }", "x[i]!=y[i]", "x[i]", "x", "i", "y[i]", "y", "i", "{\n flag = 1;\n break;\n }", "flag = 1", "flag", "1", "break;", "if(flag==0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n\n }", "flag==0", "flag", "0", "{\n System.out.println(\"Yes\");\n }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n System.out.println(\"No\");\n\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n int flag = 0;\n char []x =a.toCharArray();\n char []y =b.toCharArray();\n for(int i=0;i<x.length;i++){\n if(x[i]!=y[i]){\n flag = 1;\n break;\n }\n }\n if(flag==0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n\n }\n\n \n\n \n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n String b = sc.next();\n int flag = 0;\n char []x =a.toCharArray();\n char []y =b.toCharArray();\n for(int i=0;i<x.length;i++){\n if(x[i]!=y[i]){\n flag = 1;\n break;\n }\n }\n if(flag==0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n\n }\n\n \n\n \n }\n}", "Main" ]
import java.util.*; import java.util.Arrays; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String a = sc.next(); String b = sc.next(); int flag = 0; char []x =a.toCharArray(); char []y =b.toCharArray(); for(int i=0;i<x.length;i++){ if(x[i]!=y[i]){ flag = 1; break; } } if(flag==0){ System.out.println("Yes"); } else{ System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 4, 18, 13, 17, 4, 18, 13, 30, 41, 13, 4, 18, 13, 17, 4, 18, 13, 14, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 71, 5 ], [ 71, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 24, 28 ], [ 23, 29 ], [ 29, 30 ], [ 30, 31 ], [ 22, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 35, 39 ], [ 39, 40 ], [ 40, 41 ], [ 32, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 42, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 42, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 22, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 6, 68 ], [ 68, 69 ], [ 0, 70 ], [ 70, 71 ], [ 70, 72 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n String T = sc.nextLine();\n\t\tif(S.length() + 1 == T.length()) {\n\t\t\t\n\t\t\tString TS = T.substring(0,S.length());\n\t\t\tif(TS.equals (S)) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t\t\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n String T = sc.nextLine();\n\t\tif(S.length() + 1 == T.length()) {\n\t\t\t\n\t\t\tString TS = T.substring(0,S.length());\n\t\t\tif(TS.equals (S)) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t\t\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n String T = sc.nextLine();\n\t\tif(S.length() + 1 == T.length()) {\n\t\t\t\n\t\t\tString TS = T.substring(0,S.length());\n\t\t\tif(TS.equals (S)) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t\t\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n String T = sc.nextLine();\n\t\tif(S.length() + 1 == T.length()) {\n\t\t\t\n\t\t\tString TS = T.substring(0,S.length());\n\t\t\tif(TS.equals (S)) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t\t\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String S = sc.nextLine();", "S", "sc.nextLine()", "sc.nextLine", "sc", "String T = sc.nextLine();", "T", "sc.nextLine()", "sc.nextLine", "sc", "if(S.length() + 1 == T.length()) {\n\t\t\t\n\t\t\tString TS = T.substring(0,S.length());\n\t\t\tif(TS.equals (S)) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t\t\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "S.length() + 1 == T.length()", "S.length() + 1", "S.length()", "S.length", "S", "1", "T.length()", "T.length", "T", "{\n\t\t\t\n\t\t\tString TS = T.substring(0,S.length());\n\t\t\tif(TS.equals (S)) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t\t\n\t\t}", "String TS = T.substring(0,S.length());", "TS", "T.substring(0,S.length())", "T.substring", "T", "0", "S.length()", "S.length", "S", "if(TS.equals (S)) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}", "TS.equals (S)", "TS.equals", "TS", "S", "{\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "{\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n String T = sc.nextLine();\n\t\tif(S.length() + 1 == T.length()) {\n\t\t\t\n\t\t\tString TS = T.substring(0,S.length());\n\t\t\tif(TS.equals (S)) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t\t\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n String T = sc.nextLine();\n\t\tif(S.length() + 1 == T.length()) {\n\t\t\t\n\t\t\tString TS = T.substring(0,S.length());\n\t\t\tif(TS.equals (S)) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t\t\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String S = sc.nextLine(); String T = sc.nextLine(); if(S.length() + 1 == T.length()) { String TS = T.substring(0,S.length()); if(TS.equals (S)) { System.out.println("Yes"); }else { System.out.println("No"); } }else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 4, 18, 13, 17, 4, 18, 13, 13, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13, 12, 13, 30, 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, 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 ], [ 180, 23 ], [ 180, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 26, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 26, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 43, 47 ], [ 47, 48 ], [ 48, 49 ], [ 41, 50 ], [ 40, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 40, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 24, 63 ], [ 63, 64 ], [ 0, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 65, 69 ], [ 69, 70 ], [ 65, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 74, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 71, 85 ], [ 85, 86 ], [ 65, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 90, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 87, 101 ], [ 101, 102 ], [ 65, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 109, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 105, 122 ], [ 122, 123 ], [ 65, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 127, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 137, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 126, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 65, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 156, 159 ], [ 159, 160 ], [ 65, 161 ], [ 161, 162 ], [ 161, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 165, 168 ], [ 168, 169 ], [ 65, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 174, 177 ], [ 177, 178 ], [ 0, 179 ], [ 179, 180 ], [ 179, 181 ] ]
[ "\n\nimport java.io.BufferedReader;\nimport java.io.File;\nimport java.io.FileReader;\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\t// TODO Auto-generated method stub\n\t\tFastScanner in = new FastScanner(System.in);\n\t\tString s1 = in.nextLine();\n\t\tString s2 = in.nextLine();\n\t\tif(s2.substring(0, s1.length()).equals(s1)) System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");\n\t}\n\n}\n///////////////////////////////////TEMPLATE///////////////////////////////////\nclass FastScanner {\n\tBufferedReader br;\n\tStringTokenizer st;\n\n\tFastScanner(InputStream stream) {\n\t\ttry {\n\t\t\tbr = new BufferedReader(new InputStreamReader(stream));\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n\tFastScanner(File input) {\n\t\ttry {\n\t\t\tbr = new BufferedReader(new FileReader(input));\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n\tString nextLine() {\n\t\tString s = \"\";\n\t\ttry {\n\t\t\ts = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn s;\n\t}\n\n\tString next() {\n\t\twhile (st == null || !st.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\n\tint nextInt() {\n\t\treturn Integer.parseInt(next());\n\t}\n\n\tlong nextLong() {\n\t\treturn Long.parseLong(next());\n\t}\n\n\tdouble nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.File;", "File", "java.io", "import java.io.FileReader;", "FileReader", "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\t// TODO Auto-generated method stub\n\t\tFastScanner in = new FastScanner(System.in);\n\t\tString s1 = in.nextLine();\n\t\tString s2 = in.nextLine();\n\t\tif(s2.substring(0, s1.length()).equals(s1)) System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tFastScanner in = new FastScanner(System.in);\n\t\tString s1 = in.nextLine();\n\t\tString s2 = in.nextLine();\n\t\tif(s2.substring(0, s1.length()).equals(s1)) System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\tFastScanner in = new FastScanner(System.in);\n\t\tString s1 = in.nextLine();\n\t\tString s2 = in.nextLine();\n\t\tif(s2.substring(0, s1.length()).equals(s1)) System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");\n\t}", "FastScanner in = new FastScanner(System.in);", "in", "new FastScanner(System.in)", "String s1 = in.nextLine();", "s1", "in.nextLine()", "in.nextLine", "in", "String s2 = in.nextLine();", "s2", "in.nextLine()", "in.nextLine", "in", "if(s2.substring(0, s1.length()).equals(s1)) System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");", "s2.substring(0, s1.length()).equals(s1)", "s2.substring(0, s1.length()).equals", "s2.substring(0, s1.length())", "s2.substring", "s2", "0", "s1.length()", "s1.length", "s1", "s1", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "class FastScanner {\n\tBufferedReader br;\n\tStringTokenizer st;\n\n\tFastScanner(InputStream stream) {\n\t\ttry {\n\t\t\tbr = new BufferedReader(new InputStreamReader(stream));\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n\tFastScanner(File input) {\n\t\ttry {\n\t\t\tbr = new BufferedReader(new FileReader(input));\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n\tString nextLine() {\n\t\tString s = \"\";\n\t\ttry {\n\t\t\ts = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn s;\n\t}\n\n\tString next() {\n\t\twhile (st == null || !st.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\n\tint nextInt() {\n\t\treturn Integer.parseInt(next());\n\t}\n\n\tlong nextLong() {\n\t\treturn Long.parseLong(next());\n\t}\n\n\tdouble nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}\n}", "FastScanner", "BufferedReader br;", "br", "StringTokenizer st;", "st", "FastScanner(InputStream stream) {\n\t\ttry {\n\t\t\tbr = new BufferedReader(new InputStreamReader(stream));\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "FastScanner", "{\n\t\ttry {\n\t\t\tbr = new BufferedReader(new InputStreamReader(stream));\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "try {\n\t\t\tbr = new BufferedReader(new InputStreamReader(stream));\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}", "catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}", "Exception e", "{\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\tbr = new BufferedReader(new InputStreamReader(stream));\n\t\t}", "br = new BufferedReader(new InputStreamReader(stream))", "br", "new BufferedReader(new InputStreamReader(stream))", "InputStream stream", "stream", "FastScanner(File input) {\n\t\ttry {\n\t\t\tbr = new BufferedReader(new FileReader(input));\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "FastScanner", "{\n\t\ttry {\n\t\t\tbr = new BufferedReader(new FileReader(input));\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "try {\n\t\t\tbr = new BufferedReader(new FileReader(input));\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}", "catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}", "Exception e", "{\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\tbr = new BufferedReader(new FileReader(input));\n\t\t}", "br = new BufferedReader(new FileReader(input))", "br", "new BufferedReader(new FileReader(input))", "File input", "input", "String nextLine() {\n\t\tString s = \"\";\n\t\ttry {\n\t\t\ts = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn s;\n\t}", "nextLine", "{\n\t\tString s = \"\";\n\t\ttry {\n\t\t\ts = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn s;\n\t}", "String s = \"\";", "s", "\"\"", "try {\n\t\t\ts = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}", "catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}", "IOException e", "{\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\ts = br.readLine();\n\t\t}", "s = br.readLine()", "s", "br.readLine()", "br.readLine", "br", "return s;", "s", "String next() {\n\t\twhile (st == null || !st.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}", "next", "{\n\t\twhile (st == null || !st.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}", "while (st == null || !st.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}", "try {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}", "catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}", "IOException e", "{\n\t\t\t\te.printStackTrace();\n\t\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t}", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n\t\treturn Integer.parseInt(next());\n\t}", "nextInt", "{\n\t\treturn Integer.parseInt(next());\n\t}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() {\n\t\treturn Long.parseLong(next());\n\t}", "nextLong", "{\n\t\treturn Long.parseLong(next());\n\t}", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}", "nextDouble", "{\n\t\treturn Double.parseDouble(next());\n\t}", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tFastScanner in = new FastScanner(System.in);\n\t\tString s1 = in.nextLine();\n\t\tString s2 = in.nextLine();\n\t\tif(s2.substring(0, s1.length()).equals(s1)) System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");\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\tFastScanner in = new FastScanner(System.in);\n\t\tString s1 = in.nextLine();\n\t\tString s2 = in.nextLine();\n\t\tif(s2.substring(0, s1.length()).equals(s1)) System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.File; import java.io.FileReader; 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) { // TODO Auto-generated method stub FastScanner in = new FastScanner(System.in); String s1 = in.nextLine(); String s2 = in.nextLine(); if(s2.substring(0, s1.length()).equals(s1)) System.out.println("Yes"); else System.out.println("No"); } } ///////////////////////////////////TEMPLATE/////////////////////////////////// class FastScanner { BufferedReader br; StringTokenizer st; FastScanner(InputStream stream) { try { br = new BufferedReader(new InputStreamReader(stream)); } catch (Exception e) { e.printStackTrace(); } } FastScanner(File input) { try { br = new BufferedReader(new FileReader(input)); } catch (Exception e) { e.printStackTrace(); } } String nextLine() { String s = ""; try { s = br.readLine(); } catch (IOException e) { e.printStackTrace(); } return s; } String next() { while (st == null || !st.hasMoreTokens()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } long nextLong() { return Long.parseLong(next()); } double nextDouble() { return Double.parseDouble(next()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 2, 4, 18, 13, 17, 14, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 58, 5 ], [ 58, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 27, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 31, 35 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 36, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 36, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 6, 55 ], [ 55, 56 ], [ 0, 57 ], [ 57, 58 ], [ 57, 59 ] ]
[ "import java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner =new Scanner(System.in);\n\t\tString line1 = scanner.nextLine();\n\t\tString line2 = scanner.nextLine();\n\t\tscanner.close();\n\t\tString diff = line2.substring(0, line2.length() - 1);\n\t\tif (line1.equals(diff)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner =new Scanner(System.in);\n\t\tString line1 = scanner.nextLine();\n\t\tString line2 = scanner.nextLine();\n\t\tscanner.close();\n\t\tString diff = line2.substring(0, line2.length() - 1);\n\t\tif (line1.equals(diff)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scanner =new Scanner(System.in);\n\t\tString line1 = scanner.nextLine();\n\t\tString line2 = scanner.nextLine();\n\t\tscanner.close();\n\t\tString diff = line2.substring(0, line2.length() - 1);\n\t\tif (line1.equals(diff)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}", "main", "{\n\t\tScanner scanner =new Scanner(System.in);\n\t\tString line1 = scanner.nextLine();\n\t\tString line2 = scanner.nextLine();\n\t\tscanner.close();\n\t\tString diff = line2.substring(0, line2.length() - 1);\n\t\tif (line1.equals(diff)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}", "Scanner scanner =new Scanner(System.in);", "scanner", "new Scanner(System.in)", "String line1 = scanner.nextLine();", "line1", "scanner.nextLine()", "scanner.nextLine", "scanner", "String line2 = scanner.nextLine();", "line2", "scanner.nextLine()", "scanner.nextLine", "scanner", "scanner.close()", "scanner.close", "scanner", "String diff = line2.substring(0, line2.length() - 1);", "diff", "line2.substring(0, line2.length() - 1)", "line2.substring", "line2", "0", "line2.length() - 1", "line2.length()", "line2.length", "line2", "1", "if (line1.equals(diff)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "line1.equals(diff)", "line1.equals", "line1", "diff", "{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner =new Scanner(System.in);\n\t\tString line1 = scanner.nextLine();\n\t\tString line2 = scanner.nextLine();\n\t\tscanner.close();\n\t\tString diff = line2.substring(0, line2.length() - 1);\n\t\tif (line1.equals(diff)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner =new Scanner(System.in);\n\t\tString line1 = scanner.nextLine();\n\t\tString line2 = scanner.nextLine();\n\t\tscanner.close();\n\t\tString diff = line2.substring(0, line2.length() - 1);\n\t\tif (line1.equals(diff)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner scanner =new Scanner(System.in); String line1 = scanner.nextLine(); String line2 = scanner.nextLine(); scanner.close(); String diff = line2.substring(0, line2.length() - 1); if (line1.equals(diff)) { System.out.println("Yes"); } else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 2, 4, 18, 13, 17, 14, 2, 2, 4, 18, 13, 2, 4, 18, 13, 17, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 65, 5 ], [ 65, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 24, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 28, 32 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 35, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 39, 43 ], [ 34, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 33, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 33, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 6, 62 ], [ 62, 63 ], [ 0, 64 ], [ 64, 65 ], [ 64, 66 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tString s = in.next();\n\t\tString t = in.next();\n\t\tString t2 = t.substring(0, t.length()-1);\n\t\tif (s.length()== t.length()-1 && s.equals(t2)) {\n\t\t\tSystem.out.println(\"Yes\");}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tString s = in.next();\n\t\tString t = in.next();\n\t\tString t2 = t.substring(0, t.length()-1);\n\t\tif (s.length()== t.length()-1 && s.equals(t2)) {\n\t\t\tSystem.out.println(\"Yes\");}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tString s = in.next();\n\t\tString t = in.next();\n\t\tString t2 = t.substring(0, t.length()-1);\n\t\tif (s.length()== t.length()-1 && s.equals(t2)) {\n\t\t\tSystem.out.println(\"Yes\");}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}", "main", "{\n\t\tScanner in = new Scanner(System.in);\n\t\tString s = in.next();\n\t\tString t = in.next();\n\t\tString t2 = t.substring(0, t.length()-1);\n\t\tif (s.length()== t.length()-1 && s.equals(t2)) {\n\t\t\tSystem.out.println(\"Yes\");}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "String s = in.next();", "s", "in.next()", "in.next", "in", "String t = in.next();", "t", "in.next()", "in.next", "in", "String t2 = t.substring(0, t.length()-1);", "t2", "t.substring(0, t.length()-1)", "t.substring", "t", "0", "t.length()-1", "t.length()", "t.length", "t", "1", "if (s.length()== t.length()-1 && s.equals(t2)) {\n\t\t\tSystem.out.println(\"Yes\");}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "s.length()== t.length()-1 && s.equals(t2)", "s.length()== t.length()-1", "s.length()", "s.length", "s", "t.length()-1", "t.length()", "t.length", "t", "1", "s.equals(t2)", "s.equals", "s", "t2", "{\n\t\t\tSystem.out.println(\"Yes\");}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tString s = in.next();\n\t\tString t = in.next();\n\t\tString t2 = t.substring(0, t.length()-1);\n\t\tif (s.length()== t.length()-1 && s.equals(t2)) {\n\t\t\tSystem.out.println(\"Yes\");}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tString s = in.next();\n\t\tString t = in.next();\n\t\tString t2 = t.substring(0, t.length()-1);\n\t\tif (s.length()== t.length()-1 && s.equals(t2)) {\n\t\t\tSystem.out.println(\"Yes\");}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); String s = in.next(); String t = in.next(); String t2 = t.substring(0, t.length()-1); if (s.length()== t.length()-1 && s.equals(t2)) { System.out.println("Yes");} else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 4, 18, 13, 17, 2, 4, 18, 13, 17, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 52, 5 ], [ 52, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 25, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 29, 33 ], [ 23, 34 ], [ 22, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 22, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 6, 49 ], [ 49, 50 ], [ 0, 51 ], [ 51, 52 ], [ 51, 53 ] ]
[ "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\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tif(t.substring(0, t.length()-1).equals(s)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\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\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tif(t.substring(0, t.length()-1).equals(s)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tif(t.substring(0, t.length()-1).equals(s)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tif(t.substring(0, t.length()-1).equals(s)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "String t = sc.next();", "t", "sc.next()", "sc.next", "sc", "if(t.substring(0, t.length()-1).equals(s)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "t.substring(0, t.length()-1).equals(s)", "t.substring(0, t.length()-1).equals", "t.substring(0, t.length()-1)", "t.substring", "t", "0", "t.length()-1", "t.length()", "t.length", "t", "1", "s", "{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "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\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tif(t.substring(0, t.length()-1).equals(s)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\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\tString s = sc.next();\n\t\tString t = sc.next();\n\t\tif(t.substring(0, t.length()-1).equals(s)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); String s = sc.next(); String t = sc.next(); if(t.substring(0, t.length()-1).equals(s)) { System.out.println("Yes"); }else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 2, 4, 18, 13, 17, 41, 13, 4, 18, 13, 14, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 46, 5 ], [ 46, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 16, 17 ], [ 14, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 24, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 24, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 6, 43 ], [ 43, 44 ], [ 0, 45 ], [ 45, 46 ], [ 45, 47 ] ]
[ "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\tString s = sc.next() + \".\";\n \tString t = sc.next();\n\n\t\tif(t.matches(s)){\n\t\t\t// 出力\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 文字列の入力(スペース改行関係なし)\n\t\tString s = sc.next() + \".\";\n \tString t = sc.next();\n\n\t\tif(t.matches(s)){\n\t\t\t// 出力\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 文字列の入力(スペース改行関係なし)\n\t\tString s = sc.next() + \".\";\n \tString t = sc.next();\n\n\t\tif(t.matches(s)){\n\t\t\t// 出力\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 文字列の入力(スペース改行関係なし)\n\t\tString s = sc.next() + \".\";\n \tString t = sc.next();\n\n\t\tif(t.matches(s)){\n\t\t\t// 出力\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String s = sc.next() + \".\";", "s", "sc.next() + \".\"", "sc.next()", "sc.next", "sc", "\".\"", "String t = sc.next();", "t", "sc.next()", "sc.next", "sc", "if(t.matches(s)){\n\t\t\t// 出力\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "t.matches(s)", "t.matches", "t", "s", "{\n\t\t\t// 出力\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "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\tString s = sc.next() + \".\";\n \tString t = sc.next();\n\n\t\tif(t.matches(s)){\n\t\t\t// 出力\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 文字列の入力(スペース改行関係なし)\n\t\tString s = sc.next() + \".\";\n \tString t = sc.next();\n\n\t\tif(t.matches(s)){\n\t\t\t// 出力\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 文字列の入力(スペース改行関係なし) String s = sc.next() + "."; String t = sc.next(); if(t.matches(s)){ // 出力 System.out.println("Yes"); }else{ System.out.println("No"); } } }
[ 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, 4, 18, 18, 13, 13, 8, 4, 13, 13, 13, 17, 17, 23, 13, 12, 13, 30, 14, 2, 4, 18, 13, 4, 18, 13, 30, 29, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 13, 4, 18, 13, 13, 30, 29, 17, 29, 17, 23, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 23, 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, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 171, 8 ], [ 171, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 31, 34 ], [ 30, 35 ], [ 30, 36 ], [ 9, 37 ], [ 37, 38 ], [ 171, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 43, 47 ], [ 47, 48 ], [ 48, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 41, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 53, 63 ], [ 63, 64 ], [ 64, 65 ], [ 53, 66 ], [ 67, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 69, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 68, 78 ], [ 78, 79 ], [ 79, 80 ], [ 41, 81 ], [ 81, 82 ], [ 39, 83 ], [ 83, 84 ], [ 39, 85 ], [ 85, 86 ], [ 171, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 87, 91 ], [ 91, 92 ], [ 87, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 96, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 93, 107 ], [ 107, 108 ], [ 87, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 87, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 118, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 128, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 117, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 87, 143 ], [ 143, 144 ], [ 143, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 147, 150 ], [ 150, 151 ], [ 87, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 156, 159 ], [ 159, 160 ], [ 87, 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.*;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n public static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner(String s) {\n try {\n br = new BufferedReader(new FileReader(s));\n } catch (FileNotFoundException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }\n\n public FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String nextToken() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n String S = fs.nextToken();\n String T = fs.nextToken();\n\n System.out.println(substring(S, T)? \"Yes\": \"No\");\n\n }\n\n private static boolean substring(String s, String t) {\n if (s.length() >= t.length()) {\n return false;\n }\n\n for (int i = 0; i < s.length(); ++i) {\n if (s.charAt(i) != t.charAt(i)) {\n return false;\n }\n }\n\n return true;\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n\n public static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner(String s) {\n try {\n br = new BufferedReader(new FileReader(s));\n } catch (FileNotFoundException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }\n\n public FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String nextToken() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n String S = fs.nextToken();\n String T = fs.nextToken();\n\n System.out.println(substring(S, T)? \"Yes\": \"No\");\n\n }\n\n private static boolean substring(String s, String t) {\n if (s.length() >= t.length()) {\n return false;\n }\n\n for (int i = 0; i < s.length(); ++i) {\n if (s.charAt(i) != t.charAt(i)) {\n return false;\n }\n }\n\n return true;\n }\n}", "Main", "public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n String S = fs.nextToken();\n String T = fs.nextToken();\n\n System.out.println(substring(S, T)? \"Yes\": \"No\");\n\n }", "main", "{\n FastScanner fs = new FastScanner();\n String S = fs.nextToken();\n String T = fs.nextToken();\n\n System.out.println(substring(S, T)? \"Yes\": \"No\");\n\n }", "FastScanner fs = new FastScanner();", "fs", "new FastScanner()", "String S = fs.nextToken();", "S", "fs.nextToken()", "fs.nextToken", "fs", "String T = fs.nextToken();", "T", "fs.nextToken()", "fs.nextToken", "fs", "System.out.println(substring(S, T)? \"Yes\": \"No\")", "System.out.println", "System.out", "System", "System.out", "substring(S, T)? \"Yes\": \"No\"", "substring(S, T)", "substring", "S", "T", "\"Yes\"", "\"No\"", "String[] args", "args", "private static boolean substring(String s, String t) {\n if (s.length() >= t.length()) {\n return false;\n }\n\n for (int i = 0; i < s.length(); ++i) {\n if (s.charAt(i) != t.charAt(i)) {\n return false;\n }\n }\n\n return true;\n }", "substring", "{\n if (s.length() >= t.length()) {\n return false;\n }\n\n for (int i = 0; i < s.length(); ++i) {\n if (s.charAt(i) != t.charAt(i)) {\n return false;\n }\n }\n\n return true;\n }", "if (s.length() >= t.length()) {\n return false;\n }", "s.length() >= t.length()", "s.length()", "s.length", "s", "t.length()", "t.length", "t", "{\n return false;\n }", "return false;", "false", "for (int i = 0; i < s.length(); ++i) {\n if (s.charAt(i) != t.charAt(i)) {\n return false;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < s.length()", "i", "s.length()", "s.length", "s", "++i", "++i", "i", "{\n if (s.charAt(i) != t.charAt(i)) {\n return false;\n }\n }", "{\n if (s.charAt(i) != t.charAt(i)) {\n return false;\n }\n }", "if (s.charAt(i) != t.charAt(i)) {\n return false;\n }", "s.charAt(i) != t.charAt(i)", "s.charAt(i)", "s.charAt", "s", "i", "t.charAt(i)", "t.charAt", "t", "i", "{\n return false;\n }", "return false;", "false", "return true;", "true", "String s", "s", "String t", "t", "public static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner(String s) {\n try {\n br = new BufferedReader(new FileReader(s));\n } catch (FileNotFoundException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }\n\n public FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String nextToken() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }", "FastScanner", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastScanner(String s) {\n try {\n br = new BufferedReader(new FileReader(s));\n } catch (FileNotFoundException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }", "FastScanner", "{\n try {\n br = new BufferedReader(new FileReader(s));\n } catch (FileNotFoundException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }", "try {\n br = new BufferedReader(new FileReader(s));\n } catch (FileNotFoundException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }", "catch (FileNotFoundException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }", "FileNotFoundException e", "{\n // TODO Auto-generated catch block\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n br = new BufferedReader(new FileReader(s));\n }", "br = new BufferedReader(new FileReader(s))", "br", "new BufferedReader(new FileReader(s))", "String s", "s", "public FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "FastScanner", "{\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "String nextToken() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "nextToken", "{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n // TODO Auto-generated catch block\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 // TODO Auto-generated catch block\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 // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }", "try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }", "catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }", "IOException e", "{\n // TODO Auto-generated catch block\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(nextToken());\n }", "nextInt", "{\n return Integer.parseInt(nextToken());\n }", "return Integer.parseInt(nextToken());", "Integer.parseInt(nextToken())", "Integer.parseInt", "Integer", "nextToken()", "nextToken", "long nextLong() {\n return Long.parseLong(nextToken());\n }", "nextLong", "{\n return Long.parseLong(nextToken());\n }", "return Long.parseLong(nextToken());", "Long.parseLong(nextToken())", "Long.parseLong", "Long", "nextToken()", "nextToken", "double nextDouble() {\n return Double.parseDouble(nextToken());\n }", "nextDouble", "{\n return Double.parseDouble(nextToken());\n }", "return Double.parseDouble(nextToken());", "Double.parseDouble(nextToken())", "Double.parseDouble", "Double", "nextToken()", "nextToken", "public class Main {\n\n public static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner(String s) {\n try {\n br = new BufferedReader(new FileReader(s));\n } catch (FileNotFoundException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }\n\n public FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String nextToken() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n String S = fs.nextToken();\n String T = fs.nextToken();\n\n System.out.println(substring(S, T)? \"Yes\": \"No\");\n\n }\n\n private static boolean substring(String s, String t) {\n if (s.length() >= t.length()) {\n return false;\n }\n\n for (int i = 0; i < s.length(); ++i) {\n if (s.charAt(i) != t.charAt(i)) {\n return false;\n }\n }\n\n return true;\n }\n}", "public class Main {\n\n public static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner(String s) {\n try {\n br = new BufferedReader(new FileReader(s));\n } catch (FileNotFoundException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }\n\n public FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String nextToken() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n String S = fs.nextToken();\n String T = fs.nextToken();\n\n System.out.println(substring(S, T)? \"Yes\": \"No\");\n\n }\n\n private static boolean substring(String s, String t) {\n if (s.length() >= t.length()) {\n return false;\n }\n\n for (int i = 0; i < s.length(); ++i) {\n if (s.charAt(i) != t.charAt(i)) {\n return false;\n }\n }\n\n return true;\n }\n}", "Main" ]
import java.io.*; import java.util.StringTokenizer; public class Main { public static class FastScanner { BufferedReader br; StringTokenizer st; public FastScanner(String s) { try { br = new BufferedReader(new FileReader(s)); } catch (FileNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } } public FastScanner() { br = new BufferedReader(new InputStreamReader(System.in)); } String nextToken() { while (st == null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(nextToken()); } long nextLong() { return Long.parseLong(nextToken()); } double nextDouble() { return Double.parseDouble(nextToken()); } } public static void main(String[] args) { FastScanner fs = new FastScanner(); String S = fs.nextToken(); String T = fs.nextToken(); System.out.println(substring(S, T)? "Yes": "No"); } private static boolean substring(String s, String t) { if (s.length() >= t.length()) { return false; } for (int i = 0; i < s.length(); ++i) { if (s.charAt(i) != t.charAt(i)) { return false; } } return true; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 4, 18, 13, 2, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 14, 4, 18, 13, 4, 18, 13, 17, 2, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 70, 5 ], [ 70, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 23, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 27, 31 ], [ 22, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 22, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 48, 52 ], [ 40, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 40, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 6, 67 ], [ 67, 68 ], [ 0, 69 ], [ 69, 70 ], [ 69, 71 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n\n if (S.length() != T.length()-1){\n System.out.println(\"No\");\n } else {\n if (S.equals(T.substring(0, T.length()-1))){\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n\n if (S.length() != T.length()-1){\n System.out.println(\"No\");\n } else {\n if (S.equals(T.substring(0, T.length()-1))){\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n\n if (S.length() != T.length()-1){\n System.out.println(\"No\");\n } else {\n if (S.equals(T.substring(0, T.length()-1))){\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n\n if (S.length() != T.length()-1){\n System.out.println(\"No\");\n } else {\n if (S.equals(T.substring(0, T.length()-1))){\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String S = sc.next();", "S", "sc.next()", "sc.next", "sc", "String T = sc.next();", "T", "sc.next()", "sc.next", "sc", "if (S.length() != T.length()-1){\n System.out.println(\"No\");\n } else {\n if (S.equals(T.substring(0, T.length()-1))){\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }", "S.length() != T.length()-1", "S.length()", "S.length", "S", "T.length()-1", "T.length()", "T.length", "T", "1", "{\n System.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "{\n if (S.equals(T.substring(0, T.length()-1))){\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }", "if (S.equals(T.substring(0, T.length()-1))){\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }", "S.equals(T.substring(0, T.length()-1))", "S.equals", "S", "T.substring(0, T.length()-1)", "T.substring", "T", "0", "T.length()-1", "T.length()", "T.length", "T", "1", "{\n System.out.println(\"Yes\");\n }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n System.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n\n if (S.length() != T.length()-1){\n System.out.println(\"No\");\n } else {\n if (S.equals(T.substring(0, T.length()-1))){\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n }\n}", "public class Main {\n\tpublic static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String T = sc.next();\n\n if (S.length() != T.length()-1){\n System.out.println(\"No\");\n } else {\n if (S.equals(T.substring(0, T.length()-1))){\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String S = sc.next(); String T = sc.next(); if (S.length() != T.length()-1){ System.out.println("No"); } else { if (S.equals(T.substring(0, T.length()-1))){ System.out.println("Yes"); } else { System.out.println("No"); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 4, 18, 13, 17, 4, 18, 13, 17, 30, 14, 2, 4, 18, 13, 2, 4, 18, 13, 17, 30, 14, 4, 18, 4, 18, 13, 17, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 89, 5 ], [ 89, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 23, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 22, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 34, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 38, 42 ], [ 33, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 47, 51 ], [ 51, 52 ], [ 52, 53 ], [ 45, 54 ], [ 44, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 44, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 33, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 22, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 8, 83 ], [ 83, 84 ], [ 84, 85 ], [ 6, 86 ], [ 86, 87 ], [ 0, 88 ], [ 88, 89 ], [ 88, 90 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tif (S.matches(\"[a-z]{1,10}\") && T.matches(\"[a-z]{1,}\")) {\n\t\t\tif (T.length() == S.length() + 1) {\n\t\t\t\tif (T.substring(0,S.length()).equals(S)) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\tsc.close();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tif (S.matches(\"[a-z]{1,10}\") && T.matches(\"[a-z]{1,}\")) {\n\t\t\tif (T.length() == S.length() + 1) {\n\t\t\t\tif (T.substring(0,S.length()).equals(S)) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\tsc.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tif (S.matches(\"[a-z]{1,10}\") && T.matches(\"[a-z]{1,}\")) {\n\t\t\tif (T.length() == S.length() + 1) {\n\t\t\t\tif (T.substring(0,S.length()).equals(S)) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\tsc.close();\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tif (S.matches(\"[a-z]{1,10}\") && T.matches(\"[a-z]{1,}\")) {\n\t\t\tif (T.length() == S.length() + 1) {\n\t\t\t\tif (T.substring(0,S.length()).equals(S)) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String S = sc.nextLine();", "S", "sc.nextLine()", "sc.nextLine", "sc", "String T = sc.nextLine();", "T", "sc.nextLine()", "sc.nextLine", "sc", "if (S.matches(\"[a-z]{1,10}\") && T.matches(\"[a-z]{1,}\")) {\n\t\t\tif (T.length() == S.length() + 1) {\n\t\t\t\tif (T.substring(0,S.length()).equals(S)) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "S.matches(\"[a-z]{1,10}\") && T.matches(\"[a-z]{1,}\")", "S.matches(\"[a-z]{1,10}\")", "S.matches", "S", "\"[a-z]{1,10}\"", "T.matches(\"[a-z]{1,}\")", "T.matches", "T", "\"[a-z]{1,}\"", "{\n\t\t\tif (T.length() == S.length() + 1) {\n\t\t\t\tif (T.substring(0,S.length()).equals(S)) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\n\t\t}", "if (T.length() == S.length() + 1) {\n\t\t\t\tif (T.substring(0,S.length()).equals(S)) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}", "T.length() == S.length() + 1", "T.length()", "T.length", "T", "S.length() + 1", "S.length()", "S.length", "S", "1", "{\n\t\t\t\tif (T.substring(0,S.length()).equals(S)) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t}\n\t\t\t}", "if (T.substring(0,S.length()).equals(S)) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t}", "T.substring(0,S.length()).equals(S)", "T.substring(0,S.length()).equals", "T.substring(0,S.length())", "T.substring", "T", "0", "S.length()", "S.length", "S", "S", "{\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "{\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tif (S.matches(\"[a-z]{1,10}\") && T.matches(\"[a-z]{1,}\")) {\n\t\t\tif (T.length() == S.length() + 1) {\n\t\t\t\tif (T.substring(0,S.length()).equals(S)) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\tsc.close();\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.nextLine();\n\t\tString T = sc.nextLine();\n\t\tif (S.matches(\"[a-z]{1,10}\") && T.matches(\"[a-z]{1,}\")) {\n\t\t\tif (T.length() == S.length() + 1) {\n\t\t\t\tif (T.substring(0,S.length()).equals(S)) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\tsc.close();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String S = sc.nextLine(); String T = sc.nextLine(); if (S.matches("[a-z]{1,10}") && T.matches("[a-z]{1,}")) { if (T.length() == S.length() + 1) { if (T.substring(0,S.length()).equals(S)) { System.out.println("Yes"); } else { System.out.println("No"); } } else { System.out.println("No"); } } else { System.out.println("No"); } sc.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 0, 13, 4, 18, 13, 17, 2, 4, 18, 13, 17, 14, 4, 18, 13, 13, 30, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 54, 5 ], [ 54, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 27, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 31, 35 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 36, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 8, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 6, 51 ], [ 51, 52 ], [ 0, 53 ], [ 53, 54 ], [ 53, 55 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String s = (sc.next());\n String t = (sc.next());\n String ans = \"No\";\n\n t = t.substring(0, t.length()-1);\n\n if (s.equals(t)) {\n ans = \"Yes\";\n }\n\n\n System.out.println(ans);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String s = (sc.next());\n String t = (sc.next());\n String ans = \"No\";\n\n t = t.substring(0, t.length()-1);\n\n if (s.equals(t)) {\n ans = \"Yes\";\n }\n\n\n System.out.println(ans);\n }\n}", "Main", "public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String s = (sc.next());\n String t = (sc.next());\n String ans = \"No\";\n\n t = t.substring(0, t.length()-1);\n\n if (s.equals(t)) {\n ans = \"Yes\";\n }\n\n\n System.out.println(ans);\n }", "main", "{\n\n Scanner sc = new Scanner(System.in);\n String s = (sc.next());\n String t = (sc.next());\n String ans = \"No\";\n\n t = t.substring(0, t.length()-1);\n\n if (s.equals(t)) {\n ans = \"Yes\";\n }\n\n\n System.out.println(ans);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String s = (sc.next());", "s", "(sc.next())", "sc.next", "sc", "String t = (sc.next());", "t", "(sc.next())", "sc.next", "sc", "String ans = \"No\";", "ans", "\"No\"", "t = t.substring(0, t.length()-1)", "t", "t.substring(0, t.length()-1)", "t.substring", "t", "0", "t.length()-1", "t.length()", "t.length", "t", "1", "if (s.equals(t)) {\n ans = \"Yes\";\n }", "s.equals(t)", "s.equals", "s", "t", "{\n ans = \"Yes\";\n }", "ans = \"Yes\"", "ans", "\"Yes\"", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String s = (sc.next());\n String t = (sc.next());\n String ans = \"No\";\n\n t = t.substring(0, t.length()-1);\n\n if (s.equals(t)) {\n ans = \"Yes\";\n }\n\n\n System.out.println(ans);\n }\n}", "public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String s = (sc.next());\n String t = (sc.next());\n String ans = \"No\";\n\n t = t.substring(0, t.length()-1);\n\n if (s.equals(t)) {\n ans = \"Yes\";\n }\n\n\n System.out.println(ans);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = (sc.next()); String t = (sc.next()); String ans = "No"; t = t.substring(0, t.length()-1); if (s.equals(t)) { ans = "Yes"; } System.out.println(ans); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 14, 4, 18, 13, 4, 18, 13, 17, 2, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 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 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 29, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 33, 37 ], [ 25, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 25, 45 ], [ 45, 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;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine();\n sc.close();\n\n if(s.equals(t.substring(0,t.length()-1))) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine();\n sc.close();\n\n if(s.equals(t.substring(0,t.length()-1))) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine();\n sc.close();\n\n if(s.equals(t.substring(0,t.length()-1))) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine();\n sc.close();\n\n if(s.equals(t.substring(0,t.length()-1))) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String s = sc.nextLine();", "s", "sc.nextLine()", "sc.nextLine", "sc", "String t = sc.nextLine();", "t", "sc.nextLine()", "sc.nextLine", "sc", "sc.close()", "sc.close", "sc", "if(s.equals(t.substring(0,t.length()-1))) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }", "s.equals(t.substring(0,t.length()-1))", "s.equals", "s", "t.substring(0,t.length()-1)", "t.substring", "t", "0", "t.length()-1", "t.length()", "t.length", "t", "1", "{\n System.out.println(\"Yes\");\n }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n System.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine();\n sc.close();\n\n if(s.equals(t.substring(0,t.length()-1))) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n String t = sc.nextLine();\n sc.close();\n\n if(s.equals(t.substring(0,t.length()-1))) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.nextLine(); String t = sc.nextLine(); sc.close(); if(s.equals(t.substring(0,t.length()-1))) { System.out.println("Yes"); } else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 2, 4, 18, 13, 2, 4, 18, 13, 17, 4, 18, 13, 4, 18, 13, 17, 4, 18, 13, 4, 18, 18, 13, 13, 8, 13, 17, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 56, 5 ], [ 56, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 25, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 29, 33 ], [ 24, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 37, 41 ], [ 41, 42 ], [ 42, 43 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 49, 52 ], [ 6, 53 ], [ 53, 54 ], [ 0, 55 ], [ 55, 56 ], [ 55, 57 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String a = scanner.next();\n String b = scanner.next();\n\n boolean result = a.length() == b.length() - 1 && a.equals(b.substring(0, a.length()));\n System.out.println(result ? \"Yes\" : \"No\");\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 String a = scanner.next();\n String b = scanner.next();\n\n boolean result = a.length() == b.length() - 1 && a.equals(b.substring(0, a.length()));\n System.out.println(result ? \"Yes\" : \"No\");\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String a = scanner.next();\n String b = scanner.next();\n\n boolean result = a.length() == b.length() - 1 && a.equals(b.substring(0, a.length()));\n System.out.println(result ? \"Yes\" : \"No\");\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n String a = scanner.next();\n String b = scanner.next();\n\n boolean result = a.length() == b.length() - 1 && a.equals(b.substring(0, a.length()));\n System.out.println(result ? \"Yes\" : \"No\");\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "String a = scanner.next();", "a", "scanner.next()", "scanner.next", "scanner", "String b = scanner.next();", "b", "scanner.next()", "scanner.next", "scanner", "boolean result = a.length() == b.length() - 1 && a.equals(b.substring(0, a.length()));", "result", "a.length() == b.length() - 1 && a.equals(b.substring(0, a.length()))", "a.length() == b.length() - 1", "a.length()", "a.length", "a", "b.length() - 1", "b.length()", "b.length", "b", "1", "a.equals(b.substring(0, a.length()))", "a.equals", "a", "b.substring(0, a.length())", "b.substring", "b", "0", "a.length()", "a.length", "a", "System.out.println(result ? \"Yes\" : \"No\")", "System.out.println", "System.out", "System", "System.out", "result ? \"Yes\" : \"No\"", "result", "\"Yes\"", "\"No\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String a = scanner.next();\n String b = scanner.next();\n\n boolean result = a.length() == b.length() - 1 && a.equals(b.substring(0, a.length()));\n System.out.println(result ? \"Yes\" : \"No\");\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String a = scanner.next();\n String b = scanner.next();\n\n boolean result = a.length() == b.length() - 1 && a.equals(b.substring(0, a.length()));\n System.out.println(result ? \"Yes\" : \"No\");\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String a = scanner.next(); String b = scanner.next(); boolean result = a.length() == b.length() - 1 && a.equals(b.substring(0, a.length())); System.out.println(result ? "Yes" : "No"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 14, 2, 2, 4, 18, 13, 17, 4, 18, 13, 30, 14, 4, 18, 13, 4, 18, 13, 17, 4, 18, 13, 30, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 60, 5 ], [ 60, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 27, 31 ], [ 26, 32 ], [ 32, 33 ], [ 33, 34 ], [ 25, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 36, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 8, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 6, 57 ], [ 57, 58 ], [ 0, 59 ], [ 59, 60 ], [ 59, 61 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\t\tpublic static void main (String args[]) throws Exception{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tString ans = \"No\";\n\n\t\tif(s.length() + 1 == t.length() ) {\n\t\t\tif(s.equals(t.substring(0 ,s.length()))) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t\tpublic static void main (String args[]) throws Exception{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tString ans = \"No\";\n\n\t\tif(s.length() + 1 == t.length() ) {\n\t\t\tif(s.equals(t.substring(0 ,s.length()))) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}", "Main", "public static void main (String args[]) throws Exception{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tString ans = \"No\";\n\n\t\tif(s.length() + 1 == t.length() ) {\n\t\t\tif(s.equals(t.substring(0 ,s.length()))) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tString ans = \"No\";\n\n\t\tif(s.length() + 1 == t.length() ) {\n\t\t\tif(s.equals(t.substring(0 ,s.length()))) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "String s = scan.next();", "s", "scan.next()", "scan.next", "scan", "String t = scan.next();", "t", "scan.next()", "scan.next", "scan", "String ans = \"No\";", "ans", "\"No\"", "if(s.length() + 1 == t.length() ) {\n\t\t\tif(s.equals(t.substring(0 ,s.length()))) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}\n\t\t}", "s.length() + 1 == t.length()", "s.length() + 1", "s.length()", "s.length", "s", "1", "t.length()", "t.length", "t", "{\n\t\t\tif(s.equals(t.substring(0 ,s.length()))) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}\n\t\t}", "if(s.equals(t.substring(0 ,s.length()))) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}", "s.equals(t.substring(0 ,s.length()))", "s.equals", "s", "t.substring(0 ,s.length())", "t.substring", "t", "0", "s.length()", "s.length", "s", "{\n\t\t\t\tans = \"Yes\";\n\t\t\t}", "ans = \"Yes\"", "ans", "\"Yes\"", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String args[]", "args", "public class Main {\n\t\tpublic static void main (String args[]) throws Exception{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tString ans = \"No\";\n\n\t\tif(s.length() + 1 == t.length() ) {\n\t\t\tif(s.equals(t.substring(0 ,s.length()))) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}", "public class Main {\n\t\tpublic static void main (String args[]) throws Exception{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\t\tString t = scan.next();\n\t\tString ans = \"No\";\n\n\t\tif(s.length() + 1 == t.length() ) {\n\t\t\tif(s.equals(t.substring(0 ,s.length()))) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main (String args[]) throws Exception{ Scanner scan = new Scanner(System.in); String s = scan.next(); String t = scan.next(); String ans = "No"; if(s.length() + 1 == t.length() ) { if(s.equals(t.substring(0 ,s.length()))) { ans = "Yes"; } } 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, 41, 13, 4, 18, 13, 14, 4, 18, 2, 13, 4, 18, 13, 2, 4, 18, 13, 17, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 17, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 154, 14 ], [ 154, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 17, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 39, 43 ], [ 32, 44 ], [ 31, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 31, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 17, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 15, 63 ], [ 63, 64 ], [ 154, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 65, 69 ], [ 69, 70 ], [ 65, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 65, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 80, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 90, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 79, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 65, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 112, 113 ], [ 65, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 118, 121 ], [ 121, 122 ], [ 65, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 127, 130 ], [ 130, 131 ], [ 65, 132 ], [ 132, 133 ], [ 132, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 138, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 149, 150 ], [ 134, 151 ], [ 151, 152 ], [ 0, 153 ], [ 153, 154 ], [ 153, 155 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n String s = sc.next();\n String t = sc.next();\n\n if ((s + t.charAt(t.length() - 1)).equals(t)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n System.exit(0);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.*;", "util.*", "java", "public class Main {\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n String s = sc.next();\n String t = sc.next();\n\n if ((s + t.charAt(t.length() - 1)).equals(t)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n System.exit(0);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}", "Main", "public static void main(String[] args) {\n FastReader sc = new FastReader();\n String s = sc.next();\n String t = sc.next();\n\n if ((s + t.charAt(t.length() - 1)).equals(t)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n System.exit(0);\n }", "main", "{\n FastReader sc = new FastReader();\n String s = sc.next();\n String t = sc.next();\n\n if ((s + t.charAt(t.length() - 1)).equals(t)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n System.exit(0);\n }", "FastReader sc = new FastReader();", "sc", "new FastReader()", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "String t = sc.next();", "t", "sc.next()", "sc.next", "sc", "if ((s + t.charAt(t.length() - 1)).equals(t)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }", "(s + t.charAt(t.length() - 1)).equals(t)", "(s + t.charAt(t.length() - 1)).equals", "(s + t.charAt(t.length() - 1))", "s", "t.charAt(t.length() - 1)", "t.charAt", "t", "t.length() - 1", "t.length()", "t.length", "t", "1", "t", "{\n System.out.println(\"Yes\");\n }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n System.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "System.exit(0)", "System.exit", "System", "0", "String[] args", "args", "static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }", "FastReader", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "FastReader", "{\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble() {\n return Double.parseDouble(next());\n }", "nextDouble", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }", "nextLine", "{\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }", "String str = \"\";", "str", "\"\"", "try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n str = br.readLine();\n }", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str", "public class Main {\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n String s = sc.next();\n String t = sc.next();\n\n if ((s + t.charAt(t.length() - 1)).equals(t)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n System.exit(0);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n String s = sc.next();\n String t = sc.next();\n\n if ((s + t.charAt(t.length() - 1)).equals(t)) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n System.exit(0);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; public class Main { public static void main(String[] args) { FastReader sc = new FastReader(); String s = sc.next(); String t = sc.next(); if ((s + t.charAt(t.length() - 1)).equals(t)) { System.out.println("Yes"); } else { System.out.println("No"); } System.exit(0); } static class FastReader { BufferedReader br; StringTokenizer st; public FastReader() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while (st == null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } long nextLong() { return Long.parseLong(next()); } double nextDouble() { return Double.parseDouble(next()); } String nextLine() { String str = ""; try{ str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } return str; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 14, 4, 18, 13, 13, 30, 14, 2, 4, 18, 13, 2, 4, 18, 13, 17, 0, 13, 17, 14, 13, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 61, 5 ], [ 61, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 25, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 32, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 36, 40 ], [ 31, 41 ], [ 41, 42 ], [ 41, 43 ], [ 8, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 6, 58 ], [ 58, 59 ], [ 0, 60 ], [ 60, 61 ], [ 60, 62 ] ]
[ "import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tString S = sc.next();\n String T = sc.next();\n boolean flag = false;\n\tif(T.startsWith(S)){\n if(T.length() == (S.length() + 1))\n flag = true;\n }\n if(flag)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n \n \n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tString S = sc.next();\n String T = sc.next();\n boolean flag = false;\n\tif(T.startsWith(S)){\n if(T.length() == (S.length() + 1))\n flag = true;\n }\n if(flag)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n \n \n}", "Main", "public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tString S = sc.next();\n String T = sc.next();\n boolean flag = false;\n\tif(T.startsWith(S)){\n if(T.length() == (S.length() + 1))\n flag = true;\n }\n if(flag)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }", "main", "{\n\tScanner sc = new Scanner(System.in);\n\tString S = sc.next();\n String T = sc.next();\n boolean flag = false;\n\tif(T.startsWith(S)){\n if(T.length() == (S.length() + 1))\n flag = true;\n }\n if(flag)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String S = sc.next();", "S", "sc.next()", "sc.next", "sc", "String T = sc.next();", "T", "sc.next()", "sc.next", "sc", "boolean flag = false;", "flag", "false", "if(T.startsWith(S)){\n if(T.length() == (S.length() + 1))\n flag = true;\n }", "T.startsWith(S)", "T.startsWith", "T", "S", "{\n if(T.length() == (S.length() + 1))\n flag = true;\n }", "if(T.length() == (S.length() + 1))\n flag = true;", "T.length() == (S.length() + 1)", "T.length()", "T.length", "T", "(S.length() + 1)", "S.length()", "S.length", "S", "1", "flag = true", "flag", "true", "if(flag)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");", "flag", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tString S = sc.next();\n String T = sc.next();\n boolean flag = false;\n\tif(T.startsWith(S)){\n if(T.length() == (S.length() + 1))\n flag = true;\n }\n if(flag)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n \n \n}", "public class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tString S = sc.next();\n String T = sc.next();\n boolean flag = false;\n\tif(T.startsWith(S)){\n if(T.length() == (S.length() + 1))\n flag = true;\n }\n if(flag)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n \n \n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String S = sc.next(); String T = sc.next(); boolean flag = false; if(T.startsWith(S)){ if(T.length() == (S.length() + 1)) flag = true; } if(flag) System.out.println("Yes"); else System.out.println("No"); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 4, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 8, 2, 4, 18, 13, 13, 2, 4, 18, 13, 2, 4, 18, 13, 17, 17, 17, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 52, 5 ], [ 52, 6 ], [ 6, 7 ], [ 6, 8 ], [ 52, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 9, 14 ], [ 14, 15 ], [ 52, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 18, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 18, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 35, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 44, 48 ], [ 34, 49 ], [ 34, 50 ], [ 0, 51 ], [ 51, 52 ], [ 51, 53 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n private static Scanner scanner = new Scanner(System.in);\n\n public static void main(String[] args) {\n\n solve();\n }\n\n private static void solve() {\n\n String s1 = scanner.next();\n String s2 = scanner.next();\n\n\n System.out.println(s2.startsWith(s1) && s2.length() == s1.length() + 1 ? \"Yes\" : \"No\");\n\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n private static Scanner scanner = new Scanner(System.in);\n\n public static void main(String[] args) {\n\n solve();\n }\n\n private static void solve() {\n\n String s1 = scanner.next();\n String s2 = scanner.next();\n\n\n System.out.println(s2.startsWith(s1) && s2.length() == s1.length() + 1 ? \"Yes\" : \"No\");\n\n }\n}", "Main", "private static Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "public static void main(String[] args) {\n\n solve();\n }", "main", "{\n\n solve();\n }", "solve()", "solve", "String[] args", "args", "private static void solve() {\n\n String s1 = scanner.next();\n String s2 = scanner.next();\n\n\n System.out.println(s2.startsWith(s1) && s2.length() == s1.length() + 1 ? \"Yes\" : \"No\");\n\n }", "solve", "{\n\n String s1 = scanner.next();\n String s2 = scanner.next();\n\n\n System.out.println(s2.startsWith(s1) && s2.length() == s1.length() + 1 ? \"Yes\" : \"No\");\n\n }", "String s1 = scanner.next();", "s1", "scanner.next()", "scanner.next", "scanner", "String s2 = scanner.next();", "s2", "scanner.next()", "scanner.next", "scanner", "System.out.println(s2.startsWith(s1) && s2.length() == s1.length() + 1 ? \"Yes\" : \"No\")", "System.out.println", "System.out", "System", "System.out", "s2.startsWith(s1) && s2.length() == s1.length() + 1 ? \"Yes\" : \"No\"", "s2.startsWith(s1) && s2.length() == s1.length() + 1", "s2.startsWith(s1)", "s2.startsWith", "s2", "s1", "s2.length() == s1.length() + 1", "s2.length()", "s2.length", "s2", "s1.length() + 1", "s1.length()", "s1.length", "s1", "1", "\"Yes\"", "\"No\"", "public class Main {\n\n private static Scanner scanner = new Scanner(System.in);\n\n public static void main(String[] args) {\n\n solve();\n }\n\n private static void solve() {\n\n String s1 = scanner.next();\n String s2 = scanner.next();\n\n\n System.out.println(s2.startsWith(s1) && s2.length() == s1.length() + 1 ? \"Yes\" : \"No\");\n\n }\n}", "public class Main {\n\n private static Scanner scanner = new Scanner(System.in);\n\n public static void main(String[] args) {\n\n solve();\n }\n\n private static void solve() {\n\n String s1 = scanner.next();\n String s2 = scanner.next();\n\n\n System.out.println(s2.startsWith(s1) && s2.length() == s1.length() + 1 ? \"Yes\" : \"No\");\n\n }\n}", "Main" ]
import java.util.Scanner; public class Main { private static Scanner scanner = new Scanner(System.in); public static void main(String[] args) { solve(); } private static void solve() { String s1 = scanner.next(); String s2 = scanner.next(); System.out.println(s2.startsWith(s1) && s2.length() == s1.length() + 1 ? "Yes" : "No"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 13, 4, 18, 13, 13, 30, 40, 13, 3, 14, 2, 2, 13, 4, 18, 13, 2, 2, 4, 18, 13, 17, 4, 18, 13, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 25, 35 ], [ 35, 36 ], [ 36, 37 ], [ 25, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 41, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 40, 50 ], [ 50, 51 ], [ 51, 52 ], [ 40, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 55, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 54, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 54, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 6, 82 ], [ 82, 83 ] ]
[ "import java.util.Scanner;\nclass Main{\n public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n \n String S = stdIn.next();\n String T = stdIn.next();\n \n int count = 0;\n for(int i = 0;i < S.length();i++){\n if(S.charAt(i) == T.charAt(i)){\n count++;\n }\n else\n break;\n }\n \n if(count == S.length() && S.length() + 1 == T.length())\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}\n\n \n ", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n \n String S = stdIn.next();\n String T = stdIn.next();\n \n int count = 0;\n for(int i = 0;i < S.length();i++){\n if(S.charAt(i) == T.charAt(i)){\n count++;\n }\n else\n break;\n }\n \n if(count == S.length() && S.length() + 1 == T.length())\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}", "Main", "public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n \n String S = stdIn.next();\n String T = stdIn.next();\n \n int count = 0;\n for(int i = 0;i < S.length();i++){\n if(S.charAt(i) == T.charAt(i)){\n count++;\n }\n else\n break;\n }\n \n if(count == S.length() && S.length() + 1 == T.length())\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }", "main", "{\n Scanner stdIn = new Scanner(System.in);\n \n String S = stdIn.next();\n String T = stdIn.next();\n \n int count = 0;\n for(int i = 0;i < S.length();i++){\n if(S.charAt(i) == T.charAt(i)){\n count++;\n }\n else\n break;\n }\n \n if(count == S.length() && S.length() + 1 == T.length())\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "String S = stdIn.next();", "S", "stdIn.next()", "stdIn.next", "stdIn", "String T = stdIn.next();", "T", "stdIn.next()", "stdIn.next", "stdIn", "int count = 0;", "count", "0", "for(int i = 0;i < S.length();i++){\n if(S.charAt(i) == T.charAt(i)){\n count++;\n }\n else\n break;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < S.length()", "i", "S.length()", "S.length", "S", "i++", "i++", "i", "{\n if(S.charAt(i) == T.charAt(i)){\n count++;\n }\n else\n break;\n }", "{\n if(S.charAt(i) == T.charAt(i)){\n count++;\n }\n else\n break;\n }", "if(S.charAt(i) == T.charAt(i)){\n count++;\n }\n else\n break;", "S.charAt(i) == T.charAt(i)", "S.charAt(i)", "S.charAt", "S", "i", "T.charAt(i)", "T.charAt", "T", "i", "{\n count++;\n }", "count++", "count", "break;", "if(count == S.length() && S.length() + 1 == T.length())\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");", "count == S.length() && S.length() + 1 == T.length()", "count == S.length()", "count", "S.length()", "S.length", "S", "S.length() + 1 == T.length()", "S.length() + 1", "S.length()", "S.length", "S", "1", "T.length()", "T.length", "T", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); String S = stdIn.next(); String T = stdIn.next(); int count = 0; for(int i = 0;i < S.length();i++){ if(S.charAt(i) == T.charAt(i)){ count++; } else break; } if(count == S.length() && S.length() + 1 == T.length()) System.out.println("Yes"); else System.out.println("No"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 41, 13, 4, 18, 4, 18, 13, 41, 13, 4, 18, 13, 17, 2, 4, 18, 13, 17, 14, 2, 4, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 60, 5 ], [ 60, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 28, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 32, 36 ], [ 8, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 38, 43 ], [ 37, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 37, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 6, 57 ], [ 57, 58 ], [ 0, 59 ], [ 59, 60 ], [ 59, 61 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tString d=scan.next().toLowerCase();\n\t\tString s=scan.next().toLowerCase();\n\t\tString c=s.substring(0, s.length()-1);\n\t\tif(d.equalsIgnoreCase(c)==true) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse System.out.println(\"No\");\n\t\t\n\t\t\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tString d=scan.next().toLowerCase();\n\t\tString s=scan.next().toLowerCase();\n\t\tString c=s.substring(0, s.length()-1);\n\t\tif(d.equalsIgnoreCase(c)==true) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse System.out.println(\"No\");\n\t\t\n\t\t\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tString d=scan.next().toLowerCase();\n\t\tString s=scan.next().toLowerCase();\n\t\tString c=s.substring(0, s.length()-1);\n\t\tif(d.equalsIgnoreCase(c)==true) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse System.out.println(\"No\");\n\t\t\n\t\t\n\t}", "main", "{\n\t\tScanner scan=new Scanner(System.in);\n\t\tString d=scan.next().toLowerCase();\n\t\tString s=scan.next().toLowerCase();\n\t\tString c=s.substring(0, s.length()-1);\n\t\tif(d.equalsIgnoreCase(c)==true) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse System.out.println(\"No\");\n\t\t\n\t\t\n\t}", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "String d=scan.next().toLowerCase();", "d", "scan.next().toLowerCase()", "scan.next().toLowerCase", "scan.next()", "scan.next", "scan", "String s=scan.next().toLowerCase();", "s", "scan.next().toLowerCase()", "scan.next().toLowerCase", "scan.next()", "scan.next", "scan", "String c=s.substring(0, s.length()-1);", "c", "s.substring(0, s.length()-1)", "s.substring", "s", "0", "s.length()-1", "s.length()", "s.length", "s", "1", "if(d.equalsIgnoreCase(c)==true) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse System.out.println(\"No\");", "d.equalsIgnoreCase(c)==true", "d.equalsIgnoreCase(c)", "d.equalsIgnoreCase", "d", "c", "true", "{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tString d=scan.next().toLowerCase();\n\t\tString s=scan.next().toLowerCase();\n\t\tString c=s.substring(0, s.length()-1);\n\t\tif(d.equalsIgnoreCase(c)==true) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse System.out.println(\"No\");\n\t\t\n\t\t\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tString d=scan.next().toLowerCase();\n\t\tString s=scan.next().toLowerCase();\n\t\tString c=s.substring(0, s.length()-1);\n\t\tif(d.equalsIgnoreCase(c)==true) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse System.out.println(\"No\");\n\t\t\n\t\t\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan=new Scanner(System.in); String d=scan.next().toLowerCase(); String s=scan.next().toLowerCase(); String c=s.substring(0, s.length()-1); if(d.equalsIgnoreCase(c)==true) { System.out.println("Yes"); } else System.out.println("No"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 2, 4, 18, 13, 17, 14, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 24, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 28, 32 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 33, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 33, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 6, 52 ], [ 52, 53 ] ]
[ "import java.util.*; \n \nclass Main{\npublic static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\t\tString k=sc.next();\n String l=sc.next();\n \t\tString m=l.substring(0,l.length()-1);\n \n \tif(k.equals(m)){\n \t\tSystem.out.println(\"Yes\");\n \t}else{\n \t\tSystem.out.println(\"No\");\n \t }\n \n }\n}", "import java.util.*;", "util.*", "java", "class Main{\npublic static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\t\tString k=sc.next();\n String l=sc.next();\n \t\tString m=l.substring(0,l.length()-1);\n \n \tif(k.equals(m)){\n \t\tSystem.out.println(\"Yes\");\n \t}else{\n \t\tSystem.out.println(\"No\");\n \t }\n \n }\n}", "Main", "public static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\t\tString k=sc.next();\n String l=sc.next();\n \t\tString m=l.substring(0,l.length()-1);\n \n \tif(k.equals(m)){\n \t\tSystem.out.println(\"Yes\");\n \t}else{\n \t\tSystem.out.println(\"No\");\n \t }\n \n }", "main", "{\n\tScanner sc=new Scanner(System.in);\n\t\tString k=sc.next();\n String l=sc.next();\n \t\tString m=l.substring(0,l.length()-1);\n \n \tif(k.equals(m)){\n \t\tSystem.out.println(\"Yes\");\n \t}else{\n \t\tSystem.out.println(\"No\");\n \t }\n \n }", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "String k=sc.next();", "k", "sc.next()", "sc.next", "sc", "String l=sc.next();", "l", "sc.next()", "sc.next", "sc", "String m=l.substring(0,l.length()-1);", "m", "l.substring(0,l.length()-1)", "l.substring", "l", "0", "l.length()-1", "l.length()", "l.length", "l", "1", "if(k.equals(m)){\n \t\tSystem.out.println(\"Yes\");\n \t}else{\n \t\tSystem.out.println(\"No\");\n \t }", "k.equals(m)", "k.equals", "k", "m", "{\n \t\tSystem.out.println(\"Yes\");\n \t}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n \t\tSystem.out.println(\"No\");\n \t }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args" ]
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); String k=sc.next(); String l=sc.next(); String m=l.substring(0,l.length()-1); if(k.equals(m)){ System.out.println("Yes"); }else{ System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 13, 4, 18, 13, 13, 30, 0, 13, 17, 3, 14, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 74, 5 ], [ 74, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 25, 35 ], [ 35, 36 ], [ 36, 37 ], [ 25, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 41, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 40, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 8, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 55, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 6, 71 ], [ 71, 72 ], [ 0, 73 ], [ 73, 74 ], [ 73, 75 ] ]
[ "import java.io.*;\npublic class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString A = br.readLine();\n\t\tString B = br.readLine();\n\t\t\n\t\tboolean issame = true;\n\t\tfor (int i = 0; i < A.length(); i++) {\n\t\t\tif (A.charAt(i) != B.charAt(i)) {\n\t\t\t\tissame = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (issame) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\t\t\t\t\n\t}\n}", "import java.io.*;", "io.*", "java", "public class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString A = br.readLine();\n\t\tString B = br.readLine();\n\t\t\n\t\tboolean issame = true;\n\t\tfor (int i = 0; i < A.length(); i++) {\n\t\t\tif (A.charAt(i) != B.charAt(i)) {\n\t\t\t\tissame = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (issame) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\t\t\t\t\n\t}\n}", "Main", "public static void main(String args[]) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString A = br.readLine();\n\t\tString B = br.readLine();\n\t\t\n\t\tboolean issame = true;\n\t\tfor (int i = 0; i < A.length(); i++) {\n\t\t\tif (A.charAt(i) != B.charAt(i)) {\n\t\t\t\tissame = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (issame) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\t\t\t\t\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString A = br.readLine();\n\t\tString B = br.readLine();\n\t\t\n\t\tboolean issame = true;\n\t\tfor (int i = 0; i < A.length(); i++) {\n\t\t\tif (A.charAt(i) != B.charAt(i)) {\n\t\t\t\tissame = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (issame) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\t\t\t\t\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String A = br.readLine();", "A", "br.readLine()", "br.readLine", "br", "String B = br.readLine();", "B", "br.readLine()", "br.readLine", "br", "boolean issame = true;", "issame", "true", "for (int i = 0; i < A.length(); i++) {\n\t\t\tif (A.charAt(i) != B.charAt(i)) {\n\t\t\t\tissame = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < A.length()", "i", "A.length()", "A.length", "A", "i++", "i++", "i", "{\n\t\t\tif (A.charAt(i) != B.charAt(i)) {\n\t\t\t\tissame = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "{\n\t\t\tif (A.charAt(i) != B.charAt(i)) {\n\t\t\t\tissame = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "if (A.charAt(i) != B.charAt(i)) {\n\t\t\t\tissame = false;\n\t\t\t\tbreak;\n\t\t\t}", "A.charAt(i) != B.charAt(i)", "A.charAt(i)", "A.charAt", "A", "i", "B.charAt(i)", "B.charAt", "B", "i", "{\n\t\t\t\tissame = false;\n\t\t\t\tbreak;\n\t\t\t}", "issame = false", "issame", "false", "break;", "if (issame) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "issame", "{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String args[]", "args", "public class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString A = br.readLine();\n\t\tString B = br.readLine();\n\t\t\n\t\tboolean issame = true;\n\t\tfor (int i = 0; i < A.length(); i++) {\n\t\t\tif (A.charAt(i) != B.charAt(i)) {\n\t\t\t\tissame = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (issame) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\t\t\t\t\n\t}\n}", "public class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString A = br.readLine();\n\t\tString B = br.readLine();\n\t\t\n\t\tboolean issame = true;\n\t\tfor (int i = 0; i < A.length(); i++) {\n\t\t\tif (A.charAt(i) != B.charAt(i)) {\n\t\t\t\tissame = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (issame) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\t\t\t\t\n\t}\n}", "Main" ]
import java.io.*; public class Main { public static void main(String args[]) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String A = br.readLine(); String B = br.readLine(); boolean issame = true; for (int i = 0; i < A.length(); i++) { if (A.charAt(i) != B.charAt(i)) { issame = false; break; } } if (issame) { System.out.println("Yes"); } else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 13, 4, 18, 13, 13, 30, 9, 30, 0, 13, 17, 3, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 81, 5 ], [ 81, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 25, 35 ], [ 35, 36 ], [ 36, 37 ], [ 25, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 41, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 40, 50 ], [ 50, 51 ], [ 40, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 8, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 57, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 8, 75 ], [ 75, 76 ], [ 76, 77 ], [ 6, 78 ], [ 78, 79 ], [ 0, 80 ], [ 80, 81 ], [ 80, 82 ] ]
[ "\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n\t\tString T = scan.nextLine();\n\t\tint flag = 0;\n\n\t\tfor(int i = 0; i < S.length(); i++) {\n\t\t\tif(S.charAt(i) == T.charAt(i)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag = 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif(flag == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\tscan.close();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n\t\tString T = scan.nextLine();\n\t\tint flag = 0;\n\n\t\tfor(int i = 0; i < S.length(); i++) {\n\t\t\tif(S.charAt(i) == T.charAt(i)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag = 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif(flag == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\tscan.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n\t\tString T = scan.nextLine();\n\t\tint flag = 0;\n\n\t\tfor(int i = 0; i < S.length(); i++) {\n\t\t\tif(S.charAt(i) == T.charAt(i)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag = 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif(flag == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\tscan.close();\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n\t\tString T = scan.nextLine();\n\t\tint flag = 0;\n\n\t\tfor(int i = 0; i < S.length(); i++) {\n\t\t\tif(S.charAt(i) == T.charAt(i)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag = 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif(flag == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\tscan.close();\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "String S = scan.nextLine();", "S", "scan.nextLine()", "scan.nextLine", "scan", "String T = scan.nextLine();", "T", "scan.nextLine()", "scan.nextLine", "scan", "int flag = 0;", "flag", "0", "for(int i = 0; i < S.length(); i++) {\n\t\t\tif(S.charAt(i) == T.charAt(i)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag = 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < S.length()", "i", "S.length()", "S.length", "S", "i++", "i++", "i", "{\n\t\t\tif(S.charAt(i) == T.charAt(i)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag = 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "{\n\t\t\tif(S.charAt(i) == T.charAt(i)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag = 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "if(S.charAt(i) == T.charAt(i)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag = 1;\n\t\t\t\tbreak;\n\t\t\t}", "S.charAt(i) == T.charAt(i)", "S.charAt(i)", "S.charAt", "S", "i", "T.charAt(i)", "T.charAt", "T", "i", "{\n\t\t\t\tcontinue;\n\t\t\t}", "continue;", "{\n\t\t\t\tflag = 1;\n\t\t\t\tbreak;\n\t\t\t}", "flag = 1", "flag", "1", "break;", "if(flag == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "flag == 0", "flag", "0", "{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n\t\tString T = scan.nextLine();\n\t\tint flag = 0;\n\n\t\tfor(int i = 0; i < S.length(); i++) {\n\t\t\tif(S.charAt(i) == T.charAt(i)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag = 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif(flag == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\tscan.close();\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n\t\tString T = scan.nextLine();\n\t\tint flag = 0;\n\n\t\tfor(int i = 0; i < S.length(); i++) {\n\t\t\tif(S.charAt(i) == T.charAt(i)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag = 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif(flag == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\tscan.close();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String S = scan.nextLine(); String T = scan.nextLine(); int flag = 0; for(int i = 0; i < S.length(); i++) { if(S.charAt(i) == T.charAt(i)) { continue; }else { flag = 1; break; } } if(flag == 0) { System.out.println("Yes"); }else { System.out.println("No"); } scan.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 4, 18, 13, 2, 4, 18, 13, 17, 4, 18, 13, 4, 18, 13, 17, 4, 18, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 60, 5 ], [ 60, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 24, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 28, 32 ], [ 23, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 36, 40 ], [ 40, 41 ], [ 41, 42 ], [ 22, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 22, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 6, 57 ], [ 57, 58 ], [ 0, 59 ], [ 59, 60 ], [ 59, 61 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString S = scan.next();\n\t\tString T = scan.next();\n\n\t\tif(T.length() == S.length() + 1 && S.equals(T.substring(0, S.length()))) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\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\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString S = scan.next();\n\t\tString T = scan.next();\n\n\t\tif(T.length() == S.length() + 1 && S.equals(T.substring(0, S.length()))) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString S = scan.next();\n\t\tString T = scan.next();\n\n\t\tif(T.length() == S.length() + 1 && S.equals(T.substring(0, S.length()))) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}", "main", "{\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString S = scan.next();\n\t\tString T = scan.next();\n\n\t\tif(T.length() == S.length() + 1 && S.equals(T.substring(0, S.length()))) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "String S = scan.next();", "S", "scan.next()", "scan.next", "scan", "String T = scan.next();", "T", "scan.next()", "scan.next", "scan", "if(T.length() == S.length() + 1 && S.equals(T.substring(0, S.length()))) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "T.length() == S.length() + 1 && S.equals(T.substring(0, S.length()))", "T.length() == S.length() + 1", "T.length()", "T.length", "T", "S.length() + 1", "S.length()", "S.length", "S", "1", "S.equals(T.substring(0, S.length()))", "S.equals", "S", "T.substring(0, S.length())", "T.substring", "T", "0", "S.length()", "S.length", "S", "{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString S = scan.next();\n\t\tString T = scan.next();\n\n\t\tif(T.length() == S.length() + 1 && S.equals(T.substring(0, S.length()))) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString S = scan.next();\n\t\tString T = scan.next();\n\n\t\tif(T.length() == S.length() + 1 && S.equals(T.substring(0, S.length()))) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String S = scan.next(); String T = scan.next(); if(T.length() == S.length() + 1 && S.equals(T.substring(0, S.length()))) { System.out.println("Yes"); } else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 8, 4, 18, 13, 2, 13, 17, 17, 17, 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 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 27, 34 ], [ 27, 35 ], [ 6, 36 ], [ 36, 37 ], [ 0, 38 ], [ 38, 39 ], [ 38, 40 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\n\t\tSystem.out.println(t.matches(s + \"[a-z]{1}\") ? \"Yes\" : \"No\");\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\n\t\tSystem.out.println(t.matches(s + \"[a-z]{1}\") ? \"Yes\" : \"No\");\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\n\t\tSystem.out.println(t.matches(s + \"[a-z]{1}\") ? \"Yes\" : \"No\");\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\n\t\tSystem.out.println(t.matches(s + \"[a-z]{1}\") ? \"Yes\" : \"No\");\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "String t = sc.next();", "t", "sc.next()", "sc.next", "sc", "System.out.println(t.matches(s + \"[a-z]{1}\") ? \"Yes\" : \"No\")", "System.out.println", "System.out", "System", "System.out", "t.matches(s + \"[a-z]{1}\") ? \"Yes\" : \"No\"", "t.matches(s + \"[a-z]{1}\")", "t.matches", "t", "s + \"[a-z]{1}\"", "s", "\"[a-z]{1}\"", "\"Yes\"", "\"No\"", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\n\t\tSystem.out.println(t.matches(s + \"[a-z]{1}\") ? \"Yes\" : \"No\");\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString s = sc.next();\n\t\tString t = sc.next();\n\n\t\tSystem.out.println(t.matches(s + \"[a-z]{1}\") ? \"Yes\" : \"No\");\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); String t = sc.next(); System.out.println(t.matches(s + "[a-z]{1}") ? "Yes" : "No"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 14, 2, 13, 13, 0, 13, 13, 14, 2, 13, 2, 13, 13, 0, 13, 13, 30, 0, 13, 2, 13, 2, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 69, 5 ], [ 69, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 8, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 38, 40 ], [ 34, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 41, 47 ], [ 47, 48 ], [ 47, 49 ], [ 41, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 8, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 6, 66 ], [ 66, 67 ], [ 0, 68 ], [ 68, 69 ], [ 68, 70 ] ]
[ "import java.util.*;\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 b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n int ans;\n if(k <= a)\n \tans = k;\n else if(k <= (a + b))\n \tans = a;\n else {\n \tans = a - (k - (a + b));\n }\n System.out.println(ans);\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 b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n int ans;\n if(k <= a)\n \tans = k;\n else if(k <= (a + b))\n \tans = a;\n else {\n \tans = a - (k - (a + b));\n }\n System.out.println(ans);\n }\n}", "Main", "public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n int ans;\n if(k <= a)\n \tans = k;\n else if(k <= (a + b))\n \tans = a;\n else {\n \tans = a - (k - (a + b));\n }\n System.out.println(ans);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n int ans;\n if(k <= a)\n \tans = k;\n else if(k <= (a + b))\n \tans = a;\n else {\n \tans = a - (k - (a + b));\n }\n System.out.println(ans);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "int k = sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "int ans;", "ans", "if(k <= a)\n \tans = k;\n else if(k <= (a + b))\n \tans = a;\n else {\n \tans = a - (k - (a + b));\n }", "k <= a", "k", "a", "ans = k", "ans", "k", "if(k <= (a + b))\n \tans = a;\n else {\n \tans = a - (k - (a + b));\n }", "k <= (a + b)", "k", "(a + b)", "a", "b", "ans = a", "ans", "a", "{\n \tans = a - (k - (a + b));\n }", "ans = a - (k - (a + b))", "ans", "a - (k - (a + b))", "a", "(k - (a + b))", "k", "(a + b)", "a", "b", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String args[]", "args", "public class Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n int ans;\n if(k <= a)\n \tans = k;\n else if(k <= (a + b))\n \tans = a;\n else {\n \tans = a - (k - (a + b));\n }\n System.out.println(ans);\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 b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n int ans;\n if(k <= a)\n \tans = k;\n else if(k <= (a + b))\n \tans = a;\n else {\n \tans = a - (k - (a + b));\n }\n System.out.println(ans);\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 b = sc.nextInt(); int c = sc.nextInt(); int k = sc.nextInt(); int ans; if(k <= a) ans = k; else if(k <= (a + b)) ans = a; else { ans = a - (k - (a + b)); } System.out.println(ans); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 13, 14, 2, 2, 13, 13, 13, 30, 4, 18, 18, 13, 13, 13, 30, 41, 13, 2, 2, 2, 13, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 75, 5 ], [ 75, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 32, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 43, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 59, 65 ], [ 56, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 6, 72 ], [ 72, 73 ], [ 0, 74 ], [ 74, 75 ], [ 74, 76 ] ]
[ "import java.util.*;\n \npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong(); // 1\n\t\tlong b = sc.nextLong(); // 0\n\t\tlong c = sc.nextLong(); // -1\n\t\tlong k = sc.nextLong();\n\n\t\tif (a >= k) {\n\t\t\tSystem.out.println(k);\n\t\t} else if (a + b >= k) {\n\t\t\tSystem.out.println(a);\n\t\t} else {\n\t\t\tlong ans = a + b - k + a;\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}\n \n \n \n \n \n \n \n \n \n ", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong(); // 1\n\t\tlong b = sc.nextLong(); // 0\n\t\tlong c = sc.nextLong(); // -1\n\t\tlong k = sc.nextLong();\n\n\t\tif (a >= k) {\n\t\t\tSystem.out.println(k);\n\t\t} else if (a + b >= k) {\n\t\t\tSystem.out.println(a);\n\t\t} else {\n\t\t\tlong ans = a + b - k + a;\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong(); // 1\n\t\tlong b = sc.nextLong(); // 0\n\t\tlong c = sc.nextLong(); // -1\n\t\tlong k = sc.nextLong();\n\n\t\tif (a >= k) {\n\t\t\tSystem.out.println(k);\n\t\t} else if (a + b >= k) {\n\t\t\tSystem.out.println(a);\n\t\t} else {\n\t\t\tlong ans = a + b - k + a;\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong(); // 1\n\t\tlong b = sc.nextLong(); // 0\n\t\tlong c = sc.nextLong(); // -1\n\t\tlong k = sc.nextLong();\n\n\t\tif (a >= k) {\n\t\t\tSystem.out.println(k);\n\t\t} else if (a + b >= k) {\n\t\t\tSystem.out.println(a);\n\t\t} else {\n\t\t\tlong ans = a + b - k + a;\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c = sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long k = sc.nextLong();", "k", "sc.nextLong()", "sc.nextLong", "sc", "if (a >= k) {\n\t\t\tSystem.out.println(k);\n\t\t} else if (a + b >= k) {\n\t\t\tSystem.out.println(a);\n\t\t} else {\n\t\t\tlong ans = a + b - k + a;\n\t\t\tSystem.out.println(ans);\n\t\t}", "a >= k", "a", "k", "{\n\t\t\tSystem.out.println(k);\n\t\t}", "System.out.println(k)", "System.out.println", "System.out", "System", "System.out", "k", "if (a + b >= k) {\n\t\t\tSystem.out.println(a);\n\t\t} else {\n\t\t\tlong ans = a + b - k + a;\n\t\t\tSystem.out.println(ans);\n\t\t}", "a + b >= k", "a + b", "a", "b", "k", "{\n\t\t\tSystem.out.println(a);\n\t\t}", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "{\n\t\t\tlong ans = a + b - k + a;\n\t\t\tSystem.out.println(ans);\n\t\t}", "long ans = a + b - k + a;", "ans", "a + b - k + a", "a + b - k", "a + b", "a", "b", "k", "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 sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong(); // 1\n\t\tlong b = sc.nextLong(); // 0\n\t\tlong c = sc.nextLong(); // -1\n\t\tlong k = sc.nextLong();\n\n\t\tif (a >= k) {\n\t\t\tSystem.out.println(k);\n\t\t} else if (a + b >= k) {\n\t\t\tSystem.out.println(a);\n\t\t} else {\n\t\t\tlong ans = a + b - k + a;\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong(); // 1\n\t\tlong b = sc.nextLong(); // 0\n\t\tlong c = sc.nextLong(); // -1\n\t\tlong k = sc.nextLong();\n\n\t\tif (a >= k) {\n\t\t\tSystem.out.println(k);\n\t\t} else if (a + b >= k) {\n\t\t\tSystem.out.println(a);\n\t\t} else {\n\t\t\tlong ans = a + b - k + a;\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); // 1 long b = sc.nextLong(); // 0 long c = sc.nextLong(); // -1 long k = sc.nextLong(); if (a >= k) { System.out.println(k); } else if (a + b >= k) { System.out.println(a); } else { long ans = a + b - k + a; System.out.println(ans); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 17, 30, 40, 13, 40, 13, 14, 2, 13, 17, 30, 40, 13, 30, 40, 13, 40, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 48, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 62, 63 ], [ 57, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 67, 68 ], [ 8, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 8, 75 ], [ 75, 76 ], [ 76, 77 ], [ 6, 78 ], [ 78, 79 ] ]
[ "import java.util.Scanner;\nclass Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint k = sc.nextInt();\n\n\t\tint ans = 0;\n\n\t\tfor(int i = 0; i < k; i++) {\n\t\t\tif(a >= 1) {\n\t\t\t\ta--;\n\t\t\t\tans++;\n\t\t\t} else if(b >= 1) {\n\t\t\t\tb--;\n\t\t\t} else {\n\t\t\t\tc--;\n\t\t\t\tans--;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint k = sc.nextInt();\n\n\t\tint ans = 0;\n\n\t\tfor(int i = 0; i < k; i++) {\n\t\t\tif(a >= 1) {\n\t\t\t\ta--;\n\t\t\t\tans++;\n\t\t\t} else if(b >= 1) {\n\t\t\t\tb--;\n\t\t\t} else {\n\t\t\t\tc--;\n\t\t\t\tans--;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint k = sc.nextInt();\n\n\t\tint ans = 0;\n\n\t\tfor(int i = 0; i < k; i++) {\n\t\t\tif(a >= 1) {\n\t\t\t\ta--;\n\t\t\t\tans++;\n\t\t\t} else if(b >= 1) {\n\t\t\t\tb--;\n\t\t\t} else {\n\t\t\t\tc--;\n\t\t\t\tans--;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint k = sc.nextInt();\n\n\t\tint ans = 0;\n\n\t\tfor(int i = 0; i < k; i++) {\n\t\t\tif(a >= 1) {\n\t\t\t\ta--;\n\t\t\t\tans++;\n\t\t\t} else if(b >= 1) {\n\t\t\t\tb--;\n\t\t\t} else {\n\t\t\t\tc--;\n\t\t\t\tans--;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "int k = sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "int ans = 0;", "ans", "0", "for(int i = 0; i < k; i++) {\n\t\t\tif(a >= 1) {\n\t\t\t\ta--;\n\t\t\t\tans++;\n\t\t\t} else if(b >= 1) {\n\t\t\t\tb--;\n\t\t\t} else {\n\t\t\t\tc--;\n\t\t\t\tans--;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < k", "i", "k", "i++", "i++", "i", "{\n\t\t\tif(a >= 1) {\n\t\t\t\ta--;\n\t\t\t\tans++;\n\t\t\t} else if(b >= 1) {\n\t\t\t\tb--;\n\t\t\t} else {\n\t\t\t\tc--;\n\t\t\t\tans--;\n\t\t\t}\n\t\t}", "{\n\t\t\tif(a >= 1) {\n\t\t\t\ta--;\n\t\t\t\tans++;\n\t\t\t} else if(b >= 1) {\n\t\t\t\tb--;\n\t\t\t} else {\n\t\t\t\tc--;\n\t\t\t\tans--;\n\t\t\t}\n\t\t}", "if(a >= 1) {\n\t\t\t\ta--;\n\t\t\t\tans++;\n\t\t\t} else if(b >= 1) {\n\t\t\t\tb--;\n\t\t\t} else {\n\t\t\t\tc--;\n\t\t\t\tans--;\n\t\t\t}", "a >= 1", "a", "1", "{\n\t\t\t\ta--;\n\t\t\t\tans++;\n\t\t\t}", "a--", "a", "ans++", "ans", "if(b >= 1) {\n\t\t\t\tb--;\n\t\t\t} else {\n\t\t\t\tc--;\n\t\t\t\tans--;\n\t\t\t}", "b >= 1", "b", "1", "{\n\t\t\t\tb--;\n\t\t\t}", "b--", "b", "{\n\t\t\t\tc--;\n\t\t\t\tans--;\n\t\t\t}", "c--", "c", "ans--", "ans", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "sc.close()", "sc.close", "sc", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int k = sc.nextInt(); int ans = 0; for(int i = 0; i < k; i++) { if(a >= 1) { a--; ans++; } else if(b >= 1) { b--; } else { c--; ans--; } } System.out.println(ans); sc.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 13, 30, 0, 13, 13, 0, 13, 13, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 13, 30, 0, 13, 13, 4, 18, 18, 13, 13, 2, 13, 2, 13, 40, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 82, 5 ], [ 82, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 35, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 50, 52 ], [ 46, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 53, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 6, 79 ], [ 79, 80 ], [ 0, 81 ], [ 81, 82 ], [ 81, 83 ] ]
[ "import java.util.*;\npublic class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n int c = in.nextInt();\n int k = in.nextInt();\n int x =0;\n if(k<=a){\n System.out.println(k);\n }\n else{\n x=a;\n k-=a;\n if(k<=b){\n System.out.println(x);\n }\n else{\n k-=b;\n \n System.out.println(x+(k*-1));\n }\n }\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n int c = in.nextInt();\n int k = in.nextInt();\n int x =0;\n if(k<=a){\n System.out.println(k);\n }\n else{\n x=a;\n k-=a;\n if(k<=b){\n System.out.println(x);\n }\n else{\n k-=b;\n \n System.out.println(x+(k*-1));\n }\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n int c = in.nextInt();\n int k = in.nextInt();\n int x =0;\n if(k<=a){\n System.out.println(k);\n }\n else{\n x=a;\n k-=a;\n if(k<=b){\n System.out.println(x);\n }\n else{\n k-=b;\n \n System.out.println(x+(k*-1));\n }\n }\n }", "main", "{\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n int c = in.nextInt();\n int k = in.nextInt();\n int x =0;\n if(k<=a){\n System.out.println(k);\n }\n else{\n x=a;\n k-=a;\n if(k<=b){\n System.out.println(x);\n }\n else{\n k-=b;\n \n System.out.println(x+(k*-1));\n }\n }\n }", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int a = in.nextInt();", "a", "in.nextInt()", "in.nextInt", "in", "int b = in.nextInt();", "b", "in.nextInt()", "in.nextInt", "in", "int c = in.nextInt();", "c", "in.nextInt()", "in.nextInt", "in", "int k = in.nextInt();", "k", "in.nextInt()", "in.nextInt", "in", "int x =0;", "x", "0", "if(k<=a){\n System.out.println(k);\n }\n else{\n x=a;\n k-=a;\n if(k<=b){\n System.out.println(x);\n }\n else{\n k-=b;\n \n System.out.println(x+(k*-1));\n }\n }", "k<=a", "k", "a", "{\n System.out.println(k);\n }", "System.out.println(k)", "System.out.println", "System.out", "System", "System.out", "k", "{\n x=a;\n k-=a;\n if(k<=b){\n System.out.println(x);\n }\n else{\n k-=b;\n \n System.out.println(x+(k*-1));\n }\n }", "x=a", "x", "a", "k-=a", "k", "a", "if(k<=b){\n System.out.println(x);\n }\n else{\n k-=b;\n \n System.out.println(x+(k*-1));\n }", "k<=b", "k", "b", "{\n System.out.println(x);\n }", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "{\n k-=b;\n \n System.out.println(x+(k*-1));\n }", "k-=b", "k", "b", "System.out.println(x+(k*-1))", "System.out.println", "System.out", "System", "System.out", "x+(k*-1)", "x", "(k*-1)", "k", "-1", "1", "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 int b = in.nextInt();\n int c = in.nextInt();\n int k = in.nextInt();\n int x =0;\n if(k<=a){\n System.out.println(k);\n }\n else{\n x=a;\n k-=a;\n if(k<=b){\n System.out.println(x);\n }\n else{\n k-=b;\n \n System.out.println(x+(k*-1));\n }\n }\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 int b = in.nextInt();\n int c = in.nextInt();\n int k = in.nextInt();\n int x =0;\n if(k<=a){\n System.out.println(k);\n }\n else{\n x=a;\n k-=a;\n if(k<=b){\n System.out.println(x);\n }\n else{\n k-=b;\n \n System.out.println(x+(k*-1));\n }\n }\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); int c = in.nextInt(); int k = in.nextInt(); int x =0; if(k<=a){ System.out.println(k); } else{ x=a; k-=a; if(k<=b){ System.out.println(x); } else{ k-=b; System.out.println(x+(k*-1)); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 4, 18, 13, 13, 13, 0, 13, 13, 0, 13, 13, 41, 13, 4, 18, 13, 13, 13, 0, 13, 13, 0, 13, 13, 29, 13, 23, 13, 23, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 91, 5 ], [ 91, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 37, 40 ], [ 37, 41 ], [ 37, 42 ], [ 8, 43 ], [ 43, 44 ], [ 44, 45 ], [ 6, 46 ], [ 46, 47 ], [ 91, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 56, 60 ], [ 50, 61 ], [ 61, 62 ], [ 61, 63 ], [ 50, 64 ], [ 64, 65 ], [ 64, 66 ], [ 50, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 69, 73 ], [ 50, 74 ], [ 74, 75 ], [ 74, 76 ], [ 50, 77 ], [ 77, 78 ], [ 77, 79 ], [ 50, 80 ], [ 80, 81 ], [ 48, 82 ], [ 82, 83 ], [ 48, 84 ], [ 84, 85 ], [ 48, 86 ], [ 86, 87 ], [ 48, 88 ], [ 88, 89 ], [ 0, 90 ], [ 90, 91 ], [ 90, 92 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int K = sc.nextInt();\n\n System.out.println(solve(A, B, C, K));\n\n sc.close();\n }\n\n static int solve(int A, int B, int C, int K) {\n int result = 0;\n\n int posCount = Math.min(A, K);\n result += posCount;\n K -= posCount;\n\n int zeroCount = Math.min(B, K);\n K -= zeroCount;\n\n result -= K;\n\n return result;\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 B = sc.nextInt();\n int C = sc.nextInt();\n int K = sc.nextInt();\n\n System.out.println(solve(A, B, C, K));\n\n sc.close();\n }\n\n static int solve(int A, int B, int C, int K) {\n int result = 0;\n\n int posCount = Math.min(A, K);\n result += posCount;\n K -= posCount;\n\n int zeroCount = Math.min(B, K);\n K -= zeroCount;\n\n result -= K;\n\n return result;\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int K = sc.nextInt();\n\n System.out.println(solve(A, B, C, K));\n\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int K = sc.nextInt();\n\n System.out.println(solve(A, B, C, K));\n\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 B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "int C = sc.nextInt();", "C", "sc.nextInt()", "sc.nextInt", "sc", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "System.out.println(solve(A, B, C, K))", "System.out.println", "System.out", "System", "System.out", "solve(A, B, C, K)", "solve", "A", "B", "C", "K", "sc.close()", "sc.close", "sc", "String[] args", "args", "static int solve(int A, int B, int C, int K) {\n int result = 0;\n\n int posCount = Math.min(A, K);\n result += posCount;\n K -= posCount;\n\n int zeroCount = Math.min(B, K);\n K -= zeroCount;\n\n result -= K;\n\n return result;\n }", "solve", "{\n int result = 0;\n\n int posCount = Math.min(A, K);\n result += posCount;\n K -= posCount;\n\n int zeroCount = Math.min(B, K);\n K -= zeroCount;\n\n result -= K;\n\n return result;\n }", "int result = 0;", "result", "0", "int posCount = Math.min(A, K);", "posCount", "Math.min(A, K)", "Math.min", "Math", "A", "K", "result += posCount", "result", "posCount", "K -= posCount", "K", "posCount", "int zeroCount = Math.min(B, K);", "zeroCount", "Math.min(B, K)", "Math.min", "Math", "B", "K", "K -= zeroCount", "K", "zeroCount", "result -= K", "result", "K", "return result;", "result", "int A", "A", "int B", "B", "int C", "C", "int K", "K", "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 B = sc.nextInt();\n int C = sc.nextInt();\n int K = sc.nextInt();\n\n System.out.println(solve(A, B, C, K));\n\n sc.close();\n }\n\n static int solve(int A, int B, int C, int K) {\n int result = 0;\n\n int posCount = Math.min(A, K);\n result += posCount;\n K -= posCount;\n\n int zeroCount = Math.min(B, K);\n K -= zeroCount;\n\n result -= K;\n\n return result;\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 B = sc.nextInt();\n int C = sc.nextInt();\n int K = sc.nextInt();\n\n System.out.println(solve(A, B, C, K));\n\n sc.close();\n }\n\n static int solve(int A, int B, int C, int K) {\n int result = 0;\n\n int posCount = Math.min(A, K);\n result += posCount;\n K -= posCount;\n\n int zeroCount = Math.min(B, K);\n K -= zeroCount;\n\n result -= K;\n\n return result;\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); int K = sc.nextInt(); System.out.println(solve(A, B, C, K)); sc.close(); } static int solve(int A, int B, int C, int K) { int result = 0; int posCount = Math.min(A, K); result += posCount; K -= posCount; int zeroCount = Math.min(B, K); K -= zeroCount; result -= K; return result; } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 17, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 14, 2, 13, 17, 30, 0, 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 ], [ 76, 8 ], [ 76, 9 ], [ 9, 10 ], [ 9, 11 ], [ 76, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 14, 35 ], [ 35, 36 ], [ 35, 37 ], [ 14, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 46, 48 ], [ 38, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 53, 55 ], [ 14, 56 ], [ 56, 57 ], [ 56, 58 ], [ 14, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 14, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 12, 73 ], [ 73, 74 ], [ 0, 75 ], [ 75, 76 ], [ 75, 77 ] ]
[ "import java.io.BufferedInputStream;\nimport java.util.Scanner;\n\npublic class Main {\n private static Scanner sc = new Scanner(new BufferedInputStream(System.in));\n\n public static void main(String[] args) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n long sum = 0;\n if (a >= k) {\n sum += k;\n k = 0;\n } else {\n sum += a;\n k -= a;\n }\n k -= b;\n if (k > 0) {\n sum -= k;\n }\n System.out.println(sum);\n }\n}", "import java.io.BufferedInputStream;", "BufferedInputStream", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n private static Scanner sc = new Scanner(new BufferedInputStream(System.in));\n\n public static void main(String[] args) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n long sum = 0;\n if (a >= k) {\n sum += k;\n k = 0;\n } else {\n sum += a;\n k -= a;\n }\n k -= b;\n if (k > 0) {\n sum -= k;\n }\n System.out.println(sum);\n }\n}", "Main", "private static Scanner sc = new Scanner(new BufferedInputStream(System.in));", "sc", "new Scanner(new BufferedInputStream(System.in))", "public static void main(String[] args) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n long sum = 0;\n if (a >= k) {\n sum += k;\n k = 0;\n } else {\n sum += a;\n k -= a;\n }\n k -= b;\n if (k > 0) {\n sum -= k;\n }\n System.out.println(sum);\n }", "main", "{\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n long sum = 0;\n if (a >= k) {\n sum += k;\n k = 0;\n } else {\n sum += a;\n k -= a;\n }\n k -= b;\n if (k > 0) {\n sum -= k;\n }\n System.out.println(sum);\n }", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "int k = sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "long sum = 0;", "sum", "0", "if (a >= k) {\n sum += k;\n k = 0;\n } else {\n sum += a;\n k -= a;\n }", "a >= k", "a", "k", "{\n sum += k;\n k = 0;\n }", "sum += k", "sum", "k", "k = 0", "k", "0", "{\n sum += a;\n k -= a;\n }", "sum += a", "sum", "a", "k -= a", "k", "a", "k -= b", "k", "b", "if (k > 0) {\n sum -= k;\n }", "k > 0", "k", "0", "{\n sum -= k;\n }", "sum -= k", "sum", "k", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "String[] args", "args", "public class Main {\n private static Scanner sc = new Scanner(new BufferedInputStream(System.in));\n\n public static void main(String[] args) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n long sum = 0;\n if (a >= k) {\n sum += k;\n k = 0;\n } else {\n sum += a;\n k -= a;\n }\n k -= b;\n if (k > 0) {\n sum -= k;\n }\n System.out.println(sum);\n }\n}", "public class Main {\n private static Scanner sc = new Scanner(new BufferedInputStream(System.in));\n\n public static void main(String[] args) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n long sum = 0;\n if (a >= k) {\n sum += k;\n k = 0;\n } else {\n sum += a;\n k -= a;\n }\n k -= b;\n if (k > 0) {\n sum -= k;\n }\n System.out.println(sum);\n }\n}", "Main" ]
import java.io.BufferedInputStream; import java.util.Scanner; public class Main { private static Scanner sc = new Scanner(new BufferedInputStream(System.in)); public static void main(String[] args) { int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int k = sc.nextInt(); long sum = 0; if (a >= k) { sum += k; k = 0; } else { sum += a; k -= a; } k -= b; if (k > 0) { sum -= k; } 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, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 13, 14, 2, 2, 13, 13, 13, 30, 4, 18, 18, 13, 13, 13, 14, 2, 2, 2, 13, 13, 13, 13, 30, 4, 18, 18, 13, 13, 2, 13, 2, 13, 2, 2, 2, 13, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 84, 5 ], [ 84, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 32, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 43, 56 ], [ 56, 57 ], [ 57, 58 ], [ 59, 59 ], [ 59, 60 ], [ 59, 61 ], [ 59, 62 ], [ 57, 63 ], [ 56, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 74, 80 ], [ 6, 81 ], [ 81, 82 ], [ 0, 83 ], [ 83, 84 ], [ 83, 85 ] ]
[ " import java.util.Scanner;\n \n \n public class Main {\n \n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n \n if (a >= k) {\n System.out.println(k);\n } else if (a + b >= k) {\n System.out.println(a);\n } else if (a + b + c >= k) {\n System.out.println(a - (c - ((a + b + c) - k)));\n }\n\n \n \n }\n }", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n \n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n \n if (a >= k) {\n System.out.println(k);\n } else if (a + b >= k) {\n System.out.println(a);\n } else if (a + b + c >= k) {\n System.out.println(a - (c - ((a + b + c) - k)));\n }\n\n \n \n }\n }", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n \n if (a >= k) {\n System.out.println(k);\n } else if (a + b >= k) {\n System.out.println(a);\n } else if (a + b + c >= k) {\n System.out.println(a - (c - ((a + b + c) - k)));\n }\n\n \n \n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n \n if (a >= k) {\n System.out.println(k);\n } else if (a + b >= k) {\n System.out.println(a);\n } else if (a + b + c >= k) {\n System.out.println(a - (c - ((a + b + c) - k)));\n }\n\n \n \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "int k = sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "if (a >= k) {\n System.out.println(k);\n } else if (a + b >= k) {\n System.out.println(a);\n } else if (a + b + c >= k) {\n System.out.println(a - (c - ((a + b + c) - k)));\n }", "a >= k", "a", "k", "{\n System.out.println(k);\n }", "System.out.println(k)", "System.out.println", "System.out", "System", "System.out", "k", "if (a + b >= k) {\n System.out.println(a);\n } else if (a + b + c >= k) {\n System.out.println(a - (c - ((a + b + c) - k)));\n }", "a + b >= k", "a + b", "a", "b", "k", "{\n System.out.println(a);\n }", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "if (a + b + c >= k) {\n System.out.println(a - (c - ((a + b + c) - k)));\n }", "a + b + c >= k", "a + b + c", "a + b + c", "a", "b", "c", "k", "{\n System.out.println(a - (c - ((a + b + c) - k)));\n }", "System.out.println(a - (c - ((a + b + c) - k)))", "System.out.println", "System.out", "System", "System.out", "a - (c - ((a + b + c) - k))", "a", "(c - ((a + b + c) - k))", "c", "((a + b + c) - k)", "(a + b + c)", "a + b + c", "a", "b", "c", "k", "String[] args", "args", "public class Main {\n \n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n \n if (a >= k) {\n System.out.println(k);\n } else if (a + b >= k) {\n System.out.println(a);\n } else if (a + b + c >= k) {\n System.out.println(a - (c - ((a + b + c) - k)));\n }\n\n \n \n }\n }", "public class Main {\n \n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n \n if (a >= k) {\n System.out.println(k);\n } else if (a + b >= k) {\n System.out.println(a);\n } else if (a + b + c >= k) {\n System.out.println(a - (c - ((a + b + c) - k)));\n }\n\n \n \n }\n }", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int k = sc.nextInt(); if (a >= k) { System.out.println(k); } else if (a + b >= k) { System.out.println(a); } else if (a + b + c >= k) { System.out.println(a - (c - ((a + b + c) - k))); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 12, 13, 30, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 18, 13, 13, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 20, 4, 18, 13, 41, 13, 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, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 0, 13, 20, 14, 2, 2, 13, 17, 2, 18, 13, 13, 13, 30, 0, 13, 4, 18, 4, 18, 13, 17, 0, 13, 17, 12, 13, 30, 4, 13, 29, 4, 18, 13, 18, 13, 40, 13, 12, 13, 30, 4, 13, 29, 4, 18, 13, 18, 13, 40, 13, 12, 13, 30, 4, 13, 29, 18, 13, 40, 13, 12, 13, 30, 4, 13, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 0, 13, 18, 13, 13, 29, 13, 12, 13, 30, 4, 13, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 0, 13, 18, 13, 13, 29, 13, 12, 13, 30, 4, 13, 0, 13, 18, 13, 13, 29, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 287, 8 ], [ 287, 9 ], [ 9, 10 ], [ 9, 11 ], [ 287, 12 ], [ 12, 13 ], [ 12, 14 ], [ 287, 15 ], [ 15, 16 ], [ 15, 17 ], [ 287, 18 ], [ 18, 19 ], [ 18, 20 ], [ 287, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 23, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 23, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 23, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 42, 46 ], [ 23, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 49, 53 ], [ 23, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 56, 60 ], [ 23, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 63, 67 ], [ 23, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 21, 74 ], [ 74, 75 ], [ 287, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 82, 83 ], [ 83, 84 ], [ 78, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 88, 89 ], [ 78, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 97, 99 ], [ 90, 100 ], [ 100, 101 ], [ 101, 102 ], [ 90, 103 ], [ 104, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 112, 113 ], [ 112, 114 ], [ 78, 115 ], [ 115, 116 ], [ 76, 117 ], [ 117, 118 ], [ 287, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 121, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 131, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 130, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 143, 148 ], [ 140, 149 ], [ 149, 150 ], [ 149, 151 ], [ 287, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 154, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 158, 161 ], [ 161, 162 ], [ 161, 163 ], [ 163, 164 ], [ 287, 165 ], [ 165, 166 ], [ 165, 167 ], [ 167, 168 ], [ 168, 169 ], [ 167, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 171, 174 ], [ 174, 175 ], [ 174, 176 ], [ 176, 177 ], [ 287, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 181, 182 ], [ 180, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 186, 187 ], [ 287, 188 ], [ 188, 189 ], [ 188, 190 ], [ 190, 191 ], [ 191, 192 ], [ 190, 193 ], [ 193, 194 ], [ 193, 195 ], [ 196, 197 ], [ 196, 198 ], [ 190, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 201, 203 ], [ 199, 204 ], [ 204, 205 ], [ 204, 206 ], [ 206, 207 ], [ 206, 208 ], [ 199, 209 ], [ 209, 210 ], [ 210, 211 ], [ 199, 212 ], [ 213, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 214, 218 ], [ 218, 219 ], [ 219, 220 ], [ 218, 221 ], [ 221, 222 ], [ 221, 223 ], [ 190, 224 ], [ 224, 225 ], [ 224, 226 ], [ 226, 227 ], [ 226, 228 ], [ 190, 229 ], [ 229, 230 ], [ 287, 231 ], [ 231, 232 ], [ 231, 233 ], [ 233, 234 ], [ 234, 235 ], [ 233, 236 ], [ 236, 237 ], [ 236, 238 ], [ 239, 240 ], [ 239, 241 ], [ 233, 242 ], [ 242, 243 ], [ 243, 244 ], [ 244, 245 ], [ 244, 246 ], [ 242, 247 ], [ 247, 248 ], [ 247, 249 ], [ 249, 250 ], [ 249, 251 ], [ 242, 252 ], [ 252, 253 ], [ 253, 254 ], [ 242, 255 ], [ 256, 256 ], [ 256, 257 ], [ 257, 258 ], [ 258, 259 ], [ 258, 260 ], [ 257, 261 ], [ 261, 262 ], [ 262, 263 ], [ 261, 264 ], [ 264, 265 ], [ 264, 266 ], [ 233, 267 ], [ 267, 268 ], [ 267, 269 ], [ 269, 270 ], [ 269, 271 ], [ 233, 272 ], [ 272, 273 ], [ 287, 274 ], [ 274, 275 ], [ 274, 276 ], [ 276, 277 ], [ 277, 278 ], [ 276, 279 ], [ 279, 280 ], [ 279, 281 ], [ 281, 282 ], [ 281, 283 ], [ 276, 284 ], [ 284, 285 ], [ 0, 286 ], [ 286, 287 ], [ 286, 288 ] ]
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n\tfinal static long MOD = 1000000007;\n\tpublic static String[] Ws = null;\n\tpublic static int wsIndx = 0;\n\tpublic static BufferedReader in = null;\n\tpublic static void main(String[] args) throws Exception {\n\n\t\tint A =nextInt();\n\t\tint B =nextInt();\n\t\tint C =nextInt();\n\t\tint K =nextInt();\n\t\tint ans =Math.min(A, K);\n\t\tK-=Math.min(A, K);\n\t\tK-=Math.min(B,K);\n\t\tans-=Math.min(C, K);\n\t\tSystem.out.println(ans);\n\t}\n\n\n\tpublic static String[] toStringArray(String s) {\n\t\tString[] tmp = new String[s.length()];\n\t\tchar[] c = s.toCharArray();\n\t\tfor (int i = 0; i < tmp.length; i++) {\n\t\t\ttmp[i] = String.valueOf(c[i]);\n\t\t}\n\t\treturn tmp;\n\t}\n\n\tpublic static void check() throws Exception{\n\t\tif(in == null){\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\tif(Ws==null || Ws.length<=wsIndx){\n\t\t\tWs = in.readLine().split(\" \");\n\t\t\twsIndx=0;\n\t\t}\n\t}\n\tpublic static int nextInt()throws Exception{\n\t\tcheck();\n\t\treturn Integer.parseInt(Ws[wsIndx++]);\n\t}\n\n\tpublic static long nextLong()throws Exception{\n\t\tcheck();\n\t\treturn Long.parseLong(Ws[wsIndx++]);\n\t}\n\n\tpublic static String nextString()throws Exception{\n\t\tcheck();\n\t\treturn Ws[wsIndx++];\n\t}\n\n\tpublic static int[] nextInts()throws Exception{\n\t\tcheck();\n\t\tint[] tmp = new int[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Integer.parseInt(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}\n\n\tpublic static long[] nextLongs()throws Exception{\n\t\tcheck();\n\t\tlong[] tmp = new long[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Long.parseLong(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}\n\n\tpublic static String[] nextStrings()throws Exception{\n\t\tcheck();\n\t\twsIndx=Ws.length;\n\t\treturn Ws;\n\t}\n\n\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n\n\tfinal static long MOD = 1000000007;\n\tpublic static String[] Ws = null;\n\tpublic static int wsIndx = 0;\n\tpublic static BufferedReader in = null;\n\tpublic static void main(String[] args) throws Exception {\n\n\t\tint A =nextInt();\n\t\tint B =nextInt();\n\t\tint C =nextInt();\n\t\tint K =nextInt();\n\t\tint ans =Math.min(A, K);\n\t\tK-=Math.min(A, K);\n\t\tK-=Math.min(B,K);\n\t\tans-=Math.min(C, K);\n\t\tSystem.out.println(ans);\n\t}\n\n\n\tpublic static String[] toStringArray(String s) {\n\t\tString[] tmp = new String[s.length()];\n\t\tchar[] c = s.toCharArray();\n\t\tfor (int i = 0; i < tmp.length; i++) {\n\t\t\ttmp[i] = String.valueOf(c[i]);\n\t\t}\n\t\treturn tmp;\n\t}\n\n\tpublic static void check() throws Exception{\n\t\tif(in == null){\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\tif(Ws==null || Ws.length<=wsIndx){\n\t\t\tWs = in.readLine().split(\" \");\n\t\t\twsIndx=0;\n\t\t}\n\t}\n\tpublic static int nextInt()throws Exception{\n\t\tcheck();\n\t\treturn Integer.parseInt(Ws[wsIndx++]);\n\t}\n\n\tpublic static long nextLong()throws Exception{\n\t\tcheck();\n\t\treturn Long.parseLong(Ws[wsIndx++]);\n\t}\n\n\tpublic static String nextString()throws Exception{\n\t\tcheck();\n\t\treturn Ws[wsIndx++];\n\t}\n\n\tpublic static int[] nextInts()throws Exception{\n\t\tcheck();\n\t\tint[] tmp = new int[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Integer.parseInt(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}\n\n\tpublic static long[] nextLongs()throws Exception{\n\t\tcheck();\n\t\tlong[] tmp = new long[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Long.parseLong(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}\n\n\tpublic static String[] nextStrings()throws Exception{\n\t\tcheck();\n\t\twsIndx=Ws.length;\n\t\treturn Ws;\n\t}\n\n\n}", "Main", "final static long MOD = 1000000007;", "MOD", "1000000007", "public static String[] Ws = null;", "Ws", "null", "public static int wsIndx = 0;", "wsIndx", "0", "public static BufferedReader in = null;", "in", "null", "public static void main(String[] args) throws Exception {\n\n\t\tint A =nextInt();\n\t\tint B =nextInt();\n\t\tint C =nextInt();\n\t\tint K =nextInt();\n\t\tint ans =Math.min(A, K);\n\t\tK-=Math.min(A, K);\n\t\tK-=Math.min(B,K);\n\t\tans-=Math.min(C, K);\n\t\tSystem.out.println(ans);\n\t}", "main", "{\n\n\t\tint A =nextInt();\n\t\tint B =nextInt();\n\t\tint C =nextInt();\n\t\tint K =nextInt();\n\t\tint ans =Math.min(A, K);\n\t\tK-=Math.min(A, K);\n\t\tK-=Math.min(B,K);\n\t\tans-=Math.min(C, K);\n\t\tSystem.out.println(ans);\n\t}", "int A =nextInt();", "A", "nextInt()", "nextInt", "int B =nextInt();", "B", "nextInt()", "nextInt", "int C =nextInt();", "C", "nextInt()", "nextInt", "int K =nextInt();", "K", "nextInt()", "nextInt", "int ans =Math.min(A, K);", "ans", "Math.min(A, K)", "Math.min", "Math", "A", "K", "K-=Math.min(A, K)", "K", "Math.min(A, K)", "Math.min", "Math", "A", "K", "K-=Math.min(B,K)", "K", "Math.min(B,K)", "Math.min", "Math", "B", "K", "ans-=Math.min(C, K)", "ans", "Math.min(C, K)", "Math.min", "Math", "C", "K", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public static String[] toStringArray(String s) {\n\t\tString[] tmp = new String[s.length()];\n\t\tchar[] c = s.toCharArray();\n\t\tfor (int i = 0; i < tmp.length; i++) {\n\t\t\ttmp[i] = String.valueOf(c[i]);\n\t\t}\n\t\treturn tmp;\n\t}", "toStringArray", "{\n\t\tString[] tmp = new String[s.length()];\n\t\tchar[] c = s.toCharArray();\n\t\tfor (int i = 0; i < tmp.length; i++) {\n\t\t\ttmp[i] = String.valueOf(c[i]);\n\t\t}\n\t\treturn tmp;\n\t}", "String[] tmp = new String[s.length()];", "tmp", "new String[s.length()]", "s.length()", "s.length", "s", "char[] c = s.toCharArray();", "c", "s.toCharArray()", "s.toCharArray", "s", "for (int i = 0; i < tmp.length; i++) {\n\t\t\ttmp[i] = String.valueOf(c[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < tmp.length", "i", "tmp.length", "tmp", "tmp.length", "i++", "i++", "i", "{\n\t\t\ttmp[i] = String.valueOf(c[i]);\n\t\t}", "{\n\t\t\ttmp[i] = String.valueOf(c[i]);\n\t\t}", "tmp[i] = String.valueOf(c[i])", "tmp[i]", "tmp", "i", "String.valueOf(c[i])", "String.valueOf", "String", "c[i]", "c", "i", "return tmp;", "tmp", "String s", "s", "public static void check() throws Exception{\n\t\tif(in == null){\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\tif(Ws==null || Ws.length<=wsIndx){\n\t\t\tWs = in.readLine().split(\" \");\n\t\t\twsIndx=0;\n\t\t}\n\t}", "check", "{\n\t\tif(in == null){\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\tif(Ws==null || Ws.length<=wsIndx){\n\t\t\tWs = in.readLine().split(\" \");\n\t\t\twsIndx=0;\n\t\t}\n\t}", "if(in == null){\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t}", "in == null", "in", "null", "{\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t}", "in = new BufferedReader(new InputStreamReader(System.in))", "in", "new BufferedReader(new InputStreamReader(System.in))", "if(Ws==null || Ws.length<=wsIndx){\n\t\t\tWs = in.readLine().split(\" \");\n\t\t\twsIndx=0;\n\t\t}", "Ws==null || Ws.length<=wsIndx", "Ws==null", "Ws", "null", "Ws.length<=wsIndx", "Ws.length", "Ws", "Ws.length", "wsIndx", "{\n\t\t\tWs = in.readLine().split(\" \");\n\t\t\twsIndx=0;\n\t\t}", "Ws = in.readLine().split(\" \")", "Ws", "in.readLine().split(\" \")", "in.readLine().split", "in.readLine()", "in.readLine", "in", "\" \"", "wsIndx=0", "wsIndx", "0", "public static int nextInt()throws Exception{\n\t\tcheck();\n\t\treturn Integer.parseInt(Ws[wsIndx++]);\n\t}", "nextInt", "{\n\t\tcheck();\n\t\treturn Integer.parseInt(Ws[wsIndx++]);\n\t}", "check()", "check", "return Integer.parseInt(Ws[wsIndx++]);", "Integer.parseInt(Ws[wsIndx++])", "Integer.parseInt", "Integer", "Ws[wsIndx++]", "Ws", "wsIndx++", "wsIndx", "public static long nextLong()throws Exception{\n\t\tcheck();\n\t\treturn Long.parseLong(Ws[wsIndx++]);\n\t}", "nextLong", "{\n\t\tcheck();\n\t\treturn Long.parseLong(Ws[wsIndx++]);\n\t}", "check()", "check", "return Long.parseLong(Ws[wsIndx++]);", "Long.parseLong(Ws[wsIndx++])", "Long.parseLong", "Long", "Ws[wsIndx++]", "Ws", "wsIndx++", "wsIndx", "public static String nextString()throws Exception{\n\t\tcheck();\n\t\treturn Ws[wsIndx++];\n\t}", "nextString", "{\n\t\tcheck();\n\t\treturn Ws[wsIndx++];\n\t}", "check()", "check", "return Ws[wsIndx++];", "Ws[wsIndx++]", "Ws", "wsIndx++", "wsIndx", "public static int[] nextInts()throws Exception{\n\t\tcheck();\n\t\tint[] tmp = new int[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Integer.parseInt(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}", "nextInts", "{\n\t\tcheck();\n\t\tint[] tmp = new int[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Integer.parseInt(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}", "check()", "check", "int[] tmp = new int[Ws.length];", "tmp", "new int[Ws.length]", "Ws.length", "Ws", "Ws.length", "for(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Integer.parseInt(Ws[i]);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<tmp.length", "i", "tmp.length", "tmp", "tmp.length", "i++", "i++", "i", "{\n\t\t\ttmp[i]=Integer.parseInt(Ws[i]);\n\t\t}", "{\n\t\t\ttmp[i]=Integer.parseInt(Ws[i]);\n\t\t}", "tmp[i]=Integer.parseInt(Ws[i])", "tmp[i]", "tmp", "i", "Integer.parseInt(Ws[i])", "Integer.parseInt", "Integer", "Ws[i]", "Ws", "i", "wsIndx=Ws.length", "wsIndx", "Ws.length", "Ws", "Ws.length", "return tmp;", "tmp", "public static long[] nextLongs()throws Exception{\n\t\tcheck();\n\t\tlong[] tmp = new long[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Long.parseLong(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}", "nextLongs", "{\n\t\tcheck();\n\t\tlong[] tmp = new long[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Long.parseLong(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}", "check()", "check", "long[] tmp = new long[Ws.length];", "tmp", "new long[Ws.length]", "Ws.length", "Ws", "Ws.length", "for(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Long.parseLong(Ws[i]);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<tmp.length", "i", "tmp.length", "tmp", "tmp.length", "i++", "i++", "i", "{\n\t\t\ttmp[i]=Long.parseLong(Ws[i]);\n\t\t}", "{\n\t\t\ttmp[i]=Long.parseLong(Ws[i]);\n\t\t}", "tmp[i]=Long.parseLong(Ws[i])", "tmp[i]", "tmp", "i", "Long.parseLong(Ws[i])", "Long.parseLong", "Long", "Ws[i]", "Ws", "i", "wsIndx=Ws.length", "wsIndx", "Ws.length", "Ws", "Ws.length", "return tmp;", "tmp", "public static String[] nextStrings()throws Exception{\n\t\tcheck();\n\t\twsIndx=Ws.length;\n\t\treturn Ws;\n\t}", "nextStrings", "{\n\t\tcheck();\n\t\twsIndx=Ws.length;\n\t\treturn Ws;\n\t}", "check()", "check", "wsIndx=Ws.length", "wsIndx", "Ws.length", "Ws", "Ws.length", "return Ws;", "Ws", "public class Main {\n\n\tfinal static long MOD = 1000000007;\n\tpublic static String[] Ws = null;\n\tpublic static int wsIndx = 0;\n\tpublic static BufferedReader in = null;\n\tpublic static void main(String[] args) throws Exception {\n\n\t\tint A =nextInt();\n\t\tint B =nextInt();\n\t\tint C =nextInt();\n\t\tint K =nextInt();\n\t\tint ans =Math.min(A, K);\n\t\tK-=Math.min(A, K);\n\t\tK-=Math.min(B,K);\n\t\tans-=Math.min(C, K);\n\t\tSystem.out.println(ans);\n\t}\n\n\n\tpublic static String[] toStringArray(String s) {\n\t\tString[] tmp = new String[s.length()];\n\t\tchar[] c = s.toCharArray();\n\t\tfor (int i = 0; i < tmp.length; i++) {\n\t\t\ttmp[i] = String.valueOf(c[i]);\n\t\t}\n\t\treturn tmp;\n\t}\n\n\tpublic static void check() throws Exception{\n\t\tif(in == null){\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\tif(Ws==null || Ws.length<=wsIndx){\n\t\t\tWs = in.readLine().split(\" \");\n\t\t\twsIndx=0;\n\t\t}\n\t}\n\tpublic static int nextInt()throws Exception{\n\t\tcheck();\n\t\treturn Integer.parseInt(Ws[wsIndx++]);\n\t}\n\n\tpublic static long nextLong()throws Exception{\n\t\tcheck();\n\t\treturn Long.parseLong(Ws[wsIndx++]);\n\t}\n\n\tpublic static String nextString()throws Exception{\n\t\tcheck();\n\t\treturn Ws[wsIndx++];\n\t}\n\n\tpublic static int[] nextInts()throws Exception{\n\t\tcheck();\n\t\tint[] tmp = new int[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Integer.parseInt(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}\n\n\tpublic static long[] nextLongs()throws Exception{\n\t\tcheck();\n\t\tlong[] tmp = new long[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Long.parseLong(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}\n\n\tpublic static String[] nextStrings()throws Exception{\n\t\tcheck();\n\t\twsIndx=Ws.length;\n\t\treturn Ws;\n\t}\n\n\n}", "public class Main {\n\n\tfinal static long MOD = 1000000007;\n\tpublic static String[] Ws = null;\n\tpublic static int wsIndx = 0;\n\tpublic static BufferedReader in = null;\n\tpublic static void main(String[] args) throws Exception {\n\n\t\tint A =nextInt();\n\t\tint B =nextInt();\n\t\tint C =nextInt();\n\t\tint K =nextInt();\n\t\tint ans =Math.min(A, K);\n\t\tK-=Math.min(A, K);\n\t\tK-=Math.min(B,K);\n\t\tans-=Math.min(C, K);\n\t\tSystem.out.println(ans);\n\t}\n\n\n\tpublic static String[] toStringArray(String s) {\n\t\tString[] tmp = new String[s.length()];\n\t\tchar[] c = s.toCharArray();\n\t\tfor (int i = 0; i < tmp.length; i++) {\n\t\t\ttmp[i] = String.valueOf(c[i]);\n\t\t}\n\t\treturn tmp;\n\t}\n\n\tpublic static void check() throws Exception{\n\t\tif(in == null){\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\tif(Ws==null || Ws.length<=wsIndx){\n\t\t\tWs = in.readLine().split(\" \");\n\t\t\twsIndx=0;\n\t\t}\n\t}\n\tpublic static int nextInt()throws Exception{\n\t\tcheck();\n\t\treturn Integer.parseInt(Ws[wsIndx++]);\n\t}\n\n\tpublic static long nextLong()throws Exception{\n\t\tcheck();\n\t\treturn Long.parseLong(Ws[wsIndx++]);\n\t}\n\n\tpublic static String nextString()throws Exception{\n\t\tcheck();\n\t\treturn Ws[wsIndx++];\n\t}\n\n\tpublic static int[] nextInts()throws Exception{\n\t\tcheck();\n\t\tint[] tmp = new int[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Integer.parseInt(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}\n\n\tpublic static long[] nextLongs()throws Exception{\n\t\tcheck();\n\t\tlong[] tmp = new long[Ws.length];\n\t\tfor(int i=0;i<tmp.length;i++){\n\t\t\ttmp[i]=Long.parseLong(Ws[i]);\n\t\t}\n\t\twsIndx=Ws.length;\n\t\treturn tmp;\n\t}\n\n\tpublic static String[] nextStrings()throws Exception{\n\t\tcheck();\n\t\twsIndx=Ws.length;\n\t\treturn Ws;\n\t}\n\n\n}", "Main" ]
import java.io.*; import java.util.*; public class Main { final static long MOD = 1000000007; public static String[] Ws = null; public static int wsIndx = 0; public static BufferedReader in = null; public static void main(String[] args) throws Exception { int A =nextInt(); int B =nextInt(); int C =nextInt(); int K =nextInt(); int ans =Math.min(A, K); K-=Math.min(A, K); K-=Math.min(B,K); ans-=Math.min(C, K); System.out.println(ans); } public static String[] toStringArray(String s) { String[] tmp = new String[s.length()]; char[] c = s.toCharArray(); for (int i = 0; i < tmp.length; i++) { tmp[i] = String.valueOf(c[i]); } return tmp; } public static void check() throws Exception{ if(in == null){ in = new BufferedReader(new InputStreamReader(System.in)); } if(Ws==null || Ws.length<=wsIndx){ Ws = in.readLine().split(" "); wsIndx=0; } } public static int nextInt()throws Exception{ check(); return Integer.parseInt(Ws[wsIndx++]); } public static long nextLong()throws Exception{ check(); return Long.parseLong(Ws[wsIndx++]); } public static String nextString()throws Exception{ check(); return Ws[wsIndx++]; } public static int[] nextInts()throws Exception{ check(); int[] tmp = new int[Ws.length]; for(int i=0;i<tmp.length;i++){ tmp[i]=Integer.parseInt(Ws[i]); } wsIndx=Ws.length; return tmp; } public static long[] nextLongs()throws Exception{ check(); long[] tmp = new long[Ws.length]; for(int i=0;i<tmp.length;i++){ tmp[i]=Long.parseLong(Ws[i]); } wsIndx=Ws.length; return tmp; } public static String[] nextStrings()throws Exception{ check(); wsIndx=Ws.length; return Ws; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 13, 30, 0, 13, 13, 4, 18, 18, 13, 13, 2, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 32, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 47, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 67, 68 ], [ 67, 69 ], [ 6, 70 ], [ 70, 71 ] ]
[ "import java.util.*;\nclass Main{\npublic static void main(String[]args){\nScanner sc=new Scanner(System.in);\n int a=sc.nextInt(),b=sc.nextInt(),c=sc.nextInt(),k=sc.nextInt();\n if(a>k){\n System.out.println(k);\n }else{\n k-=a;\n if(b>k){\n System.out.println(a);\n }else{\n k-=b;\n System.out.println(a-k);\n }\n }\n}\n}", "import java.util.*;", "util.*", "java", "class Main{\npublic static void main(String[]args){\nScanner sc=new Scanner(System.in);\n int a=sc.nextInt(),b=sc.nextInt(),c=sc.nextInt(),k=sc.nextInt();\n if(a>k){\n System.out.println(k);\n }else{\n k-=a;\n if(b>k){\n System.out.println(a);\n }else{\n k-=b;\n System.out.println(a-k);\n }\n }\n}\n}", "Main", "public static void main(String[]args){\nScanner sc=new Scanner(System.in);\n int a=sc.nextInt(),b=sc.nextInt(),c=sc.nextInt(),k=sc.nextInt();\n if(a>k){\n System.out.println(k);\n }else{\n k-=a;\n if(b>k){\n System.out.println(a);\n }else{\n k-=b;\n System.out.println(a-k);\n }\n }\n}", "main", "{\nScanner sc=new Scanner(System.in);\n int a=sc.nextInt(),b=sc.nextInt(),c=sc.nextInt(),k=sc.nextInt();\n if(a>k){\n System.out.println(k);\n }else{\n k-=a;\n if(b>k){\n System.out.println(a);\n }else{\n k-=b;\n System.out.println(a-k);\n }\n }\n}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a=sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "b=sc.nextInt()", "b", "sc.nextInt()", "sc.nextInt", "sc", "c=sc.nextInt()", "c", "sc.nextInt()", "sc.nextInt", "sc", "k=sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "if(a>k){\n System.out.println(k);\n }else{\n k-=a;\n if(b>k){\n System.out.println(a);\n }else{\n k-=b;\n System.out.println(a-k);\n }\n }", "a>k", "a", "k", "{\n System.out.println(k);\n }", "System.out.println(k)", "System.out.println", "System.out", "System", "System.out", "k", "{\n k-=a;\n if(b>k){\n System.out.println(a);\n }else{\n k-=b;\n System.out.println(a-k);\n }\n }", "k-=a", "k", "a", "if(b>k){\n System.out.println(a);\n }else{\n k-=b;\n System.out.println(a-k);\n }", "b>k", "b", "k", "{\n System.out.println(a);\n }", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "{\n k-=b;\n System.out.println(a-k);\n }", "k-=b", "k", "b", "System.out.println(a-k)", "System.out.println", "System.out", "System", "System.out", "a-k", "a", "k", "String[]args", "args" ]
import java.util.*; class Main{ public static void main(String[]args){ Scanner sc=new Scanner(System.in); int a=sc.nextInt(),b=sc.nextInt(),c=sc.nextInt(),k=sc.nextInt(); if(a>k){ System.out.println(k); }else{ k-=a; if(b>k){ System.out.println(a); }else{ k-=b; System.out.println(a-k); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 0, 18, 13, 17, 4, 18, 13, 0, 18, 13, 17, 4, 18, 13, 0, 18, 13, 17, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 42, 2, 2, 13, 17, 2, 18, 13, 17, 17, 30, 0, 13, 17, 40, 13, 40, 18, 13, 17, 42, 2, 2, 13, 17, 2, 18, 13, 17, 17, 30, 40, 18, 13, 17, 40, 13, 42, 2, 2, 13, 17, 2, 18, 13, 17, 17, 30, 0, 13, 17, 40, 18, 13, 17, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 114, 5 ], [ 114, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 16, 20 ], [ 20, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 35, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 8, 45 ], [ 45, 46 ], [ 45, 47 ], [ 8, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 48, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 58, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 8, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 68, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 8, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 85, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 95, 103 ], [ 103, 104 ], [ 8, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 6, 111 ], [ 111, 112 ], [ 0, 113 ], [ 113, 114 ], [ 113, 115 ] ]
[ "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\tint a[] = new int[3];\n\t\ta[0] = sc.nextInt();\n\t\ta[1] = sc.nextInt();\n\t\ta[2] = sc.nextInt();\n\t\tint K = sc.nextInt();\n\t\tsc.close();\n\t\tlong sum = 0;\n\t\twhile (K != 0 && a[0] > 0) {\n\t\t\tsum += 1;\n\t\t\t--K;\n\t\t\ta[0]--;\n\t\t}\n\t\twhile (K != 0 && a[1] > 0) {\n\t\t\ta[1]--;\n\t\t\t--K;\n\t\t}\n\t\twhile (K != 0 && a[2] > 0) {\n\t\t\tsum -= 1;\n\t\t\ta[2]--;\n\t\t\t--K;\n\t\t}\n\t\tSystem.out.println(sum);\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\tint a[] = new int[3];\n\t\ta[0] = sc.nextInt();\n\t\ta[1] = sc.nextInt();\n\t\ta[2] = sc.nextInt();\n\t\tint K = sc.nextInt();\n\t\tsc.close();\n\t\tlong sum = 0;\n\t\twhile (K != 0 && a[0] > 0) {\n\t\t\tsum += 1;\n\t\t\t--K;\n\t\t\ta[0]--;\n\t\t}\n\t\twhile (K != 0 && a[1] > 0) {\n\t\t\ta[1]--;\n\t\t\t--K;\n\t\t}\n\t\twhile (K != 0 && a[2] > 0) {\n\t\t\tsum -= 1;\n\t\t\ta[2]--;\n\t\t\t--K;\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a[] = new int[3];\n\t\ta[0] = sc.nextInt();\n\t\ta[1] = sc.nextInt();\n\t\ta[2] = sc.nextInt();\n\t\tint K = sc.nextInt();\n\t\tsc.close();\n\t\tlong sum = 0;\n\t\twhile (K != 0 && a[0] > 0) {\n\t\t\tsum += 1;\n\t\t\t--K;\n\t\t\ta[0]--;\n\t\t}\n\t\twhile (K != 0 && a[1] > 0) {\n\t\t\ta[1]--;\n\t\t\t--K;\n\t\t}\n\t\twhile (K != 0 && a[2] > 0) {\n\t\t\tsum -= 1;\n\t\t\ta[2]--;\n\t\t\t--K;\n\t\t}\n\t\tSystem.out.println(sum);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a[] = new int[3];\n\t\ta[0] = sc.nextInt();\n\t\ta[1] = sc.nextInt();\n\t\ta[2] = sc.nextInt();\n\t\tint K = sc.nextInt();\n\t\tsc.close();\n\t\tlong sum = 0;\n\t\twhile (K != 0 && a[0] > 0) {\n\t\t\tsum += 1;\n\t\t\t--K;\n\t\t\ta[0]--;\n\t\t}\n\t\twhile (K != 0 && a[1] > 0) {\n\t\t\ta[1]--;\n\t\t\t--K;\n\t\t}\n\t\twhile (K != 0 && a[2] > 0) {\n\t\t\tsum -= 1;\n\t\t\ta[2]--;\n\t\t\t--K;\n\t\t}\n\t\tSystem.out.println(sum);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a[] = new int[3];", "a", "new int[3]", "3", "a[0] = sc.nextInt()", "a[0]", "a", "0", "sc.nextInt()", "sc.nextInt", "sc", "a[1] = sc.nextInt()", "a[1]", "a", "1", "sc.nextInt()", "sc.nextInt", "sc", "a[2] = sc.nextInt()", "a[2]", "a", "2", "sc.nextInt()", "sc.nextInt", "sc", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "sc.close()", "sc.close", "sc", "long sum = 0;", "sum", "0", "while (K != 0 && a[0] > 0) {\n\t\t\tsum += 1;\n\t\t\t--K;\n\t\t\ta[0]--;\n\t\t}", "K != 0 && a[0] > 0", "K != 0", "K", "0", "a[0] > 0", "a[0]", "a", "0", "0", "{\n\t\t\tsum += 1;\n\t\t\t--K;\n\t\t\ta[0]--;\n\t\t}", "sum += 1", "sum", "1", "--K", "K", "a[0]--", "a[0]", "a", "0", "while (K != 0 && a[1] > 0) {\n\t\t\ta[1]--;\n\t\t\t--K;\n\t\t}", "K != 0 && a[1] > 0", "K != 0", "K", "0", "a[1] > 0", "a[1]", "a", "1", "0", "{\n\t\t\ta[1]--;\n\t\t\t--K;\n\t\t}", "a[1]--", "a[1]", "a", "1", "--K", "K", "while (K != 0 && a[2] > 0) {\n\t\t\tsum -= 1;\n\t\t\ta[2]--;\n\t\t\t--K;\n\t\t}", "K != 0 && a[2] > 0", "K != 0", "K", "0", "a[2] > 0", "a[2]", "a", "2", "0", "{\n\t\t\tsum -= 1;\n\t\t\ta[2]--;\n\t\t\t--K;\n\t\t}", "sum -= 1", "sum", "1", "a[2]--", "a[2]", "a", "2", "--K", "K", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a[] = new int[3];\n\t\ta[0] = sc.nextInt();\n\t\ta[1] = sc.nextInt();\n\t\ta[2] = sc.nextInt();\n\t\tint K = sc.nextInt();\n\t\tsc.close();\n\t\tlong sum = 0;\n\t\twhile (K != 0 && a[0] > 0) {\n\t\t\tsum += 1;\n\t\t\t--K;\n\t\t\ta[0]--;\n\t\t}\n\t\twhile (K != 0 && a[1] > 0) {\n\t\t\ta[1]--;\n\t\t\t--K;\n\t\t}\n\t\twhile (K != 0 && a[2] > 0) {\n\t\t\tsum -= 1;\n\t\t\ta[2]--;\n\t\t\t--K;\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a[] = new int[3];\n\t\ta[0] = sc.nextInt();\n\t\ta[1] = sc.nextInt();\n\t\ta[2] = sc.nextInt();\n\t\tint K = sc.nextInt();\n\t\tsc.close();\n\t\tlong sum = 0;\n\t\twhile (K != 0 && a[0] > 0) {\n\t\t\tsum += 1;\n\t\t\t--K;\n\t\t\ta[0]--;\n\t\t}\n\t\twhile (K != 0 && a[1] > 0) {\n\t\t\ta[1]--;\n\t\t\t--K;\n\t\t}\n\t\twhile (K != 0 && a[2] > 0) {\n\t\t\tsum -= 1;\n\t\t\ta[2]--;\n\t\t\t--K;\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a[] = new int[3]; a[0] = sc.nextInt(); a[1] = sc.nextInt(); a[2] = sc.nextInt(); int K = sc.nextInt(); sc.close(); long sum = 0; while (K != 0 && a[0] > 0) { sum += 1; --K; a[0]--; } while (K != 0 && a[1] > 0) { a[1]--; --K; } while (K != 0 && a[2] > 0) { sum -= 1; a[2]--; --K; } 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, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 14, 2, 13, 2, 13, 13, 30, 0, 13, 2, 13, 2, 2, 13, 13, 13, 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 ], [ 68, 5 ], [ 68, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 35, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 35, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 54, 58 ], [ 8, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 6, 65 ], [ 65, 66 ], [ 0, 67 ], [ 67, 68 ], [ 67, 69 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n int answer = 0;\n if(k > a + b){\n answer = a - (k - a - b);\n } else {\n answer = Math.min(a,k);\n }\n System.out.println(answer);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n int answer = 0;\n if(k > a + b){\n answer = a - (k - a - b);\n } else {\n answer = Math.min(a,k);\n }\n System.out.println(answer);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n int answer = 0;\n if(k > a + b){\n answer = a - (k - a - b);\n } else {\n answer = Math.min(a,k);\n }\n System.out.println(answer);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n int answer = 0;\n if(k > a + b){\n answer = a - (k - a - b);\n } else {\n answer = Math.min(a,k);\n }\n System.out.println(answer);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "int k = sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "int answer = 0;", "answer", "0", "if(k > a + b){\n answer = a - (k - a - b);\n } else {\n answer = Math.min(a,k);\n }", "k > a + b", "k", "a + b", "a", "b", "{\n answer = a - (k - a - b);\n }", "answer = a - (k - a - b)", "answer", "a - (k - a - b)", "a", "(k - a - b)", "k - a - b", "k", "a", "b", "{\n answer = Math.min(a,k);\n }", "answer = Math.min(a,k)", "answer", "Math.min(a,k)", "Math.min", "Math", "a", "k", "System.out.println(answer)", "System.out.println", "System.out", "System", "System.out", "answer", "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 int b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n int answer = 0;\n if(k > a + b){\n answer = a - (k - a - b);\n } else {\n answer = Math.min(a,k);\n }\n System.out.println(answer);\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 int b = sc.nextInt();\n int c = sc.nextInt();\n int k = sc.nextInt();\n int answer = 0;\n if(k > a + b){\n answer = a - (k - a - b);\n } else {\n answer = Math.min(a,k);\n }\n System.out.println(answer);\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 b = sc.nextInt(); int c = sc.nextInt(); int k = sc.nextInt(); int answer = 0; if(k > a + b){ answer = a - (k - a - b); } else { answer = Math.min(a,k); } System.out.println(answer); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 13, 14, 2, 2, 13, 13, 2, 13, 2, 13, 13, 30, 4, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 2, 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 ], [ 87, 8 ], [ 87, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 11, 19 ], [ 19, 20 ], [ 11, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 11, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 11, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 11, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 11, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 43, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 61, 63 ], [ 54, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 54, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 9, 84 ], [ 84, 85 ], [ 0, 86 ], [ 86, 87 ], [ 86, 88 ] ]
[ "import java.util.*;\nimport java.lang.*;\n \npublic class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint a,b,c,k;\n\t\ta=sc.nextInt();b=sc.nextInt();c=sc.nextInt();k=sc.nextInt();\n\t\tif(k<=a)\n\t\t{\n\t\t System.out.println(k); \t\t\n\t\t}\n\t else if(k>a && k<(a+b))\n\t\t{\n\t\t System.out.println(a); \n\t\t}\n\t\telse{\n\t\t System.out.println(a-(k-a-b));\n\t\t} \n\t}\n}\n\t\t", "import java.util.*;", "util.*", "java", "import java.lang.*;", "lang.*", "java", "public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint a,b,c,k;\n\t\ta=sc.nextInt();b=sc.nextInt();c=sc.nextInt();k=sc.nextInt();\n\t\tif(k<=a)\n\t\t{\n\t\t System.out.println(k); \t\t\n\t\t}\n\t else if(k>a && k<(a+b))\n\t\t{\n\t\t System.out.println(a); \n\t\t}\n\t\telse{\n\t\t System.out.println(a-(k-a-b));\n\t\t} \n\t}\n}", "Main", "public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint a,b,c,k;\n\t\ta=sc.nextInt();b=sc.nextInt();c=sc.nextInt();k=sc.nextInt();\n\t\tif(k<=a)\n\t\t{\n\t\t System.out.println(k); \t\t\n\t\t}\n\t else if(k>a && k<(a+b))\n\t\t{\n\t\t System.out.println(a); \n\t\t}\n\t\telse{\n\t\t System.out.println(a-(k-a-b));\n\t\t} \n\t}", "main", "{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint a,b,c,k;\n\t\ta=sc.nextInt();b=sc.nextInt();c=sc.nextInt();k=sc.nextInt();\n\t\tif(k<=a)\n\t\t{\n\t\t System.out.println(k); \t\t\n\t\t}\n\t else if(k>a && k<(a+b))\n\t\t{\n\t\t System.out.println(a); \n\t\t}\n\t\telse{\n\t\t System.out.println(a-(k-a-b));\n\t\t} \n\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a", "a", "b", "b", "c", "c", "k;", "k", "a=sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "b=sc.nextInt()", "b", "sc.nextInt()", "sc.nextInt", "sc", "c=sc.nextInt()", "c", "sc.nextInt()", "sc.nextInt", "sc", "k=sc.nextInt()", "k", "sc.nextInt()", "sc.nextInt", "sc", "if(k<=a)\n\t\t{\n\t\t System.out.println(k); \t\t\n\t\t}\n\t else if(k>a && k<(a+b))\n\t\t{\n\t\t System.out.println(a); \n\t\t}\n\t\telse{\n\t\t System.out.println(a-(k-a-b));\n\t\t}", "k<=a", "k", "a", "{\n\t\t System.out.println(k); \t\t\n\t\t}", "System.out.println(k)", "System.out.println", "System.out", "System", "System.out", "k", "if(k>a && k<(a+b))\n\t\t{\n\t\t System.out.println(a); \n\t\t}\n\t\telse{\n\t\t System.out.println(a-(k-a-b));\n\t\t}", "k>a && k<(a+b)", "k>a", "k", "a", "k<(a+b)", "k", "(a+b)", "a", "b", "{\n\t\t System.out.println(a); \n\t\t}", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "{\n\t\t System.out.println(a-(k-a-b));\n\t\t}", "System.out.println(a-(k-a-b))", "System.out.println", "System.out", "System", "System.out", "a-(k-a-b)", "a", "(k-a-b)", "k-a-b", "k", "a", "b", "String[] args", "args", "public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint a,b,c,k;\n\t\ta=sc.nextInt();b=sc.nextInt();c=sc.nextInt();k=sc.nextInt();\n\t\tif(k<=a)\n\t\t{\n\t\t System.out.println(k); \t\t\n\t\t}\n\t else if(k>a && k<(a+b))\n\t\t{\n\t\t System.out.println(a); \n\t\t}\n\t\telse{\n\t\t System.out.println(a-(k-a-b));\n\t\t} \n\t}\n}", "public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint a,b,c,k;\n\t\ta=sc.nextInt();b=sc.nextInt();c=sc.nextInt();k=sc.nextInt();\n\t\tif(k<=a)\n\t\t{\n\t\t System.out.println(k); \t\t\n\t\t}\n\t else if(k>a && k<(a+b))\n\t\t{\n\t\t System.out.println(a); \n\t\t}\n\t\telse{\n\t\t System.out.println(a-(k-a-b));\n\t\t} \n\t}\n}", "Main" ]
import java.util.*; import java.lang.*; public class Main { public static void main (String[] args) throws java.lang.Exception { Scanner sc=new Scanner(System.in); int a,b,c,k; a=sc.nextInt();b=sc.nextInt();c=sc.nextInt();k=sc.nextInt(); if(k<=a) { System.out.println(k); } else if(k>a && k<(a+b)) { System.out.println(a); } else{ System.out.println(a-(k-a-b)); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 20, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 14, 2, 13, 17, 30, 14, 2, 13, 13, 0, 13, 13, 0, 13, 13, 0, 13, 13, 14, 2, 13, 17, 30, 0, 13, 13, 14, 2, 13, 17, 30, 14, 2, 13, 13, 0, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 13, 13, 4, 18, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 186, 8 ], [ 186, 9 ], [ 9, 10 ], [ 9, 11 ], [ 186, 12 ], [ 12, 13 ], [ 12, 14 ], [ 186, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 17, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 17, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 17, 41 ], [ 41, 42 ], [ 41, 43 ], [ 17, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 53, 55 ], [ 49, 56 ], [ 56, 57 ], [ 56, 58 ], [ 48, 59 ], [ 59, 60 ], [ 59, 61 ], [ 17, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 17, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 79, 80 ], [ 79, 81 ], [ 75, 82 ], [ 82, 83 ], [ 82, 84 ], [ 74, 85 ], [ 85, 86 ], [ 85, 87 ], [ 17, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 17, 92 ], [ 92, 93 ], [ 93, 94 ], [ 15, 95 ], [ 95, 96 ], [ 186, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 97, 101 ], [ 101, 102 ], [ 97, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 97, 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 ], [ 127, 128 ], [ 122, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 111, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 97, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 141, 144 ], [ 144, 145 ], [ 97, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 150, 153 ], [ 153, 154 ], [ 97, 155 ], [ 155, 156 ], [ 155, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 159, 162 ], [ 162, 163 ], [ 97, 164 ], [ 164, 165 ], [ 164, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 166, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 170, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 181, 182 ], [ 166, 183 ], [ 183, 184 ], [ 0, 185 ], [ 185, 186 ], [ 185, 187 ] ]
[ "import java.io.*;\nimport java.util.*;\n/**\n * Main\n */\npublic class Main {\n static int mod = 1000000007;\n static PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n public static void main(String[] args) {\n MyScanner ms = new MyScanner();\n long A = ms.nextLong();\n long B = ms.nextLong();\n long C = ms.nextLong();\n long K =ms.nextLong();\n long sum=0;\n if(K>0){\n if(A>K)\n sum+=K;\n else\n sum+=A;\n K-=A;\n }\n if(K>0){\n K-=B;\n }\n if(K>0){\n if(C>K)\n sum-=K;\n else\n sum-=C;\n K-=C;\n }\n pw.println(sum);\n pw.flush();\n\n }public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n static int mod = 1000000007;\n static PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n public static void main(String[] args) {\n MyScanner ms = new MyScanner();\n long A = ms.nextLong();\n long B = ms.nextLong();\n long C = ms.nextLong();\n long K =ms.nextLong();\n long sum=0;\n if(K>0){\n if(A>K)\n sum+=K;\n else\n sum+=A;\n K-=A;\n }\n if(K>0){\n K-=B;\n }\n if(K>0){\n if(C>K)\n sum-=K;\n else\n sum-=C;\n K-=C;\n }\n pw.println(sum);\n pw.flush();\n\n }public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }\n}", "Main", "static int mod = 1000000007;", "mod", "1000000007", "static PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));", "pw", "new PrintWriter(new OutputStreamWriter(System.out))", "public static void main(String[] args) {\n MyScanner ms = new MyScanner();\n long A = ms.nextLong();\n long B = ms.nextLong();\n long C = ms.nextLong();\n long K =ms.nextLong();\n long sum=0;\n if(K>0){\n if(A>K)\n sum+=K;\n else\n sum+=A;\n K-=A;\n }\n if(K>0){\n K-=B;\n }\n if(K>0){\n if(C>K)\n sum-=K;\n else\n sum-=C;\n K-=C;\n }\n pw.println(sum);\n pw.flush();\n\n }", "main", "{\n MyScanner ms = new MyScanner();\n long A = ms.nextLong();\n long B = ms.nextLong();\n long C = ms.nextLong();\n long K =ms.nextLong();\n long sum=0;\n if(K>0){\n if(A>K)\n sum+=K;\n else\n sum+=A;\n K-=A;\n }\n if(K>0){\n K-=B;\n }\n if(K>0){\n if(C>K)\n sum-=K;\n else\n sum-=C;\n K-=C;\n }\n pw.println(sum);\n pw.flush();\n\n }", "MyScanner ms = new MyScanner();", "ms", "new MyScanner()", "long A = ms.nextLong();", "A", "ms.nextLong()", "ms.nextLong", "ms", "long B = ms.nextLong();", "B", "ms.nextLong()", "ms.nextLong", "ms", "long C = ms.nextLong();", "C", "ms.nextLong()", "ms.nextLong", "ms", "long K =ms.nextLong();", "K", "ms.nextLong()", "ms.nextLong", "ms", "long sum=0;", "sum", "0", "if(K>0){\n if(A>K)\n sum+=K;\n else\n sum+=A;\n K-=A;\n }", "K>0", "K", "0", "{\n if(A>K)\n sum+=K;\n else\n sum+=A;\n K-=A;\n }", "if(A>K)\n sum+=K;\n else\n sum+=A;", "A>K", "A", "K", "sum+=K", "sum", "K", "sum+=A", "sum", "A", "K-=A", "K", "A", "if(K>0){\n K-=B;\n }", "K>0", "K", "0", "{\n K-=B;\n }", "K-=B", "K", "B", "if(K>0){\n if(C>K)\n sum-=K;\n else\n sum-=C;\n K-=C;\n }", "K>0", "K", "0", "{\n if(C>K)\n sum-=K;\n else\n sum-=C;\n K-=C;\n }", "if(C>K)\n sum-=K;\n else\n sum-=C;", "C>K", "C", "K", "sum-=K", "sum", "K", "sum-=C", "sum", "C", "K-=C", "K", "C", "pw.println(sum)", "pw.println", "pw", "sum", "pw.flush()", "pw.flush", "pw", "String[] args", "args", "public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }", "MyScanner", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "MyScanner", "{\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble() {\n return Double.parseDouble(next());\n }", "nextDouble", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }", "nextLine", "{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }", "String str = \"\";", "str", "\"\"", "try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n str = br.readLine();\n }", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str", "public class Main {\n static int mod = 1000000007;\n static PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n public static void main(String[] args) {\n MyScanner ms = new MyScanner();\n long A = ms.nextLong();\n long B = ms.nextLong();\n long C = ms.nextLong();\n long K =ms.nextLong();\n long sum=0;\n if(K>0){\n if(A>K)\n sum+=K;\n else\n sum+=A;\n K-=A;\n }\n if(K>0){\n K-=B;\n }\n if(K>0){\n if(C>K)\n sum-=K;\n else\n sum-=C;\n K-=C;\n }\n pw.println(sum);\n pw.flush();\n\n }public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }\n}", "public class Main {\n static int mod = 1000000007;\n static PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));\n public static void main(String[] args) {\n MyScanner ms = new MyScanner();\n long A = ms.nextLong();\n long B = ms.nextLong();\n long C = ms.nextLong();\n long K =ms.nextLong();\n long sum=0;\n if(K>0){\n if(A>K)\n sum+=K;\n else\n sum+=A;\n K-=A;\n }\n if(K>0){\n K-=B;\n }\n if(K>0){\n if(C>K)\n sum-=K;\n else\n sum-=C;\n K-=C;\n }\n pw.println(sum);\n pw.flush();\n\n }public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }\n}", "Main" ]
import java.io.*; import java.util.*; /** * Main */ public class Main { static int mod = 1000000007; static PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out)); public static void main(String[] args) { MyScanner ms = new MyScanner(); long A = ms.nextLong(); long B = ms.nextLong(); long C = ms.nextLong(); long K =ms.nextLong(); long sum=0; if(K>0){ if(A>K) sum+=K; else sum+=A; K-=A; } if(K>0){ K-=B; } if(K>0){ if(C>K) sum-=K; else sum-=C; K-=C; } pw.println(sum); pw.flush(); }public static class MyScanner { BufferedReader br; StringTokenizer st; public MyScanner() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while (st == null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } long nextLong() { return Long.parseLong(next()); } double nextDouble() { return Double.parseDouble(next()); } String nextLine(){ String str = ""; try { str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } return str; } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 17, 14, 2, 13, 13, 30, 4, 13, 13, 4, 18, 13, 17, 14, 2, 13, 2, 13, 13, 30, 4, 13, 13, 4, 18, 13, 17, 30, 4, 13, 2, 13, 2, 2, 13, 13, 13, 4, 18, 13, 17, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 14, 13, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 151, 5 ], [ 151, 6 ], [ 6, 7 ], [ 6, 8 ], [ 151, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 11, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 11, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 11, 28 ], [ 28, 29 ], [ 28, 30 ], [ 11, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 11, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 43, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 57, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 9, 71 ], [ 71, 72 ], [ 151, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 80, 81 ], [ 81, 82 ], [ 151, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 90, 91 ], [ 91, 92 ], [ 151, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 151, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 107, 108 ], [ 108, 109 ], [ 151, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 117, 118 ], [ 118, 119 ], [ 151, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 125, 130 ], [ 123, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 131, 136 ], [ 120, 137 ], [ 137, 138 ], [ 151, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 142, 147 ], [ 139, 148 ], [ 148, 149 ], [ 0, 150 ], [ 150, 151 ], [ 150, 152 ] ]
[ "import java.util.Scanner;\n\n\npublic class Main{\n public static Scanner scan = new Scanner(System.in);\n public static void main(String[]args){\n int a = nextInt();\n int b= nextInt();\n int c= nextInt();\n int k = nextInt();\n int sum = 0;\n\n if(k<=a){\n print(k);\n System.exit(0);\n }\n if(k<=a+b){\n print(a);\n System.exit(0);\n }\n else{\n print(a-(k-a-b));\n System.exit(0);\n }\n }\n\n public static int nextInt(){\n return Integer.parseInt(scan.next());\n }\n public static long nextLong(){\n return Long.parseLong(scan.next());\n }\n public static String next(){\n return scan.next();\n }\n public static double nextDouble(){\n return Double.parseDouble(scan.next());\n }\n public static float nextFloat(){\n return Float.parseFloat(scan.next());\n }\n\n //Yes or No\n public static void yesNo(boolean flag){\n if(flag) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }\n public static void print(Object a){\n System.out.println(a);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static Scanner scan = new Scanner(System.in);\n public static void main(String[]args){\n int a = nextInt();\n int b= nextInt();\n int c= nextInt();\n int k = nextInt();\n int sum = 0;\n\n if(k<=a){\n print(k);\n System.exit(0);\n }\n if(k<=a+b){\n print(a);\n System.exit(0);\n }\n else{\n print(a-(k-a-b));\n System.exit(0);\n }\n }\n\n public static int nextInt(){\n return Integer.parseInt(scan.next());\n }\n public static long nextLong(){\n return Long.parseLong(scan.next());\n }\n public static String next(){\n return scan.next();\n }\n public static double nextDouble(){\n return Double.parseDouble(scan.next());\n }\n public static float nextFloat(){\n return Float.parseFloat(scan.next());\n }\n\n //Yes or No\n public static void yesNo(boolean flag){\n if(flag) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }\n public static void print(Object a){\n System.out.println(a);\n }\n}", "Main", "public static Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "public static void main(String[]args){\n int a = nextInt();\n int b= nextInt();\n int c= nextInt();\n int k = nextInt();\n int sum = 0;\n\n if(k<=a){\n print(k);\n System.exit(0);\n }\n if(k<=a+b){\n print(a);\n System.exit(0);\n }\n else{\n print(a-(k-a-b));\n System.exit(0);\n }\n }", "main", "{\n int a = nextInt();\n int b= nextInt();\n int c= nextInt();\n int k = nextInt();\n int sum = 0;\n\n if(k<=a){\n print(k);\n System.exit(0);\n }\n if(k<=a+b){\n print(a);\n System.exit(0);\n }\n else{\n print(a-(k-a-b));\n System.exit(0);\n }\n }", "int a = nextInt();", "a", "nextInt()", "nextInt", "int b= nextInt();", "b", "nextInt()", "nextInt", "int c= nextInt();", "c", "nextInt()", "nextInt", "int k = nextInt();", "k", "nextInt()", "nextInt", "int sum = 0;", "sum", "0", "if(k<=a){\n print(k);\n System.exit(0);\n }", "k<=a", "k", "a", "{\n print(k);\n System.exit(0);\n }", "print(k)", "print", "k", "System.exit(0)", "System.exit", "System", "0", "if(k<=a+b){\n print(a);\n System.exit(0);\n }\n else{\n print(a-(k-a-b));\n System.exit(0);\n }", "k<=a+b", "k", "a+b", "a", "b", "{\n print(a);\n System.exit(0);\n }", "print(a)", "print", "a", "System.exit(0)", "System.exit", "System", "0", "{\n print(a-(k-a-b));\n System.exit(0);\n }", "print(a-(k-a-b))", "print", "a-(k-a-b)", "a", "(k-a-b)", "k-a-b", "k", "a", "b", "System.exit(0)", "System.exit", "System", "0", "String[]args", "args", "public static int nextInt(){\n return Integer.parseInt(scan.next());\n }", "nextInt", "{\n return Integer.parseInt(scan.next());\n }", "return Integer.parseInt(scan.next());", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "public static long nextLong(){\n return Long.parseLong(scan.next());\n }", "nextLong", "{\n return Long.parseLong(scan.next());\n }", "return Long.parseLong(scan.next());", "Long.parseLong(scan.next())", "Long.parseLong", "Long", "scan.next()", "scan.next", "scan", "public static String next(){\n return scan.next();\n }", "next", "{\n return scan.next();\n }", "return scan.next();", "scan.next()", "scan.next", "scan", "public static double nextDouble(){\n return Double.parseDouble(scan.next());\n }", "nextDouble", "{\n return Double.parseDouble(scan.next());\n }", "return Double.parseDouble(scan.next());", "Double.parseDouble(scan.next())", "Double.parseDouble", "Double", "scan.next()", "scan.next", "scan", "public static float nextFloat(){\n return Float.parseFloat(scan.next());\n }", "nextFloat", "{\n return Float.parseFloat(scan.next());\n }", "return Float.parseFloat(scan.next());", "Float.parseFloat(scan.next())", "Float.parseFloat", "Float", "scan.next()", "scan.next", "scan", "//Yes or No\n public static void yesNo(boolean flag){\n if(flag) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }", "yesNo", "{\n if(flag) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }", "if(flag) System.out.println(\"Yes\");\n else System.out.println(\"No\");", "flag", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "boolean flag", "flag", "public static void print(Object a){\n System.out.println(a);\n }", "print", "{\n System.out.println(a);\n }", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "Object a", "a", "public class Main{\n public static Scanner scan = new Scanner(System.in);\n public static void main(String[]args){\n int a = nextInt();\n int b= nextInt();\n int c= nextInt();\n int k = nextInt();\n int sum = 0;\n\n if(k<=a){\n print(k);\n System.exit(0);\n }\n if(k<=a+b){\n print(a);\n System.exit(0);\n }\n else{\n print(a-(k-a-b));\n System.exit(0);\n }\n }\n\n public static int nextInt(){\n return Integer.parseInt(scan.next());\n }\n public static long nextLong(){\n return Long.parseLong(scan.next());\n }\n public static String next(){\n return scan.next();\n }\n public static double nextDouble(){\n return Double.parseDouble(scan.next());\n }\n public static float nextFloat(){\n return Float.parseFloat(scan.next());\n }\n\n //Yes or No\n public static void yesNo(boolean flag){\n if(flag) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }\n public static void print(Object a){\n System.out.println(a);\n }\n}", "public class Main{\n public static Scanner scan = new Scanner(System.in);\n public static void main(String[]args){\n int a = nextInt();\n int b= nextInt();\n int c= nextInt();\n int k = nextInt();\n int sum = 0;\n\n if(k<=a){\n print(k);\n System.exit(0);\n }\n if(k<=a+b){\n print(a);\n System.exit(0);\n }\n else{\n print(a-(k-a-b));\n System.exit(0);\n }\n }\n\n public static int nextInt(){\n return Integer.parseInt(scan.next());\n }\n public static long nextLong(){\n return Long.parseLong(scan.next());\n }\n public static String next(){\n return scan.next();\n }\n public static double nextDouble(){\n return Double.parseDouble(scan.next());\n }\n public static float nextFloat(){\n return Float.parseFloat(scan.next());\n }\n\n //Yes or No\n public static void yesNo(boolean flag){\n if(flag) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }\n public static void print(Object a){\n System.out.println(a);\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static Scanner scan = new Scanner(System.in); public static void main(String[]args){ int a = nextInt(); int b= nextInt(); int c= nextInt(); int k = nextInt(); int sum = 0; if(k<=a){ print(k); System.exit(0); } if(k<=a+b){ print(a); System.exit(0); } else{ print(a-(k-a-b)); System.exit(0); } } public static int nextInt(){ return Integer.parseInt(scan.next()); } public static long nextLong(){ return Long.parseLong(scan.next()); } public static String next(){ return scan.next(); } public static double nextDouble(){ return Double.parseDouble(scan.next()); } public static float nextFloat(){ return Float.parseFloat(scan.next()); } //Yes or No public static void yesNo(boolean flag){ if(flag) System.out.println("Yes"); else System.out.println("No"); } public static void print(Object a){ System.out.println(a); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 4, 18, 13, 17, 13, 13, 4, 18, 13, 23, 13, 6, 13, 12, 13, 30, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 2, 13, 13, 30, 0, 13, 13, 30, 0, 13, 2, 13, 2, 2, 13, 13, 13, 4, 18, 13, 13, 23, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 130, 17 ], [ 130, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 23, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 28, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 20, 34 ], [ 34, 35 ], [ 34, 36 ], [ 20, 37 ], [ 37, 38 ], [ 37, 39 ], [ 20, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 40, 44 ], [ 40, 45 ], [ 20, 46 ], [ 46, 47 ], [ 47, 48 ], [ 18, 49 ], [ 49, 50 ], [ 130, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 62, 63 ], [ 55, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 70, 71 ], [ 55, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 77, 78 ], [ 78, 79 ], [ 55, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 85, 86 ], [ 86, 87 ], [ 55, 88 ], [ 88, 89 ], [ 88, 90 ], [ 55, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 91, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 102, 104 ], [ 99, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 99, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 114, 118 ], [ 55, 119 ], [ 119, 120 ], [ 120, 121 ], [ 119, 122 ], [ 53, 123 ], [ 123, 124 ], [ 53, 125 ], [ 125, 126 ], [ 53, 127 ], [ 127, 128 ], [ 0, 129 ], [ 129, 130 ], [ 129, 131 ] ]
[ "import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n B solver = new B();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class B {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int a = Integer.parseInt(in.next());\n int b = Integer.parseInt(in.next());\n int c = Integer.parseInt(in.next());\n int k = Integer.parseInt(in.next());\n int ans = 0;\n\n if (k <= a) {\n ans = k;\n } else if (k <= a + b) {\n ans = a;\n } else {\n ans = a - (k - a - b);\n }\n\n // 出力\n out.println(ans);\n\n }\n\n }\n}\n", "import java.io.OutputStream;", "OutputStream", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n B solver = new B();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class B {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int a = Integer.parseInt(in.next());\n int b = Integer.parseInt(in.next());\n int c = Integer.parseInt(in.next());\n int k = Integer.parseInt(in.next());\n int ans = 0;\n\n if (k <= a) {\n ans = k;\n } else if (k <= a + b) {\n ans = a;\n } else {\n ans = a - (k - a - b);\n }\n\n // 出力\n out.println(ans);\n\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n B solver = new B();\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 B solver = new B();\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)", "B solver = new B();", "solver", "new B()", "solver.solve(1, in, out)", "solver.solve", "solver", "1", "in", "out", "out.close()", "out.close", "out", "String[] args", "args", "static class B {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int a = Integer.parseInt(in.next());\n int b = Integer.parseInt(in.next());\n int c = Integer.parseInt(in.next());\n int k = Integer.parseInt(in.next());\n int ans = 0;\n\n if (k <= a) {\n ans = k;\n } else if (k <= a + b) {\n ans = a;\n } else {\n ans = a - (k - a - b);\n }\n\n // 出力\n out.println(ans);\n\n }\n\n }", "B", "public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int a = Integer.parseInt(in.next());\n int b = Integer.parseInt(in.next());\n int c = Integer.parseInt(in.next());\n int k = Integer.parseInt(in.next());\n int ans = 0;\n\n if (k <= a) {\n ans = k;\n } else if (k <= a + b) {\n ans = a;\n } else {\n ans = a - (k - a - b);\n }\n\n // 出力\n out.println(ans);\n\n }", "solve", "{\n // 入力\n int a = Integer.parseInt(in.next());\n int b = Integer.parseInt(in.next());\n int c = Integer.parseInt(in.next());\n int k = Integer.parseInt(in.next());\n int ans = 0;\n\n if (k <= a) {\n ans = k;\n } else if (k <= a + b) {\n ans = a;\n } else {\n ans = a - (k - a - b);\n }\n\n // 出力\n out.println(ans);\n\n }", "int a = Integer.parseInt(in.next());", "a", "Integer.parseInt(in.next())", "Integer.parseInt", "Integer", "in.next()", "in.next", "in", "int b = Integer.parseInt(in.next());", "b", "Integer.parseInt(in.next())", "Integer.parseInt", "Integer", "in.next()", "in.next", "in", "int c = Integer.parseInt(in.next());", "c", "Integer.parseInt(in.next())", "Integer.parseInt", "Integer", "in.next()", "in.next", "in", "int k = Integer.parseInt(in.next());", "k", "Integer.parseInt(in.next())", "Integer.parseInt", "Integer", "in.next()", "in.next", "in", "int ans = 0;", "ans", "0", "if (k <= a) {\n ans = k;\n } else if (k <= a + b) {\n ans = a;\n } else {\n ans = a - (k - a - b);\n }", "k <= a", "k", "a", "{\n ans = k;\n }", "ans = k", "ans", "k", "if (k <= a + b) {\n ans = a;\n } else {\n ans = a - (k - a - b);\n }", "k <= a + b", "k", "a + b", "a", "b", "{\n ans = a;\n }", "ans = a", "ans", "a", "{\n ans = a - (k - a - b);\n }", "ans = a - (k - a - b)", "ans", "a - (k - a - b)", "a", "(k - a - b)", "k - a - b", "k", "a", "b", "out.println(ans)", "out.println", "out", "ans", "int testNumber", "testNumber", "Scanner in", "in", "PrintWriter out", "out", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n B solver = new B();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class B {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int a = Integer.parseInt(in.next());\n int b = Integer.parseInt(in.next());\n int c = Integer.parseInt(in.next());\n int k = Integer.parseInt(in.next());\n int ans = 0;\n\n if (k <= a) {\n ans = k;\n } else if (k <= a + b) {\n ans = a;\n } else {\n ans = a - (k - a - b);\n }\n\n // 出力\n out.println(ans);\n\n }\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n B solver = new B();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class B {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int a = Integer.parseInt(in.next());\n int b = Integer.parseInt(in.next());\n int c = Integer.parseInt(in.next());\n int k = Integer.parseInt(in.next());\n int ans = 0;\n\n if (k <= a) {\n ans = k;\n } else if (k <= a + b) {\n ans = a;\n } else {\n ans = a - (k - a - b);\n }\n\n // 出力\n out.println(ans);\n\n }\n\n }\n}", "Main" ]
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Scanner; /** * Built using CHelper plug-in * Actual solution is at the top */ public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; Scanner in = new Scanner(inputStream); PrintWriter out = new PrintWriter(outputStream); B solver = new B(); solver.solve(1, in, out); out.close(); } static class B { public void solve(int testNumber, Scanner in, PrintWriter out) { // 入力 int a = Integer.parseInt(in.next()); int b = Integer.parseInt(in.next()); int c = Integer.parseInt(in.next()); int k = Integer.parseInt(in.next()); int ans = 0; if (k <= a) { ans = k; } else if (k <= a + b) { ans = a; } else { ans = a - (k - a - b); } // 出力 out.println(ans); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 14, 2, 13, 13, 30, 0, 13, 2, 13, 13, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 0, 13, 13, 30, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 42, 44 ], [ 39, 45 ], [ 45, 46 ], [ 45, 47 ], [ 39, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 52, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 35, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 6, 76 ], [ 76, 77 ] ]
[ "import java.util.Scanner;\nclass Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tint b = s.nextInt();\n\t\tint c = s.nextInt();\n\t\tint k = s.nextInt();\n\t\tint sum = 0;\n\t\tif (k > a) {\n\t\t\tk = k - a;\n\t\t\tsum += a;\n\t\t\tif (k > b) {\n\t\t\t\tk = k - b;\n\t\t\t\tif (k > 0) {\n\t\t\t\t\tsum -= k;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tsum = k;\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tint b = s.nextInt();\n\t\tint c = s.nextInt();\n\t\tint k = s.nextInt();\n\t\tint sum = 0;\n\t\tif (k > a) {\n\t\t\tk = k - a;\n\t\t\tsum += a;\n\t\t\tif (k > b) {\n\t\t\t\tk = k - b;\n\t\t\t\tif (k > 0) {\n\t\t\t\t\tsum -= k;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tsum = k;\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tint b = s.nextInt();\n\t\tint c = s.nextInt();\n\t\tint k = s.nextInt();\n\t\tint sum = 0;\n\t\tif (k > a) {\n\t\t\tk = k - a;\n\t\t\tsum += a;\n\t\t\tif (k > b) {\n\t\t\t\tk = k - b;\n\t\t\t\tif (k > 0) {\n\t\t\t\t\tsum -= k;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tsum = k;\n\t\t}\n\t\tSystem.out.println(sum);\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tint b = s.nextInt();\n\t\tint c = s.nextInt();\n\t\tint k = s.nextInt();\n\t\tint sum = 0;\n\t\tif (k > a) {\n\t\t\tk = k - a;\n\t\t\tsum += a;\n\t\t\tif (k > b) {\n\t\t\t\tk = k - b;\n\t\t\t\tif (k > 0) {\n\t\t\t\t\tsum -= k;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tsum = k;\n\t\t}\n\t\tSystem.out.println(sum);\n\t}", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int a = s.nextInt();", "a", "s.nextInt()", "s.nextInt", "s", "int b = s.nextInt();", "b", "s.nextInt()", "s.nextInt", "s", "int c = s.nextInt();", "c", "s.nextInt()", "s.nextInt", "s", "int k = s.nextInt();", "k", "s.nextInt()", "s.nextInt", "s", "int sum = 0;", "sum", "0", "if (k > a) {\n\t\t\tk = k - a;\n\t\t\tsum += a;\n\t\t\tif (k > b) {\n\t\t\t\tk = k - b;\n\t\t\t\tif (k > 0) {\n\t\t\t\t\tsum -= k;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tsum = k;\n\t\t}", "k > a", "k", "a", "{\n\t\t\tk = k - a;\n\t\t\tsum += a;\n\t\t\tif (k > b) {\n\t\t\t\tk = k - b;\n\t\t\t\tif (k > 0) {\n\t\t\t\t\tsum -= k;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "k = k - a", "k", "k - a", "k", "a", "sum += a", "sum", "a", "if (k > b) {\n\t\t\t\tk = k - b;\n\t\t\t\tif (k > 0) {\n\t\t\t\t\tsum -= k;\n\t\t\t\t}\n\t\t\t}", "k > b", "k", "b", "{\n\t\t\t\tk = k - b;\n\t\t\t\tif (k > 0) {\n\t\t\t\t\tsum -= k;\n\t\t\t\t}\n\t\t\t}", "k = k - b", "k", "k - b", "k", "b", "if (k > 0) {\n\t\t\t\t\tsum -= k;\n\t\t\t\t}", "k > 0", "k", "0", "{\n\t\t\t\t\tsum -= k;\n\t\t\t\t}", "sum -= k", "sum", "k", "{\n\t\t\tsum = k;\n\t\t}", "sum = k", "sum", "k", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner s = new Scanner(System.in); int a = s.nextInt(); int b = s.nextInt(); int c = s.nextInt(); int k = s.nextInt(); int sum = 0; if (k > a) { k = k - a; sum += a; if (k > b) { k = k - b; if (k > 0) { sum -= k; } } } else { sum = k; } 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, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 14, 2, 2, 13, 13, 17, 30, 0, 13, 13, 30, 0, 13, 13, 0, 13, 13, 14, 2, 2, 13, 13, 17, 30, 30, 0, 13, 13, 14, 2, 2, 13, 13, 17, 30, 0, 13, 13, 30, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 89, 5 ], [ 89, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 8, 35 ], [ 35, 36 ], [ 35, 37 ], [ 8, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 38, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 38, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 52, 54 ], [ 48, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 55, 61 ], [ 55, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 66, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 66, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 8, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 6, 86 ], [ 86, 87 ], [ 0, 88 ], [ 88, 89 ], [ 88, 90 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(final String[] args) throws Exception {\n final Scanner scan = new Scanner(System.in);\n int plusCount = scan.nextInt();\n int zeroCount = scan.nextInt();\n int minusCount = scan.nextInt();\n int getCount = scan.nextInt();\n scan.close();\n int score = 0;\n\n if (getCount - plusCount <= 0) {\n score = getCount;\n } else {\n getCount -= plusCount;\n score += plusCount;\n if (getCount - zeroCount <= 0) {\n } else {\n getCount -= zeroCount;\n if (getCount - minusCount <= 0) {\n score -= getCount;\n } else {\n score -= minusCount;\n }\n }\n }\n\n System.out.println(score);\n\n \n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(final String[] args) throws Exception {\n final Scanner scan = new Scanner(System.in);\n int plusCount = scan.nextInt();\n int zeroCount = scan.nextInt();\n int minusCount = scan.nextInt();\n int getCount = scan.nextInt();\n scan.close();\n int score = 0;\n\n if (getCount - plusCount <= 0) {\n score = getCount;\n } else {\n getCount -= plusCount;\n score += plusCount;\n if (getCount - zeroCount <= 0) {\n } else {\n getCount -= zeroCount;\n if (getCount - minusCount <= 0) {\n score -= getCount;\n } else {\n score -= minusCount;\n }\n }\n }\n\n System.out.println(score);\n\n \n }\n}", "Main", "public static void main(final String[] args) throws Exception {\n final Scanner scan = new Scanner(System.in);\n int plusCount = scan.nextInt();\n int zeroCount = scan.nextInt();\n int minusCount = scan.nextInt();\n int getCount = scan.nextInt();\n scan.close();\n int score = 0;\n\n if (getCount - plusCount <= 0) {\n score = getCount;\n } else {\n getCount -= plusCount;\n score += plusCount;\n if (getCount - zeroCount <= 0) {\n } else {\n getCount -= zeroCount;\n if (getCount - minusCount <= 0) {\n score -= getCount;\n } else {\n score -= minusCount;\n }\n }\n }\n\n System.out.println(score);\n\n \n }", "main", "{\n final Scanner scan = new Scanner(System.in);\n int plusCount = scan.nextInt();\n int zeroCount = scan.nextInt();\n int minusCount = scan.nextInt();\n int getCount = scan.nextInt();\n scan.close();\n int score = 0;\n\n if (getCount - plusCount <= 0) {\n score = getCount;\n } else {\n getCount -= plusCount;\n score += plusCount;\n if (getCount - zeroCount <= 0) {\n } else {\n getCount -= zeroCount;\n if (getCount - minusCount <= 0) {\n score -= getCount;\n } else {\n score -= minusCount;\n }\n }\n }\n\n System.out.println(score);\n\n \n }", "final Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int plusCount = scan.nextInt();", "plusCount", "scan.nextInt()", "scan.nextInt", "scan", "int zeroCount = scan.nextInt();", "zeroCount", "scan.nextInt()", "scan.nextInt", "scan", "int minusCount = scan.nextInt();", "minusCount", "scan.nextInt()", "scan.nextInt", "scan", "int getCount = scan.nextInt();", "getCount", "scan.nextInt()", "scan.nextInt", "scan", "scan.close()", "scan.close", "scan", "int score = 0;", "score", "0", "if (getCount - plusCount <= 0) {\n score = getCount;\n } else {\n getCount -= plusCount;\n score += plusCount;\n if (getCount - zeroCount <= 0) {\n } else {\n getCount -= zeroCount;\n if (getCount - minusCount <= 0) {\n score -= getCount;\n } else {\n score -= minusCount;\n }\n }\n }", "getCount - plusCount <= 0", "getCount - plusCount", "getCount", "plusCount", "0", "{\n score = getCount;\n }", "score = getCount", "score", "getCount", "{\n getCount -= plusCount;\n score += plusCount;\n if (getCount - zeroCount <= 0) {\n } else {\n getCount -= zeroCount;\n if (getCount - minusCount <= 0) {\n score -= getCount;\n } else {\n score -= minusCount;\n }\n }\n }", "getCount -= plusCount", "getCount", "plusCount", "score += plusCount", "score", "plusCount", "if (getCount - zeroCount <= 0) {\n } else {\n getCount -= zeroCount;\n if (getCount - minusCount <= 0) {\n score -= getCount;\n } else {\n score -= minusCount;\n }\n }", "getCount - zeroCount <= 0", "getCount - zeroCount", "getCount", "zeroCount", "0", "{\n }", "{\n getCount -= zeroCount;\n if (getCount - minusCount <= 0) {\n score -= getCount;\n } else {\n score -= minusCount;\n }\n }", "getCount -= zeroCount", "getCount", "zeroCount", "if (getCount - minusCount <= 0) {\n score -= getCount;\n } else {\n score -= minusCount;\n }", "getCount - minusCount <= 0", "getCount - minusCount", "getCount", "minusCount", "0", "{\n score -= getCount;\n }", "score -= getCount", "score", "getCount", "{\n score -= minusCount;\n }", "score -= minusCount", "score", "minusCount", "System.out.println(score)", "System.out.println", "System.out", "System", "System.out", "score", "final String[] args", "args", "public class Main {\n public static void main(final String[] args) throws Exception {\n final Scanner scan = new Scanner(System.in);\n int plusCount = scan.nextInt();\n int zeroCount = scan.nextInt();\n int minusCount = scan.nextInt();\n int getCount = scan.nextInt();\n scan.close();\n int score = 0;\n\n if (getCount - plusCount <= 0) {\n score = getCount;\n } else {\n getCount -= plusCount;\n score += plusCount;\n if (getCount - zeroCount <= 0) {\n } else {\n getCount -= zeroCount;\n if (getCount - minusCount <= 0) {\n score -= getCount;\n } else {\n score -= minusCount;\n }\n }\n }\n\n System.out.println(score);\n\n \n }\n}", "public class Main {\n public static void main(final String[] args) throws Exception {\n final Scanner scan = new Scanner(System.in);\n int plusCount = scan.nextInt();\n int zeroCount = scan.nextInt();\n int minusCount = scan.nextInt();\n int getCount = scan.nextInt();\n scan.close();\n int score = 0;\n\n if (getCount - plusCount <= 0) {\n score = getCount;\n } else {\n getCount -= plusCount;\n score += plusCount;\n if (getCount - zeroCount <= 0) {\n } else {\n getCount -= zeroCount;\n if (getCount - minusCount <= 0) {\n score -= getCount;\n } else {\n score -= minusCount;\n }\n }\n }\n\n System.out.println(score);\n\n \n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(final String[] args) throws Exception { final Scanner scan = new Scanner(System.in); int plusCount = scan.nextInt(); int zeroCount = scan.nextInt(); int minusCount = scan.nextInt(); int getCount = scan.nextInt(); scan.close(); int score = 0; if (getCount - plusCount <= 0) { score = getCount; } else { getCount -= plusCount; score += plusCount; if (getCount - zeroCount <= 0) { } else { getCount -= zeroCount; if (getCount - minusCount <= 0) { score -= getCount; } else { score -= minusCount; } } } System.out.println(score); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 2, 13, 13, 41, 13, 2, 2, 13, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 14, 2, 2, 13, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 2, 13, 40, 17, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 111, 5 ], [ 111, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 40 ], [ 40, 41 ], [ 40, 42 ], [ 43, 43 ], [ 43, 44 ], [ 43, 45 ], [ 43, 46 ], [ 8, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 52, 54 ], [ 47, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 47, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 67, 69 ], [ 62, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 62, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 82, 83 ], [ 82, 84 ], [ 77, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 77, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 6, 108 ], [ 108, 109 ], [ 0, 110 ], [ 110, 111 ], [ 110, 112 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int K = sc.nextInt();\n \tint ans = 0;\n\tint b = K-A;\n int c = K-A-B;\n\tif(A==0 && C==0){\n\t\tSystem.out.println(\"0\");\n }else if(K>=A && c<1){\n\t\tSystem.out.println(A);\n\t}else if(K>=A && c>=1){\n\t\tSystem.out.println(A+(c*-1));\n\t}else if(K<A){\n System.out.println(K);\n }\n}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int K = sc.nextInt();\n \tint ans = 0;\n\tint b = K-A;\n int c = K-A-B;\n\tif(A==0 && C==0){\n\t\tSystem.out.println(\"0\");\n }else if(K>=A && c<1){\n\t\tSystem.out.println(A);\n\t}else if(K>=A && c>=1){\n\t\tSystem.out.println(A+(c*-1));\n\t}else if(K<A){\n System.out.println(K);\n }\n}\n}", "Main", "public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int K = sc.nextInt();\n \tint ans = 0;\n\tint b = K-A;\n int c = K-A-B;\n\tif(A==0 && C==0){\n\t\tSystem.out.println(\"0\");\n }else if(K>=A && c<1){\n\t\tSystem.out.println(A);\n\t}else if(K>=A && c>=1){\n\t\tSystem.out.println(A+(c*-1));\n\t}else if(K<A){\n System.out.println(K);\n }\n}", "main", "{\n \n Scanner sc = new Scanner(System.in);\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int K = sc.nextInt();\n \tint ans = 0;\n\tint b = K-A;\n int c = K-A-B;\n\tif(A==0 && C==0){\n\t\tSystem.out.println(\"0\");\n }else if(K>=A && c<1){\n\t\tSystem.out.println(A);\n\t}else if(K>=A && c>=1){\n\t\tSystem.out.println(A+(c*-1));\n\t}else if(K<A){\n System.out.println(K);\n }\n}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "int C = sc.nextInt();", "C", "sc.nextInt()", "sc.nextInt", "sc", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int ans = 0;", "ans", "0", "int b = K-A;", "b", "K-A", "K", "A", "int c = K-A-B;", "c", "K-A-B", "K-A-B", "K", "A", "B", "if(A==0 && C==0){\n\t\tSystem.out.println(\"0\");\n }else if(K>=A && c<1){\n\t\tSystem.out.println(A);\n\t}else if(K>=A && c>=1){\n\t\tSystem.out.println(A+(c*-1));\n\t}else if(K<A){\n System.out.println(K);\n }", "A==0 && C==0", "A==0", "A", "0", "C==0", "C", "0", "{\n\t\tSystem.out.println(\"0\");\n }", "System.out.println(\"0\")", "System.out.println", "System.out", "System", "System.out", "\"0\"", "if(K>=A && c<1){\n\t\tSystem.out.println(A);\n\t}else if(K>=A && c>=1){\n\t\tSystem.out.println(A+(c*-1));\n\t}else if(K<A){\n System.out.println(K);\n }", "K>=A && c<1", "K>=A", "K", "A", "c<1", "c", "1", "{\n\t\tSystem.out.println(A);\n\t}", "System.out.println(A)", "System.out.println", "System.out", "System", "System.out", "A", "if(K>=A && c>=1){\n\t\tSystem.out.println(A+(c*-1));\n\t}else if(K<A){\n System.out.println(K);\n }", "K>=A && c>=1", "K>=A", "K", "A", "c>=1", "c", "1", "{\n\t\tSystem.out.println(A+(c*-1));\n\t}", "System.out.println(A+(c*-1))", "System.out.println", "System.out", "System", "System.out", "A+(c*-1)", "A", "(c*-1)", "c", "-1", "1", "if(K<A){\n System.out.println(K);\n }", "K<A", "K", "A", "{\n System.out.println(K);\n }", "System.out.println(K)", "System.out.println", "System.out", "System", "System.out", "K", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int K = sc.nextInt();\n \tint ans = 0;\n\tint b = K-A;\n int c = K-A-B;\n\tif(A==0 && C==0){\n\t\tSystem.out.println(\"0\");\n }else if(K>=A && c<1){\n\t\tSystem.out.println(A);\n\t}else if(K>=A && c>=1){\n\t\tSystem.out.println(A+(c*-1));\n\t}else if(K<A){\n System.out.println(K);\n }\n}\n}", "public class Main {\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int K = sc.nextInt();\n \tint ans = 0;\n\tint b = K-A;\n int c = K-A-B;\n\tif(A==0 && C==0){\n\t\tSystem.out.println(\"0\");\n }else if(K>=A && c<1){\n\t\tSystem.out.println(A);\n\t}else if(K>=A && c>=1){\n\t\tSystem.out.println(A+(c*-1));\n\t}else if(K<A){\n System.out.println(K);\n }\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 B = sc.nextInt(); int C = sc.nextInt(); int K = sc.nextInt(); int ans = 0; int b = K-A; int c = K-A-B; if(A==0 && C==0){ System.out.println("0"); }else if(K>=A && c<1){ System.out.println(A); }else if(K>=A && c>=1){ System.out.println(A+(c*-1)); }else if(K<A){ System.out.println(K); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 2, 4, 18, 13, 17, 17, 17, 41, 13, 20, 12, 13, 30, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 14, 2, 13, 13, 30, 4, 13, 13, 14, 2, 13, 2, 13, 13, 30, 4, 13, 13, 30, 4, 13, 2, 13, 2, 2, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 2, 2, 13, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 2, 2, 13, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 13, 4, 18, 13, 13, 2, 13, 17, 30, 40, 13, 29, 13, 23, 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, 4, 18, 13, 12, 13, 30, 14, 2, 2, 13, 17, 2, 13, 17, 30, 29, 17, 30, 29, 2, 13, 4, 13, 2, 13, 17, 23, 13, 12, 13, 30, 29, 8, 2, 2, 13, 17, 2, 13, 17, 13, 2, 4, 13, 2, 13, 17, 4, 13, 2, 13, 17, 23, 13, 12, 13, 30, 29, 2, 2, 13, 13, 4, 13, 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, 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, 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, 23, 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, 23, 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, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 466, 5 ], [ 466, 6 ], [ 6, 7 ], [ 6, 8 ], [ 466, 9 ], [ 9, 10 ], [ 9, 11 ], [ 466, 12 ], [ 12, 13 ], [ 12, 14 ], [ 466, 15 ], [ 15, 16 ], [ 15, 17 ], [ 466, 18 ], [ 18, 19 ], [ 18, 20 ], [ 466, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 24, 28 ], [ 23, 29 ], [ 466, 30 ], [ 30, 31 ], [ 30, 32 ], [ 466, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 35, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 35, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 35, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 52, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 63, 65 ], [ 60, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 60, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 33, 80 ], [ 80, 81 ], [ 466, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 88, 89 ], [ 84, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 84, 95 ], [ 95, 96 ], [ 95, 97 ], [ 84, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 98, 110 ], [ 110, 111 ], [ 111, 112 ], [ 98, 113 ], [ 114, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 115, 124 ], [ 124, 125 ], [ 124, 126 ], [ 115, 127 ], [ 127, 128 ], [ 128, 129 ], [ 115, 130 ], [ 131, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 133, 136 ], [ 136, 137 ], [ 137, 138 ], [ 136, 139 ], [ 136, 140 ], [ 140, 141 ], [ 140, 142 ], [ 132, 143 ], [ 143, 144 ], [ 144, 145 ], [ 84, 146 ], [ 146, 147 ], [ 82, 148 ], [ 148, 149 ], [ 82, 150 ], [ 150, 151 ], [ 466, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 466, 159 ], [ 159, 160 ], [ 159, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 466, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 466, 173 ], [ 173, 174 ], [ 173, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 466, 182 ], [ 182, 183 ], [ 182, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 186, 190 ], [ 190, 191 ], [ 190, 192 ], [ 185, 193 ], [ 193, 194 ], [ 194, 195 ], [ 185, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 202, 204 ], [ 182, 205 ], [ 205, 206 ], [ 466, 207 ], [ 207, 208 ], [ 207, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 212, 216 ], [ 216, 217 ], [ 216, 218 ], [ 211, 219 ], [ 211, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 223, 224 ], [ 223, 225 ], [ 220, 226 ], [ 226, 227 ], [ 226, 228 ], [ 228, 229 ], [ 228, 230 ], [ 207, 231 ], [ 231, 232 ], [ 466, 233 ], [ 233, 234 ], [ 233, 235 ], [ 235, 236 ], [ 236, 237 ], [ 237, 238 ], [ 238, 239 ], [ 238, 240 ], [ 237, 241 ], [ 241, 242 ], [ 241, 243 ], [ 241, 244 ], [ 233, 245 ], [ 245, 246 ], [ 233, 247 ], [ 247, 248 ], [ 466, 249 ], [ 249, 250 ], [ 249, 251 ], [ 251, 252 ], [ 252, 253 ], [ 253, 254 ], [ 254, 255 ], [ 254, 256 ], [ 253, 257 ], [ 257, 258 ], [ 257, 259 ], [ 257, 260 ], [ 249, 261 ], [ 261, 262 ], [ 249, 263 ], [ 263, 264 ], [ 466, 265 ], [ 265, 266 ], [ 265, 267 ], [ 267, 268 ], [ 268, 269 ], [ 269, 270 ], [ 270, 271 ], [ 270, 272 ], [ 269, 273 ], [ 269, 274 ], [ 274, 275 ], [ 274, 276 ], [ 274, 277 ], [ 277, 278 ], [ 277, 279 ], [ 265, 280 ], [ 280, 281 ], [ 265, 282 ], [ 282, 283 ], [ 466, 284 ], [ 284, 285 ], [ 284, 286 ], [ 286, 287 ], [ 287, 288 ], [ 288, 289 ], [ 289, 290 ], [ 289, 291 ], [ 288, 292 ], [ 288, 293 ], [ 293, 294 ], [ 293, 295 ], [ 293, 296 ], [ 296, 297 ], [ 296, 298 ], [ 284, 299 ], [ 299, 300 ], [ 284, 301 ], [ 301, 302 ], [ 466, 303 ], [ 303, 304 ], [ 303, 305 ], [ 305, 306 ], [ 306, 307 ], [ 307, 308 ], [ 308, 309 ], [ 308, 310 ], [ 306, 311 ], [ 303, 312 ], [ 312, 313 ], [ 466, 314 ], [ 314, 315 ], [ 314, 316 ], [ 316, 317 ], [ 317, 318 ], [ 318, 319 ], [ 319, 320 ], [ 319, 321 ], [ 317, 322 ], [ 314, 323 ], [ 323, 324 ], [ 466, 325 ], [ 325, 326 ], [ 325, 327 ], [ 327, 328 ], [ 328, 329 ], [ 329, 330 ], [ 330, 331 ], [ 330, 332 ], [ 328, 333 ], [ 325, 334 ], [ 334, 335 ], [ 466, 336 ], [ 336, 337 ], [ 336, 338 ], [ 338, 339 ], [ 339, 340 ], [ 340, 341 ], [ 341, 342 ], [ 341, 343 ], [ 339, 344 ], [ 336, 345 ], [ 345, 346 ], [ 466, 347 ], [ 347, 348 ], [ 347, 349 ], [ 349, 350 ], [ 350, 351 ], [ 351, 352 ], [ 352, 353 ], [ 352, 354 ], [ 350, 355 ], [ 347, 356 ], [ 356, 357 ], [ 466, 358 ], [ 358, 359 ], [ 358, 360 ], [ 360, 361 ], [ 361, 362 ], [ 362, 363 ], [ 363, 364 ], [ 363, 365 ], [ 361, 366 ], [ 358, 367 ], [ 367, 368 ], [ 466, 369 ], [ 369, 370 ], [ 369, 371 ], [ 371, 372 ], [ 372, 373 ], [ 373, 374 ], [ 374, 375 ], [ 374, 376 ], [ 372, 377 ], [ 369, 378 ], [ 378, 379 ], [ 466, 380 ], [ 380, 381 ], [ 380, 382 ], [ 382, 383 ], [ 383, 384 ], [ 384, 385 ], [ 385, 386 ], [ 385, 387 ], [ 383, 388 ], [ 380, 389 ], [ 389, 390 ], [ 466, 391 ], [ 391, 392 ], [ 391, 393 ], [ 393, 394 ], [ 394, 395 ], [ 395, 396 ], [ 396, 397 ], [ 396, 398 ], [ 394, 399 ], [ 391, 400 ], [ 400, 401 ], [ 466, 402 ], [ 402, 403 ], [ 402, 404 ], [ 404, 405 ], [ 405, 406 ], [ 406, 407 ], [ 407, 408 ], [ 407, 409 ], [ 405, 410 ], [ 402, 411 ], [ 411, 412 ], [ 466, 413 ], [ 413, 414 ], [ 413, 415 ], [ 415, 416 ], [ 416, 417 ], [ 417, 418 ], [ 418, 419 ], [ 417, 420 ], [ 417, 421 ], [ 413, 422 ], [ 422, 423 ], [ 413, 424 ], [ 424, 425 ], [ 466, 426 ], [ 426, 427 ], [ 426, 428 ], [ 428, 429 ], [ 429, 430 ], [ 430, 431 ], [ 431, 432 ], [ 430, 433 ], [ 430, 434 ], [ 426, 435 ], [ 435, 436 ], [ 426, 437 ], [ 437, 438 ], [ 466, 439 ], [ 439, 440 ], [ 439, 441 ], [ 441, 442 ], [ 442, 443 ], [ 443, 444 ], [ 444, 445 ], [ 443, 446 ], [ 443, 447 ], [ 439, 448 ], [ 448, 449 ], [ 439, 450 ], [ 450, 451 ], [ 466, 452 ], [ 452, 453 ], [ 452, 454 ], [ 454, 455 ], [ 455, 456 ], [ 456, 457 ], [ 457, 458 ], [ 456, 459 ], [ 456, 460 ], [ 452, 461 ], [ 461, 462 ], [ 452, 463 ], [ 463, 464 ], [ 0, 465 ], [ 465, 466 ], [ 465, 467 ] ]
[ "import java.util.Scanner;\n\n\npublic class Main {\n\n public static String Y = \"Yes\";\n public static String N = \"No\";\n public static String I = \"IMPOSSIBLE\";\n public static String B = \"Bad\";\n public static String G = \"Good\";\n public static long MOD = (long) (Math.pow(10, 9) + 7);\n public static Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n\n long a = nl();\n long b = nl();\n long c = nl();\n long k = nl();\n\n if (k <= a) {\n out(k);\n } else if (k <= a + b) {\n out(a);\n } else {\n out(a - (k - a - b));\n }\n }\n\n public static int count(String search, String text) {\n\n int nsearch = search.length();\n int ntext = text.length();\n int count = 0;\n\n for (int i = 0; i <= ntext - nsearch + 1; i++) {\n for (int j = i + nsearch - 1; j < ntext; j++) {\n if (search.equals(text.substring(i, j + 1))) {\n count++;\n }\n }\n }\n\n return count;\n }\n\n /*\n * 以下メソッド集\n */\n static int ni() {\n\n return sc.nextInt();\n }\n\n static long nl() {\n\n return sc.nextLong();\n }\n\n static String n() {\n\n return sc.next();\n }\n\n static char[] nc() {\n\n return sc.next().toCharArray();\n }\n\n static int kaijo(int n) {\n\n if (n == 0 || n == 1) {\n return 1;\n } else {\n return n * kaijo(n - 1);\n }\n }\n\n static int fib(int n) {\n\n return (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n }\n\n static long lcm(long m, long n) {\n\n return m * n / gcd(m, n);\n }\n\n static int lcm(int m, int n) {\n\n return m * n / gcd(m, n);\n }\n\n static long gcd(long a, long b) {\n\n return (b == 0) ? a : gcd(b, a % b);\n }\n\n static int gcd(int a, int b) {\n\n return (b == 0) ? a : gcd(b, a % b);\n }\n\n static void out(String info) {\n\n System.out.println(info);\n }\n\n static void out(int info) {\n\n System.out.println(info);\n }\n\n static void out(double info) {\n\n System.out.println(info);\n }\n\n static void out(long info) {\n\n System.out.println(info);\n }\n\n static void out(char info) {\n\n System.out.println(info);\n }\n\n static void outn(String info) {\n\n System.out.print(info);\n }\n\n static void outn(int info) {\n\n System.out.print(info);\n }\n\n static void outn(double info) {\n\n System.out.print(info);\n }\n\n static void outn(long info) {\n\n System.out.print(info);\n }\n\n static void outn(char info) {\n\n System.out.print(info);\n }\n\n static int max(int a, int b) {\n\n return Math.max(a, b);\n }\n\n static long max(long a, long b) {\n\n return Math.max(a, b);\n }\n\n static int min(int a, int b) {\n\n return Math.min(a, b);\n }\n\n static long min(long a, long b) {\n\n return Math.min(a, b);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static String Y = \"Yes\";\n public static String N = \"No\";\n public static String I = \"IMPOSSIBLE\";\n public static String B = \"Bad\";\n public static String G = \"Good\";\n public static long MOD = (long) (Math.pow(10, 9) + 7);\n public static Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n\n long a = nl();\n long b = nl();\n long c = nl();\n long k = nl();\n\n if (k <= a) {\n out(k);\n } else if (k <= a + b) {\n out(a);\n } else {\n out(a - (k - a - b));\n }\n }\n\n public static int count(String search, String text) {\n\n int nsearch = search.length();\n int ntext = text.length();\n int count = 0;\n\n for (int i = 0; i <= ntext - nsearch + 1; i++) {\n for (int j = i + nsearch - 1; j < ntext; j++) {\n if (search.equals(text.substring(i, j + 1))) {\n count++;\n }\n }\n }\n\n return count;\n }\n\n /*\n * 以下メソッド集\n */\n static int ni() {\n\n return sc.nextInt();\n }\n\n static long nl() {\n\n return sc.nextLong();\n }\n\n static String n() {\n\n return sc.next();\n }\n\n static char[] nc() {\n\n return sc.next().toCharArray();\n }\n\n static int kaijo(int n) {\n\n if (n == 0 || n == 1) {\n return 1;\n } else {\n return n * kaijo(n - 1);\n }\n }\n\n static int fib(int n) {\n\n return (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n }\n\n static long lcm(long m, long n) {\n\n return m * n / gcd(m, n);\n }\n\n static int lcm(int m, int n) {\n\n return m * n / gcd(m, n);\n }\n\n static long gcd(long a, long b) {\n\n return (b == 0) ? a : gcd(b, a % b);\n }\n\n static int gcd(int a, int b) {\n\n return (b == 0) ? a : gcd(b, a % b);\n }\n\n static void out(String info) {\n\n System.out.println(info);\n }\n\n static void out(int info) {\n\n System.out.println(info);\n }\n\n static void out(double info) {\n\n System.out.println(info);\n }\n\n static void out(long info) {\n\n System.out.println(info);\n }\n\n static void out(char info) {\n\n System.out.println(info);\n }\n\n static void outn(String info) {\n\n System.out.print(info);\n }\n\n static void outn(int info) {\n\n System.out.print(info);\n }\n\n static void outn(double info) {\n\n System.out.print(info);\n }\n\n static void outn(long info) {\n\n System.out.print(info);\n }\n\n static void outn(char info) {\n\n System.out.print(info);\n }\n\n static int max(int a, int b) {\n\n return Math.max(a, b);\n }\n\n static long max(long a, long b) {\n\n return Math.max(a, b);\n }\n\n static int min(int a, int b) {\n\n return Math.min(a, b);\n }\n\n static long min(long a, long b) {\n\n return Math.min(a, b);\n }\n}", "Main", "public static String Y = \"Yes\";", "Y", "\"Yes\"", "public static String N = \"No\";", "N", "\"No\"", "public static String I = \"IMPOSSIBLE\";", "I", "\"IMPOSSIBLE\"", "public static String B = \"Bad\";", "B", "\"Bad\"", "public static String G = \"Good\";", "G", "\"Good\"", "public 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 Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "public static void main(String[] args) {\n\n long a = nl();\n long b = nl();\n long c = nl();\n long k = nl();\n\n if (k <= a) {\n out(k);\n } else if (k <= a + b) {\n out(a);\n } else {\n out(a - (k - a - b));\n }\n }", "main", "{\n\n long a = nl();\n long b = nl();\n long c = nl();\n long k = nl();\n\n if (k <= a) {\n out(k);\n } else if (k <= a + b) {\n out(a);\n } else {\n out(a - (k - a - b));\n }\n }", "long a = nl();", "a", "nl()", "nl", "long b = nl();", "b", "nl()", "nl", "long c = nl();", "c", "nl()", "nl", "long k = nl();", "k", "nl()", "nl", "if (k <= a) {\n out(k);\n } else if (k <= a + b) {\n out(a);\n } else {\n out(a - (k - a - b));\n }", "k <= a", "k", "a", "{\n out(k);\n }", "out(k)", "out", "k", "if (k <= a + b) {\n out(a);\n } else {\n out(a - (k - a - b));\n }", "k <= a + b", "k", "a + b", "a", "b", "{\n out(a);\n }", "out(a)", "out", "a", "{\n out(a - (k - a - b));\n }", "out(a - (k - a - b))", "out", "a - (k - a - b)", "a", "(k - a - b)", "k - a - b", "k", "a", "b", "String[] args", "args", "public static int count(String search, String text) {\n\n int nsearch = search.length();\n int ntext = text.length();\n int count = 0;\n\n for (int i = 0; i <= ntext - nsearch + 1; i++) {\n for (int j = i + nsearch - 1; j < ntext; j++) {\n if (search.equals(text.substring(i, j + 1))) {\n count++;\n }\n }\n }\n\n return count;\n }", "count", "{\n\n int nsearch = search.length();\n int ntext = text.length();\n int count = 0;\n\n for (int i = 0; i <= ntext - nsearch + 1; i++) {\n for (int j = i + nsearch - 1; j < ntext; j++) {\n if (search.equals(text.substring(i, j + 1))) {\n count++;\n }\n }\n }\n\n return count;\n }", "int nsearch = search.length();", "nsearch", "search.length()", "search.length", "search", "int ntext = text.length();", "ntext", "text.length()", "text.length", "text", "int count = 0;", "count", "0", "for (int i = 0; i <= ntext - nsearch + 1; i++) {\n for (int j = i + nsearch - 1; j < ntext; j++) {\n if (search.equals(text.substring(i, j + 1))) {\n count++;\n }\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i <= ntext - nsearch + 1", "i", "ntext - nsearch + 1", "ntext - nsearch", "ntext", "nsearch", "1", "i++", "i++", "i", "{\n for (int j = i + nsearch - 1; j < ntext; j++) {\n if (search.equals(text.substring(i, j + 1))) {\n count++;\n }\n }\n }", "{\n for (int j = i + nsearch - 1; j < ntext; j++) {\n if (search.equals(text.substring(i, j + 1))) {\n count++;\n }\n }\n }", "for (int j = i + nsearch - 1; j < ntext; j++) {\n if (search.equals(text.substring(i, j + 1))) {\n count++;\n }\n }", "int j = i + nsearch - 1;", "int j = i + nsearch - 1;", "j", "i + nsearch - 1", "i + nsearch", "i", "nsearch", "1", "j < ntext", "j", "ntext", "j++", "j++", "j", "{\n if (search.equals(text.substring(i, j + 1))) {\n count++;\n }\n }", "{\n if (search.equals(text.substring(i, j + 1))) {\n count++;\n }\n }", "if (search.equals(text.substring(i, j + 1))) {\n count++;\n }", "search.equals(text.substring(i, j + 1))", "search.equals", "search", "text.substring(i, j + 1)", "text.substring", "text", "i", "j + 1", "j", "1", "{\n count++;\n }", "count++", "count", "return count;", "count", "String search", "search", "String text", "text", "/*\n * 以下メソッド集\n */\n static int ni() {\n\n return sc.nextInt();\n }", "ni", "{\n\n return sc.nextInt();\n }", "return sc.nextInt();", "sc.nextInt()", "sc.nextInt", "sc", "static long nl() {\n\n return sc.nextLong();\n }", "nl", "{\n\n return sc.nextLong();\n }", "return sc.nextLong();", "sc.nextLong()", "sc.nextLong", "sc", "static String n() {\n\n return sc.next();\n }", "n", "{\n\n return sc.next();\n }", "return sc.next();", "sc.next()", "sc.next", "sc", "static char[] nc() {\n\n return sc.next().toCharArray();\n }", "nc", "{\n\n return sc.next().toCharArray();\n }", "return sc.next().toCharArray();", "sc.next().toCharArray()", "sc.next().toCharArray", "sc.next()", "sc.next", "sc", "static int kaijo(int n) {\n\n if (n == 0 || n == 1) {\n return 1;\n } else {\n return n * kaijo(n - 1);\n }\n }", "kaijo", "{\n\n if (n == 0 || n == 1) {\n return 1;\n } else {\n return n * kaijo(n - 1);\n }\n }", "if (n == 0 || n == 1) {\n return 1;\n } else {\n return n * kaijo(n - 1);\n }", "n == 0 || n == 1", "n == 0", "n", "0", "n == 1", "n", "1", "{\n return 1;\n }", "return 1;", "1", "{\n return n * kaijo(n - 1);\n }", "return n * kaijo(n - 1);", "n * kaijo(n - 1)", "n", "kaijo(n - 1)", "kaijo", "n - 1", "n", "1", "int n", "n", "static int fib(int n) {\n\n return (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n }", "fib", "{\n\n return (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n }", "return (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);", "(n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1)", "(n == 1 || n == 0)", "n == 1", "n", "1", "n == 0", "n", "0", "n", "fib(n - 2) + fib(n - 1)", "fib(n - 2)", "fib", "n - 2", "n", "2", "fib(n - 1)", "fib", "n - 1", "n", "1", "int n", "n", "static long lcm(long m, long n) {\n\n return m * n / gcd(m, n);\n }", "lcm", "{\n\n return m * n / gcd(m, n);\n }", "return m * n / gcd(m, n);", "m * n / gcd(m, n)", "m * n", "m", "n", "gcd(m, n)", "gcd", "m", "n", "long m", "m", "long n", "n", "static int lcm(int m, int n) {\n\n return m * n / gcd(m, n);\n }", "lcm", "{\n\n return m * n / gcd(m, n);\n }", "return m * n / gcd(m, n);", "m * n / gcd(m, n)", "m * n", "m", "n", "gcd(m, n)", "gcd", "m", "n", "int m", "m", "int n", "n", "static long gcd(long a, long b) {\n\n return (b == 0) ? a : gcd(b, a % b);\n }", "gcd", "{\n\n return (b == 0) ? a : gcd(b, a % b);\n }", "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", "static int gcd(int a, int b) {\n\n return (b == 0) ? a : gcd(b, a % b);\n }", "gcd", "{\n\n return (b == 0) ? a : gcd(b, a % b);\n }", "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", "static void out(String info) {\n\n System.out.println(info);\n }", "out", "{\n\n System.out.println(info);\n }", "System.out.println(info)", "System.out.println", "System.out", "System", "System.out", "info", "String info", "info", "static void out(int info) {\n\n System.out.println(info);\n }", "out", "{\n\n System.out.println(info);\n }", "System.out.println(info)", "System.out.println", "System.out", "System", "System.out", "info", "int info", "info", "static void out(double info) {\n\n System.out.println(info);\n }", "out", "{\n\n System.out.println(info);\n }", "System.out.println(info)", "System.out.println", "System.out", "System", "System.out", "info", "double info", "info", "static void out(long info) {\n\n System.out.println(info);\n }", "out", "{\n\n System.out.println(info);\n }", "System.out.println(info)", "System.out.println", "System.out", "System", "System.out", "info", "long info", "info", "static void out(char info) {\n\n System.out.println(info);\n }", "out", "{\n\n System.out.println(info);\n }", "System.out.println(info)", "System.out.println", "System.out", "System", "System.out", "info", "char info", "info", "static void outn(String info) {\n\n System.out.print(info);\n }", "outn", "{\n\n System.out.print(info);\n }", "System.out.print(info)", "System.out.print", "System.out", "System", "System.out", "info", "String info", "info", "static void outn(int info) {\n\n System.out.print(info);\n }", "outn", "{\n\n System.out.print(info);\n }", "System.out.print(info)", "System.out.print", "System.out", "System", "System.out", "info", "int info", "info", "static void outn(double info) {\n\n System.out.print(info);\n }", "outn", "{\n\n System.out.print(info);\n }", "System.out.print(info)", "System.out.print", "System.out", "System", "System.out", "info", "double info", "info", "static void outn(long info) {\n\n System.out.print(info);\n }", "outn", "{\n\n System.out.print(info);\n }", "System.out.print(info)", "System.out.print", "System.out", "System", "System.out", "info", "long info", "info", "static void outn(char info) {\n\n System.out.print(info);\n }", "outn", "{\n\n System.out.print(info);\n }", "System.out.print(info)", "System.out.print", "System.out", "System", "System.out", "info", "char info", "info", "static int max(int a, int b) {\n\n return Math.max(a, b);\n }", "max", "{\n\n return Math.max(a, b);\n }", "return Math.max(a, b);", "Math.max(a, b)", "Math.max", "Math", "a", "b", "int a", "a", "int b", "b", "static long max(long a, long b) {\n\n return Math.max(a, b);\n }", "max", "{\n\n return Math.max(a, b);\n }", "return Math.max(a, b);", "Math.max(a, b)", "Math.max", "Math", "a", "b", "long a", "a", "long b", "b", "static int min(int a, int b) {\n\n return Math.min(a, b);\n }", "min", "{\n\n return Math.min(a, b);\n }", "return Math.min(a, b);", "Math.min(a, b)", "Math.min", "Math", "a", "b", "int a", "a", "int b", "b", "static long min(long a, long b) {\n\n return Math.min(a, b);\n }", "min", "{\n\n return Math.min(a, b);\n }", "return Math.min(a, b);", "Math.min(a, b)", "Math.min", "Math", "a", "b", "long a", "a", "long b", "b", "public class Main {\n\n public static String Y = \"Yes\";\n public static String N = \"No\";\n public static String I = \"IMPOSSIBLE\";\n public static String B = \"Bad\";\n public static String G = \"Good\";\n public static long MOD = (long) (Math.pow(10, 9) + 7);\n public static Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n\n long a = nl();\n long b = nl();\n long c = nl();\n long k = nl();\n\n if (k <= a) {\n out(k);\n } else if (k <= a + b) {\n out(a);\n } else {\n out(a - (k - a - b));\n }\n }\n\n public static int count(String search, String text) {\n\n int nsearch = search.length();\n int ntext = text.length();\n int count = 0;\n\n for (int i = 0; i <= ntext - nsearch + 1; i++) {\n for (int j = i + nsearch - 1; j < ntext; j++) {\n if (search.equals(text.substring(i, j + 1))) {\n count++;\n }\n }\n }\n\n return count;\n }\n\n /*\n * 以下メソッド集\n */\n static int ni() {\n\n return sc.nextInt();\n }\n\n static long nl() {\n\n return sc.nextLong();\n }\n\n static String n() {\n\n return sc.next();\n }\n\n static char[] nc() {\n\n return sc.next().toCharArray();\n }\n\n static int kaijo(int n) {\n\n if (n == 0 || n == 1) {\n return 1;\n } else {\n return n * kaijo(n - 1);\n }\n }\n\n static int fib(int n) {\n\n return (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n }\n\n static long lcm(long m, long n) {\n\n return m * n / gcd(m, n);\n }\n\n static int lcm(int m, int n) {\n\n return m * n / gcd(m, n);\n }\n\n static long gcd(long a, long b) {\n\n return (b == 0) ? a : gcd(b, a % b);\n }\n\n static int gcd(int a, int b) {\n\n return (b == 0) ? a : gcd(b, a % b);\n }\n\n static void out(String info) {\n\n System.out.println(info);\n }\n\n static void out(int info) {\n\n System.out.println(info);\n }\n\n static void out(double info) {\n\n System.out.println(info);\n }\n\n static void out(long info) {\n\n System.out.println(info);\n }\n\n static void out(char info) {\n\n System.out.println(info);\n }\n\n static void outn(String info) {\n\n System.out.print(info);\n }\n\n static void outn(int info) {\n\n System.out.print(info);\n }\n\n static void outn(double info) {\n\n System.out.print(info);\n }\n\n static void outn(long info) {\n\n System.out.print(info);\n }\n\n static void outn(char info) {\n\n System.out.print(info);\n }\n\n static int max(int a, int b) {\n\n return Math.max(a, b);\n }\n\n static long max(long a, long b) {\n\n return Math.max(a, b);\n }\n\n static int min(int a, int b) {\n\n return Math.min(a, b);\n }\n\n static long min(long a, long b) {\n\n return Math.min(a, b);\n }\n}", "public class Main {\n\n public static String Y = \"Yes\";\n public static String N = \"No\";\n public static String I = \"IMPOSSIBLE\";\n public static String B = \"Bad\";\n public static String G = \"Good\";\n public static long MOD = (long) (Math.pow(10, 9) + 7);\n public static Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n\n long a = nl();\n long b = nl();\n long c = nl();\n long k = nl();\n\n if (k <= a) {\n out(k);\n } else if (k <= a + b) {\n out(a);\n } else {\n out(a - (k - a - b));\n }\n }\n\n public static int count(String search, String text) {\n\n int nsearch = search.length();\n int ntext = text.length();\n int count = 0;\n\n for (int i = 0; i <= ntext - nsearch + 1; i++) {\n for (int j = i + nsearch - 1; j < ntext; j++) {\n if (search.equals(text.substring(i, j + 1))) {\n count++;\n }\n }\n }\n\n return count;\n }\n\n /*\n * 以下メソッド集\n */\n static int ni() {\n\n return sc.nextInt();\n }\n\n static long nl() {\n\n return sc.nextLong();\n }\n\n static String n() {\n\n return sc.next();\n }\n\n static char[] nc() {\n\n return sc.next().toCharArray();\n }\n\n static int kaijo(int n) {\n\n if (n == 0 || n == 1) {\n return 1;\n } else {\n return n * kaijo(n - 1);\n }\n }\n\n static int fib(int n) {\n\n return (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n }\n\n static long lcm(long m, long n) {\n\n return m * n / gcd(m, n);\n }\n\n static int lcm(int m, int n) {\n\n return m * n / gcd(m, n);\n }\n\n static long gcd(long a, long b) {\n\n return (b == 0) ? a : gcd(b, a % b);\n }\n\n static int gcd(int a, int b) {\n\n return (b == 0) ? a : gcd(b, a % b);\n }\n\n static void out(String info) {\n\n System.out.println(info);\n }\n\n static void out(int info) {\n\n System.out.println(info);\n }\n\n static void out(double info) {\n\n System.out.println(info);\n }\n\n static void out(long info) {\n\n System.out.println(info);\n }\n\n static void out(char info) {\n\n System.out.println(info);\n }\n\n static void outn(String info) {\n\n System.out.print(info);\n }\n\n static void outn(int info) {\n\n System.out.print(info);\n }\n\n static void outn(double info) {\n\n System.out.print(info);\n }\n\n static void outn(long info) {\n\n System.out.print(info);\n }\n\n static void outn(char info) {\n\n System.out.print(info);\n }\n\n static int max(int a, int b) {\n\n return Math.max(a, b);\n }\n\n static long max(long a, long b) {\n\n return Math.max(a, b);\n }\n\n static int min(int a, int b) {\n\n return Math.min(a, b);\n }\n\n static long min(long a, long b) {\n\n return Math.min(a, b);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static String Y = "Yes"; public static String N = "No"; public static String I = "IMPOSSIBLE"; public static String B = "Bad"; public static String G = "Good"; public static long MOD = (long) (Math.pow(10, 9) + 7); public static Scanner sc = new Scanner(System.in); public static void main(String[] args) { long a = nl(); long b = nl(); long c = nl(); long k = nl(); if (k <= a) { out(k); } else if (k <= a + b) { out(a); } else { out(a - (k - a - b)); } } public static int count(String search, String text) { int nsearch = search.length(); int ntext = text.length(); int count = 0; for (int i = 0; i <= ntext - nsearch + 1; i++) { for (int j = i + nsearch - 1; j < ntext; j++) { if (search.equals(text.substring(i, j + 1))) { count++; } } } return count; } /* * 以下メソッド集 */ static int ni() { return sc.nextInt(); } static long nl() { return sc.nextLong(); } static String n() { return sc.next(); } static char[] nc() { return sc.next().toCharArray(); } static int kaijo(int n) { if (n == 0 || n == 1) { return 1; } else { return n * kaijo(n - 1); } } static int fib(int n) { return (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1); } static long lcm(long m, long n) { return m * n / gcd(m, n); } static int lcm(int m, int n) { return m * n / gcd(m, n); } static long gcd(long a, long b) { return (b == 0) ? a : gcd(b, a % b); } static int gcd(int a, int b) { return (b == 0) ? a : gcd(b, a % b); } static void out(String info) { System.out.println(info); } static void out(int info) { System.out.println(info); } static void out(double info) { System.out.println(info); } static void out(long info) { System.out.println(info); } static void out(char info) { System.out.println(info); } static void outn(String info) { System.out.print(info); } static void outn(int info) { System.out.print(info); } static void outn(double info) { System.out.print(info); } static void outn(long info) { System.out.print(info); } static void outn(char info) { System.out.print(info); } static int max(int a, int b) { return Math.max(a, b); } static long max(long a, long b) { return Math.max(a, b); } static int min(int a, int b) { return Math.min(a, b); } static long min(long a, long b) { return Math.min(a, b); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 4, 18, 13, 17, 13, 13, 4, 18, 13, 23, 13, 6, 13, 12, 13, 30, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 41, 13, 13, 14, 2, 13, 17, 30, 14, 2, 13, 13, 0, 13, 13, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 0, 13, 13, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 30, 0, 13, 13, 0, 13, 2, 13, 13, 0, 13, 13, 14, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 30, 0, 13, 13, 4, 18, 13, 13, 23, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 175, 17 ], [ 175, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 23, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 28, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 20, 34 ], [ 34, 35 ], [ 34, 36 ], [ 20, 37 ], [ 37, 38 ], [ 37, 39 ], [ 20, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 40, 44 ], [ 40, 45 ], [ 20, 46 ], [ 46, 47 ], [ 47, 48 ], [ 18, 49 ], [ 49, 50 ], [ 175, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 62, 63 ], [ 55, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 70, 71 ], [ 55, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 77, 78 ], [ 78, 79 ], [ 55, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 85, 86 ], [ 86, 87 ], [ 55, 88 ], [ 88, 89 ], [ 88, 90 ], [ 55, 91 ], [ 91, 92 ], [ 91, 93 ], [ 55, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 103, 104 ], [ 103, 105 ], [ 99, 106 ], [ 106, 107 ], [ 106, 108 ], [ 98, 109 ], [ 109, 110 ], [ 109, 111 ], [ 98, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 114, 116 ], [ 98, 117 ], [ 117, 118 ], [ 117, 119 ], [ 55, 120 ], [ 120, 121 ], [ 122, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 126, 127 ], [ 126, 128 ], [ 122, 129 ], [ 129, 130 ], [ 129, 131 ], [ 120, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 138, 140 ], [ 132, 141 ], [ 141, 142 ], [ 141, 143 ], [ 55, 144 ], [ 144, 145 ], [ 147, 146 ], [ 154, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 147, 151 ], [ 151, 152 ], [ 151, 153 ], [ 154, 154 ], [ 154, 155 ], [ 154, 156 ], [ 147, 157 ], [ 157, 158 ], [ 157, 159 ], [ 144, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 55, 164 ], [ 164, 165 ], [ 165, 166 ], [ 164, 167 ], [ 53, 168 ], [ 168, 169 ], [ 53, 170 ], [ 170, 171 ], [ 53, 172 ], [ 172, 173 ], [ 0, 174 ], [ 174, 175 ], [ 174, 176 ] ]
[ "import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n B solver = new B();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class B {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n long a = Long.parseLong(in.next());\n long b = Long.parseLong(in.next());\n long c = Long.parseLong(in.next());\n long k = Long.parseLong(in.next());\n long ans = 0;\n long tmp = k;\n\n if (a > 0) {\n if (a >= k) ans += k;\n else ans += a;\n tmp -= a;\n a = a - k;\n k = tmp;\n }\n if (a <= 0 && b > 0 && k > 0) {\n tmp -= b;\n b = b - k;\n k = tmp;\n }\n if (a <= 0 && b <= 0 && c > 0 && k > 0) {\n ans -= k;\n }\n\n // 出力\n out.println(ans);\n\n }\n\n }\n}\n", "import java.io.OutputStream;", "OutputStream", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n B solver = new B();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class B {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n long a = Long.parseLong(in.next());\n long b = Long.parseLong(in.next());\n long c = Long.parseLong(in.next());\n long k = Long.parseLong(in.next());\n long ans = 0;\n long tmp = k;\n\n if (a > 0) {\n if (a >= k) ans += k;\n else ans += a;\n tmp -= a;\n a = a - k;\n k = tmp;\n }\n if (a <= 0 && b > 0 && k > 0) {\n tmp -= b;\n b = b - k;\n k = tmp;\n }\n if (a <= 0 && b <= 0 && c > 0 && k > 0) {\n ans -= k;\n }\n\n // 出力\n out.println(ans);\n\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n B solver = new B();\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 B solver = new B();\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)", "B solver = new B();", "solver", "new B()", "solver.solve(1, in, out)", "solver.solve", "solver", "1", "in", "out", "out.close()", "out.close", "out", "String[] args", "args", "static class B {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n long a = Long.parseLong(in.next());\n long b = Long.parseLong(in.next());\n long c = Long.parseLong(in.next());\n long k = Long.parseLong(in.next());\n long ans = 0;\n long tmp = k;\n\n if (a > 0) {\n if (a >= k) ans += k;\n else ans += a;\n tmp -= a;\n a = a - k;\n k = tmp;\n }\n if (a <= 0 && b > 0 && k > 0) {\n tmp -= b;\n b = b - k;\n k = tmp;\n }\n if (a <= 0 && b <= 0 && c > 0 && k > 0) {\n ans -= k;\n }\n\n // 出力\n out.println(ans);\n\n }\n\n }", "B", "public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n long a = Long.parseLong(in.next());\n long b = Long.parseLong(in.next());\n long c = Long.parseLong(in.next());\n long k = Long.parseLong(in.next());\n long ans = 0;\n long tmp = k;\n\n if (a > 0) {\n if (a >= k) ans += k;\n else ans += a;\n tmp -= a;\n a = a - k;\n k = tmp;\n }\n if (a <= 0 && b > 0 && k > 0) {\n tmp -= b;\n b = b - k;\n k = tmp;\n }\n if (a <= 0 && b <= 0 && c > 0 && k > 0) {\n ans -= k;\n }\n\n // 出力\n out.println(ans);\n\n }", "solve", "{\n // 入力\n long a = Long.parseLong(in.next());\n long b = Long.parseLong(in.next());\n long c = Long.parseLong(in.next());\n long k = Long.parseLong(in.next());\n long ans = 0;\n long tmp = k;\n\n if (a > 0) {\n if (a >= k) ans += k;\n else ans += a;\n tmp -= a;\n a = a - k;\n k = tmp;\n }\n if (a <= 0 && b > 0 && k > 0) {\n tmp -= b;\n b = b - k;\n k = tmp;\n }\n if (a <= 0 && b <= 0 && c > 0 && k > 0) {\n ans -= k;\n }\n\n // 出力\n out.println(ans);\n\n }", "long a = Long.parseLong(in.next());", "a", "Long.parseLong(in.next())", "Long.parseLong", "Long", "in.next()", "in.next", "in", "long b = Long.parseLong(in.next());", "b", "Long.parseLong(in.next())", "Long.parseLong", "Long", "in.next()", "in.next", "in", "long c = Long.parseLong(in.next());", "c", "Long.parseLong(in.next())", "Long.parseLong", "Long", "in.next()", "in.next", "in", "long k = Long.parseLong(in.next());", "k", "Long.parseLong(in.next())", "Long.parseLong", "Long", "in.next()", "in.next", "in", "long ans = 0;", "ans", "0", "long tmp = k;", "tmp", "k", "if (a > 0) {\n if (a >= k) ans += k;\n else ans += a;\n tmp -= a;\n a = a - k;\n k = tmp;\n }", "a > 0", "a", "0", "{\n if (a >= k) ans += k;\n else ans += a;\n tmp -= a;\n a = a - k;\n k = tmp;\n }", "if (a >= k) ans += k;\n else ans += a;", "a >= k", "a", "k", "ans += k", "ans", "k", "ans += a", "ans", "a", "tmp -= a", "tmp", "a", "a = a - k", "a", "a - k", "a", "k", "k = tmp", "k", "tmp", "if (a <= 0 && b > 0 && k > 0) {\n tmp -= b;\n b = b - k;\n k = tmp;\n }", "a <= 0 && b > 0 && k > 0", "a <= 0 && b > 0 && k > 0", "a <= 0", "a", "0", "b > 0", "b", "0", "k > 0", "k", "0", "{\n tmp -= b;\n b = b - k;\n k = tmp;\n }", "tmp -= b", "tmp", "b", "b = b - k", "b", "b - k", "b", "k", "k = tmp", "k", "tmp", "if (a <= 0 && b <= 0 && c > 0 && k > 0) {\n ans -= k;\n }", "a <= 0 && b <= 0 && c > 0 && k > 0", "c > 0", "a <= 0 && b <= 0 && c > 0 && k > 0", "a <= 0", "a", "0", "b <= 0", "b", "0", "c > 0", "c", "0", "k > 0", "k", "0", "{\n ans -= k;\n }", "ans -= k", "ans", "k", "out.println(ans)", "out.println", "out", "ans", "int testNumber", "testNumber", "Scanner in", "in", "PrintWriter out", "out", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n B solver = new B();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class B {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n long a = Long.parseLong(in.next());\n long b = Long.parseLong(in.next());\n long c = Long.parseLong(in.next());\n long k = Long.parseLong(in.next());\n long ans = 0;\n long tmp = k;\n\n if (a > 0) {\n if (a >= k) ans += k;\n else ans += a;\n tmp -= a;\n a = a - k;\n k = tmp;\n }\n if (a <= 0 && b > 0 && k > 0) {\n tmp -= b;\n b = b - k;\n k = tmp;\n }\n if (a <= 0 && b <= 0 && c > 0 && k > 0) {\n ans -= k;\n }\n\n // 出力\n out.println(ans);\n\n }\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n B solver = new B();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class B {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n long a = Long.parseLong(in.next());\n long b = Long.parseLong(in.next());\n long c = Long.parseLong(in.next());\n long k = Long.parseLong(in.next());\n long ans = 0;\n long tmp = k;\n\n if (a > 0) {\n if (a >= k) ans += k;\n else ans += a;\n tmp -= a;\n a = a - k;\n k = tmp;\n }\n if (a <= 0 && b > 0 && k > 0) {\n tmp -= b;\n b = b - k;\n k = tmp;\n }\n if (a <= 0 && b <= 0 && c > 0 && k > 0) {\n ans -= k;\n }\n\n // 出力\n out.println(ans);\n\n }\n\n }\n}", "Main" ]
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Scanner; /** * Built using CHelper plug-in * Actual solution is at the top */ public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; Scanner in = new Scanner(inputStream); PrintWriter out = new PrintWriter(outputStream); B solver = new B(); solver.solve(1, in, out); out.close(); } static class B { public void solve(int testNumber, Scanner in, PrintWriter out) { // 入力 long a = Long.parseLong(in.next()); long b = Long.parseLong(in.next()); long c = Long.parseLong(in.next()); long k = Long.parseLong(in.next()); long ans = 0; long tmp = k; if (a > 0) { if (a >= k) ans += k; else ans += a; tmp -= a; a = a - k; k = tmp; } if (a <= 0 && b > 0 && k > 0) { tmp -= b; b = b - k; k = tmp; } if (a <= 0 && b <= 0 && c > 0 && k > 0) { ans -= k; } // 出力 out.println(ans); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 40, 17, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 13, 30, 41, 13, 2, 13, 13, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 2, 2, 2, 17, 13, 2, 17, 13, 2, 2, 13, 13, 40, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 36, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 53, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 71, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 75, 77 ], [ 71, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 82, 83 ], [ 6, 84 ], [ 84, 85 ] ]
[ "import java.util.*;\n\nclass Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n int A = sc.nextInt(); // 1\n int B = sc.nextInt(); // 0\n int C = sc.nextInt(); // -1\n int K = sc.nextInt(); // 選ぶ枚数\n int max = -100;\n \n if ( A >= K){\n \tSystem.out.println(K);\n }\n else{\n int L = K - A;\n \t if ( B >= L){\n \tSystem.out.println(A);\n \t}\n \telse\n \t{\n \t\tSystem.out.println(1*A + 0*B+ (L-B)*(-1) );\n \t}\n }\n }\n}", "import java.util.*;", "util.*", "java", "class Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n int A = sc.nextInt(); // 1\n int B = sc.nextInt(); // 0\n int C = sc.nextInt(); // -1\n int K = sc.nextInt(); // 選ぶ枚数\n int max = -100;\n \n if ( A >= K){\n \tSystem.out.println(K);\n }\n else{\n int L = K - A;\n \t if ( B >= L){\n \tSystem.out.println(A);\n \t}\n \telse\n \t{\n \t\tSystem.out.println(1*A + 0*B+ (L-B)*(-1) );\n \t}\n }\n }\n}", "Main", "public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n int A = sc.nextInt(); // 1\n int B = sc.nextInt(); // 0\n int C = sc.nextInt(); // -1\n int K = sc.nextInt(); // 選ぶ枚数\n int max = -100;\n \n if ( A >= K){\n \tSystem.out.println(K);\n }\n else{\n int L = K - A;\n \t if ( B >= L){\n \tSystem.out.println(A);\n \t}\n \telse\n \t{\n \t\tSystem.out.println(1*A + 0*B+ (L-B)*(-1) );\n \t}\n }\n }", "main", "{\n \tScanner sc = new Scanner(System.in);\n int A = sc.nextInt(); // 1\n int B = sc.nextInt(); // 0\n int C = sc.nextInt(); // -1\n int K = sc.nextInt(); // 選ぶ枚数\n int max = -100;\n \n if ( A >= K){\n \tSystem.out.println(K);\n }\n else{\n int L = K - A;\n \t if ( B >= L){\n \tSystem.out.println(A);\n \t}\n \telse\n \t{\n \t\tSystem.out.println(1*A + 0*B+ (L-B)*(-1) );\n \t}\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "int C = sc.nextInt();", "C", "sc.nextInt()", "sc.nextInt", "sc", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int max = -100;", "max", "-100", "100", "if ( A >= K){\n \tSystem.out.println(K);\n }\n else{\n int L = K - A;\n \t if ( B >= L){\n \tSystem.out.println(A);\n \t}\n \telse\n \t{\n \t\tSystem.out.println(1*A + 0*B+ (L-B)*(-1) );\n \t}\n }", "A >= K", "A", "K", "{\n \tSystem.out.println(K);\n }", "System.out.println(K)", "System.out.println", "System.out", "System", "System.out", "K", "{\n int L = K - A;\n \t if ( B >= L){\n \tSystem.out.println(A);\n \t}\n \telse\n \t{\n \t\tSystem.out.println(1*A + 0*B+ (L-B)*(-1) );\n \t}\n }", "int L = K - A;", "L", "K - A", "K", "A", "if ( B >= L){\n \tSystem.out.println(A);\n \t}\n \telse\n \t{\n \t\tSystem.out.println(1*A + 0*B+ (L-B)*(-1) );\n \t}", "B >= L", "B", "L", "{\n \tSystem.out.println(A);\n \t}", "System.out.println(A)", "System.out.println", "System.out", "System", "System.out", "A", "{\n \t\tSystem.out.println(1*A + 0*B+ (L-B)*(-1) );\n \t}", "System.out.println(1*A + 0*B+ (L-B)*(-1) )", "System.out.println", "System.out", "System", "System.out", "1*A + 0*B+ (L-B)*(-1)", "1*A + 0*B+ (L-B)*(-1)", "1*A", "1", "A", "0*B", "0", "B", "(L-B)*(-1)", "(L-B)", "L", "B", "(-1)", "1", "String[] args", "args" ]
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int A = sc.nextInt(); // 1 int B = sc.nextInt(); // 0 int C = sc.nextInt(); // -1 int K = sc.nextInt(); // 選ぶ枚数 int max = -100; if ( A >= K){ System.out.println(K); } else{ int L = K - A; if ( B >= L){ System.out.println(A); } else { System.out.println(1*A + 0*B+ (L-B)*(-1) ); } } } }