node_ids
listlengths
4
1.4k
edge_index
listlengths
1
2.22k
text
listlengths
4
1.4k
source
stringlengths
14
427k
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 0, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 2, 17, 4, 18, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 75, 8 ], [ 75, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 11, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 26, 36 ], [ 36, 37 ], [ 37, 38 ], [ 26, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 11, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 52, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 52, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 9, 72 ], [ 72, 73 ], [ 0, 74 ], [ 74, 75 ], [ 74, 76 ] ]
[ "import java.util.*;\nimport java.io.*;\npublic class Main\n{\n\tpublic static void main(String args[]) throws IOException\n\t{\n\t\t\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString n=\"\";\n\t\tn=br.readLine();\n\t\tlong ans=0;\n\t\tfor(int i=0;i<n.length();i++)\n\t\t{\n\t\t\tans+=Long.parseLong(\"\"+n.charAt(i));\n\t\t}\n\t\tif(ans%9==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}\t\t", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main\n{\n\tpublic static void main(String args[]) throws IOException\n\t{\n\t\t\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString n=\"\";\n\t\tn=br.readLine();\n\t\tlong ans=0;\n\t\tfor(int i=0;i<n.length();i++)\n\t\t{\n\t\t\tans+=Long.parseLong(\"\"+n.charAt(i));\n\t\t}\n\t\tif(ans%9==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[]) throws IOException\n\t{\n\t\t\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString n=\"\";\n\t\tn=br.readLine();\n\t\tlong ans=0;\n\t\tfor(int i=0;i<n.length();i++)\n\t\t{\n\t\t\tans+=Long.parseLong(\"\"+n.charAt(i));\n\t\t}\n\t\tif(ans%9==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\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString n=\"\";\n\t\tn=br.readLine();\n\t\tlong ans=0;\n\t\tfor(int i=0;i<n.length();i++)\n\t\t{\n\t\t\tans+=Long.parseLong(\"\"+n.charAt(i));\n\t\t}\n\t\tif(ans%9==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}", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String n=\"\";", "n", "\"\"", "n=br.readLine()", "n", "br.readLine()", "br.readLine", "br", "long ans=0;", "ans", "0", "for(int i=0;i<n.length();i++)\n\t\t{\n\t\t\tans+=Long.parseLong(\"\"+n.charAt(i));\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n.length()", "i", "n.length()", "n.length", "n", "i++", "i++", "i", "{\n\t\t\tans+=Long.parseLong(\"\"+n.charAt(i));\n\t\t}", "{\n\t\t\tans+=Long.parseLong(\"\"+n.charAt(i));\n\t\t}", "ans+=Long.parseLong(\"\"+n.charAt(i))", "ans", "Long.parseLong(\"\"+n.charAt(i))", "Long.parseLong", "Long", "\"\"+n.charAt(i)", "\"\"", "n.charAt(i)", "n.charAt", "n", "i", "if(ans%9==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}", "ans%9==0", "ans%9", "ans", "9", "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[]) throws IOException\n\t{\n\t\t\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString n=\"\";\n\t\tn=br.readLine();\n\t\tlong ans=0;\n\t\tfor(int i=0;i<n.length();i++)\n\t\t{\n\t\t\tans+=Long.parseLong(\"\"+n.charAt(i));\n\t\t}\n\t\tif(ans%9==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[]) throws IOException\n\t{\n\t\t\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString n=\"\";\n\t\tn=br.readLine();\n\t\tlong ans=0;\n\t\tfor(int i=0;i<n.length();i++)\n\t\t{\n\t\t\tans+=Long.parseLong(\"\"+n.charAt(i));\n\t\t}\n\t\tif(ans%9==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.*; import java.io.*; public class Main { public static void main(String args[]) throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String n=""; n=br.readLine(); long ans=0; for(int i=0;i<n.length();i++) { ans+=Long.parseLong(""+n.charAt(i)); } if(ans%9==0) { System.out.println("Yes"); } else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 0, 13, 2, 4, 18, 13, 13, 17, 14, 2, 2, 13, 17, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 14, 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 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 38, 43 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 44, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 6, 62 ], [ 62, 63 ] ]
[ "import java.io.*;\nclass Main\n{\npublic static void main(String args[])throws IOException\n{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int x,sum=0;\n String n=br.readLine();\n for(int i=0;i<n.length();i++)\n sum+=n.charAt(i)-'0';\n if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n}\n}", "import java.io.*;", "io.*", "java", "class Main\n{\npublic static void main(String args[])throws IOException\n{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int x,sum=0;\n String n=br.readLine();\n for(int i=0;i<n.length();i++)\n sum+=n.charAt(i)-'0';\n if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n}\n}", "Main", "public static void main(String args[])throws IOException\n{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int x,sum=0;\n String n=br.readLine();\n for(int i=0;i<n.length();i++)\n sum+=n.charAt(i)-'0';\n if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n}", "main", "{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int x,sum=0;\n String n=br.readLine();\n for(int i=0;i<n.length();i++)\n sum+=n.charAt(i)-'0';\n if(sum%9==0)\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))", "int x", "x", "sum=0;", "sum", "0", "String n=br.readLine();", "n", "br.readLine()", "br.readLine", "br", "for(int i=0;i<n.length();i++)\n sum+=n.charAt(i)-'0';", "int i=0;", "int i=0;", "i", "0", "i<n.length()", "i", "n.length()", "n.length", "n", "i++", "i++", "i", "sum+=n.charAt(i)-'0';", "sum+=n.charAt(i)-'0'", "sum", "n.charAt(i)-'0'", "n.charAt(i)", "n.charAt", "n", "i", "'0'", "if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");", "sum%9==0", "sum%9", "sum", "9", "0", "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.*; class Main { public static void main(String args[])throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int x,sum=0; String n=br.readLine(); for(int i=0;i<n.length();i++) sum+=n.charAt(i)-'0'; if(sum%9==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, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 38, 5, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 13, 2, 13, 17, 0, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 13, 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 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 20, 30 ], [ 30, 31 ], [ 31, 32 ], [ 20, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 45, 49 ], [ 49, 50 ], [ 49, 51 ], [ 34, 52 ], [ 52, 53 ], [ 52, 54 ], [ 8, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 55, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 8, 71 ], [ 71, 72 ], [ 72, 73 ], [ 6, 74 ], [ 74, 75 ], [ 0, 76 ], [ 76, 77 ], [ 76, 78 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\t\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tint num = 0;\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\ttry{\n\t\t\t\tnum+=Integer.parseInt(s.substring(i,i+1));\n\t\t\t}catch(Exception e){}\n\t\t\tnum%=9;\n\t\t}\n\t\tif(num==0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t\tsc.close();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\t\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tint num = 0;\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\ttry{\n\t\t\t\tnum+=Integer.parseInt(s.substring(i,i+1));\n\t\t\t}catch(Exception e){}\n\t\t\tnum%=9;\n\t\t}\n\t\tif(num==0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\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.next();\n\t\tint num = 0;\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\ttry{\n\t\t\t\tnum+=Integer.parseInt(s.substring(i,i+1));\n\t\t\t}catch(Exception e){}\n\t\t\tnum%=9;\n\t\t}\n\t\tif(num==0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t\tsc.close();\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tint num = 0;\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\ttry{\n\t\t\t\tnum+=Integer.parseInt(s.substring(i,i+1));\n\t\t\t}catch(Exception e){}\n\t\t\tnum%=9;\n\t\t}\n\t\tif(num==0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "int num = 0;", "num", "0", "for(int i=0;i<s.length();i++){\n\t\t\ttry{\n\t\t\t\tnum+=Integer.parseInt(s.substring(i,i+1));\n\t\t\t}catch(Exception e){}\n\t\t\tnum%=9;\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\ttry{\n\t\t\t\tnum+=Integer.parseInt(s.substring(i,i+1));\n\t\t\t}catch(Exception e){}\n\t\t\tnum%=9;\n\t\t}", "{\n\t\t\ttry{\n\t\t\t\tnum+=Integer.parseInt(s.substring(i,i+1));\n\t\t\t}catch(Exception e){}\n\t\t\tnum%=9;\n\t\t}", "try{\n\t\t\t\tnum+=Integer.parseInt(s.substring(i,i+1));\n\t\t\t}catch(Exception e){}", "catch(Exception e){}", "Exception e", "{}", "{\n\t\t\t\tnum+=Integer.parseInt(s.substring(i,i+1));\n\t\t\t}", "num+=Integer.parseInt(s.substring(i,i+1))", "num", "Integer.parseInt(s.substring(i,i+1))", "Integer.parseInt", "Integer", "s.substring(i,i+1)", "s.substring", "s", "i", "i+1", "i", "1", "num%=9", "num", "9", "if(num==0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");", "num==0", "num", "0", "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\"", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main{\t\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tint num = 0;\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\ttry{\n\t\t\t\tnum+=Integer.parseInt(s.substring(i,i+1));\n\t\t\t}catch(Exception e){}\n\t\t\tnum%=9;\n\t\t}\n\t\tif(num==0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t\tsc.close();\n\t}\n}", "public class Main{\t\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tint num = 0;\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\ttry{\n\t\t\t\tnum+=Integer.parseInt(s.substring(i,i+1));\n\t\t\t}catch(Exception e){}\n\t\t\tnum%=9;\n\t\t}\n\t\tif(num==0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\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.next(); int num = 0; for(int i=0;i<s.length();i++){ try{ num+=Integer.parseInt(s.substring(i,i+1)); }catch(Exception e){} num%=9; } if(num==0) 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, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 28, 13, 13, 30, 0, 13, 2, 13, 17, 14, 2, 2, 13, 17, 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 ], [ 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 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 25, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 34, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 34, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 6, 52 ], [ 52, 53 ], [ 0, 54 ], [ 54, 55 ], [ 54, 56 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n String N = s.next();\n char[] chars = N.toCharArray();\n int n = 0;\n for (char aChar : chars) n += (aChar - 48);\n if (n % 9 == 0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n String N = s.next();\n char[] chars = N.toCharArray();\n int n = 0;\n for (char aChar : chars) n += (aChar - 48);\n if (n % 9 == 0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }\n}", "Main", "public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n String N = s.next();\n char[] chars = N.toCharArray();\n int n = 0;\n for (char aChar : chars) n += (aChar - 48);\n if (n % 9 == 0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }", "main", "{\n Scanner s = new Scanner(System.in);\n String N = s.next();\n char[] chars = N.toCharArray();\n int n = 0;\n for (char aChar : chars) n += (aChar - 48);\n if (n % 9 == 0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "String N = s.next();", "N", "s.next()", "s.next", "s", "char[] chars = N.toCharArray();", "chars", "N.toCharArray()", "N.toCharArray", "N", "int n = 0;", "n", "0", "for (char aChar : chars) n += (aChar - 48);", "char aChar", "chars", "n += (aChar - 48);", "n += (aChar - 48)", "n", "(aChar - 48)", "aChar", "48", "if (n % 9 == 0) System.out.println(\"Yes\");\n else System.out.println(\"No\");", "n % 9 == 0", "n % 9", "n", "9", "0", "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 s = new Scanner(System.in);\n String N = s.next();\n char[] chars = N.toCharArray();\n int n = 0;\n for (char aChar : chars) n += (aChar - 48);\n if (n % 9 == 0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n String N = s.next();\n char[] chars = N.toCharArray();\n int n = 0;\n for (char aChar : chars) n += (aChar - 48);\n if (n % 9 == 0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); String N = s.next(); char[] chars = N.toCharArray(); int n = 0; for (char aChar : chars) n += (aChar - 48); if (n % 9 == 0) System.out.println("Yes"); else System.out.println("No"); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 12, 13, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 2, 4, 18, 13, 13, 17, 14, 2, 2, 13, 17, 17, 4, 18, 13, 17, 4, 18, 13, 17, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 0, 13, 20, 41, 13, 4, 18, 13, 4, 13, 13, 4, 18, 13, 13, 4, 18, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 89, 8 ], [ 89, 9 ], [ 9, 10 ], [ 89, 11 ], [ 11, 12 ], [ 11, 13 ], [ 13, 14 ], [ 14, 15 ], [ 14, 16 ], [ 13, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 17, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 17, 27 ], [ 27, 28 ], [ 28, 29 ], [ 17, 30 ], [ 31, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 34, 39 ], [ 13, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 40, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 40, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 11, 54 ], [ 54, 55 ], [ 89, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 62, 64 ], [ 58, 65 ], [ 65, 66 ], [ 65, 67 ], [ 58, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 58, 73 ], [ 73, 74 ], [ 73, 75 ], [ 58, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 58, 80 ], [ 80, 81 ], [ 81, 82 ], [ 58, 83 ], [ 83, 84 ], [ 84, 85 ], [ 56, 86 ], [ 86, 87 ], [ 0, 88 ], [ 88, 89 ], [ 88, 90 ] ]
[ "import java.util.*;\nimport java.io.*;\n\npublic class Main {\n static StringBuilder sb;\n\n public static void solve(String n) {\n long sum = 0;\n for (int i = 0; i < n.length(); i++) {\n sum += n.charAt(i) - '0';\n }\n if (sum % 9 == 0) sb.append(\"Yes\");\n else sb.append(\"No\");\n }\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n sb = new StringBuilder();\n\n String n = sc.next();\n\n solve(n);\n\n pw.print(sb);\n pw.flush();\n sc.close();\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n static StringBuilder sb;\n\n public static void solve(String n) {\n long sum = 0;\n for (int i = 0; i < n.length(); i++) {\n sum += n.charAt(i) - '0';\n }\n if (sum % 9 == 0) sb.append(\"Yes\");\n else sb.append(\"No\");\n }\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n sb = new StringBuilder();\n\n String n = sc.next();\n\n solve(n);\n\n pw.print(sb);\n pw.flush();\n sc.close();\n }\n}", "Main", "static StringBuilder sb;", "sb", "public static void solve(String n) {\n long sum = 0;\n for (int i = 0; i < n.length(); i++) {\n sum += n.charAt(i) - '0';\n }\n if (sum % 9 == 0) sb.append(\"Yes\");\n else sb.append(\"No\");\n }", "solve", "{\n long sum = 0;\n for (int i = 0; i < n.length(); i++) {\n sum += n.charAt(i) - '0';\n }\n if (sum % 9 == 0) sb.append(\"Yes\");\n else sb.append(\"No\");\n }", "long sum = 0;", "sum", "0", "for (int i = 0; i < n.length(); i++) {\n sum += n.charAt(i) - '0';\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n.length()", "i", "n.length()", "n.length", "n", "i++", "i++", "i", "{\n sum += n.charAt(i) - '0';\n }", "{\n sum += n.charAt(i) - '0';\n }", "sum += n.charAt(i) - '0'", "sum", "n.charAt(i) - '0'", "n.charAt(i)", "n.charAt", "n", "i", "'0'", "if (sum % 9 == 0) sb.append(\"Yes\");\n else sb.append(\"No\");", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "sb.append(\"Yes\")", "sb.append", "sb", "\"Yes\"", "sb.append(\"No\")", "sb.append", "sb", "\"No\"", "String n", "n", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n sb = new StringBuilder();\n\n String n = sc.next();\n\n solve(n);\n\n pw.print(sb);\n pw.flush();\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n sb = new StringBuilder();\n\n String n = sc.next();\n\n solve(n);\n\n pw.print(sb);\n pw.flush();\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "PrintWriter pw = new PrintWriter(System.out);", "pw", "new PrintWriter(System.out)", "sb = new StringBuilder()", "sb", "new StringBuilder()", "String n = sc.next();", "n", "sc.next()", "sc.next", "sc", "solve(n)", "solve", "n", "pw.print(sb)", "pw.print", "pw", "sb", "pw.flush()", "pw.flush", "pw", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n static StringBuilder sb;\n\n public static void solve(String n) {\n long sum = 0;\n for (int i = 0; i < n.length(); i++) {\n sum += n.charAt(i) - '0';\n }\n if (sum % 9 == 0) sb.append(\"Yes\");\n else sb.append(\"No\");\n }\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n sb = new StringBuilder();\n\n String n = sc.next();\n\n solve(n);\n\n pw.print(sb);\n pw.flush();\n sc.close();\n }\n}", "public class Main {\n static StringBuilder sb;\n\n public static void solve(String n) {\n long sum = 0;\n for (int i = 0; i < n.length(); i++) {\n sum += n.charAt(i) - '0';\n }\n if (sum % 9 == 0) sb.append(\"Yes\");\n else sb.append(\"No\");\n }\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n sb = new StringBuilder();\n\n String n = sc.next();\n\n solve(n);\n\n pw.print(sb);\n pw.flush();\n sc.close();\n }\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { static StringBuilder sb; public static void solve(String n) { long sum = 0; for (int i = 0; i < n.length(); i++) { sum += n.charAt(i) - '0'; } if (sum % 9 == 0) sb.append("Yes"); else sb.append("No"); } public static void main(String[] args) { Scanner sc = new Scanner(System.in); PrintWriter pw = new PrintWriter(System.out); sb = new StringBuilder(); String n = sc.next(); solve(n); pw.print(sb); pw.flush(); sc.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 30, 41, 13, 20, 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, 2, 13, 17, 0, 13, 13, 4, 18, 18, 13, 13, 8, 2, 2, 13, 17, 17, 17, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 67, 5 ], [ 67, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 10, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 10, 19 ], [ 19, 20 ], [ 19, 21 ], [ 10, 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 ], [ 36, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 36, 48 ], [ 48, 49 ], [ 48, 50 ], [ 10, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 56, 62 ], [ 56, 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\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\t\t\tString s = sc.next();\n\t\t\t\n\t\t\tlong sum = 0;\n\t\t\t\n\t\t\tfor(int i = 0 ; i < s.length() ; i++ ) {\n\t\t\t\tchar c = s.charAt(i);\n\t\t\t\tint digit = c - '0';\n\t\t\t\tsum += digit;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n\t\t}\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\t\t\tString s = sc.next();\n\t\t\t\n\t\t\tlong sum = 0;\n\t\t\t\n\t\t\tfor(int i = 0 ; i < s.length() ; i++ ) {\n\t\t\t\tchar c = s.charAt(i);\n\t\t\t\tint digit = c - '0';\n\t\t\t\tsum += digit;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\t\t\tString s = sc.next();\n\t\t\t\n\t\t\tlong sum = 0;\n\t\t\t\n\t\t\tfor(int i = 0 ; i < s.length() ; i++ ) {\n\t\t\t\tchar c = s.charAt(i);\n\t\t\t\tint digit = c - '0';\n\t\t\t\tsum += digit;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n\t\t}\n\t}", "main", "{\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\t\t\tString s = sc.next();\n\t\t\t\n\t\t\tlong sum = 0;\n\t\t\t\n\t\t\tfor(int i = 0 ; i < s.length() ; i++ ) {\n\t\t\t\tchar c = s.charAt(i);\n\t\t\t\tint digit = c - '0';\n\t\t\t\tsum += digit;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n\t\t}\n\t}", "try(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\t\t\tString s = sc.next();\n\t\t\t\n\t\t\tlong sum = 0;\n\t\t\t\n\t\t\tfor(int i = 0 ; i < s.length() ; i++ ) {\n\t\t\t\tchar c = s.charAt(i);\n\t\t\t\tint digit = c - '0';\n\t\t\t\tsum += digit;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n\t\t}", "{\n\t\t\t\n\t\t\tString s = sc.next();\n\t\t\t\n\t\t\tlong sum = 0;\n\t\t\t\n\t\t\tfor(int i = 0 ; i < s.length() ; i++ ) {\n\t\t\t\tchar c = s.charAt(i);\n\t\t\t\tint digit = c - '0';\n\t\t\t\tsum += digit;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n\t\t}", "Scanner sc = new Scanner(System.in)", "Scanner sc = new Scanner(System.in)", "new Scanner(System.in)", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "long sum = 0;", "sum", "0", "for(int i = 0 ; i < s.length() ; i++ ) {\n\t\t\t\tchar c = s.charAt(i);\n\t\t\t\tint digit = c - '0';\n\t\t\t\tsum += digit;\n\t\t\t}", "int i = 0 ;", "int i = 0 ;", "i", "0", "i < s.length()", "i", "s.length()", "s.length", "s", "i++", "i++", "i", "{\n\t\t\t\tchar c = s.charAt(i);\n\t\t\t\tint digit = c - '0';\n\t\t\t\tsum += digit;\n\t\t\t}", "{\n\t\t\t\tchar c = s.charAt(i);\n\t\t\t\tint digit = c - '0';\n\t\t\t\tsum += digit;\n\t\t\t}", "char c = s.charAt(i);", "c", "s.charAt(i)", "s.charAt", "s", "i", "int digit = c - '0';", "digit", "c - '0'", "c", "'0'", "sum += digit", "sum", "digit", "System.out.println(sum % 9 == 0 ? \"Yes\" : \"No\")", "System.out.println", "System.out", "System", "System.out", "sum % 9 == 0 ? \"Yes\" : \"No\"", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "\"Yes\"", "\"No\"", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\t\t\tString s = sc.next();\n\t\t\t\n\t\t\tlong sum = 0;\n\t\t\t\n\t\t\tfor(int i = 0 ; i < s.length() ; i++ ) {\n\t\t\t\tchar c = s.charAt(i);\n\t\t\t\tint digit = c - '0';\n\t\t\t\tsum += digit;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n\t\t}\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\t\t\tString s = sc.next();\n\t\t\t\n\t\t\tlong sum = 0;\n\t\t\t\n\t\t\tfor(int i = 0 ; i < s.length() ; i++ ) {\n\t\t\t\tchar c = s.charAt(i);\n\t\t\t\tint digit = c - '0';\n\t\t\t\tsum += digit;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n\t\t}\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ try(Scanner sc = new Scanner(System.in)) { String s = sc.next(); long sum = 0; for(int i = 0 ; i < s.length() ; i++ ) { char c = s.charAt(i); int digit = c - '0'; sum += digit; } System.out.println(sum % 9 == 0 ? "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, 18, 13, 13, 1, 40, 13, 30, 0, 13, 2, 18, 13, 13, 17, 14, 2, 2, 13, 17, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 70, 5 ], [ 70, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 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 ], [ 32, 34 ], [ 25, 35 ], [ 35, 36 ], [ 36, 37 ], [ 25, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 8, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 46, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 8, 64 ], [ 64, 65 ], [ 65, 66 ], [ 6, 67 ], [ 67, 68 ], [ 0, 69 ], [ 69, 70 ], [ 69, 71 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString N = sc.nextLine();\n\t\tchar[] ch = N.toCharArray();\n\t\t\n\t\tint sum = 0;\n\t\tfor(int i=0; i<ch.length; i++)\n\t\t\tsum += (ch[i] - '0');\n\t\t\n\t\tif(sum % 9 == 0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t\tsc.close();\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString N = sc.nextLine();\n\t\tchar[] ch = N.toCharArray();\n\t\t\n\t\tint sum = 0;\n\t\tfor(int i=0; i<ch.length; i++)\n\t\t\tsum += (ch[i] - '0');\n\t\t\n\t\tif(sum % 9 == 0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\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\tString N = sc.nextLine();\n\t\tchar[] ch = N.toCharArray();\n\t\t\n\t\tint sum = 0;\n\t\tfor(int i=0; i<ch.length; i++)\n\t\t\tsum += (ch[i] - '0');\n\t\t\n\t\tif(sum % 9 == 0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t\tsc.close();\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString N = sc.nextLine();\n\t\tchar[] ch = N.toCharArray();\n\t\t\n\t\tint sum = 0;\n\t\tfor(int i=0; i<ch.length; i++)\n\t\t\tsum += (ch[i] - '0');\n\t\t\n\t\tif(sum % 9 == 0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String N = sc.nextLine();", "N", "sc.nextLine()", "sc.nextLine", "sc", "char[] ch = N.toCharArray();", "ch", "N.toCharArray()", "N.toCharArray", "N", "int sum = 0;", "sum", "0", "for(int i=0; i<ch.length; i++)\n\t\t\tsum += (ch[i] - '0');", "int i=0;", "int i=0;", "i", "0", "i<ch.length", "i", "ch.length", "ch", "ch.length", "i++", "i++", "i", "sum += (ch[i] - '0');", "sum += (ch[i] - '0')", "sum", "(ch[i] - '0')", "ch[i]", "ch", "i", "'0'", "if(sum % 9 == 0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "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\"", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString N = sc.nextLine();\n\t\tchar[] ch = N.toCharArray();\n\t\t\n\t\tint sum = 0;\n\t\tfor(int i=0; i<ch.length; i++)\n\t\t\tsum += (ch[i] - '0');\n\t\t\n\t\tif(sum % 9 == 0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t\tsc.close();\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString N = sc.nextLine();\n\t\tchar[] ch = N.toCharArray();\n\t\t\n\t\tint sum = 0;\n\t\tfor(int i=0; i<ch.length; i++)\n\t\t\tsum += (ch[i] - '0');\n\t\t\n\t\tif(sum % 9 == 0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t\tsc.close();\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 N = sc.nextLine(); char[] ch = N.toCharArray(); int sum = 0; for(int i=0; i<ch.length; i++) sum += (ch[i] - '0'); if(sum % 9 == 0) 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, 4, 18, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 2, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 8, 2, 2, 13, 17, 17, 17, 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 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 23, 33 ], [ 33, 34 ], [ 34, 35 ], [ 23, 36 ], [ 37, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 40, 45 ], [ 8, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 51, 57 ], [ 51, 58 ], [ 6, 59 ], [ 59, 60 ], [ 0, 61 ], [ 61, 62 ], [ 61, 63 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n sc.close();\n int ans = 0;\n for(int i = 0; i < n.length(); i++){\n ans += (n.charAt(i) - '0');\n }\n System.out.println(ans % 9 == 0 ? \"Yes\" : \"No\");\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n sc.close();\n int ans = 0;\n for(int i = 0; i < n.length(); i++){\n ans += (n.charAt(i) - '0');\n }\n System.out.println(ans % 9 == 0 ? \"Yes\" : \"No\");\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n sc.close();\n int ans = 0;\n for(int i = 0; i < n.length(); i++){\n ans += (n.charAt(i) - '0');\n }\n System.out.println(ans % 9 == 0 ? \"Yes\" : \"No\");\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n sc.close();\n int ans = 0;\n for(int i = 0; i < n.length(); i++){\n ans += (n.charAt(i) - '0');\n }\n System.out.println(ans % 9 == 0 ? \"Yes\" : \"No\");\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String n = sc.next();", "n", "sc.next()", "sc.next", "sc", "sc.close()", "sc.close", "sc", "int ans = 0;", "ans", "0", "for(int i = 0; i < n.length(); i++){\n ans += (n.charAt(i) - '0');\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n.length()", "i", "n.length()", "n.length", "n", "i++", "i++", "i", "{\n ans += (n.charAt(i) - '0');\n }", "{\n ans += (n.charAt(i) - '0');\n }", "ans += (n.charAt(i) - '0')", "ans", "(n.charAt(i) - '0')", "n.charAt(i)", "n.charAt", "n", "i", "'0'", "System.out.println(ans % 9 == 0 ? \"Yes\" : \"No\")", "System.out.println", "System.out", "System", "System.out", "ans % 9 == 0 ? \"Yes\" : \"No\"", "ans % 9 == 0", "ans % 9", "ans", "9", "0", "\"Yes\"", "\"No\"", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n sc.close();\n int ans = 0;\n for(int i = 0; i < n.length(); i++){\n ans += (n.charAt(i) - '0');\n }\n System.out.println(ans % 9 == 0 ? \"Yes\" : \"No\");\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n sc.close();\n int ans = 0;\n for(int i = 0; i < n.length(); i++){\n ans += (n.charAt(i) - '0');\n }\n System.out.println(ans % 9 == 0 ? \"Yes\" : \"No\");\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String n = sc.next(); sc.close(); int ans = 0; for(int i = 0; i < n.length(); i++){ ans += (n.charAt(i) - '0'); } System.out.println(ans % 9 == 0 ? "Yes" : "No"); } }
[ 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, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 0, 13, 2, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 8, 2, 2, 13, 17, 17, 17, 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 ], [ 155, 14 ], [ 155, 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 ], [ 17, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 29, 39 ], [ 39, 40 ], [ 40, 41 ], [ 29, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 45, 50 ], [ 17, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 56, 62 ], [ 56, 63 ], [ 15, 64 ], [ 64, 65 ], [ 155, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 66, 70 ], [ 70, 71 ], [ 66, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 66, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 81, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 91, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 80, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 66, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 113, 114 ], [ 66, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 119, 122 ], [ 122, 123 ], [ 66, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 128, 131 ], [ 131, 132 ], [ 66, 133 ], [ 133, 134 ], [ 133, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 139, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 149, 150 ], [ 150, 151 ], [ 135, 152 ], [ 152, 153 ], [ 0, 154 ], [ 154, 155 ], [ 154, 156 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\npublic class Main\n{\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n public static void main(String args[])\n {\n FastReader obj = new FastReader();\n String s = obj.next();\n long n=0;\n for(int i=0;i<s.length();i++)\n n+=(s.charAt(i)-'0');\n System.out.println((n%9==0)?\"Yes\":\"No\");\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main\n{\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n public static void main(String args[])\n {\n FastReader obj = new FastReader();\n String s = obj.next();\n long n=0;\n for(int i=0;i<s.length();i++)\n n+=(s.charAt(i)-'0');\n System.out.println((n%9==0)?\"Yes\":\"No\");\n }\n}", "Main", "public static void main(String args[])\n {\n FastReader obj = new FastReader();\n String s = obj.next();\n long n=0;\n for(int i=0;i<s.length();i++)\n n+=(s.charAt(i)-'0');\n System.out.println((n%9==0)?\"Yes\":\"No\");\n }", "main", "{\n FastReader obj = new FastReader();\n String s = obj.next();\n long n=0;\n for(int i=0;i<s.length();i++)\n n+=(s.charAt(i)-'0');\n System.out.println((n%9==0)?\"Yes\":\"No\");\n }", "FastReader obj = new FastReader();", "obj", "new FastReader()", "String s = obj.next();", "s", "obj.next()", "obj.next", "obj", "long n=0;", "n", "0", "for(int i=0;i<s.length();i++)\n n+=(s.charAt(i)-'0');", "int i=0;", "int i=0;", "i", "0", "i<s.length()", "i", "s.length()", "s.length", "s", "i++", "i++", "i", "n+=(s.charAt(i)-'0');", "n+=(s.charAt(i)-'0')", "n", "(s.charAt(i)-'0')", "s.charAt(i)", "s.charAt", "s", "i", "'0'", "System.out.println((n%9==0)?\"Yes\":\"No\")", "System.out.println", "System.out", "System", "System.out", "(n%9==0)?\"Yes\":\"No\"", "(n%9==0)", "n%9", "n", "9", "0", "\"Yes\"", "\"No\"", "String args[]", "args", "static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }", "FastReader", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }", "FastReader", "{\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }", "br = new BufferedReader(new\n InputStreamReader(System.in))", "br", "new BufferedReader(new\n InputStreamReader(System.in))", "String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble() {\n return Double.parseDouble(next());\n }", "nextDouble", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }", "nextLine", "{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }", "String str = \"\";", "str", "\"\"", "try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n str = br.readLine();\n }", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str", "public class Main\n{\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n public static void main(String args[])\n {\n FastReader obj = new FastReader();\n String s = obj.next();\n long n=0;\n for(int i=0;i<s.length();i++)\n n+=(s.charAt(i)-'0');\n System.out.println((n%9==0)?\"Yes\":\"No\");\n }\n}", "public class Main\n{\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n public static void main(String args[])\n {\n FastReader obj = new FastReader();\n String s = obj.next();\n long n=0;\n for(int i=0;i<s.length();i++)\n n+=(s.charAt(i)-'0');\n System.out.println((n%9==0)?\"Yes\":\"No\");\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { static class FastReader { BufferedReader br; StringTokenizer st; public FastReader() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while (st == null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } long nextLong() { return Long.parseLong(next()); } double nextDouble() { return Double.parseDouble(next()); } String nextLine() { String str = ""; try { str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } return str; } } public static void main(String args[]) { FastReader obj = new FastReader(); String s = obj.next(); long n=0; for(int i=0;i<s.length();i++) n+=(s.charAt(i)-'0'); System.out.println((n%9==0)?"Yes":"No"); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 28, 13, 4, 18, 13, 30, 30, 0, 13, 2, 13, 17, 14, 2, 2, 13, 17, 17, 30, 4, 18, 13, 17, 30, 4, 18, 13, 17, 4, 18, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 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 ], [ 157, 11 ], [ 157, 12 ], [ 12, 13 ], [ 12, 14 ], [ 157, 15 ], [ 15, 16 ], [ 15, 17 ], [ 157, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 20, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 20, 32 ], [ 32, 33 ], [ 32, 34 ], [ 20, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 35, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 20, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 47, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 20, 63 ], [ 63, 64 ], [ 64, 65 ], [ 18, 66 ], [ 66, 67 ], [ 157, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 68, 72 ], [ 72, 73 ], [ 68, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 68, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 83, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 93, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 82, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 68, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 112, 115 ], [ 115, 116 ], [ 68, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 124, 125 ], [ 68, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 130, 133 ], [ 133, 134 ], [ 68, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 141, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 152, 153 ], [ 137, 154 ], [ 154, 155 ], [ 0, 156 ], [ 156, 157 ], [ 156, 158 ] ]
[ "import java.io.*;\nimport java.math.*;\nimport java.util.*;\n \npublic class Main {\n\tstatic final long MOD = 1000000007L;\n\tstatic final int INF = 50000000;\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\tString s=sc.next();\n\t\tint d = 0;\n\t\tfor (char c: s.toCharArray()) {\n\t\t\td += (c-'0');\n\t\t}\n\t\t\n\t\tif (d%9==0) {\n\t\t\tpw.println(\"Yes\");\n\t\t} else {\n\t\t\tpw.println(\"No\");\n\t\t}\n\t\t\n\t\tpw.close();\n\t}\n\n static class FastScanner { \n BufferedReader br; \n StringTokenizer st; \n \n public FastScanner() { \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 ni() { \n return Integer.parseInt(next()); \n }\n \n long nl() { \n return Long.parseLong(next()); \n } \n \n double nd() { \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.*;", "io.*", "java", "import java.math.*;", "math.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n\tstatic final long MOD = 1000000007L;\n\tstatic final int INF = 50000000;\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\tString s=sc.next();\n\t\tint d = 0;\n\t\tfor (char c: s.toCharArray()) {\n\t\t\td += (c-'0');\n\t\t}\n\t\t\n\t\tif (d%9==0) {\n\t\t\tpw.println(\"Yes\");\n\t\t} else {\n\t\t\tpw.println(\"No\");\n\t\t}\n\t\t\n\t\tpw.close();\n\t}\n\n static class FastScanner { \n BufferedReader br; \n StringTokenizer st; \n \n public FastScanner() { \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 ni() { \n return Integer.parseInt(next()); \n }\n \n long nl() { \n return Long.parseLong(next()); \n } \n \n double nd() { \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", "static final long MOD = 1000000007L;", "MOD", "1000000007L", "static final int INF = 50000000;", "INF", "50000000", "public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\tString s=sc.next();\n\t\tint d = 0;\n\t\tfor (char c: s.toCharArray()) {\n\t\t\td += (c-'0');\n\t\t}\n\t\t\n\t\tif (d%9==0) {\n\t\t\tpw.println(\"Yes\");\n\t\t} else {\n\t\t\tpw.println(\"No\");\n\t\t}\n\t\t\n\t\tpw.close();\n\t}", "main", "{\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\tString s=sc.next();\n\t\tint d = 0;\n\t\tfor (char c: s.toCharArray()) {\n\t\t\td += (c-'0');\n\t\t}\n\t\t\n\t\tif (d%9==0) {\n\t\t\tpw.println(\"Yes\");\n\t\t} else {\n\t\t\tpw.println(\"No\");\n\t\t}\n\t\t\n\t\tpw.close();\n\t}", "FastScanner sc = new FastScanner();", "sc", "new FastScanner()", "PrintWriter pw = new PrintWriter(System.out);", "pw", "new PrintWriter(System.out)", "String s=sc.next();", "s", "sc.next()", "sc.next", "sc", "int d = 0;", "d", "0", "for (char c: s.toCharArray()) {\n\t\t\td += (c-'0');\n\t\t}", "char c", "s.toCharArray()", "s.toCharArray", "s", "{\n\t\t\td += (c-'0');\n\t\t}", "{\n\t\t\td += (c-'0');\n\t\t}", "d += (c-'0')", "d", "(c-'0')", "c", "'0'", "if (d%9==0) {\n\t\t\tpw.println(\"Yes\");\n\t\t} else {\n\t\t\tpw.println(\"No\");\n\t\t}", "d%9==0", "d%9", "d", "9", "0", "{\n\t\t\tpw.println(\"Yes\");\n\t\t}", "pw.println(\"Yes\")", "pw.println", "pw", "\"Yes\"", "{\n\t\t\tpw.println(\"No\");\n\t\t}", "pw.println(\"No\")", "pw.println", "pw", "\"No\"", "pw.close()", "pw.close", "pw", "String[] args", "args", "static class FastScanner { \n BufferedReader br; \n StringTokenizer st; \n \n public FastScanner() { \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 ni() { \n return Integer.parseInt(next()); \n }\n \n long nl() { \n return Long.parseLong(next()); \n } \n \n double nd() { \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 }", "FastScanner", "BufferedReader br;", "br", "StringTokenizer st;", "st", "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 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 ni() { \n return Integer.parseInt(next()); \n }", "ni", "{ \n return Integer.parseInt(next()); \n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nl() { \n return Long.parseLong(next()); \n }", "nl", "{ \n return Long.parseLong(next()); \n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nd() { \n return Double.parseDouble(next()); \n }", "nd", "{ \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\tstatic final long MOD = 1000000007L;\n\tstatic final int INF = 50000000;\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\tString s=sc.next();\n\t\tint d = 0;\n\t\tfor (char c: s.toCharArray()) {\n\t\t\td += (c-'0');\n\t\t}\n\t\t\n\t\tif (d%9==0) {\n\t\t\tpw.println(\"Yes\");\n\t\t} else {\n\t\t\tpw.println(\"No\");\n\t\t}\n\t\t\n\t\tpw.close();\n\t}\n\n static class FastScanner { \n BufferedReader br; \n StringTokenizer st; \n \n public FastScanner() { \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 ni() { \n return Integer.parseInt(next()); \n }\n \n long nl() { \n return Long.parseLong(next()); \n } \n \n double nd() { \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\tstatic final long MOD = 1000000007L;\n\tstatic final int INF = 50000000;\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\tString s=sc.next();\n\t\tint d = 0;\n\t\tfor (char c: s.toCharArray()) {\n\t\t\td += (c-'0');\n\t\t}\n\t\t\n\t\tif (d%9==0) {\n\t\t\tpw.println(\"Yes\");\n\t\t} else {\n\t\t\tpw.println(\"No\");\n\t\t}\n\t\t\n\t\tpw.close();\n\t}\n\n static class FastScanner { \n BufferedReader br; \n StringTokenizer st; \n \n public FastScanner() { \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 ni() { \n return Integer.parseInt(next()); \n }\n \n long nl() { \n return Long.parseLong(next()); \n } \n \n double nd() { \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.*; import java.math.*; import java.util.*; public class Main { static final long MOD = 1000000007L; static final int INF = 50000000; public static void main(String[] args) { FastScanner sc = new FastScanner(); PrintWriter pw = new PrintWriter(System.out); String s=sc.next(); int d = 0; for (char c: s.toCharArray()) { d += (c-'0'); } if (d%9==0) { pw.println("Yes"); } else { pw.println("No"); } pw.close(); } static class FastScanner { BufferedReader br; StringTokenizer st; public FastScanner() { 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 ni() { return Integer.parseInt(next()); } long nl() { return Long.parseLong(next()); } double nd() { return Double.parseDouble(next()); } String nextLine() { String str = ""; try { str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } return str; } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 2, 17, 17, 41, 13, 17, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 8, 2, 2, 13, 17, 17, 17, 17, 23, 13, 6, 13, 41, 13, 20, 41, 13, 20, 12, 13, 30, 42, 40, 4, 18, 13, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 2, 13, 17, 4, 18, 13, 13, 17, 0, 18, 13, 17, 0, 18, 13, 17, 17, 11, 1, 41, 13, 17, 2, 2, 13, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 11, 1, 41, 13, 2, 13, 13, 2, 13, 18, 13, 13, 1, 0, 13, 13, 30, 30, 0, 18, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 4, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 17, 42, 2, 13, 17, 30, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 13, 13, 40, 13, 30, 0, 13, 2, 13, 13, 0, 13, 17, 29, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 28, 13, 13, 30, 4, 18, 13, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 28, 13, 13, 30, 4, 18, 13, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 28, 13, 13, 30, 4, 18, 13, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 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, 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 ], [ 500, 8 ], [ 500, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 11, 13 ], [ 500, 14 ], [ 14, 15 ], [ 14, 16 ], [ 500, 17 ], [ 17, 18 ], [ 17, 19 ], [ 500, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 22, 31 ], [ 31, 32 ], [ 31, 33 ], [ 22, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 34, 44 ], [ 44, 45 ], [ 45, 46 ], [ 34, 47 ], [ 48, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 22, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 65, 71 ], [ 65, 72 ], [ 20, 73 ], [ 73, 74 ], [ 0, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 80, 81 ], [ 80, 82 ], [ 75, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 86, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 91, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 85, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 75, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 112, 113 ], [ 112, 114 ], [ 115, 116 ], [ 115, 117 ], [ 108, 118 ], [ 118, 119 ], [ 119, 120 ], [ 118, 121 ], [ 118, 122 ], [ 108, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 127, 131 ], [ 108, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 132, 142 ], [ 142, 143 ], [ 143, 144 ], [ 132, 145 ], [ 146, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 148, 152 ], [ 147, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 158, 159 ], [ 158, 160 ], [ 154, 161 ], [ 161, 162 ], [ 161, 163 ], [ 163, 164 ], [ 163, 165 ], [ 154, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 154, 170 ], [ 171, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 172, 176 ], [ 108, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 177, 182 ], [ 182, 183 ], [ 182, 184 ], [ 184, 185 ], [ 184, 186 ], [ 177, 187 ], [ 187, 188 ], [ 188, 189 ], [ 177, 190 ], [ 191, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 193, 197 ], [ 192, 198 ], [ 198, 199 ], [ 199, 200 ], [ 198, 201 ], [ 108, 202 ], [ 202, 203 ], [ 106, 204 ], [ 204, 205 ], [ 75, 206 ], [ 206, 207 ], [ 206, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 208, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 212, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 218, 222 ], [ 217, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 226, 227 ], [ 226, 228 ], [ 223, 229 ], [ 229, 230 ], [ 217, 231 ], [ 231, 232 ], [ 232, 233 ], [ 232, 234 ], [ 234, 235 ], [ 234, 236 ], [ 231, 237 ], [ 237, 238 ], [ 237, 239 ], [ 208, 240 ], [ 240, 241 ], [ 206, 242 ], [ 242, 243 ], [ 206, 244 ], [ 244, 245 ], [ 75, 246 ], [ 246, 247 ], [ 246, 248 ], [ 248, 249 ], [ 249, 250 ], [ 250, 251 ], [ 250, 252 ], [ 249, 253 ], [ 253, 254 ], [ 254, 255 ], [ 248, 256 ], [ 256, 257 ], [ 257, 258 ], [ 257, 259 ], [ 257, 260 ], [ 260, 261 ], [ 260, 262 ], [ 246, 263 ], [ 263, 264 ], [ 246, 265 ], [ 265, 266 ], [ 75, 267 ], [ 267, 268 ], [ 267, 269 ], [ 269, 270 ], [ 270, 271 ], [ 271, 272 ], [ 271, 273 ], [ 270, 274 ], [ 274, 275 ], [ 275, 276 ], [ 269, 277 ], [ 277, 278 ], [ 278, 279 ], [ 278, 280 ], [ 278, 281 ], [ 281, 282 ], [ 281, 283 ], [ 267, 284 ], [ 284, 285 ], [ 267, 286 ], [ 286, 287 ], [ 75, 288 ], [ 288, 289 ], [ 288, 290 ], [ 290, 291 ], [ 291, 292 ], [ 291, 293 ], [ 290, 294 ], [ 294, 295 ], [ 294, 296 ], [ 294, 297 ], [ 297, 298 ], [ 298, 299 ], [ 299, 300 ], [ 298, 301 ], [ 290, 302 ], [ 302, 303 ], [ 303, 304 ], [ 302, 305 ], [ 290, 306 ], [ 306, 307 ], [ 307, 308 ], [ 308, 309 ], [ 308, 310 ], [ 306, 311 ], [ 311, 312 ], [ 311, 313 ], [ 313, 314 ], [ 313, 315 ], [ 306, 316 ], [ 316, 317 ], [ 317, 318 ], [ 306, 319 ], [ 320, 320 ], [ 320, 321 ], [ 321, 322 ], [ 322, 323 ], [ 322, 324 ], [ 321, 325 ], [ 325, 326 ], [ 326, 327 ], [ 325, 328 ], [ 290, 329 ], [ 329, 330 ], [ 288, 331 ], [ 331, 332 ], [ 75, 333 ], [ 333, 334 ], [ 333, 335 ], [ 335, 336 ], [ 336, 337 ], [ 336, 338 ], [ 335, 339 ], [ 339, 340 ], [ 339, 341 ], [ 339, 342 ], [ 342, 343 ], [ 343, 344 ], [ 344, 345 ], [ 343, 346 ], [ 335, 347 ], [ 347, 348 ], [ 348, 349 ], [ 347, 350 ], [ 335, 351 ], [ 351, 352 ], [ 352, 353 ], [ 353, 354 ], [ 353, 355 ], [ 351, 356 ], [ 356, 357 ], [ 356, 358 ], [ 358, 359 ], [ 359, 360 ], [ 351, 361 ], [ 361, 362 ], [ 362, 363 ], [ 351, 364 ], [ 365, 365 ], [ 365, 366 ], [ 366, 367 ], [ 367, 368 ], [ 367, 369 ], [ 366, 370 ], [ 370, 371 ], [ 371, 372 ], [ 370, 373 ], [ 335, 374 ], [ 374, 375 ], [ 333, 376 ], [ 376, 377 ], [ 75, 378 ], [ 378, 379 ], [ 378, 380 ], [ 380, 381 ], [ 381, 382 ], [ 381, 383 ], [ 380, 384 ], [ 384, 385 ], [ 384, 386 ], [ 384, 387 ], [ 387, 388 ], [ 388, 389 ], [ 389, 390 ], [ 388, 391 ], [ 380, 392 ], [ 392, 393 ], [ 393, 394 ], [ 392, 395 ], [ 380, 396 ], [ 396, 397 ], [ 397, 398 ], [ 398, 399 ], [ 398, 400 ], [ 396, 401 ], [ 401, 402 ], [ 401, 403 ], [ 403, 404 ], [ 403, 405 ], [ 396, 406 ], [ 406, 407 ], [ 407, 408 ], [ 396, 409 ], [ 410, 410 ], [ 410, 411 ], [ 411, 412 ], [ 412, 413 ], [ 412, 414 ], [ 411, 415 ], [ 415, 416 ], [ 416, 417 ], [ 415, 418 ], [ 380, 419 ], [ 419, 420 ], [ 378, 421 ], [ 421, 422 ], [ 75, 423 ], [ 423, 424 ], [ 423, 425 ], [ 425, 426 ], [ 426, 427 ], [ 427, 428 ], [ 428, 429 ], [ 427, 430 ], [ 430, 431 ], [ 75, 432 ], [ 432, 433 ], [ 432, 434 ], [ 434, 435 ], [ 435, 436 ], [ 435, 437 ], [ 434, 439 ], [ 439, 440 ], [ 440, 441 ], [ 441, 442 ], [ 441, 443 ], [ 439, 444 ], [ 444, 445 ], [ 444, 446 ], [ 439, 447 ], [ 447, 448 ], [ 448, 449 ], [ 439, 450 ], [ 450, 451 ], [ 451, 452 ], [ 452, 453 ], [ 452, 454 ], [ 451, 455 ], [ 455, 456 ], [ 434, 457 ], [ 457, 458 ], [ 432, 459 ], [ 459, 460 ], [ 75, 461 ], [ 461, 462 ], [ 461, 463 ], [ 463, 464 ], [ 464, 465 ], [ 465, 466 ], [ 466, 467 ], [ 465, 468 ], [ 468, 469 ], [ 75, 470 ], [ 470, 471 ], [ 470, 472 ], [ 472, 473 ], [ 473, 474 ], [ 473, 475 ], [ 472, 477 ], [ 477, 478 ], [ 478, 479 ], [ 479, 480 ], [ 479, 481 ], [ 477, 482 ], [ 482, 483 ], [ 482, 484 ], [ 477, 485 ], [ 485, 486 ], [ 486, 487 ], [ 477, 488 ], [ 488, 489 ], [ 489, 490 ], [ 490, 491 ], [ 490, 492 ], [ 489, 493 ], [ 493, 494 ], [ 472, 495 ], [ 495, 496 ], [ 470, 497 ], [ 497, 498 ], [ 0, 499 ], [ 499, 500 ], [ 499, 501 ] ]
[ "import java.util.*;\nimport java.io.*;\npublic class Main\n{\n\tstatic final int mod=(int)1e9+7;\n\tstatic final int inf=(int)1e9;\n\tstatic final long INF=(long)1e18;\n\tpublic static void main(String[] args)\n\t{\n\t\tFastScanner fs=new FastScanner();\n\t\tString s=fs.next();\n\t\tint sum=0;\n\t\tfor(int i=0;i<s.length();i++)\n\t\t{\n\t\t\tsum=sum+Character.getNumericValue(s.charAt(i));\n\t\t}\n\t\tSystem.out.println(sum%9==0 ? \"Yes\":\"No\");\t\n\t}\n}\nclass FastScanner \n{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\t\tpublic String next() \n\t\t{\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\t\n\t\t}\n\t\tArrayList<Integer> sieve(int n)\n\t\t{\n\t\t\tArrayList<Integer> primes = new ArrayList<Integer>();\n\t\t\tboolean arr[]=new boolean[n+1];\n\t\t\tArrays.fill(arr,true);\n\t\t\tarr[0]=arr[1]=false;\n\t\t\tfor(int i=2;i*i<=n;i++)\n\t\t\t{\n\t\t\t\tif(arr[i]==true)\n\t\t\t\t{\n\t\t\t\t\tfor(int j=i*i;j<arr.length;j+=i)\n\t\t\t\t\t{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tif(arr[i]==true)primes.add(i);\n\t\t\t}\n\t\t\treturn primes;\n\t\t}\n\t\tlong pow(long x,long n)\n\t\t{\n\t\t\tlong res=1;\n\t\t\twhile(n>0)\n\t\t\t{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}\n\t\t\treturn res;\n\t\t}\n\t\tint gcd(int a,int b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn gcd(b,a%b);\n\t\t}\n\t\tlong longgcd(long a,long b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn longgcd(b,a%b);\n\t\t}\n\t\tint[] sort(int arr[])\n\t\t{\n\t\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor(int i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\t\tchar[] charsort(char arr[])\n\t {\n\t \tArrayList<Character> list = new ArrayList<>();\n\t \tfor(char c:arr)list.add(c);\n\t \tCollections.sort(list);\n\t \tfor(int i=0;i<list.size();i++)\n\t \t{\n\t \t\tarr[i]=list.get(i);\n\t \t}\n\t \treturn arr;\n\t }\n\t\tlong[] longsort(long arr[])\n\t\t{\n\t\t\tArrayList<Long> list = new ArrayList<Long>();\n\t\t\tfor(long i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\t\tpublic int nextInt() \n\t\t{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tpublic int[] readArray(int n)\n\t\t{\n\t\t\tint[] arr=new int[n];\n\t\t\tfor (int i=0; i<n; i++) arr[i]=nextInt();\n\t\t\treturn arr;\n\t\t}\t\n\t\tpublic long nextLong()\n\t\t{\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tpublic long[] longreadArray(int n) \n\t\t{\n\t\t\tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main\n{\n\tstatic final int mod=(int)1e9+7;\n\tstatic final int inf=(int)1e9;\n\tstatic final long INF=(long)1e18;\n\tpublic static void main(String[] args)\n\t{\n\t\tFastScanner fs=new FastScanner();\n\t\tString s=fs.next();\n\t\tint sum=0;\n\t\tfor(int i=0;i<s.length();i++)\n\t\t{\n\t\t\tsum=sum+Character.getNumericValue(s.charAt(i));\n\t\t}\n\t\tSystem.out.println(sum%9==0 ? \"Yes\":\"No\");\t\n\t}\n}", "Main", "static final int mod=(int)1e9+7;", "mod", "(int)1e9+7", "(int)1e9", "7", "static final int inf=(int)1e9;", "inf", "(int)1e9", "static final long INF=(long)1e18;", "INF", "(long)1e18", "public static void main(String[] args)\n\t{\n\t\tFastScanner fs=new FastScanner();\n\t\tString s=fs.next();\n\t\tint sum=0;\n\t\tfor(int i=0;i<s.length();i++)\n\t\t{\n\t\t\tsum=sum+Character.getNumericValue(s.charAt(i));\n\t\t}\n\t\tSystem.out.println(sum%9==0 ? \"Yes\":\"No\");\t\n\t}", "main", "{\n\t\tFastScanner fs=new FastScanner();\n\t\tString s=fs.next();\n\t\tint sum=0;\n\t\tfor(int i=0;i<s.length();i++)\n\t\t{\n\t\t\tsum=sum+Character.getNumericValue(s.charAt(i));\n\t\t}\n\t\tSystem.out.println(sum%9==0 ? \"Yes\":\"No\");\t\n\t}", "FastScanner fs=new FastScanner();", "fs", "new FastScanner()", "String s=fs.next();", "s", "fs.next()", "fs.next", "fs", "int sum=0;", "sum", "0", "for(int i=0;i<s.length();i++)\n\t\t{\n\t\t\tsum=sum+Character.getNumericValue(s.charAt(i));\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<s.length()", "i", "s.length()", "s.length", "s", "i++", "i++", "i", "{\n\t\t\tsum=sum+Character.getNumericValue(s.charAt(i));\n\t\t}", "{\n\t\t\tsum=sum+Character.getNumericValue(s.charAt(i));\n\t\t}", "sum=sum+Character.getNumericValue(s.charAt(i))", "sum", "sum+Character.getNumericValue(s.charAt(i))", "sum", "Character.getNumericValue(s.charAt(i))", "Character.getNumericValue", "Character", "s.charAt(i)", "s.charAt", "s", "i", "System.out.println(sum%9==0 ? \"Yes\":\"No\")", "System.out.println", "System.out", "System", "System.out", "sum%9==0 ? \"Yes\":\"No\"", "sum%9==0", "sum%9", "sum", "9", "0", "\"Yes\"", "\"No\"", "String[] args", "args", "class FastScanner \n{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\t\tpublic String next() \n\t\t{\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\t\n\t\t}\n\t\tArrayList<Integer> sieve(int n)\n\t\t{\n\t\t\tArrayList<Integer> primes = new ArrayList<Integer>();\n\t\t\tboolean arr[]=new boolean[n+1];\n\t\t\tArrays.fill(arr,true);\n\t\t\tarr[0]=arr[1]=false;\n\t\t\tfor(int i=2;i*i<=n;i++)\n\t\t\t{\n\t\t\t\tif(arr[i]==true)\n\t\t\t\t{\n\t\t\t\t\tfor(int j=i*i;j<arr.length;j+=i)\n\t\t\t\t\t{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tif(arr[i]==true)primes.add(i);\n\t\t\t}\n\t\t\treturn primes;\n\t\t}\n\t\tlong pow(long x,long n)\n\t\t{\n\t\t\tlong res=1;\n\t\t\twhile(n>0)\n\t\t\t{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}\n\t\t\treturn res;\n\t\t}\n\t\tint gcd(int a,int b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn gcd(b,a%b);\n\t\t}\n\t\tlong longgcd(long a,long b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn longgcd(b,a%b);\n\t\t}\n\t\tint[] sort(int arr[])\n\t\t{\n\t\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor(int i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\t\tchar[] charsort(char arr[])\n\t {\n\t \tArrayList<Character> list = new ArrayList<>();\n\t \tfor(char c:arr)list.add(c);\n\t \tCollections.sort(list);\n\t \tfor(int i=0;i<list.size();i++)\n\t \t{\n\t \t\tarr[i]=list.get(i);\n\t \t}\n\t \treturn arr;\n\t }\n\t\tlong[] longsort(long arr[])\n\t\t{\n\t\t\tArrayList<Long> list = new ArrayList<Long>();\n\t\t\tfor(long i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\t\tpublic int nextInt() \n\t\t{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tpublic int[] readArray(int n)\n\t\t{\n\t\t\tint[] arr=new int[n];\n\t\t\tfor (int i=0; i<n; i++) arr[i]=nextInt();\n\t\t\treturn arr;\n\t\t}\t\n\t\tpublic long nextLong()\n\t\t{\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tpublic long[] longreadArray(int n) \n\t\t{\n\t\t\tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}\n}", "FastScanner", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringTokenizer st = new StringTokenizer(\"\");", "st", "new StringTokenizer(\"\")", "public String next() \n\t\t{\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\t\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\t\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", "ArrayList<Integer> sieve(int n)\n\t\t{\n\t\t\tArrayList<Integer> primes = new ArrayList<Integer>();\n\t\t\tboolean arr[]=new boolean[n+1];\n\t\t\tArrays.fill(arr,true);\n\t\t\tarr[0]=arr[1]=false;\n\t\t\tfor(int i=2;i*i<=n;i++)\n\t\t\t{\n\t\t\t\tif(arr[i]==true)\n\t\t\t\t{\n\t\t\t\t\tfor(int j=i*i;j<arr.length;j+=i)\n\t\t\t\t\t{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tif(arr[i]==true)primes.add(i);\n\t\t\t}\n\t\t\treturn primes;\n\t\t}", "sieve", "{\n\t\t\tArrayList<Integer> primes = new ArrayList<Integer>();\n\t\t\tboolean arr[]=new boolean[n+1];\n\t\t\tArrays.fill(arr,true);\n\t\t\tarr[0]=arr[1]=false;\n\t\t\tfor(int i=2;i*i<=n;i++)\n\t\t\t{\n\t\t\t\tif(arr[i]==true)\n\t\t\t\t{\n\t\t\t\t\tfor(int j=i*i;j<arr.length;j+=i)\n\t\t\t\t\t{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tif(arr[i]==true)primes.add(i);\n\t\t\t}\n\t\t\treturn primes;\n\t\t}", "ArrayList<Integer> primes = new ArrayList<Integer>();", "primes", "new ArrayList<Integer>()", "boolean arr[]=new boolean[n+1];", "arr", "new boolean[n+1]", "n+1", "n", "1", "Arrays.fill(arr,true)", "Arrays.fill", "Arrays", "arr", "true", "arr[0]=arr[1]=false", "arr[0]", "arr", "0", "arr[1]=false", "arr[1]", "arr", "1", "false", "for(int i=2;i*i<=n;i++)\n\t\t\t{\n\t\t\t\tif(arr[i]==true)\n\t\t\t\t{\n\t\t\t\t\tfor(int j=i*i;j<arr.length;j+=i)\n\t\t\t\t\t{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "int i=2;", "int i=2;", "i", "2", "i*i<=n", "i*i", "i", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tif(arr[i]==true)\n\t\t\t\t{\n\t\t\t\t\tfor(int j=i*i;j<arr.length;j+=i)\n\t\t\t\t\t{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif(arr[i]==true)\n\t\t\t\t{\n\t\t\t\t\tfor(int j=i*i;j<arr.length;j+=i)\n\t\t\t\t\t{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "if(arr[i]==true)\n\t\t\t\t{\n\t\t\t\t\tfor(int j=i*i;j<arr.length;j+=i)\n\t\t\t\t\t{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}\n\t\t\t\t}", "arr[i]==true", "arr[i]", "arr", "i", "true", "{\n\t\t\t\t\tfor(int j=i*i;j<arr.length;j+=i)\n\t\t\t\t\t{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}\n\t\t\t\t}", "for(int j=i*i;j<arr.length;j+=i)\n\t\t\t\t\t{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}", "int j=i*i;", "int j=i*i;", "j", "i*i", "i", "i", "j<arr.length", "j", "arr.length", "arr", "arr.length", "j+=i", "j+=i", "j", "i", "{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}", "{\n\t\t\t\t\t\tarr[j]=false;\n\t\t\t\t\t}", "arr[j]=false", "arr[j]", "arr", "j", "false", "for(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tif(arr[i]==true)primes.add(i);\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<arr.length", "i", "arr.length", "arr", "arr.length", "i++", "i++", "i", "{\n\t\t\t\tif(arr[i]==true)primes.add(i);\n\t\t\t}", "{\n\t\t\t\tif(arr[i]==true)primes.add(i);\n\t\t\t}", "if(arr[i]==true)primes.add(i);", "arr[i]==true", "arr[i]", "arr", "i", "true", "primes.add(i)", "primes.add", "primes", "i", "return primes;", "primes", "int n", "n", "long pow(long x,long n)\n\t\t{\n\t\t\tlong res=1;\n\t\t\twhile(n>0)\n\t\t\t{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}\n\t\t\treturn res;\n\t\t}", "pow", "{\n\t\t\tlong res=1;\n\t\t\twhile(n>0)\n\t\t\t{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}\n\t\t\treturn res;\n\t\t}", "long res=1;", "res", "1", "while(n>0)\n\t\t\t{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}", "n>0", "n", "0", "{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}", "if(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}", "n%2!=0", "n%2", "n", "2", "0", "{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}", "res=(res*x)", "res", "(res*x)", "res", "x", "n--", "n", "{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}", "x=(x*x)", "x", "(x*x)", "x", "x", "n/=2", "n", "2", "return res;", "res", "long x", "x", "long n", "n", "int gcd(int a,int b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn gcd(b,a%b);\n\t\t}", "gcd", "{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn gcd(b,a%b);\n\t\t}", "if(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}", "b==0", "b", "0", "{\n\t\t\t\treturn a;\n\t\t\t}", "return a;", "a", "return gcd(b,a%b);", "gcd(b,a%b)", "gcd", "b", "a%b", "a", "b", "int a", "a", "int b", "b", "long longgcd(long a,long b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn longgcd(b,a%b);\n\t\t}", "longgcd", "{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn longgcd(b,a%b);\n\t\t}", "if(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}", "b==0", "b", "0", "{\n\t\t\t\treturn a;\n\t\t\t}", "return a;", "a", "return longgcd(b,a%b);", "longgcd(b,a%b)", "longgcd", "b", "a%b", "a", "b", "long a", "a", "long b", "b", "int[] sort(int arr[])\n\t\t{\n\t\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor(int i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}", "sort", "{\n\t\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor(int i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}", "ArrayList<Integer> list = new ArrayList<Integer>();", "list", "new ArrayList<Integer>()", "for(int i:arr)list.add(i);", "int i", "arr", "list.add(i);", "list.add(i)", "list.add", "list", "i", "Collections.sort(list)", "Collections.sort", "Collections", "list", "for(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<arr.length", "i", "arr.length", "arr", "arr.length", "i++", "i++", "i", "{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}", "{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}", "arr[i]=list.get(i)", "arr[i]", "arr", "i", "list.get(i)", "list.get", "list", "i", "return arr;", "arr", "int arr[]", "arr", "char[] charsort(char arr[])\n\t {\n\t \tArrayList<Character> list = new ArrayList<>();\n\t \tfor(char c:arr)list.add(c);\n\t \tCollections.sort(list);\n\t \tfor(int i=0;i<list.size();i++)\n\t \t{\n\t \t\tarr[i]=list.get(i);\n\t \t}\n\t \treturn arr;\n\t }", "charsort", "{\n\t \tArrayList<Character> list = new ArrayList<>();\n\t \tfor(char c:arr)list.add(c);\n\t \tCollections.sort(list);\n\t \tfor(int i=0;i<list.size();i++)\n\t \t{\n\t \t\tarr[i]=list.get(i);\n\t \t}\n\t \treturn arr;\n\t }", "ArrayList<Character> list = new ArrayList<>();", "list", "new ArrayList<>()", "for(char c:arr)list.add(c);", "char c", "arr", "list.add(c);", "list.add(c)", "list.add", "list", "c", "Collections.sort(list)", "Collections.sort", "Collections", "list", "for(int i=0;i<list.size();i++)\n\t \t{\n\t \t\tarr[i]=list.get(i);\n\t \t}", "int i=0;", "int i=0;", "i", "0", "i<list.size()", "i", "list.size()", "list.size", "list", "i++", "i++", "i", "{\n\t \t\tarr[i]=list.get(i);\n\t \t}", "{\n\t \t\tarr[i]=list.get(i);\n\t \t}", "arr[i]=list.get(i)", "arr[i]", "arr", "i", "list.get(i)", "list.get", "list", "i", "return arr;", "arr", "char arr[]", "arr", "long[] longsort(long arr[])\n\t\t{\n\t\t\tArrayList<Long> list = new ArrayList<Long>();\n\t\t\tfor(long i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}", "longsort", "{\n\t\t\tArrayList<Long> list = new ArrayList<Long>();\n\t\t\tfor(long i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}", "ArrayList<Long> list = new ArrayList<Long>();", "list", "new ArrayList<Long>()", "for(long i:arr)list.add(i);", "long i", "arr", "list.add(i);", "list.add(i)", "list.add", "list", "i", "Collections.sort(list)", "Collections.sort", "Collections", "list", "for(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<arr.length", "i", "arr.length", "arr", "arr.length", "i++", "i++", "i", "{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}", "{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}", "arr[i]=list.get(i)", "arr[i]", "arr", "i", "list.get(i)", "list.get", "list", "i", "return arr;", "arr", "long arr[]", "arr", "public int nextInt() \n\t\t{\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "nextInt", "{\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public int[] readArray(int n)\n\t\t{\n\t\t\tint[] arr=new int[n];\n\t\t\tfor (int i=0; i<n; i++) arr[i]=nextInt();\n\t\t\treturn arr;\n\t\t}", "readArray", "{\n\t\t\tint[] arr=new int[n];\n\t\t\tfor (int i=0; i<n; i++) arr[i]=nextInt();\n\t\t\treturn arr;\n\t\t}", "int[] arr=new int[n];", "arr", "new int[n]", "n", "for (int i=0; i<n; i++) arr[i]=nextInt();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "arr[i]=nextInt();", "arr[i]=nextInt()", "arr[i]", "arr", "i", "nextInt()", "nextInt", "return arr;", "arr", "int n", "n", "public long nextLong()\n\t\t{\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[] longreadArray(int n) \n\t\t{\n\t\t\tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}", "longreadArray", "{\n\t\t\tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[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++) a[i]=nextLong();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "a[i]=nextLong();", "a[i]=nextLong()", "a[i]", "a", "i", "nextLong()", "nextLong", "return a;", "a", "int n", "n", "public class Main\n{\n\tstatic final int mod=(int)1e9+7;\n\tstatic final int inf=(int)1e9;\n\tstatic final long INF=(long)1e18;\n\tpublic static void main(String[] args)\n\t{\n\t\tFastScanner fs=new FastScanner();\n\t\tString s=fs.next();\n\t\tint sum=0;\n\t\tfor(int i=0;i<s.length();i++)\n\t\t{\n\t\t\tsum=sum+Character.getNumericValue(s.charAt(i));\n\t\t}\n\t\tSystem.out.println(sum%9==0 ? \"Yes\":\"No\");\t\n\t}\n}", "public class Main\n{\n\tstatic final int mod=(int)1e9+7;\n\tstatic final int inf=(int)1e9;\n\tstatic final long INF=(long)1e18;\n\tpublic static void main(String[] args)\n\t{\n\t\tFastScanner fs=new FastScanner();\n\t\tString s=fs.next();\n\t\tint sum=0;\n\t\tfor(int i=0;i<s.length();i++)\n\t\t{\n\t\t\tsum=sum+Character.getNumericValue(s.charAt(i));\n\t\t}\n\t\tSystem.out.println(sum%9==0 ? \"Yes\":\"No\");\t\n\t}\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { static final int mod=(int)1e9+7; static final int inf=(int)1e9; static final long INF=(long)1e18; public static void main(String[] args) { FastScanner fs=new FastScanner(); String s=fs.next(); int sum=0; for(int i=0;i<s.length();i++) { sum=sum+Character.getNumericValue(s.charAt(i)); } System.out.println(sum%9==0 ? "Yes":"No"); } } class FastScanner { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(""); public String next() { while (!st.hasMoreTokens()) try { st=new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } return st.nextToken(); } ArrayList<Integer> sieve(int n) { ArrayList<Integer> primes = new ArrayList<Integer>(); boolean arr[]=new boolean[n+1]; Arrays.fill(arr,true); arr[0]=arr[1]=false; for(int i=2;i*i<=n;i++) { if(arr[i]==true) { for(int j=i*i;j<arr.length;j+=i) { arr[j]=false; } } } for(int i=0;i<arr.length;i++) { if(arr[i]==true)primes.add(i); } return primes; } long pow(long x,long n) { long res=1; while(n>0) { if(n%2!=0) { res=(res*x);n--; } else { x=(x*x);n/=2; } } return res; } int gcd(int a,int b) { if(b==0) { return a; } return gcd(b,a%b); } long longgcd(long a,long b) { if(b==0) { return a; } return longgcd(b,a%b); } int[] sort(int arr[]) { ArrayList<Integer> list = new ArrayList<Integer>(); for(int i:arr)list.add(i); Collections.sort(list); for(int i=0;i<arr.length;i++) { arr[i]=list.get(i); } return arr; } char[] charsort(char arr[]) { ArrayList<Character> list = new ArrayList<>(); for(char c:arr)list.add(c); Collections.sort(list); for(int i=0;i<list.size();i++) { arr[i]=list.get(i); } return arr; } long[] longsort(long arr[]) { ArrayList<Long> list = new ArrayList<Long>(); for(long i:arr)list.add(i); Collections.sort(list); for(int i=0;i<arr.length;i++) { arr[i]=list.get(i); } return arr; } public int nextInt() { return Integer.parseInt(next()); } public int[] readArray(int n) { int[] arr=new int[n]; for (int i=0; i<n; i++) arr[i]=nextInt(); return arr; } public long nextLong() { return Long.parseLong(next()); } public long[] longreadArray(int n) { long[] a=new long[n]; for (int i=0; i<n; i++) a[i]=nextLong(); return a; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 13, 2, 13, 17, 0, 13, 4, 18, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 76, 5 ], [ 76, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 23, 33 ], [ 33, 34 ], [ 34, 35 ], [ 23, 36 ], [ 37, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 40, 44 ], [ 44, 45 ], [ 44, 46 ], [ 37, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 8, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 53, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 53, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 6, 73 ], [ 73, 74 ], [ 0, 75 ], [ 75, 76 ], [ 75, 77 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n \n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\n\t\t// 文字列の入力\n\t\tString n = sc.next();\n \n /*--------------------------------*/\n //入力\n //String n = \"123456789\";\n\t\tString buf = \"\";\n\n\t\t//配列に格納\n\t\tint x = 0;\n\t\tfor(int i= 0; i<n.length();i++){\n\t\t buf=n.substring(i,i+1);\n\t\t x += Integer.parseInt(buf);\n\t\t //System.out.println(x);\n\t\t}\n\n\t\t//answer\n\t\tif(x%9 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t}\n}\n", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args){\n \n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\n\t\t// 文字列の入力\n\t\tString n = sc.next();\n \n /*--------------------------------*/\n //入力\n //String n = \"123456789\";\n\t\tString buf = \"\";\n\n\t\t//配列に格納\n\t\tint x = 0;\n\t\tfor(int i= 0; i<n.length();i++){\n\t\t buf=n.substring(i,i+1);\n\t\t x += Integer.parseInt(buf);\n\t\t //System.out.println(x);\n\t\t}\n\n\t\t//answer\n\t\tif(x%9 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t}\n}", "Main", "public static void main(String[] args){\n \n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\n\t\t// 文字列の入力\n\t\tString n = sc.next();\n \n /*--------------------------------*/\n //入力\n //String n = \"123456789\";\n\t\tString buf = \"\";\n\n\t\t//配列に格納\n\t\tint x = 0;\n\t\tfor(int i= 0; i<n.length();i++){\n\t\t buf=n.substring(i,i+1);\n\t\t x += Integer.parseInt(buf);\n\t\t //System.out.println(x);\n\t\t}\n\n\t\t//answer\n\t\tif(x%9 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t}", "main", "{\n \n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\n\t\t// 文字列の入力\n\t\tString n = sc.next();\n \n /*--------------------------------*/\n //入力\n //String n = \"123456789\";\n\t\tString buf = \"\";\n\n\t\t//配列に格納\n\t\tint x = 0;\n\t\tfor(int i= 0; i<n.length();i++){\n\t\t buf=n.substring(i,i+1);\n\t\t x += Integer.parseInt(buf);\n\t\t //System.out.println(x);\n\t\t}\n\n\t\t//answer\n\t\tif(x%9 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String n = sc.next();", "n", "sc.next()", "sc.next", "sc", "String buf = \"\";", "buf", "\"\"", "int x = 0;", "x", "0", "for(int i= 0; i<n.length();i++){\n\t\t buf=n.substring(i,i+1);\n\t\t x += Integer.parseInt(buf);\n\t\t //System.out.println(x);\n\t\t}", "int i= 0;", "int i= 0;", "i", "0", "i<n.length()", "i", "n.length()", "n.length", "n", "i++", "i++", "i", "{\n\t\t buf=n.substring(i,i+1);\n\t\t x += Integer.parseInt(buf);\n\t\t //System.out.println(x);\n\t\t}", "{\n\t\t buf=n.substring(i,i+1);\n\t\t x += Integer.parseInt(buf);\n\t\t //System.out.println(x);\n\t\t}", "buf=n.substring(i,i+1)", "buf", "n.substring(i,i+1)", "n.substring", "n", "i", "i+1", "i", "1", "x += Integer.parseInt(buf)", "x", "Integer.parseInt(buf)", "Integer.parseInt", "Integer", "buf", "if(x%9 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t}", "x%9 == 0", "x%9", "x", "9", "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\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 \n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\n\t\t// 文字列の入力\n\t\tString n = sc.next();\n \n /*--------------------------------*/\n //入力\n //String n = \"123456789\";\n\t\tString buf = \"\";\n\n\t\t//配列に格納\n\t\tint x = 0;\n\t\tfor(int i= 0; i<n.length();i++){\n\t\t buf=n.substring(i,i+1);\n\t\t x += Integer.parseInt(buf);\n\t\t //System.out.println(x);\n\t\t}\n\n\t\t//answer\n\t\tif(x%9 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n \n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\n\t\t// 文字列の入力\n\t\tString n = sc.next();\n \n /*--------------------------------*/\n //入力\n //String n = \"123456789\";\n\t\tString buf = \"\";\n\n\t\t//配列に格納\n\t\tint x = 0;\n\t\tfor(int i= 0; i<n.length();i++){\n\t\t buf=n.substring(i,i+1);\n\t\t x += Integer.parseInt(buf);\n\t\t //System.out.println(x);\n\t\t}\n\n\t\t//answer\n\t\tif(x%9 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 // 文字列の入力 String n = sc.next(); /*--------------------------------*/ //入力 //String n = "123456789"; String buf = ""; //配列に格納 int x = 0; for(int i= 0; i<n.length();i++){ buf=n.substring(i,i+1); x += Integer.parseInt(buf); //System.out.println(x); } //answer if(x%9 == 0){ 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, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 41, 13, 4, 18, 13, 20, 14, 2, 4, 18, 13, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13, 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 ], [ 158, 23 ], [ 158, 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 ], [ 26, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 26, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 49, 51 ], [ 45, 52 ], [ 44, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 44, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 24, 67 ], [ 67, 68 ], [ 158, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 69, 73 ], [ 73, 74 ], [ 69, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 69, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 84, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 94, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 83, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 69, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 116, 117 ], [ 69, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 122, 125 ], [ 125, 126 ], [ 69, 127 ], [ 127, 128 ], [ 127, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 131, 134 ], [ 134, 135 ], [ 69, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 138, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 142, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 153, 154 ], [ 138, 155 ], [ 155, 156 ], [ 0, 157 ], [ 157, 158 ], [ 157, 159 ] ]
[ "\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigInteger;\nimport java.util.*;\nimport java.util.stream.Collectors;\nimport java.util.stream.Stream;\n\npublic class Main {\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n public static void main(String[] args) throws Exception {\n FastReader fr = new FastReader();\n String s = fr.next();\n BigInteger val = new BigInteger(s);\n BigInteger rem = val.mod(new BigInteger(\"3\"));\n if(rem.compareTo(BigInteger.ZERO)==0){\n System.out.println(\"Yes\");\n }\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", "import java.math.BigInteger;", "BigInteger", "java.math", "import java.util.*;", "util.*", "java", "import java.util.stream.Collectors;", "Collectors", "java.util.stream", "import java.util.stream.Stream;", "Stream", "java.util.stream", "public class Main {\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n public static void main(String[] args) throws Exception {\n FastReader fr = new FastReader();\n String s = fr.next();\n BigInteger val = new BigInteger(s);\n BigInteger rem = val.mod(new BigInteger(\"3\"));\n if(rem.compareTo(BigInteger.ZERO)==0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n FastReader fr = new FastReader();\n String s = fr.next();\n BigInteger val = new BigInteger(s);\n BigInteger rem = val.mod(new BigInteger(\"3\"));\n if(rem.compareTo(BigInteger.ZERO)==0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }", "main", "{\n FastReader fr = new FastReader();\n String s = fr.next();\n BigInteger val = new BigInteger(s);\n BigInteger rem = val.mod(new BigInteger(\"3\"));\n if(rem.compareTo(BigInteger.ZERO)==0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }", "FastReader fr = new FastReader();", "fr", "new FastReader()", "String s = fr.next();", "s", "fr.next()", "fr.next", "fr", "BigInteger val = new BigInteger(s);", "val", "new BigInteger(s)", "BigInteger rem = val.mod(new BigInteger(\"3\"));", "rem", "val.mod(new BigInteger(\"3\"))", "val.mod", "val", "new BigInteger(\"3\")", "if(rem.compareTo(BigInteger.ZERO)==0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }", "rem.compareTo(BigInteger.ZERO)==0", "rem.compareTo(BigInteger.ZERO)", "rem.compareTo", "rem", "BigInteger.ZERO", "BigInteger", "BigInteger.ZERO", "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", "static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }", "FastReader", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }", "FastReader", "{\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }", "br = new BufferedReader(new\n InputStreamReader(System.in))", "br", "new BufferedReader(new\n InputStreamReader(System.in))", "String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble() {\n return Double.parseDouble(next());\n }", "nextDouble", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }", "nextLine", "{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }", "String str = \"\";", "str", "\"\"", "try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n str = br.readLine();\n }", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str", "public class Main {\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n public static void main(String[] args) throws Exception {\n FastReader fr = new FastReader();\n String s = fr.next();\n BigInteger val = new BigInteger(s);\n BigInteger rem = val.mod(new BigInteger(\"3\"));\n if(rem.compareTo(BigInteger.ZERO)==0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }\n}", "public class Main {\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n public static void main(String[] args) throws Exception {\n FastReader fr = new FastReader();\n String s = fr.next();\n BigInteger val = new BigInteger(s);\n BigInteger rem = val.mod(new BigInteger(\"3\"));\n if(rem.compareTo(BigInteger.ZERO)==0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigInteger; import java.util.*; import java.util.stream.Collectors; import java.util.stream.Stream; public class Main { static class FastReader { BufferedReader br; StringTokenizer st; public FastReader() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while (st == null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } long nextLong() { return Long.parseLong(next()); } double nextDouble() { return Double.parseDouble(next()); } String nextLine() { String str = ""; try { str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } return str; } } public static void main(String[] args) throws Exception { FastReader fr = new FastReader(); String s = fr.next(); BigInteger val = new BigInteger(s); BigInteger rem = val.mod(new BigInteger("3")); if(rem.compareTo(BigInteger.ZERO)==0){ 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, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 13, 2, 13, 17, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 76, 11 ], [ 76, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 26, 36 ], [ 36, 37 ], [ 37, 38 ], [ 26, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 46, 50 ], [ 50, 51 ], [ 50, 52 ], [ 14, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 53, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 53, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 12, 73 ], [ 73, 74 ], [ 0, 75 ], [ 75, 76 ], [ 75, 77 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String args[]) throws IOException {\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n String s = bufferedReader.readLine();\n int numberDigitTotal = 0;\n\n for(int i = 0; i < s.length(); i++)\n {\n numberDigitTotal += Integer.parseInt(s.substring(i,i + 1));\n }\n\n if(numberDigitTotal % 9 != 0)\n {\n System.out.println(\"No\");\n }\n else\n {\n System.out.println(\"Yes\");\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\n public static void main(String args[]) throws IOException {\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n String s = bufferedReader.readLine();\n int numberDigitTotal = 0;\n\n for(int i = 0; i < s.length(); i++)\n {\n numberDigitTotal += Integer.parseInt(s.substring(i,i + 1));\n }\n\n if(numberDigitTotal % 9 != 0)\n {\n System.out.println(\"No\");\n }\n else\n {\n System.out.println(\"Yes\");\n }\n }\n}", "Main", "public static void main(String args[]) throws IOException {\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n String s = bufferedReader.readLine();\n int numberDigitTotal = 0;\n\n for(int i = 0; i < s.length(); i++)\n {\n numberDigitTotal += Integer.parseInt(s.substring(i,i + 1));\n }\n\n if(numberDigitTotal % 9 != 0)\n {\n System.out.println(\"No\");\n }\n else\n {\n System.out.println(\"Yes\");\n }\n }", "main", "{\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n String s = bufferedReader.readLine();\n int numberDigitTotal = 0;\n\n for(int i = 0; i < s.length(); i++)\n {\n numberDigitTotal += Integer.parseInt(s.substring(i,i + 1));\n }\n\n if(numberDigitTotal % 9 != 0)\n {\n System.out.println(\"No\");\n }\n else\n {\n System.out.println(\"Yes\");\n }\n }", "BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));", "bufferedReader", "new BufferedReader(new InputStreamReader(System.in))", "String s = bufferedReader.readLine();", "s", "bufferedReader.readLine()", "bufferedReader.readLine", "bufferedReader", "int numberDigitTotal = 0;", "numberDigitTotal", "0", "for(int i = 0; i < s.length(); i++)\n {\n numberDigitTotal += Integer.parseInt(s.substring(i,i + 1));\n }", "int i = 0;", "int i = 0;", "i", "0", "i < s.length()", "i", "s.length()", "s.length", "s", "i++", "i++", "i", "{\n numberDigitTotal += Integer.parseInt(s.substring(i,i + 1));\n }", "{\n numberDigitTotal += Integer.parseInt(s.substring(i,i + 1));\n }", "numberDigitTotal += Integer.parseInt(s.substring(i,i + 1))", "numberDigitTotal", "Integer.parseInt(s.substring(i,i + 1))", "Integer.parseInt", "Integer", "s.substring(i,i + 1)", "s.substring", "s", "i", "i + 1", "i", "1", "if(numberDigitTotal % 9 != 0)\n {\n System.out.println(\"No\");\n }\n else\n {\n System.out.println(\"Yes\");\n }", "numberDigitTotal % 9 != 0", "numberDigitTotal % 9", "numberDigitTotal", "9", "0", "{\n System.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "{\n System.out.println(\"Yes\");\n }", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "String args[]", "args", "public class Main {\n\n public static void main(String args[]) throws IOException {\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n String s = bufferedReader.readLine();\n int numberDigitTotal = 0;\n\n for(int i = 0; i < s.length(); i++)\n {\n numberDigitTotal += Integer.parseInt(s.substring(i,i + 1));\n }\n\n if(numberDigitTotal % 9 != 0)\n {\n System.out.println(\"No\");\n }\n else\n {\n System.out.println(\"Yes\");\n }\n }\n}", "public class Main {\n\n public static void main(String args[]) throws IOException {\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n String s = bufferedReader.readLine();\n int numberDigitTotal = 0;\n\n for(int i = 0; i < s.length(); i++)\n {\n numberDigitTotal += Integer.parseInt(s.substring(i,i + 1));\n }\n\n if(numberDigitTotal % 9 != 0)\n {\n System.out.println(\"No\");\n }\n else\n {\n System.out.println(\"Yes\");\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 bufferedReader = new BufferedReader(new InputStreamReader(System.in)); String s = bufferedReader.readLine(); int numberDigitTotal = 0; for(int i = 0; i < s.length(); i++) { numberDigitTotal += Integer.parseInt(s.substring(i,i + 1)); } if(numberDigitTotal % 9 != 0) { System.out.println("No"); } else { System.out.println("Yes"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 4, 18, 13, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 41, 13, 4, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 13, 2, 13, 17, 14, 2, 2, 13, 17, 17, 4, 18, 13, 17, 4, 18, 13, 17, 12, 13, 30, 41, 13, 4, 18, 13, 13, 13, 20, 29, 40, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 13, 13, 20, 29, 40, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 2, 2, 2, 13, 17, 13, 13, 29, 8, 2, 13, 17, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 0, 13, 13, 14, 2, 13, 17, 0, 13, 13, 14, 2, 13, 13, 0, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 0, 13, 4, 13, 13, 2, 13, 13, 14, 2, 13, 17, 0, 13, 13, 14, 2, 13, 13, 0, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 42, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 0, 13, 20, 0, 13, 20, 0, 13, 20, 41, 13, 20, 4, 18, 13, 4, 18, 13, 23, 13, 6, 13, 12, 13, 30, 29, 8, 2, 4, 18, 13, 13, 17, 17, 40, 17, 23, 13, 23, 13, 13, 6, 13, 12, 13, 30, 29, 8, 2, 4, 18, 13, 13, 17, 17, 40, 17, 23, 13, 23, 13, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 404, 20 ], [ 404, 21 ], [ 21, 22 ], [ 21, 23 ], [ 404, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 404, 30 ], [ 30, 31 ], [ 404, 32 ], [ 32, 33 ], [ 404, 34 ], [ 34, 35 ], [ 404, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 38, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 46, 56 ], [ 56, 57 ], [ 57, 58 ], [ 46, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 66, 70 ], [ 70, 71 ], [ 70, 72 ], [ 38, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 73, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 73, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 404, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 92, 96 ], [ 92, 97 ], [ 89, 98 ], [ 98, 99 ], [ 99, 100 ], [ 87, 101 ], [ 101, 102 ], [ 87, 103 ], [ 103, 104 ], [ 404, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 110, 114 ], [ 110, 115 ], [ 107, 116 ], [ 116, 117 ], [ 117, 118 ], [ 105, 119 ], [ 119, 120 ], [ 105, 121 ], [ 121, 122 ], [ 404, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 128, 134 ], [ 125, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 136, 140 ], [ 136, 141 ], [ 141, 142 ], [ 141, 143 ], [ 123, 144 ], [ 144, 145 ], [ 123, 146 ], [ 146, 147 ], [ 404, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 154, 158 ], [ 158, 159 ], [ 158, 160 ], [ 150, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 161, 165 ], [ 165, 166 ], [ 165, 167 ], [ 150, 168 ], [ 168, 169 ], [ 148, 170 ], [ 170, 171 ], [ 148, 172 ], [ 172, 173 ], [ 404, 174 ], [ 174, 175 ], [ 174, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 179, 180 ], [ 179, 181 ], [ 179, 182 ], [ 182, 183 ], [ 182, 184 ], [ 176, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 185, 189 ], [ 189, 190 ], [ 189, 191 ], [ 176, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 192, 196 ], [ 196, 197 ], [ 196, 198 ], [ 176, 199 ], [ 199, 200 ], [ 174, 201 ], [ 201, 202 ], [ 174, 203 ], [ 203, 204 ], [ 404, 205 ], [ 205, 206 ], [ 205, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 208, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 207, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 404, 221 ], [ 221, 222 ], [ 221, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 225, 228 ], [ 228, 229 ], [ 404, 230 ], [ 230, 231 ], [ 230, 232 ], [ 232, 233 ], [ 233, 234 ], [ 234, 235 ], [ 235, 236 ], [ 234, 237 ], [ 237, 238 ], [ 404, 239 ], [ 239, 240 ], [ 239, 241 ], [ 241, 242 ], [ 242, 243 ], [ 243, 244 ], [ 244, 245 ], [ 243, 246 ], [ 246, 247 ], [ 404, 248 ], [ 248, 249 ], [ 248, 250 ], [ 250, 251 ], [ 251, 252 ], [ 251, 253 ], [ 250, 255 ], [ 255, 256 ], [ 256, 257 ], [ 257, 258 ], [ 257, 259 ], [ 255, 260 ], [ 260, 261 ], [ 260, 262 ], [ 255, 263 ], [ 263, 264 ], [ 264, 265 ], [ 255, 266 ], [ 267, 267 ], [ 267, 268 ], [ 268, 269 ], [ 269, 270 ], [ 269, 271 ], [ 268, 272 ], [ 272, 273 ], [ 250, 274 ], [ 274, 275 ], [ 248, 276 ], [ 276, 277 ], [ 404, 278 ], [ 278, 279 ], [ 278, 280 ], [ 280, 281 ], [ 281, 282 ], [ 281, 283 ], [ 280, 285 ], [ 285, 286 ], [ 286, 287 ], [ 287, 288 ], [ 287, 289 ], [ 285, 290 ], [ 290, 291 ], [ 290, 292 ], [ 285, 293 ], [ 293, 294 ], [ 294, 295 ], [ 285, 296 ], [ 297, 297 ], [ 297, 298 ], [ 298, 299 ], [ 299, 300 ], [ 299, 301 ], [ 298, 302 ], [ 302, 303 ], [ 280, 304 ], [ 304, 305 ], [ 278, 306 ], [ 306, 307 ], [ 404, 308 ], [ 308, 309 ], [ 308, 310 ], [ 310, 311 ], [ 311, 312 ], [ 311, 313 ], [ 310, 315 ], [ 315, 316 ], [ 316, 317 ], [ 317, 318 ], [ 317, 319 ], [ 315, 320 ], [ 320, 321 ], [ 320, 322 ], [ 315, 323 ], [ 323, 324 ], [ 324, 325 ], [ 315, 326 ], [ 327, 327 ], [ 327, 328 ], [ 328, 329 ], [ 329, 330 ], [ 329, 331 ], [ 328, 332 ], [ 332, 333 ], [ 310, 334 ], [ 334, 335 ], [ 308, 336 ], [ 336, 337 ], [ 404, 338 ], [ 338, 339 ], [ 338, 340 ], [ 340, 341 ], [ 341, 342 ], [ 341, 343 ], [ 340, 344 ], [ 344, 345 ], [ 344, 346 ], [ 340, 347 ], [ 347, 348 ], [ 347, 349 ], [ 340, 350 ], [ 350, 351 ], [ 350, 352 ], [ 340, 353 ], [ 353, 354 ], [ 354, 355 ], [ 340, 356 ], [ 356, 357 ], [ 357, 358 ], [ 338, 359 ], [ 359, 360 ], [ 404, 361 ], [ 361, 362 ], [ 361, 363 ], [ 363, 364 ], [ 363, 365 ], [ 365, 366 ], [ 366, 367 ], [ 367, 368 ], [ 368, 369 ], [ 369, 370 ], [ 370, 371 ], [ 369, 372 ], [ 368, 373 ], [ 367, 374 ], [ 367, 375 ], [ 375, 376 ], [ 363, 377 ], [ 377, 378 ], [ 363, 379 ], [ 379, 380 ], [ 361, 381 ], [ 404, 382 ], [ 382, 383 ], [ 382, 384 ], [ 384, 385 ], [ 384, 386 ], [ 386, 387 ], [ 387, 388 ], [ 388, 389 ], [ 389, 390 ], [ 390, 391 ], [ 391, 392 ], [ 390, 393 ], [ 389, 394 ], [ 388, 395 ], [ 388, 396 ], [ 396, 397 ], [ 384, 398 ], [ 398, 399 ], [ 384, 400 ], [ 400, 401 ], [ 382, 402 ], [ 0, 403 ], [ 403, 404 ], [ 403, 405 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.math.BigInteger;\nimport java.util.*;\n \npublic class Main {\n \n void solve() throws IOException {\n String S = ns();\n long ans = 0;\n for (int i = 0; i < S.length(); i++) {\n ans += Integer.valueOf(S.substring(i,i+1));\n }\n if(ans%9==0) out.println(\"Yes\");\n else out.println(\"No\");\n }\n\n final int mod = 1000000007;\n final BigInteger MOD = BigInteger.valueOf(mod);\n int upperBound(ArrayList<Long> list, Long target){\n int i = Collections.binarySearch(list, target, new UpperBoundComparator<Long>());\n return ~i;\n }\n class UpperBoundComparator<T extends Comparable<? super T>> implements Comparator<T>{\n public int compare(T x, T y){\n return (x.compareTo(y) > 0) ? 1 : -1;\n }\n }\n int lowerBound(ArrayList<Long> list, Long target){\n int i = Collections.binarySearch(list, target, new LowerBoundComparator<Long>());\n return ~i;\n }\n class LowerBoundComparator<T extends Comparable<? super T>> implements Comparator<T>{\n public int compare(T x, T y){\n return (x.compareTo(y) >= 0) ? 1 : -1;\n }\n }\n int mul(int x, int y){\n int val = (int)((x * 1L * y) % mod);\n return val>=0 ? val : val+mod;\n }\n int add(int x, int y) {\n x += y;\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }\n int sub(int x, int y){\n x = add(x,mod-y);\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }\n String ns() throws IOException {\n while (!tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine(), \" \");\n }\n return tok.nextToken();\n }\n \n int ni() throws IOException {\n return Integer.parseInt(ns());\n }\n \n long nl() throws IOException {\n return Long.parseLong(ns());\n }\n \n double nd() throws IOException {\n return Double.parseDouble(ns());\n }\n \n String[] nsa(int n) throws IOException {\n String[] res = new String[n];\n for (int i = 0; i < n; i++) {\n res[i] = ns();\n }\n return res;\n }\n \n int[] nia(int n) throws IOException {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = ni();\n }\n return res;\n }\n \n long[] nla(int n) throws IOException {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nl();\n }\n return res;\n }\n \n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n \n public static void main(String[] args) throws IOException {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n tok = new StringTokenizer(\"\");\n Main main = new Main();\n main.solve();\n out.close();\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.math.BigInteger;", "BigInteger", "java.math", "import java.util.*;", "util.*", "java", "public class Main {\n \n void solve() throws IOException {\n String S = ns();\n long ans = 0;\n for (int i = 0; i < S.length(); i++) {\n ans += Integer.valueOf(S.substring(i,i+1));\n }\n if(ans%9==0) out.println(\"Yes\");\n else out.println(\"No\");\n }\n\n final int mod = 1000000007;\n final BigInteger MOD = BigInteger.valueOf(mod);\n int upperBound(ArrayList<Long> list, Long target){\n int i = Collections.binarySearch(list, target, new UpperBoundComparator<Long>());\n return ~i;\n }\n class UpperBoundComparator<T extends Comparable<? super T>> implements Comparator<T>{\n public int compare(T x, T y){\n return (x.compareTo(y) > 0) ? 1 : -1;\n }\n }\n int lowerBound(ArrayList<Long> list, Long target){\n int i = Collections.binarySearch(list, target, new LowerBoundComparator<Long>());\n return ~i;\n }\n class LowerBoundComparator<T extends Comparable<? super T>> implements Comparator<T>{\n public int compare(T x, T y){\n return (x.compareTo(y) >= 0) ? 1 : -1;\n }\n }\n int mul(int x, int y){\n int val = (int)((x * 1L * y) % mod);\n return val>=0 ? val : val+mod;\n }\n int add(int x, int y) {\n x += y;\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }\n int sub(int x, int y){\n x = add(x,mod-y);\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }\n String ns() throws IOException {\n while (!tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine(), \" \");\n }\n return tok.nextToken();\n }\n \n int ni() throws IOException {\n return Integer.parseInt(ns());\n }\n \n long nl() throws IOException {\n return Long.parseLong(ns());\n }\n \n double nd() throws IOException {\n return Double.parseDouble(ns());\n }\n \n String[] nsa(int n) throws IOException {\n String[] res = new String[n];\n for (int i = 0; i < n; i++) {\n res[i] = ns();\n }\n return res;\n }\n \n int[] nia(int n) throws IOException {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = ni();\n }\n return res;\n }\n \n long[] nla(int n) throws IOException {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nl();\n }\n return res;\n }\n \n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n \n public static void main(String[] args) throws IOException {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n tok = new StringTokenizer(\"\");\n Main main = new Main();\n main.solve();\n out.close();\n }\n}", "Main", "final int mod = 1000000007;", "mod", "1000000007", "final BigInteger MOD = BigInteger.valueOf(mod);", "MOD", "BigInteger.valueOf(mod)", "BigInteger.valueOf", "BigInteger", "mod", "static BufferedReader in;", "in", "static PrintWriter out;", "out", "static StringTokenizer tok;", "tok", "void solve() throws IOException {\n String S = ns();\n long ans = 0;\n for (int i = 0; i < S.length(); i++) {\n ans += Integer.valueOf(S.substring(i,i+1));\n }\n if(ans%9==0) out.println(\"Yes\");\n else out.println(\"No\");\n }", "solve", "{\n String S = ns();\n long ans = 0;\n for (int i = 0; i < S.length(); i++) {\n ans += Integer.valueOf(S.substring(i,i+1));\n }\n if(ans%9==0) out.println(\"Yes\");\n else out.println(\"No\");\n }", "String S = ns();", "S", "ns()", "ns", "long ans = 0;", "ans", "0", "for (int i = 0; i < S.length(); i++) {\n ans += Integer.valueOf(S.substring(i,i+1));\n }", "int i = 0;", "int i = 0;", "i", "0", "i < S.length()", "i", "S.length()", "S.length", "S", "i++", "i++", "i", "{\n ans += Integer.valueOf(S.substring(i,i+1));\n }", "{\n ans += Integer.valueOf(S.substring(i,i+1));\n }", "ans += Integer.valueOf(S.substring(i,i+1))", "ans", "Integer.valueOf(S.substring(i,i+1))", "Integer.valueOf", "Integer", "S.substring(i,i+1)", "S.substring", "S", "i", "i+1", "i", "1", "if(ans%9==0) out.println(\"Yes\");\n else out.println(\"No\");", "ans%9==0", "ans%9", "ans", "9", "0", "out.println(\"Yes\")", "out.println", "out", "\"Yes\"", "out.println(\"No\")", "out.println", "out", "\"No\"", "int upperBound(ArrayList<Long> list, Long target){\n int i = Collections.binarySearch(list, target, new UpperBoundComparator<Long>());\n return ~i;\n }", "upperBound", "{\n int i = Collections.binarySearch(list, target, new UpperBoundComparator<Long>());\n return ~i;\n }", "int i = Collections.binarySearch(list, target, new UpperBoundComparator<Long>());", "i", "Collections.binarySearch(list, target, new UpperBoundComparator<Long>())", "Collections.binarySearch", "Collections", "list", "target", "new UpperBoundComparator<Long>()", "return ~i;", "~i", "i", "ArrayList<Long> list", "list", "Long target", "target", "int lowerBound(ArrayList<Long> list, Long target){\n int i = Collections.binarySearch(list, target, new LowerBoundComparator<Long>());\n return ~i;\n }", "lowerBound", "{\n int i = Collections.binarySearch(list, target, new LowerBoundComparator<Long>());\n return ~i;\n }", "int i = Collections.binarySearch(list, target, new LowerBoundComparator<Long>());", "i", "Collections.binarySearch(list, target, new LowerBoundComparator<Long>())", "Collections.binarySearch", "Collections", "list", "target", "new LowerBoundComparator<Long>()", "return ~i;", "~i", "i", "ArrayList<Long> list", "list", "Long target", "target", "int mul(int x, int y){\n int val = (int)((x * 1L * y) % mod);\n return val>=0 ? val : val+mod;\n }", "mul", "{\n int val = (int)((x * 1L * y) % mod);\n return val>=0 ? val : val+mod;\n }", "int val = (int)((x * 1L * y) % mod);", "val", "(int)((x * 1L * y) % mod)", "(x * 1L * y)", "x * 1L * y", "x", "1L", "y", "mod", "return val>=0 ? val : val+mod;", "val>=0 ? val : val+mod", "val>=0", "val", "0", "val", "val+mod", "val", "mod", "int x", "x", "int y", "y", "int add(int x, int y) {\n x += y;\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }", "add", "{\n x += y;\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }", "x += y", "x", "y", "if(x < 0) x += mod;", "x < 0", "x", "0", "x += mod", "x", "mod", "if(x>=mod) x -= mod;", "x>=mod", "x", "mod", "x -= mod", "x", "mod", "return x;", "x", "int x", "x", "int y", "y", "int sub(int x, int y){\n x = add(x,mod-y);\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }", "sub", "{\n x = add(x,mod-y);\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }", "x = add(x,mod-y)", "x", "add(x,mod-y)", "add", "x", "mod-y", "mod", "y", "if(x < 0) x += mod;", "x < 0", "x", "0", "x += mod", "x", "mod", "if(x>=mod) x -= mod;", "x>=mod", "x", "mod", "x -= mod", "x", "mod", "return x;", "x", "int x", "x", "int y", "y", "String ns() throws IOException {\n while (!tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine(), \" \");\n }\n return tok.nextToken();\n }", "ns", "{\n while (!tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine(), \" \");\n }\n return tok.nextToken();\n }", "while (!tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine(), \" \");\n }", "!tok.hasMoreTokens()", "tok.hasMoreTokens()", "tok.hasMoreTokens", "tok", "{\n tok = new StringTokenizer(in.readLine(), \" \");\n }", "tok = new StringTokenizer(in.readLine(), \" \")", "tok", "new StringTokenizer(in.readLine(), \" \")", "return tok.nextToken();", "tok.nextToken()", "tok.nextToken", "tok", "int ni() throws IOException {\n return Integer.parseInt(ns());\n }", "ni", "{\n return Integer.parseInt(ns());\n }", "return Integer.parseInt(ns());", "Integer.parseInt(ns())", "Integer.parseInt", "Integer", "ns()", "ns", "long nl() throws IOException {\n return Long.parseLong(ns());\n }", "nl", "{\n return Long.parseLong(ns());\n }", "return Long.parseLong(ns());", "Long.parseLong(ns())", "Long.parseLong", "Long", "ns()", "ns", "double nd() throws IOException {\n return Double.parseDouble(ns());\n }", "nd", "{\n return Double.parseDouble(ns());\n }", "return Double.parseDouble(ns());", "Double.parseDouble(ns())", "Double.parseDouble", "Double", "ns()", "ns", "String[] nsa(int n) throws IOException {\n String[] res = new String[n];\n for (int i = 0; i < n; i++) {\n res[i] = ns();\n }\n return res;\n }", "nsa", "{\n String[] res = new String[n];\n for (int i = 0; i < n; i++) {\n res[i] = ns();\n }\n return res;\n }", "String[] res = new String[n];", "res", "new String[n]", "n", "for (int i = 0; i < n; i++) {\n res[i] = ns();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n res[i] = ns();\n }", "{\n res[i] = ns();\n }", "res[i] = ns()", "res[i]", "res", "i", "ns()", "ns", "return res;", "res", "int n", "n", "int[] nia(int n) throws IOException {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = ni();\n }\n return res;\n }", "nia", "{\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = ni();\n }\n return res;\n }", "int[] res = new int[n];", "res", "new int[n]", "n", "for (int i = 0; i < n; i++) {\n res[i] = ni();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n res[i] = ni();\n }", "{\n res[i] = ni();\n }", "res[i] = ni()", "res[i]", "res", "i", "ni()", "ni", "return res;", "res", "int n", "n", "long[] nla(int n) throws IOException {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nl();\n }\n return res;\n }", "nla", "{\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nl();\n }\n return res;\n }", "long[] res = new long[n];", "res", "new long[n]", "n", "for (int i = 0; i < n; i++) {\n res[i] = nl();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n res[i] = nl();\n }", "{\n res[i] = nl();\n }", "res[i] = nl()", "res[i]", "res", "i", "nl()", "nl", "return res;", "res", "int n", "n", "public static void main(String[] args) throws IOException {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n tok = new StringTokenizer(\"\");\n Main main = new Main();\n main.solve();\n out.close();\n }", "main", "{\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n tok = new StringTokenizer(\"\");\n Main main = new Main();\n main.solve();\n out.close();\n }", "in = new BufferedReader(new InputStreamReader(System.in))", "in", "new BufferedReader(new InputStreamReader(System.in))", "out = new PrintWriter(System.out)", "out", "new PrintWriter(System.out)", "tok = new StringTokenizer(\"\")", "tok", "new StringTokenizer(\"\")", "Main main = new Main();", "main", "new Main()", "main.solve()", "main.solve", "main", "out.close()", "out.close", "out", "String[] args", "args", "class UpperBoundComparator<T extends Comparable<? super T>> implements Comparator<T>{\n public int compare(T x, T y){\n return (x.compareTo(y) > 0) ? 1 : -1;\n }\n }", "UpperBoundComparator", "public int compare(T x, T y){\n return (x.compareTo(y) > 0) ? 1 : -1;\n }", "compare", "{\n return (x.compareTo(y) > 0) ? 1 : -1;\n }", "return (x.compareTo(y) > 0) ? 1 : -1;", "(x.compareTo(y) > 0) ? 1 : -1", "(x.compareTo(y) > 0)", "x.compareTo(y)", "x.compareTo", "x", "y", "0", "1", "-1", "1", "T x", "x", "T y", "y", "Comparator", "class LowerBoundComparator<T extends Comparable<? super T>> implements Comparator<T>{\n public int compare(T x, T y){\n return (x.compareTo(y) >= 0) ? 1 : -1;\n }\n }", "LowerBoundComparator", "public int compare(T x, T y){\n return (x.compareTo(y) >= 0) ? 1 : -1;\n }", "compare", "{\n return (x.compareTo(y) >= 0) ? 1 : -1;\n }", "return (x.compareTo(y) >= 0) ? 1 : -1;", "(x.compareTo(y) >= 0) ? 1 : -1", "(x.compareTo(y) >= 0)", "x.compareTo(y)", "x.compareTo", "x", "y", "0", "1", "-1", "1", "T x", "x", "T y", "y", "Comparator", "public class Main {\n \n void solve() throws IOException {\n String S = ns();\n long ans = 0;\n for (int i = 0; i < S.length(); i++) {\n ans += Integer.valueOf(S.substring(i,i+1));\n }\n if(ans%9==0) out.println(\"Yes\");\n else out.println(\"No\");\n }\n\n final int mod = 1000000007;\n final BigInteger MOD = BigInteger.valueOf(mod);\n int upperBound(ArrayList<Long> list, Long target){\n int i = Collections.binarySearch(list, target, new UpperBoundComparator<Long>());\n return ~i;\n }\n class UpperBoundComparator<T extends Comparable<? super T>> implements Comparator<T>{\n public int compare(T x, T y){\n return (x.compareTo(y) > 0) ? 1 : -1;\n }\n }\n int lowerBound(ArrayList<Long> list, Long target){\n int i = Collections.binarySearch(list, target, new LowerBoundComparator<Long>());\n return ~i;\n }\n class LowerBoundComparator<T extends Comparable<? super T>> implements Comparator<T>{\n public int compare(T x, T y){\n return (x.compareTo(y) >= 0) ? 1 : -1;\n }\n }\n int mul(int x, int y){\n int val = (int)((x * 1L * y) % mod);\n return val>=0 ? val : val+mod;\n }\n int add(int x, int y) {\n x += y;\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }\n int sub(int x, int y){\n x = add(x,mod-y);\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }\n String ns() throws IOException {\n while (!tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine(), \" \");\n }\n return tok.nextToken();\n }\n \n int ni() throws IOException {\n return Integer.parseInt(ns());\n }\n \n long nl() throws IOException {\n return Long.parseLong(ns());\n }\n \n double nd() throws IOException {\n return Double.parseDouble(ns());\n }\n \n String[] nsa(int n) throws IOException {\n String[] res = new String[n];\n for (int i = 0; i < n; i++) {\n res[i] = ns();\n }\n return res;\n }\n \n int[] nia(int n) throws IOException {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = ni();\n }\n return res;\n }\n \n long[] nla(int n) throws IOException {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nl();\n }\n return res;\n }\n \n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n \n public static void main(String[] args) throws IOException {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n tok = new StringTokenizer(\"\");\n Main main = new Main();\n main.solve();\n out.close();\n }\n}", "public class Main {\n \n void solve() throws IOException {\n String S = ns();\n long ans = 0;\n for (int i = 0; i < S.length(); i++) {\n ans += Integer.valueOf(S.substring(i,i+1));\n }\n if(ans%9==0) out.println(\"Yes\");\n else out.println(\"No\");\n }\n\n final int mod = 1000000007;\n final BigInteger MOD = BigInteger.valueOf(mod);\n int upperBound(ArrayList<Long> list, Long target){\n int i = Collections.binarySearch(list, target, new UpperBoundComparator<Long>());\n return ~i;\n }\n class UpperBoundComparator<T extends Comparable<? super T>> implements Comparator<T>{\n public int compare(T x, T y){\n return (x.compareTo(y) > 0) ? 1 : -1;\n }\n }\n int lowerBound(ArrayList<Long> list, Long target){\n int i = Collections.binarySearch(list, target, new LowerBoundComparator<Long>());\n return ~i;\n }\n class LowerBoundComparator<T extends Comparable<? super T>> implements Comparator<T>{\n public int compare(T x, T y){\n return (x.compareTo(y) >= 0) ? 1 : -1;\n }\n }\n int mul(int x, int y){\n int val = (int)((x * 1L * y) % mod);\n return val>=0 ? val : val+mod;\n }\n int add(int x, int y) {\n x += y;\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }\n int sub(int x, int y){\n x = add(x,mod-y);\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }\n String ns() throws IOException {\n while (!tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine(), \" \");\n }\n return tok.nextToken();\n }\n \n int ni() throws IOException {\n return Integer.parseInt(ns());\n }\n \n long nl() throws IOException {\n return Long.parseLong(ns());\n }\n \n double nd() throws IOException {\n return Double.parseDouble(ns());\n }\n \n String[] nsa(int n) throws IOException {\n String[] res = new String[n];\n for (int i = 0; i < n; i++) {\n res[i] = ns();\n }\n return res;\n }\n \n int[] nia(int n) throws IOException {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = ni();\n }\n return res;\n }\n \n long[] nla(int n) throws IOException {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nl();\n }\n return res;\n }\n \n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n \n public static void main(String[] args) throws IOException {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n tok = new StringTokenizer(\"\");\n Main main = new Main();\n main.solve();\n out.close();\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.math.BigInteger; import java.util.*; public class Main { void solve() throws IOException { String S = ns(); long ans = 0; for (int i = 0; i < S.length(); i++) { ans += Integer.valueOf(S.substring(i,i+1)); } if(ans%9==0) out.println("Yes"); else out.println("No"); } final int mod = 1000000007; final BigInteger MOD = BigInteger.valueOf(mod); int upperBound(ArrayList<Long> list, Long target){ int i = Collections.binarySearch(list, target, new UpperBoundComparator<Long>()); return ~i; } class UpperBoundComparator<T extends Comparable<? super T>> implements Comparator<T>{ public int compare(T x, T y){ return (x.compareTo(y) > 0) ? 1 : -1; } } int lowerBound(ArrayList<Long> list, Long target){ int i = Collections.binarySearch(list, target, new LowerBoundComparator<Long>()); return ~i; } class LowerBoundComparator<T extends Comparable<? super T>> implements Comparator<T>{ public int compare(T x, T y){ return (x.compareTo(y) >= 0) ? 1 : -1; } } int mul(int x, int y){ int val = (int)((x * 1L * y) % mod); return val>=0 ? val : val+mod; } int add(int x, int y) { x += y; if(x < 0) x += mod; if(x>=mod) x -= mod; return x; } int sub(int x, int y){ x = add(x,mod-y); if(x < 0) x += mod; if(x>=mod) x -= mod; return x; } String ns() throws IOException { while (!tok.hasMoreTokens()) { tok = new StringTokenizer(in.readLine(), " "); } return tok.nextToken(); } int ni() throws IOException { return Integer.parseInt(ns()); } long nl() throws IOException { return Long.parseLong(ns()); } double nd() throws IOException { return Double.parseDouble(ns()); } String[] nsa(int n) throws IOException { String[] res = new String[n]; for (int i = 0; i < n; i++) { res[i] = ns(); } return res; } int[] nia(int n) throws IOException { int[] res = new int[n]; for (int i = 0; i < n; i++) { res[i] = ni(); } return res; } long[] nla(int n) throws IOException { long[] res = new long[n]; for (int i = 0; i < n; i++) { res[i] = nl(); } return res; } static BufferedReader in; static PrintWriter out; static StringTokenizer tok; public static void main(String[] args) throws IOException { in = new BufferedReader(new InputStreamReader(System.in)); out = new PrintWriter(System.out); tok = new StringTokenizer(""); Main main = new Main(); main.solve(); out.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 13, 2, 13, 17, 14, 2, 2, 13, 17, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 20, 30 ], [ 30, 31 ], [ 31, 32 ], [ 20, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 40, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 47, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 6, 65 ], [ 65, 66 ] ]
[ "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 int N = 0;\n\n for (int i = 0; i < s.length(); i++) { //1文字ずつ足していく\n N += Integer.parseInt(s.substring(i, i + 1));\n }\n \n if (N % 9 == 0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\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 int N = 0;\n\n for (int i = 0; i < s.length(); i++) { //1文字ずつ足していく\n N += Integer.parseInt(s.substring(i, i + 1));\n }\n \n if (N % 9 == 0)\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 String s = sc.next();\n int N = 0;\n\n for (int i = 0; i < s.length(); i++) { //1文字ずつ足していく\n N += Integer.parseInt(s.substring(i, i + 1));\n }\n \n if (N % 9 == 0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n int N = 0;\n\n for (int i = 0; i < s.length(); i++) { //1文字ずつ足していく\n N += Integer.parseInt(s.substring(i, i + 1));\n }\n \n if (N % 9 == 0)\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", "int N = 0;", "N", "0", "for (int i = 0; i < s.length(); i++) { //1文字ずつ足していく\n N += Integer.parseInt(s.substring(i, i + 1));\n }", "int i = 0;", "int i = 0;", "i", "0", "i < s.length()", "i", "s.length()", "s.length", "s", "i++", "i++", "i", "{ //1文字ずつ足していく\n N += Integer.parseInt(s.substring(i, i + 1));\n }", "{ //1文字ずつ足していく\n N += Integer.parseInt(s.substring(i, i + 1));\n }", "N += Integer.parseInt(s.substring(i, i + 1))", "N", "Integer.parseInt(s.substring(i, i + 1))", "Integer.parseInt", "Integer", "s.substring(i, i + 1)", "s.substring", "s", "i", "i + 1", "i", "1", "if (N % 9 == 0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");", "N % 9 == 0", "N % 9", "N", "9", "0", "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.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); int N = 0; for (int i = 0; i < s.length(); i++) { //1文字ずつ足していく N += Integer.parseInt(s.substring(i, i + 1)); } if (N % 9 == 0) System.out.println("Yes"); else System.out.println("No"); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 41, 13, 17, 28, 13, 13, 30, 30, 0, 13, 2, 13, 17, 4, 18, 13, 8, 2, 2, 13, 17, 17, 17, 17, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 13, 41, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 13, 4, 18, 13, 13, 23, 13, 12, 13, 30, 41, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 13, 41, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 13, 4, 18, 13, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 278, 11 ], [ 278, 12 ], [ 12, 13 ], [ 12, 14 ], [ 278, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 17, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 17, 31 ], [ 31, 32 ], [ 31, 33 ], [ 17, 34 ], [ 34, 35 ], [ 34, 36 ], [ 34, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 17, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 47, 53 ], [ 47, 54 ], [ 17, 55 ], [ 55, 56 ], [ 56, 57 ], [ 15, 58 ], [ 58, 59 ], [ 278, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 62, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 68, 76 ], [ 76, 77 ], [ 77, 78 ], [ 68, 79 ], [ 80, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 80, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 89, 91 ], [ 80, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 96, 97 ], [ 96, 98 ], [ 80, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 62, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 60, 108 ], [ 108, 109 ], [ 278, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 115, 117 ], [ 112, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 123, 124 ], [ 123, 125 ], [ 118, 126 ], [ 126, 127 ], [ 127, 128 ], [ 118, 129 ], [ 130, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 134, 135 ], [ 133, 136 ], [ 130, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 139, 141 ], [ 130, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 146, 147 ], [ 146, 148 ], [ 130, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 149, 153 ], [ 112, 154 ], [ 154, 155 ], [ 155, 156 ], [ 154, 157 ], [ 110, 158 ], [ 158, 159 ], [ 278, 160 ], [ 160, 161 ], [ 160, 162 ], [ 162, 163 ], [ 160, 164 ], [ 164, 165 ], [ 160, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 160, 172 ], [ 172, 173 ], [ 172, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 176, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 175, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 185, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 174, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 160, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 204, 207 ], [ 207, 208 ], [ 160, 209 ], [ 209, 210 ], [ 209, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 213, 216 ], [ 216, 217 ], [ 160, 218 ], [ 218, 219 ], [ 218, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 222, 225 ], [ 225, 226 ], [ 160, 227 ], [ 227, 228 ], [ 227, 229 ], [ 229, 230 ], [ 230, 231 ], [ 230, 232 ], [ 229, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 236, 237 ], [ 237, 238 ], [ 238, 239 ], [ 233, 240 ], [ 240, 241 ], [ 241, 242 ], [ 241, 243 ], [ 243, 244 ], [ 244, 245 ], [ 229, 246 ], [ 246, 247 ], [ 160, 248 ], [ 248, 249 ], [ 248, 250 ], [ 250, 251 ], [ 251, 252 ], [ 251, 253 ], [ 250, 255 ], [ 255, 256 ], [ 256, 257 ], [ 257, 258 ], [ 257, 259 ], [ 255, 260 ], [ 260, 261 ], [ 260, 262 ], [ 255, 263 ], [ 263, 264 ], [ 264, 265 ], [ 255, 266 ], [ 266, 267 ], [ 267, 268 ], [ 268, 269 ], [ 268, 270 ], [ 267, 271 ], [ 271, 272 ], [ 250, 273 ], [ 273, 274 ], [ 248, 275 ], [ 275, 276 ], [ 0, 277 ], [ 277, 278 ], [ 277, 279 ] ]
[ "import java.io.*;\nimport java.util.*;\nimport java.lang.*;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\tFastReader in = new FastReader();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tchar[] num = in.next().toCharArray();\n\t\tlong ans = 0;\n\t\tfor(char x:num) {\n\t\t\tans+= x-'0'; \n\t\t}\n\t\tout.println(ans%9==0?\"Yes\":\"No\");\n\t\tout.close();\n\t}\n\n\tstatic final Random random=new Random();\n\t//\tstatic void ruffleSort(Pair[] a) {\n\t//\t\tint n=a.length;//shuffle, then sort \n\t//\t\tfor (int i=0; i<n; i++) {\n\t//\t\t\tint oi=random.nextInt(n);\n\t//\t\t\tPair temp=a[oi];\n\t//\t\t\ta[oi]=a[i]; a[i]=temp;\n\t//\t\t}\n\t//\t\tArrays.sort(a);\n\t//\t}\n\tstatic void ruffleSort(int[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\tstatic void ruffleSort(char[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n);\n\t\t\tchar temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\tstatic class FastReader \n\t{ \n\t\tBufferedReader br; \n\t\tStringTokenizer st; \n\n\t\tpublic FastReader() \n\t\t{ \n\t\t\tbr = new BufferedReader(new\n\t\t\t\t\tInputStreamReader(System.in)); \n\t\t} \n\n\t\tString next() \n\t\t{ \n\t\t\twhile (st == null || !st.hasMoreElements()) \n\t\t\t{ \n\t\t\t\ttry\n\t\t\t\t{ \n\t\t\t\t\tst = new StringTokenizer(br.readLine()); \n\t\t\t\t} \n\t\t\t\tcatch (IOException e) \n\t\t\t\t{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t} \n\t\t\t} \n\t\t\treturn st.nextToken(); \n\t\t} \n\n\t\tint nextInt() \n\t\t{ \n\t\t\treturn Integer.parseInt(next()); \n\t\t} \n\n\t\tlong nextLong() \n\t\t{ \n\t\t\treturn Long.parseLong(next()); \n\t\t} \n\n\t\tdouble nextDouble() \n\t\t{ \n\t\t\treturn Double.parseDouble(next()); \n\t\t} \n\n\t\tString nextLine() \n\t\t{ \n\t\t\tString str = \"\"; \n\t\t\ttry\n\t\t\t{ \n\t\t\t\tstr = br.readLine(); \n\t\t\t} \n\t\t\tcatch (IOException e) \n\t\t\t{ \n\t\t\t\te.printStackTrace(); \n\t\t\t} \n\t\t\treturn str; \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++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t}\n}\n\n//class Pair implements Comparable<Pair>{\n// int a;\n// int b;\n// public Pair(int a, int b) {\n// this.a = a;\n// this.b = b;\n// }\n// public int compareTo(Pair o) {\n// if(this.a==o.a)\n// return this.b - o.b;\n// return this.a - o.a;\n// } \n//}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "import java.lang.*;", "lang.*", "java", "public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tFastReader in = new FastReader();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tchar[] num = in.next().toCharArray();\n\t\tlong ans = 0;\n\t\tfor(char x:num) {\n\t\t\tans+= x-'0'; \n\t\t}\n\t\tout.println(ans%9==0?\"Yes\":\"No\");\n\t\tout.close();\n\t}\n\n\tstatic final Random random=new Random();\n\t//\tstatic void ruffleSort(Pair[] a) {\n\t//\t\tint n=a.length;//shuffle, then sort \n\t//\t\tfor (int i=0; i<n; i++) {\n\t//\t\t\tint oi=random.nextInt(n);\n\t//\t\t\tPair temp=a[oi];\n\t//\t\t\ta[oi]=a[i]; a[i]=temp;\n\t//\t\t}\n\t//\t\tArrays.sort(a);\n\t//\t}\n\tstatic void ruffleSort(int[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\tstatic void ruffleSort(char[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n);\n\t\t\tchar temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\tstatic class FastReader \n\t{ \n\t\tBufferedReader br; \n\t\tStringTokenizer st; \n\n\t\tpublic FastReader() \n\t\t{ \n\t\t\tbr = new BufferedReader(new\n\t\t\t\t\tInputStreamReader(System.in)); \n\t\t} \n\n\t\tString next() \n\t\t{ \n\t\t\twhile (st == null || !st.hasMoreElements()) \n\t\t\t{ \n\t\t\t\ttry\n\t\t\t\t{ \n\t\t\t\t\tst = new StringTokenizer(br.readLine()); \n\t\t\t\t} \n\t\t\t\tcatch (IOException e) \n\t\t\t\t{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t} \n\t\t\t} \n\t\t\treturn st.nextToken(); \n\t\t} \n\n\t\tint nextInt() \n\t\t{ \n\t\t\treturn Integer.parseInt(next()); \n\t\t} \n\n\t\tlong nextLong() \n\t\t{ \n\t\t\treturn Long.parseLong(next()); \n\t\t} \n\n\t\tdouble nextDouble() \n\t\t{ \n\t\t\treturn Double.parseDouble(next()); \n\t\t} \n\n\t\tString nextLine() \n\t\t{ \n\t\t\tString str = \"\"; \n\t\t\ttry\n\t\t\t{ \n\t\t\t\tstr = br.readLine(); \n\t\t\t} \n\t\t\tcatch (IOException e) \n\t\t\t{ \n\t\t\t\te.printStackTrace(); \n\t\t\t} \n\t\t\treturn str; \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++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t}\n}", "Main", "static final Random random=new Random();", "random", "new Random()", "public static void main(String[] args) {\n\t\tFastReader in = new FastReader();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tchar[] num = in.next().toCharArray();\n\t\tlong ans = 0;\n\t\tfor(char x:num) {\n\t\t\tans+= x-'0'; \n\t\t}\n\t\tout.println(ans%9==0?\"Yes\":\"No\");\n\t\tout.close();\n\t}", "main", "{\n\t\tFastReader in = new FastReader();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tchar[] num = in.next().toCharArray();\n\t\tlong ans = 0;\n\t\tfor(char x:num) {\n\t\t\tans+= x-'0'; \n\t\t}\n\t\tout.println(ans%9==0?\"Yes\":\"No\");\n\t\tout.close();\n\t}", "FastReader in = new FastReader();", "in", "new FastReader()", "PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "char[] num = in.next().toCharArray();", "num", "in.next().toCharArray()", "in.next().toCharArray", "in.next()", "in.next", "in", "long ans = 0;", "ans", "0", "for(char x:num) {\n\t\t\tans+= x-'0'; \n\t\t}", "char x", "num", "{\n\t\t\tans+= x-'0'; \n\t\t}", "{\n\t\t\tans+= x-'0'; \n\t\t}", "ans+= x-'0'", "ans", "x-'0'", "x", "'0'", "out.println(ans%9==0?\"Yes\":\"No\")", "out.println", "out", "ans%9==0?\"Yes\":\"No\"", "ans%9==0", "ans%9", "ans", "9", "0", "\"Yes\"", "\"No\"", "out.close()", "out.close", "out", "String[] args", "args", "//\tstatic void ruffleSort(Pair[] a) {\n\t//\t\tint n=a.length;//shuffle, then sort \n\t//\t\tfor (int i=0; i<n; i++) {\n\t//\t\t\tint oi=random.nextInt(n);\n\t//\t\t\tPair temp=a[oi];\n\t//\t\t\ta[oi]=a[i]; a[i]=temp;\n\t//\t\t}\n\t//\t\tArrays.sort(a);\n\t//\t}\n\tstatic void ruffleSort(int[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}", "ruffleSort", "{\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}", "int n=a.length;", "n", "a.length", "a", "a.length", "for (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}", "{\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}", "int oi=random.nextInt(n)", "oi", "random.nextInt(n)", "random.nextInt", "random", "n", "temp=a[oi];", "temp", "a[oi]", "a", "oi", "a[oi]=a[i]", "a[oi]", "a", "oi", "a[i]", "a", "i", "a[i]=temp", "a[i]", "a", "i", "temp", "Arrays.sort(a)", "Arrays.sort", "Arrays", "a", "int[] a", "a", "static void ruffleSort(char[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n);\n\t\t\tchar temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}", "ruffleSort", "{\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n);\n\t\t\tchar temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}", "int n=a.length;", "n", "a.length", "a", "a.length", "for (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n);\n\t\t\tchar temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint oi=random.nextInt(n);\n\t\t\tchar temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}", "{\n\t\t\tint oi=random.nextInt(n);\n\t\t\tchar temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}", "int oi=random.nextInt(n);", "oi", "random.nextInt(n)", "random.nextInt", "random", "n", "char temp=a[oi];", "temp", "a[oi]", "a", "oi", "a[oi]=a[i]", "a[oi]", "a", "oi", "a[i]", "a", "i", "a[i]=temp", "a[i]", "a", "i", "temp", "Arrays.sort(a)", "Arrays.sort", "Arrays", "a", "char[] a", "a", "static class FastReader \n\t{ \n\t\tBufferedReader br; \n\t\tStringTokenizer st; \n\n\t\tpublic FastReader() \n\t\t{ \n\t\t\tbr = new BufferedReader(new\n\t\t\t\t\tInputStreamReader(System.in)); \n\t\t} \n\n\t\tString next() \n\t\t{ \n\t\t\twhile (st == null || !st.hasMoreElements()) \n\t\t\t{ \n\t\t\t\ttry\n\t\t\t\t{ \n\t\t\t\t\tst = new StringTokenizer(br.readLine()); \n\t\t\t\t} \n\t\t\t\tcatch (IOException e) \n\t\t\t\t{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t} \n\t\t\t} \n\t\t\treturn st.nextToken(); \n\t\t} \n\n\t\tint nextInt() \n\t\t{ \n\t\t\treturn Integer.parseInt(next()); \n\t\t} \n\n\t\tlong nextLong() \n\t\t{ \n\t\t\treturn Long.parseLong(next()); \n\t\t} \n\n\t\tdouble nextDouble() \n\t\t{ \n\t\t\treturn Double.parseDouble(next()); \n\t\t} \n\n\t\tString nextLine() \n\t\t{ \n\t\t\tString str = \"\"; \n\t\t\ttry\n\t\t\t{ \n\t\t\t\tstr = br.readLine(); \n\t\t\t} \n\t\t\tcatch (IOException e) \n\t\t\t{ \n\t\t\t\te.printStackTrace(); \n\t\t\t} \n\t\t\treturn str; \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++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t}", "FastReader", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastReader() \n\t\t{ \n\t\t\tbr = new BufferedReader(new\n\t\t\t\t\tInputStreamReader(System.in)); \n\t\t}", "FastReader", "{ \n\t\t\tbr = new BufferedReader(new\n\t\t\t\t\tInputStreamReader(System.in)); \n\t\t}", "br = new BufferedReader(new\n\t\t\t\t\tInputStreamReader(System.in))", "br", "new BufferedReader(new\n\t\t\t\t\tInputStreamReader(System.in))", "String next() \n\t\t{ \n\t\t\twhile (st == null || !st.hasMoreElements()) \n\t\t\t{ \n\t\t\t\ttry\n\t\t\t\t{ \n\t\t\t\t\tst = new StringTokenizer(br.readLine()); \n\t\t\t\t} \n\t\t\t\tcatch (IOException e) \n\t\t\t\t{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t} \n\t\t\t} \n\t\t\treturn st.nextToken(); \n\t\t}", "next", "{ \n\t\t\twhile (st == null || !st.hasMoreElements()) \n\t\t\t{ \n\t\t\t\ttry\n\t\t\t\t{ \n\t\t\t\t\tst = new StringTokenizer(br.readLine()); \n\t\t\t\t} \n\t\t\t\tcatch (IOException e) \n\t\t\t\t{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t} \n\t\t\t} \n\t\t\treturn st.nextToken(); \n\t\t}", "while (st == null || !st.hasMoreElements()) \n\t\t\t{ \n\t\t\t\ttry\n\t\t\t\t{ \n\t\t\t\t\tst = new StringTokenizer(br.readLine()); \n\t\t\t\t} \n\t\t\t\tcatch (IOException e) \n\t\t\t\t{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t} \n\t\t\t}", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{ \n\t\t\t\ttry\n\t\t\t\t{ \n\t\t\t\t\tst = new StringTokenizer(br.readLine()); \n\t\t\t\t} \n\t\t\t\tcatch (IOException e) \n\t\t\t\t{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t} \n\t\t\t}", "try\n\t\t\t\t{ \n\t\t\t\t\tst = new StringTokenizer(br.readLine()); \n\t\t\t\t} \n\t\t\t\tcatch (IOException e) \n\t\t\t\t{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t}", "catch (IOException e) \n\t\t\t\t{ \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{ \n\t\t\treturn Integer.parseInt(next()); \n\t\t}", "nextInt", "{ \n\t\t\treturn Integer.parseInt(next()); \n\t\t}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() \n\t\t{ \n\t\t\treturn Long.parseLong(next()); \n\t\t}", "nextLong", "{ \n\t\t\treturn Long.parseLong(next()); \n\t\t}", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble() \n\t\t{ \n\t\t\treturn Double.parseDouble(next()); \n\t\t}", "nextDouble", "{ \n\t\t\treturn Double.parseDouble(next()); \n\t\t}", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "String nextLine() \n\t\t{ \n\t\t\tString str = \"\"; \n\t\t\ttry\n\t\t\t{ \n\t\t\t\tstr = br.readLine(); \n\t\t\t} \n\t\t\tcatch (IOException e) \n\t\t\t{ \n\t\t\t\te.printStackTrace(); \n\t\t\t} \n\t\t\treturn str; \n\t\t}", "nextLine", "{ \n\t\t\tString str = \"\"; \n\t\t\ttry\n\t\t\t{ \n\t\t\t\tstr = br.readLine(); \n\t\t\t} \n\t\t\tcatch (IOException e) \n\t\t\t{ \n\t\t\t\te.printStackTrace(); \n\t\t\t} \n\t\t\treturn str; \n\t\t}", "String str = \"\";", "str", "\"\"", "try\n\t\t\t{ \n\t\t\t\tstr = br.readLine(); \n\t\t\t} \n\t\t\tcatch (IOException e) \n\t\t\t{ \n\t\t\t\te.printStackTrace(); \n\t\t\t}", "catch (IOException e) \n\t\t\t{ \n\t\t\t\te.printStackTrace(); \n\t\t\t}", "IOException e", "{ \n\t\t\t\te.printStackTrace(); \n\t\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{ \n\t\t\t\tstr = br.readLine(); \n\t\t\t}", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str", "int[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}", "readArray", "{\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}", "int[] a=new int[n];", "a", "new int[n]", "n", "for (int i=0; i<n; i++) a[i]=nextInt();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "a[i]=nextInt();", "a[i]=nextInt()", "a[i]", "a", "i", "nextInt()", "nextInt", "return a;", "a", "int n", "n", "public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tFastReader in = new FastReader();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tchar[] num = in.next().toCharArray();\n\t\tlong ans = 0;\n\t\tfor(char x:num) {\n\t\t\tans+= x-'0'; \n\t\t}\n\t\tout.println(ans%9==0?\"Yes\":\"No\");\n\t\tout.close();\n\t}\n\n\tstatic final Random random=new Random();\n\t//\tstatic void ruffleSort(Pair[] a) {\n\t//\t\tint n=a.length;//shuffle, then sort \n\t//\t\tfor (int i=0; i<n; i++) {\n\t//\t\t\tint oi=random.nextInt(n);\n\t//\t\t\tPair temp=a[oi];\n\t//\t\t\ta[oi]=a[i]; a[i]=temp;\n\t//\t\t}\n\t//\t\tArrays.sort(a);\n\t//\t}\n\tstatic void ruffleSort(int[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\tstatic void ruffleSort(char[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n);\n\t\t\tchar temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\tstatic class FastReader \n\t{ \n\t\tBufferedReader br; \n\t\tStringTokenizer st; \n\n\t\tpublic FastReader() \n\t\t{ \n\t\t\tbr = new BufferedReader(new\n\t\t\t\t\tInputStreamReader(System.in)); \n\t\t} \n\n\t\tString next() \n\t\t{ \n\t\t\twhile (st == null || !st.hasMoreElements()) \n\t\t\t{ \n\t\t\t\ttry\n\t\t\t\t{ \n\t\t\t\t\tst = new StringTokenizer(br.readLine()); \n\t\t\t\t} \n\t\t\t\tcatch (IOException e) \n\t\t\t\t{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t} \n\t\t\t} \n\t\t\treturn st.nextToken(); \n\t\t} \n\n\t\tint nextInt() \n\t\t{ \n\t\t\treturn Integer.parseInt(next()); \n\t\t} \n\n\t\tlong nextLong() \n\t\t{ \n\t\t\treturn Long.parseLong(next()); \n\t\t} \n\n\t\tdouble nextDouble() \n\t\t{ \n\t\t\treturn Double.parseDouble(next()); \n\t\t} \n\n\t\tString nextLine() \n\t\t{ \n\t\t\tString str = \"\"; \n\t\t\ttry\n\t\t\t{ \n\t\t\t\tstr = br.readLine(); \n\t\t\t} \n\t\t\tcatch (IOException e) \n\t\t\t{ \n\t\t\t\te.printStackTrace(); \n\t\t\t} \n\t\t\treturn str; \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++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t}\n}", "public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tFastReader in = new FastReader();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tchar[] num = in.next().toCharArray();\n\t\tlong ans = 0;\n\t\tfor(char x:num) {\n\t\t\tans+= x-'0'; \n\t\t}\n\t\tout.println(ans%9==0?\"Yes\":\"No\");\n\t\tout.close();\n\t}\n\n\tstatic final Random random=new Random();\n\t//\tstatic void ruffleSort(Pair[] a) {\n\t//\t\tint n=a.length;//shuffle, then sort \n\t//\t\tfor (int i=0; i<n; i++) {\n\t//\t\t\tint oi=random.nextInt(n);\n\t//\t\t\tPair temp=a[oi];\n\t//\t\t\ta[oi]=a[i]; a[i]=temp;\n\t//\t\t}\n\t//\t\tArrays.sort(a);\n\t//\t}\n\tstatic void ruffleSort(int[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\tstatic void ruffleSort(char[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n);\n\t\t\tchar temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\tstatic class FastReader \n\t{ \n\t\tBufferedReader br; \n\t\tStringTokenizer st; \n\n\t\tpublic FastReader() \n\t\t{ \n\t\t\tbr = new BufferedReader(new\n\t\t\t\t\tInputStreamReader(System.in)); \n\t\t} \n\n\t\tString next() \n\t\t{ \n\t\t\twhile (st == null || !st.hasMoreElements()) \n\t\t\t{ \n\t\t\t\ttry\n\t\t\t\t{ \n\t\t\t\t\tst = new StringTokenizer(br.readLine()); \n\t\t\t\t} \n\t\t\t\tcatch (IOException e) \n\t\t\t\t{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t} \n\t\t\t} \n\t\t\treturn st.nextToken(); \n\t\t} \n\n\t\tint nextInt() \n\t\t{ \n\t\t\treturn Integer.parseInt(next()); \n\t\t} \n\n\t\tlong nextLong() \n\t\t{ \n\t\t\treturn Long.parseLong(next()); \n\t\t} \n\n\t\tdouble nextDouble() \n\t\t{ \n\t\t\treturn Double.parseDouble(next()); \n\t\t} \n\n\t\tString nextLine() \n\t\t{ \n\t\t\tString str = \"\"; \n\t\t\ttry\n\t\t\t{ \n\t\t\t\tstr = br.readLine(); \n\t\t\t} \n\t\t\tcatch (IOException e) \n\t\t\t{ \n\t\t\t\te.printStackTrace(); \n\t\t\t} \n\t\t\treturn str; \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++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t}\n}", "Main" ]
import java.io.*; import java.util.*; import java.lang.*; public class Main{ public static void main(String[] args) { FastReader in = new FastReader(); PrintWriter out = new PrintWriter(System.out); char[] num = in.next().toCharArray(); long ans = 0; for(char x:num) { ans+= x-'0'; } out.println(ans%9==0?"Yes":"No"); out.close(); } static final Random random=new Random(); // static void ruffleSort(Pair[] a) { // int n=a.length;//shuffle, then sort // for (int i=0; i<n; i++) { // int oi=random.nextInt(n); // Pair temp=a[oi]; // a[oi]=a[i]; a[i]=temp; // } // Arrays.sort(a); // } static void ruffleSort(int[] a) { int n=a.length;//shuffle, then sort for (int i=0; i<n; i++) { int oi=random.nextInt(n), temp=a[oi]; a[oi]=a[i]; a[i]=temp; } Arrays.sort(a); } static void ruffleSort(char[] a) { int n=a.length;//shuffle, then sort for (int i=0; i<n; i++) { int oi=random.nextInt(n); char temp=a[oi]; a[oi]=a[i]; a[i]=temp; } Arrays.sort(a); } 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; } int[] readArray(int n) { int[] a=new int[n]; for (int i=0; i<n; i++) a[i]=nextInt(); return a; } } } //class Pair implements Comparable<Pair>{ // int a; // int b; // public Pair(int a, int b) { // this.a = a; // this.b = b; // } // public int compareTo(Pair o) { // if(this.a==o.a) // return this.b - o.b; // return this.a - o.a; // } //}
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 28, 13, 4, 18, 13, 30, 30, 0, 13, 2, 13, 17, 4, 18, 18, 13, 13, 8, 2, 2, 13, 17, 17, 17, 17, 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 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 26, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 37, 43 ], [ 37, 44 ], [ 6, 45 ], [ 45, 46 ], [ 0, 47 ], [ 47, 48 ], [ 47, 49 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tint r = 0;\n\t\tfor (char c : s.toCharArray()) {\n\t\t\tr += c - '0';\n\t\t}\n\t\tSystem.out.println(r%9==0?\"Yes\":\"No\");\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tint r = 0;\n\t\tfor (char c : s.toCharArray()) {\n\t\t\tr += c - '0';\n\t\t}\n\t\tSystem.out.println(r%9==0?\"Yes\":\"No\");\n\t}\n}", "Main", "public static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tint r = 0;\n\t\tfor (char c : s.toCharArray()) {\n\t\t\tr += c - '0';\n\t\t}\n\t\tSystem.out.println(r%9==0?\"Yes\":\"No\");\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tint r = 0;\n\t\tfor (char c : s.toCharArray()) {\n\t\t\tr += c - '0';\n\t\t}\n\t\tSystem.out.println(r%9==0?\"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", "int r = 0;", "r", "0", "for (char c : s.toCharArray()) {\n\t\t\tr += c - '0';\n\t\t}", "char c", "s.toCharArray()", "s.toCharArray", "s", "{\n\t\t\tr += c - '0';\n\t\t}", "{\n\t\t\tr += c - '0';\n\t\t}", "r += c - '0'", "r", "c - '0'", "c", "'0'", "System.out.println(r%9==0?\"Yes\":\"No\")", "System.out.println", "System.out", "System", "System.out", "r%9==0?\"Yes\":\"No\"", "r%9==0", "r%9", "r", "9", "0", "\"Yes\"", "\"No\"", "final String[] args", "args", "public class Main {\n\n\tpublic static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tint r = 0;\n\t\tfor (char c : s.toCharArray()) {\n\t\t\tr += c - '0';\n\t\t}\n\t\tSystem.out.println(r%9==0?\"Yes\":\"No\");\n\t}\n}", "public class Main {\n\n\tpublic static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tint r = 0;\n\t\tfor (char c : s.toCharArray()) {\n\t\t\tr += c - '0';\n\t\t}\n\t\tSystem.out.println(r%9==0?\"Yes\":\"No\");\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(final String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); int r = 0; for (char c : s.toCharArray()) { r += c - '0'; } System.out.println(r%9==0?"Yes":"No"); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 12, 13, 30, 41, 13, 20, 0, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 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 ], [ 175, 8 ], [ 175, 9 ], [ 9, 10 ], [ 175, 11 ], [ 11, 12 ], [ 11, 13 ], [ 13, 14 ], [ 14, 15 ], [ 14, 16 ], [ 13, 17 ], [ 17, 18 ], [ 17, 19 ], [ 13, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 13, 25 ], [ 25, 26 ], [ 25, 27 ], [ 13, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 13, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 34, 44 ], [ 44, 45 ], [ 45, 46 ], [ 34, 47 ], [ 48, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 13, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 61, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 13, 81 ], [ 81, 82 ], [ 82, 83 ], [ 11, 84 ], [ 84, 85 ], [ 175, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 86, 90 ], [ 90, 91 ], [ 86, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 86, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 101, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 111, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 100, 122 ], [ 122, 123 ], [ 123, 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 ], [ 139, 140 ], [ 140, 141 ], [ 139, 142 ], [ 142, 143 ], [ 86, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 148, 151 ], [ 151, 152 ], [ 86, 153 ], [ 153, 154 ], [ 153, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 159, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 170, 171 ], [ 155, 172 ], [ 172, 173 ], [ 0, 174 ], [ 174, 175 ], [ 174, 176 ] ]
[ "import java.io.*;\nimport java.util.*;\n\n\npublic class Main{\n\t\n\tpublic static void main(String[] args){\n\t\n\tMyScanner sc = new MyScanner();\n\tout = new PrintWriter(new BufferedOutputStream(System.out));\n\t\n\t/**/\n\n\tString input = sc.next();\n\tint counter = 0;\n\t\t\n\t\tint temp = Integer.parseInt(\"5\");\n\t\t\n\tfor(int i = 0; i < input.length(); i++){\n\t\tcounter += Integer.parseInt(Character.toString(input.charAt(i)));\n\t}\n\t\n\tif(counter % 9 == 0){\n\t\tSystem.out.println(\"Yes\");\n\t}else{\n\t\tSystem.out.println(\"No\");\n\t}\n\t/**/\n\t \n\t out.close();\t\n\t}\n\t\n\t\n\t\n\tpublic static PrintWriter out;\n\t\n\tpublic static class MyScanner{\n\t\t\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\t\n\t\tpublic MyScanner(){\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\t\n\t\tString next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n\t try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t return str;\n }\n\n }\n\t\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main{\n\t\n\tpublic static void main(String[] args){\n\t\n\tMyScanner sc = new MyScanner();\n\tout = new PrintWriter(new BufferedOutputStream(System.out));\n\t\n\t/**/\n\n\tString input = sc.next();\n\tint counter = 0;\n\t\t\n\t\tint temp = Integer.parseInt(\"5\");\n\t\t\n\tfor(int i = 0; i < input.length(); i++){\n\t\tcounter += Integer.parseInt(Character.toString(input.charAt(i)));\n\t}\n\t\n\tif(counter % 9 == 0){\n\t\tSystem.out.println(\"Yes\");\n\t}else{\n\t\tSystem.out.println(\"No\");\n\t}\n\t/**/\n\t \n\t out.close();\t\n\t}\n\t\n\t\n\t\n\tpublic static PrintWriter out;\n\t\n\tpublic static class MyScanner{\n\t\t\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\t\n\t\tpublic MyScanner(){\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\t\n\t\tString next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n\t try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t return str;\n }\n\n }\n\t\n}", "Main", "public static PrintWriter out;", "out", "public static void main(String[] args){\n\t\n\tMyScanner sc = new MyScanner();\n\tout = new PrintWriter(new BufferedOutputStream(System.out));\n\t\n\t/**/\n\n\tString input = sc.next();\n\tint counter = 0;\n\t\t\n\t\tint temp = Integer.parseInt(\"5\");\n\t\t\n\tfor(int i = 0; i < input.length(); i++){\n\t\tcounter += Integer.parseInt(Character.toString(input.charAt(i)));\n\t}\n\t\n\tif(counter % 9 == 0){\n\t\tSystem.out.println(\"Yes\");\n\t}else{\n\t\tSystem.out.println(\"No\");\n\t}\n\t/**/\n\t \n\t out.close();\t\n\t}", "main", "{\n\t\n\tMyScanner sc = new MyScanner();\n\tout = new PrintWriter(new BufferedOutputStream(System.out));\n\t\n\t/**/\n\n\tString input = sc.next();\n\tint counter = 0;\n\t\t\n\t\tint temp = Integer.parseInt(\"5\");\n\t\t\n\tfor(int i = 0; i < input.length(); i++){\n\t\tcounter += Integer.parseInt(Character.toString(input.charAt(i)));\n\t}\n\t\n\tif(counter % 9 == 0){\n\t\tSystem.out.println(\"Yes\");\n\t}else{\n\t\tSystem.out.println(\"No\");\n\t}\n\t/**/\n\t \n\t out.close();\t\n\t}", "MyScanner sc = new MyScanner();", "sc", "new MyScanner()", "out = new PrintWriter(new BufferedOutputStream(System.out))", "out", "new PrintWriter(new BufferedOutputStream(System.out))", "String input = sc.next();", "input", "sc.next()", "sc.next", "sc", "int counter = 0;", "counter", "0", "int temp = Integer.parseInt(\"5\");", "temp", "Integer.parseInt(\"5\")", "Integer.parseInt", "Integer", "\"5\"", "for(int i = 0; i < input.length(); i++){\n\t\tcounter += Integer.parseInt(Character.toString(input.charAt(i)));\n\t}", "int i = 0;", "int i = 0;", "i", "0", "i < input.length()", "i", "input.length()", "input.length", "input", "i++", "i++", "i", "{\n\t\tcounter += Integer.parseInt(Character.toString(input.charAt(i)));\n\t}", "{\n\t\tcounter += Integer.parseInt(Character.toString(input.charAt(i)));\n\t}", "counter += Integer.parseInt(Character.toString(input.charAt(i)))", "counter", "Integer.parseInt(Character.toString(input.charAt(i)))", "Integer.parseInt", "Integer", "Character.toString(input.charAt(i))", "Character.toString", "Character", "input.charAt(i)", "input.charAt", "input", "i", "if(counter % 9 == 0){\n\t\tSystem.out.println(\"Yes\");\n\t}else{\n\t\tSystem.out.println(\"No\");\n\t}", "counter % 9 == 0", "counter % 9", "counter", "9", "0", "{\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\"", "out.close()", "out.close", "out", "String[] args", "args", "public static class MyScanner{\n\t\t\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\t\n\t\tpublic MyScanner(){\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\t\n\t\tString next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n\t try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t return str;\n }\n\n }", "MyScanner", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public MyScanner(){\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}", "MyScanner", "{\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble() {\n return Double.parseDouble(next());\n }", "nextDouble", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "String nextLine(){\n String str = \"\";\n\t try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t return str;\n }", "nextLine", "{\n String str = \"\";\n\t try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t return str;\n }", "String str = \"\";", "str", "\"\"", "try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }", "catch (IOException e) {\n\t e.printStackTrace();\n\t }", "IOException e", "{\n\t e.printStackTrace();\n\t }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t str = br.readLine();\n\t }", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str", "public class Main{\n\t\n\tpublic static void main(String[] args){\n\t\n\tMyScanner sc = new MyScanner();\n\tout = new PrintWriter(new BufferedOutputStream(System.out));\n\t\n\t/**/\n\n\tString input = sc.next();\n\tint counter = 0;\n\t\t\n\t\tint temp = Integer.parseInt(\"5\");\n\t\t\n\tfor(int i = 0; i < input.length(); i++){\n\t\tcounter += Integer.parseInt(Character.toString(input.charAt(i)));\n\t}\n\t\n\tif(counter % 9 == 0){\n\t\tSystem.out.println(\"Yes\");\n\t}else{\n\t\tSystem.out.println(\"No\");\n\t}\n\t/**/\n\t \n\t out.close();\t\n\t}\n\t\n\t\n\t\n\tpublic static PrintWriter out;\n\t\n\tpublic static class MyScanner{\n\t\t\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\t\n\t\tpublic MyScanner(){\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\t\n\t\tString next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n\t try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t return str;\n }\n\n }\n\t\n}", "public class Main{\n\t\n\tpublic static void main(String[] args){\n\t\n\tMyScanner sc = new MyScanner();\n\tout = new PrintWriter(new BufferedOutputStream(System.out));\n\t\n\t/**/\n\n\tString input = sc.next();\n\tint counter = 0;\n\t\t\n\t\tint temp = Integer.parseInt(\"5\");\n\t\t\n\tfor(int i = 0; i < input.length(); i++){\n\t\tcounter += Integer.parseInt(Character.toString(input.charAt(i)));\n\t}\n\t\n\tif(counter % 9 == 0){\n\t\tSystem.out.println(\"Yes\");\n\t}else{\n\t\tSystem.out.println(\"No\");\n\t}\n\t/**/\n\t \n\t out.close();\t\n\t}\n\t\n\t\n\t\n\tpublic static PrintWriter out;\n\t\n\tpublic static class MyScanner{\n\t\t\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\t\n\t\tpublic MyScanner(){\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\t\n\t\tString next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n\t try {\n\t str = br.readLine();\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t return str;\n }\n\n }\n\t\n}", "Main" ]
import java.io.*; import java.util.*; public class Main{ public static void main(String[] args){ MyScanner sc = new MyScanner(); out = new PrintWriter(new BufferedOutputStream(System.out)); /**/ String input = sc.next(); int counter = 0; int temp = Integer.parseInt("5"); for(int i = 0; i < input.length(); i++){ counter += Integer.parseInt(Character.toString(input.charAt(i))); } if(counter % 9 == 0){ System.out.println("Yes"); }else{ System.out.println("No"); } /**/ out.close(); } public static PrintWriter out; 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, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 41, 13, 2, 4, 18, 13, 13, 17, 0, 13, 13, 14, 2, 2, 13, 17, 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 ], [ 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 ], [ 8, 19 ], [ 19, 20 ], [ 19, 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 ], [ 41, 42 ], [ 40, 43 ], [ 39, 44 ], [ 36, 45 ], [ 45, 46 ], [ 45, 47 ], [ 8, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 48, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 48, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 6, 66 ], [ 66, 67 ], [ 0, 68 ], [ 68, 69 ], [ 68, 70 ] ]
[ "import java.util.*;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input=new Scanner(System.in);\n\t String s=input.next();\n\t long reminder,sum=0;\n\t\t\t\n\t for(int i=0;i<s.length();i++)\n\t\t\t{\n\t\t\t\tint x=s.charAt(i)-'0';\n\t\t\t\tsum+=x;\n\t\t }\n\t\t\tif(sum%9==0)\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"No\");\n }\n\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input=new Scanner(System.in);\n\t String s=input.next();\n\t long reminder,sum=0;\n\t\t\t\n\t for(int i=0;i<s.length();i++)\n\t\t\t{\n\t\t\t\tint x=s.charAt(i)-'0';\n\t\t\t\tsum+=x;\n\t\t }\n\t\t\tif(sum%9==0)\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"No\");\n }\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner input=new Scanner(System.in);\n\t String s=input.next();\n\t long reminder,sum=0;\n\t\t\t\n\t for(int i=0;i<s.length();i++)\n\t\t\t{\n\t\t\t\tint x=s.charAt(i)-'0';\n\t\t\t\tsum+=x;\n\t\t }\n\t\t\tif(sum%9==0)\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"No\");\n }", "main", "{\n\t\tScanner input=new Scanner(System.in);\n\t String s=input.next();\n\t long reminder,sum=0;\n\t\t\t\n\t for(int i=0;i<s.length();i++)\n\t\t\t{\n\t\t\t\tint x=s.charAt(i)-'0';\n\t\t\t\tsum+=x;\n\t\t }\n\t\t\tif(sum%9==0)\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"No\");\n }", "Scanner input=new Scanner(System.in);", "input", "new Scanner(System.in)", "String s=input.next();", "s", "input.next()", "input.next", "input", "long reminder", "reminder", "sum=0;", "sum", "0", "for(int i=0;i<s.length();i++)\n\t\t\t{\n\t\t\t\tint x=s.charAt(i)-'0';\n\t\t\t\tsum+=x;\n\t\t }", "int i=0;", "int i=0;", "i", "0", "i<s.length()", "i", "s.length()", "s.length", "s", "i++", "i++", "i", "{\n\t\t\t\tint x=s.charAt(i)-'0';\n\t\t\t\tsum+=x;\n\t\t }", "{\n\t\t\t\tint x=s.charAt(i)-'0';\n\t\t\t\tsum+=x;\n\t\t }", "int x=s.charAt(i)-'0';", "x", "s.charAt(i)-'0'", "s.charAt(i)", "s.charAt", "s", "i", "'0'", "sum+=x", "sum", "x", "if(sum%9==0)\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"No\");", "sum%9==0", "sum%9", "sum", "9", "0", "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 input=new Scanner(System.in);\n\t String s=input.next();\n\t long reminder,sum=0;\n\t\t\t\n\t for(int i=0;i<s.length();i++)\n\t\t\t{\n\t\t\t\tint x=s.charAt(i)-'0';\n\t\t\t\tsum+=x;\n\t\t }\n\t\t\tif(sum%9==0)\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"No\");\n }\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input=new Scanner(System.in);\n\t String s=input.next();\n\t long reminder,sum=0;\n\t\t\t\n\t for(int i=0;i<s.length();i++)\n\t\t\t{\n\t\t\t\tint x=s.charAt(i)-'0';\n\t\t\t\tsum+=x;\n\t\t }\n\t\t\tif(sum%9==0)\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"No\");\n }\n\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner input=new Scanner(System.in); String s=input.next(); long reminder,sum=0; for(int i=0;i<s.length();i++) { int x=s.charAt(i)-'0'; sum+=x; } if(sum%9==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, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 18, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 72, 5 ], [ 72, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 19, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 33, 35 ], [ 26, 36 ], [ 36, 37 ], [ 37, 38 ], [ 26, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 8, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 49, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 49, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 6, 69 ], [ 69, 70 ], [ 0, 71 ], [ 71, 72 ], [ 71, 73 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString N_str = sc.next();\n\t\tString[] N_list = N_str.split(\"\");\n\t\tint check = 0;\n\t\tfor (int i = 0; i < N_list.length; i++) {\n\t\t\tcheck += Integer.parseInt(N_list[i]);\n\t\t}\n\t\tif(check%9==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 N_str = sc.next();\n\t\tString[] N_list = N_str.split(\"\");\n\t\tint check = 0;\n\t\tfor (int i = 0; i < N_list.length; i++) {\n\t\t\tcheck += Integer.parseInt(N_list[i]);\n\t\t}\n\t\tif(check%9==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 N_str = sc.next();\n\t\tString[] N_list = N_str.split(\"\");\n\t\tint check = 0;\n\t\tfor (int i = 0; i < N_list.length; i++) {\n\t\t\tcheck += Integer.parseInt(N_list[i]);\n\t\t}\n\t\tif(check%9==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 N_str = sc.next();\n\t\tString[] N_list = N_str.split(\"\");\n\t\tint check = 0;\n\t\tfor (int i = 0; i < N_list.length; i++) {\n\t\t\tcheck += Integer.parseInt(N_list[i]);\n\t\t}\n\t\tif(check%9==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 N_str = sc.next();", "N_str", "sc.next()", "sc.next", "sc", "String[] N_list = N_str.split(\"\");", "N_list", "N_str.split(\"\")", "N_str.split", "N_str", "\"\"", "int check = 0;", "check", "0", "for (int i = 0; i < N_list.length; i++) {\n\t\t\tcheck += Integer.parseInt(N_list[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < N_list.length", "i", "N_list.length", "N_list", "N_list.length", "i++", "i++", "i", "{\n\t\t\tcheck += Integer.parseInt(N_list[i]);\n\t\t}", "{\n\t\t\tcheck += Integer.parseInt(N_list[i]);\n\t\t}", "check += Integer.parseInt(N_list[i])", "check", "Integer.parseInt(N_list[i])", "Integer.parseInt", "Integer", "N_list[i]", "N_list", "i", "if(check%9==0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "check%9==0", "check%9", "check", "9", "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 N_str = sc.next();\n\t\tString[] N_list = N_str.split(\"\");\n\t\tint check = 0;\n\t\tfor (int i = 0; i < N_list.length; i++) {\n\t\t\tcheck += Integer.parseInt(N_list[i]);\n\t\t}\n\t\tif(check%9==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 N_str = sc.next();\n\t\tString[] N_list = N_str.split(\"\");\n\t\tint check = 0;\n\t\tfor (int i = 0; i < N_list.length; i++) {\n\t\t\tcheck += Integer.parseInt(N_list[i]);\n\t\t}\n\t\tif(check%9==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 N_str = sc.next(); String[] N_list = N_str.split(""); int check = 0; for (int i = 0; i < N_list.length; i++) { check += Integer.parseInt(N_list[i]); } if(check%9==0) { 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, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 13, 14, 2, 2, 13, 17, 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 ], [ 71, 11 ], [ 71, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 26, 36 ], [ 36, 37 ], [ 37, 38 ], [ 26, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 14, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 50, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 50, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 12, 68 ], [ 68, 69 ], [ 0, 70 ], [ 70, 71 ], [ 70, 72 ] ]
[ "\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\npublic class Main\n{\n public static void main (String[] args)\n {\n // your code goes here\n Scanner s = new Scanner(System.in);\n String str = s.next();\n int sum = 0;\n for(int j=0; j<str.length(); j++)\n {\n sum+=Character.getNumericValue(str.charAt(j));\n }\n if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}", "import java.util.*;", "util.*", "java", "import java.lang.*;", "lang.*", "java", "import java.io.*;", "io.*", "java", "public class Main\n{\n public static void main (String[] args)\n {\n // your code goes here\n Scanner s = new Scanner(System.in);\n String str = s.next();\n int sum = 0;\n for(int j=0; j<str.length(); j++)\n {\n sum+=Character.getNumericValue(str.charAt(j));\n }\n if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}", "Main", "public static void main (String[] args)\n {\n // your code goes here\n Scanner s = new Scanner(System.in);\n String str = s.next();\n int sum = 0;\n for(int j=0; j<str.length(); j++)\n {\n sum+=Character.getNumericValue(str.charAt(j));\n }\n if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }", "main", "{\n // your code goes here\n Scanner s = new Scanner(System.in);\n String str = s.next();\n int sum = 0;\n for(int j=0; j<str.length(); j++)\n {\n sum+=Character.getNumericValue(str.charAt(j));\n }\n if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "String str = s.next();", "str", "s.next()", "s.next", "s", "int sum = 0;", "sum", "0", "for(int j=0; j<str.length(); j++)\n {\n sum+=Character.getNumericValue(str.charAt(j));\n }", "int j=0;", "int j=0;", "j", "0", "j<str.length()", "j", "str.length()", "str.length", "str", "j++", "j++", "j", "{\n sum+=Character.getNumericValue(str.charAt(j));\n }", "{\n sum+=Character.getNumericValue(str.charAt(j));\n }", "sum+=Character.getNumericValue(str.charAt(j))", "sum", "Character.getNumericValue(str.charAt(j))", "Character.getNumericValue", "Character", "str.charAt(j)", "str.charAt", "str", "j", "if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");", "sum%9==0", "sum%9", "sum", "9", "0", "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 public static void main (String[] args)\n {\n // your code goes here\n Scanner s = new Scanner(System.in);\n String str = s.next();\n int sum = 0;\n for(int j=0; j<str.length(); j++)\n {\n sum+=Character.getNumericValue(str.charAt(j));\n }\n if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}", "public class Main\n{\n public static void main (String[] args)\n {\n // your code goes here\n Scanner s = new Scanner(System.in);\n String str = s.next();\n int sum = 0;\n for(int j=0; j<str.length(); j++)\n {\n sum+=Character.getNumericValue(str.charAt(j));\n }\n if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}", "Main" ]
import java.util.*; import java.lang.*; import java.io.*; public class Main { public static void main (String[] args) { // your code goes here Scanner s = new Scanner(System.in); String str = s.next(); int sum = 0; for(int j=0; j<str.length(); j++) { sum+=Character.getNumericValue(str.charAt(j)); } if(sum%9==0) 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, 20, 41, 13, 4, 18, 13, 41, 13, 17, 28, 13, 4, 18, 13, 30, 0, 13, 4, 18, 13, 2, 13, 17, 4, 18, 13, 8, 2, 2, 13, 17, 17, 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 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 154, 17 ], [ 154, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 20, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 20, 32 ], [ 32, 33 ], [ 32, 34 ], [ 20, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 35, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 20, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 52, 58 ], [ 52, 59 ], [ 20, 60 ], [ 60, 61 ], [ 61, 62 ], [ 18, 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 ] ]
[ "\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n\tpublic static void main(String args[]) throws Exception {\n\n\t\tMyScanner sc = new MyScanner();\n\t\tPrintWriter pr = new PrintWriter(System.out);\n\t\t\n\t\tString s = sc.next();\n\t\tlong sum = 0;\n\t\t\n\t\tfor(char ch : s.toCharArray())\n\t\t\tsum += Integer.parseInt(ch + \"\");\n\t\t\n\t\tpr.print((sum % 9 == 0) ? \"Yes\" : \"No\");\n\t\tpr.close();\n\t}\n\n\tpublic static class MyScanner {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\n\t\tpublic MyScanner() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tString next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n\n\tpublic static void main(String args[]) throws Exception {\n\n\t\tMyScanner sc = new MyScanner();\n\t\tPrintWriter pr = new PrintWriter(System.out);\n\t\t\n\t\tString s = sc.next();\n\t\tlong sum = 0;\n\t\t\n\t\tfor(char ch : s.toCharArray())\n\t\t\tsum += Integer.parseInt(ch + \"\");\n\t\t\n\t\tpr.print((sum % 9 == 0) ? \"Yes\" : \"No\");\n\t\tpr.close();\n\t}\n\n\tpublic static class MyScanner {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\n\t\tpublic MyScanner() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tString next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\t}\n}", "Main", "public static void main(String args[]) throws Exception {\n\n\t\tMyScanner sc = new MyScanner();\n\t\tPrintWriter pr = new PrintWriter(System.out);\n\t\t\n\t\tString s = sc.next();\n\t\tlong sum = 0;\n\t\t\n\t\tfor(char ch : s.toCharArray())\n\t\t\tsum += Integer.parseInt(ch + \"\");\n\t\t\n\t\tpr.print((sum % 9 == 0) ? \"Yes\" : \"No\");\n\t\tpr.close();\n\t}", "main", "{\n\n\t\tMyScanner sc = new MyScanner();\n\t\tPrintWriter pr = new PrintWriter(System.out);\n\t\t\n\t\tString s = sc.next();\n\t\tlong sum = 0;\n\t\t\n\t\tfor(char ch : s.toCharArray())\n\t\t\tsum += Integer.parseInt(ch + \"\");\n\t\t\n\t\tpr.print((sum % 9 == 0) ? \"Yes\" : \"No\");\n\t\tpr.close();\n\t}", "MyScanner sc = new MyScanner();", "sc", "new MyScanner()", "PrintWriter pr = new PrintWriter(System.out);", "pr", "new PrintWriter(System.out)", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "long sum = 0;", "sum", "0", "for(char ch : s.toCharArray())\n\t\t\tsum += Integer.parseInt(ch + \"\");", "char ch", "s.toCharArray()", "s.toCharArray", "s", "sum += Integer.parseInt(ch + \"\");", "sum += Integer.parseInt(ch + \"\")", "sum", "Integer.parseInt(ch + \"\")", "Integer.parseInt", "Integer", "ch + \"\"", "ch", "\"\"", "pr.print((sum % 9 == 0) ? \"Yes\" : \"No\")", "pr.print", "pr", "(sum % 9 == 0) ? \"Yes\" : \"No\"", "(sum % 9 == 0)", "sum % 9", "sum", "9", "0", "\"Yes\"", "\"No\"", "pr.close()", "pr.close", "pr", "String args[]", "args", "public static class MyScanner {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\n\t\tpublic MyScanner() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tString next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\t}", "MyScanner", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public MyScanner() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}", "MyScanner", "{\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "String next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}", "next", "{\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}", "while (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}", "try {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "IOException e", "{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t}", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "nextInt", "{\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}", "nextLong", "{\n\t\t\treturn Long.parseLong(next());\n\t\t}", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}", "nextDouble", "{\n\t\t\treturn Double.parseDouble(next());\n\t\t}", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "String nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}", "nextLine", "{\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}", "String str = \"\";", "str", "\"\"", "try {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}", "catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}", "IOException e", "{\n\t\t\t\te.printStackTrace();\n\t\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\t\tstr = br.readLine();\n\t\t\t}", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str", "public class Main {\n\n\tpublic static void main(String args[]) throws Exception {\n\n\t\tMyScanner sc = new MyScanner();\n\t\tPrintWriter pr = new PrintWriter(System.out);\n\t\t\n\t\tString s = sc.next();\n\t\tlong sum = 0;\n\t\t\n\t\tfor(char ch : s.toCharArray())\n\t\t\tsum += Integer.parseInt(ch + \"\");\n\t\t\n\t\tpr.print((sum % 9 == 0) ? \"Yes\" : \"No\");\n\t\tpr.close();\n\t}\n\n\tpublic static class MyScanner {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\n\t\tpublic MyScanner() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tString next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String args[]) throws Exception {\n\n\t\tMyScanner sc = new MyScanner();\n\t\tPrintWriter pr = new PrintWriter(System.out);\n\t\t\n\t\tString s = sc.next();\n\t\tlong sum = 0;\n\t\t\n\t\tfor(char ch : s.toCharArray())\n\t\t\tsum += Integer.parseInt(ch + \"\");\n\t\t\n\t\tpr.print((sum % 9 == 0) ? \"Yes\" : \"No\");\n\t\tpr.close();\n\t}\n\n\tpublic static class MyScanner {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\n\t\tpublic MyScanner() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tString next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.StringTokenizer; public class Main { public static void main(String args[]) throws Exception { MyScanner sc = new MyScanner(); PrintWriter pr = new PrintWriter(System.out); String s = sc.next(); long sum = 0; for(char ch : s.toCharArray()) sum += Integer.parseInt(ch + ""); pr.print((sum % 9 == 0) ? "Yes" : "No"); pr.close(); } public static class MyScanner { BufferedReader br; StringTokenizer st; public MyScanner() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while (st == null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } long nextLong() { return Long.parseLong(next()); } double nextDouble() { return Double.parseDouble(next()); } String nextLine() { String str = ""; try { str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } return str; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 29, 8, 2, 13, 17, 4, 13, 13, 2, 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, 2, 4, 18, 13, 13, 4, 18, 13, 13, 23, 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, 0, 13, 2, 4, 18, 13, 13, 17, 14, 2, 2, 13, 17, 17, 30, 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 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 10, 14 ], [ 14, 15 ], [ 14, 16 ], [ 14, 17 ], [ 17, 18 ], [ 17, 19 ], [ 10, 20 ], [ 6, 21 ], [ 21, 22 ], [ 6, 23 ], [ 23, 24 ], [ 4, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 33, 34 ], [ 33, 35 ], [ 33, 36 ], [ 25, 37 ], [ 37, 38 ], [ 25, 39 ], [ 39, 40 ], [ 4, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 45, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 41, 54 ], [ 54, 55 ], [ 4, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 58, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 58, 72 ], [ 72, 73 ], [ 72, 74 ], [ 58, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 75, 85 ], [ 85, 86 ], [ 86, 87 ], [ 75, 88 ], [ 89, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 92, 97 ], [ 58, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 98, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 98, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 56, 117 ], [ 117, 118 ] ]
[ "import java.util.*;\nclass Main {\n \n\t//最大公約数・最小公倍数(セットで使う)\nstatic int gcd (int a, int b) {return b>0?gcd(b,a%b):a;}\nstatic int lcm (int a, int b) {return a*b/gcd(a,b);}\n //整数かどうかを判定する\n static boolean isInteger(double number){return Math.ceil(number) == Math.floor(number); }\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n \n\t\tString s = sc.next();\n\t\tchar[] c = s.toCharArray();\n\n\t\tLong ans = 0l;\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tans += s.charAt(i) - '0';\n\t\t}\n\t\t\n\t\tif(ans%9 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else System.out.println(\"No\");\n\t}\n}", "import java.util.*;", "util.*", "java", "class Main {\n \n\t//最大公約数・最小公倍数(セットで使う)\nstatic int gcd (int a, int b) {return b>0?gcd(b,a%b):a;}\nstatic int lcm (int a, int b) {return a*b/gcd(a,b);}\n //整数かどうかを判定する\n static boolean isInteger(double number){return Math.ceil(number) == Math.floor(number); }\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n \n\t\tString s = sc.next();\n\t\tchar[] c = s.toCharArray();\n\n\t\tLong ans = 0l;\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tans += s.charAt(i) - '0';\n\t\t}\n\t\t\n\t\tif(ans%9 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else System.out.println(\"No\");\n\t}\n}", "Main", "//最大公約数・最小公倍数(セットで使う)\nstatic int gcd (int a, int b) {return b>0?gcd(b,a%b):a;}", "gcd", "{return b>0?gcd(b,a%b):a;}", "return b>0?gcd(b,a%b):a;", "b>0?gcd(b,a%b):a", "b>0", "b", "0", "gcd(b,a%b)", "gcd", "b", "a%b", "a", "b", "a", "int a", "a", "int b", "b", "static int lcm (int a, int b) {return a*b/gcd(a,b);}", "lcm", "{return a*b/gcd(a,b);}", "return a*b/gcd(a,b);", "a*b/gcd(a,b)", "a*b", "a", "b", "gcd(a,b)", "gcd", "a", "b", "int a", "a", "int b", "b", "//整数かどうかを判定する\n static boolean isInteger(double number){return Math.ceil(number) == Math.floor(number); }", "isInteger", "{return Math.ceil(number) == Math.floor(number); }", "return Math.ceil(number) == Math.floor(number);", "Math.ceil(number) == Math.floor(number)", "Math.ceil(number)", "Math.ceil", "Math", "number", "Math.floor(number)", "Math.floor", "Math", "number", "double number", "number", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n \n\t\tString s = sc.next();\n\t\tchar[] c = s.toCharArray();\n\n\t\tLong ans = 0l;\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tans += s.charAt(i) - '0';\n\t\t}\n\t\t\n\t\tif(ans%9 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else System.out.println(\"No\");\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n \n\t\tString s = sc.next();\n\t\tchar[] c = s.toCharArray();\n\n\t\tLong ans = 0l;\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tans += s.charAt(i) - '0';\n\t\t}\n\t\t\n\t\tif(ans%9 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else System.out.println(\"No\");\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "char[] c = s.toCharArray();", "c", "s.toCharArray()", "s.toCharArray", "s", "Long ans = 0l;", "ans", "0l", "for(int i=0;i<s.length();i++){\n\t\t\tans += s.charAt(i) - '0';\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\tans += s.charAt(i) - '0';\n\t\t}", "{\n\t\t\tans += s.charAt(i) - '0';\n\t\t}", "ans += s.charAt(i) - '0'", "ans", "s.charAt(i) - '0'", "s.charAt(i)", "s.charAt", "s", "i", "'0'", "if(ans%9 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else System.out.println(\"No\");", "ans%9 == 0", "ans%9", "ans", "9", "0", "{\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" ]
import java.util.*; class Main { //最大公約数・最小公倍数(セットで使う) static int gcd (int a, int b) {return b>0?gcd(b,a%b):a;} static int lcm (int a, int b) {return a*b/gcd(a,b);} //整数かどうかを判定する static boolean isInteger(double number){return Math.ceil(number) == Math.floor(number); } public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); char[] c = s.toCharArray(); Long ans = 0l; for(int i=0;i<s.length();i++){ ans += s.charAt(i) - '0'; } if(ans%9 == 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, 17, 41, 13, 4, 18, 13, 28, 13, 13, 30, 30, 0, 13, 4, 18, 13, 13, 41, 13, 17, 14, 2, 2, 13, 17, 17, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 57, 5 ], [ 57, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 25, 28 ], [ 29, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 39, 45 ], [ 45, 46 ], [ 45, 47 ], [ 8, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 6, 54 ], [ 54, 55 ], [ 0, 56 ], [ 56, 57 ], [ 56, 58 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n String N = sc.next();\n int sum = 0;\n char[] C = N.toCharArray();\n for(char c : C) {\n sum += Character.getNumericValue(c);\n }\n String ans = \"No\";\n if(sum % 9 == 0) ans = \"Yes\";\n System.out.println(ans);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n String N = sc.next();\n int sum = 0;\n char[] C = N.toCharArray();\n for(char c : C) {\n sum += Character.getNumericValue(c);\n }\n String ans = \"No\";\n if(sum % 9 == 0) ans = \"Yes\";\n System.out.println(ans);\n }\n}", "Main", "public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n String N = sc.next();\n int sum = 0;\n char[] C = N.toCharArray();\n for(char c : C) {\n sum += Character.getNumericValue(c);\n }\n String ans = \"No\";\n if(sum % 9 == 0) ans = \"Yes\";\n System.out.println(ans);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String N = sc.next();\n int sum = 0;\n char[] C = N.toCharArray();\n for(char c : C) {\n sum += Character.getNumericValue(c);\n }\n String ans = \"No\";\n if(sum % 9 == 0) ans = \"Yes\";\n System.out.println(ans);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String N = sc.next();", "N", "sc.next()", "sc.next", "sc", "int sum = 0;", "sum", "0", "char[] C = N.toCharArray();", "C", "N.toCharArray()", "N.toCharArray", "N", "for(char c : C) {\n sum += Character.getNumericValue(c);\n }", "char c", "C", "{\n sum += Character.getNumericValue(c);\n }", "{\n sum += Character.getNumericValue(c);\n }", "sum += Character.getNumericValue(c)", "sum", "Character.getNumericValue(c)", "Character.getNumericValue", "Character", "c", "String ans = \"No\";", "ans", "\"No\"", "if(sum % 9 == 0) ans = \"Yes\";", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "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 Scanner sc = new Scanner(System.in);\n String N = sc.next();\n int sum = 0;\n char[] C = N.toCharArray();\n for(char c : C) {\n sum += Character.getNumericValue(c);\n }\n String ans = \"No\";\n if(sum % 9 == 0) ans = \"Yes\";\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 String N = sc.next();\n int sum = 0;\n char[] C = N.toCharArray();\n for(char c : C) {\n sum += Character.getNumericValue(c);\n }\n String ans = \"No\";\n if(sum % 9 == 0) ans = \"Yes\";\n System.out.println(ans);\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); String N = sc.next(); int sum = 0; char[] C = N.toCharArray(); for(char c : C) { sum += Character.getNumericValue(c); } String ans = "No"; if(sum % 9 == 0) 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, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 18, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 72, 5 ], [ 72, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 19, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 33, 35 ], [ 26, 36 ], [ 36, 37 ], [ 37, 38 ], [ 26, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 8, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 49, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 49, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 6, 69 ], [ 69, 70 ], [ 0, 71 ], [ 71, 72 ], [ 71, 73 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t String n = sc.nextLine();\n\t String[] list = n.split(\"\");\n\t int sum = 0;\n\t for (int i = 0; i < list.length; i++) {\n\t \tsum += Integer.parseInt(list[i]);\n\t }\n\t if (sum % 9 == 0 ) {\n\t \tSystem.out.println(\"Yes\");\n\t } else {\n\t \tSystem.out.println(\"No\");\n\t }\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t String n = sc.nextLine();\n\t String[] list = n.split(\"\");\n\t int sum = 0;\n\t for (int i = 0; i < list.length; i++) {\n\t \tsum += Integer.parseInt(list[i]);\n\t }\n\t if (sum % 9 == 0 ) {\n\t \tSystem.out.println(\"Yes\");\n\t } else {\n\t \tSystem.out.println(\"No\");\n\t }\n\t}\n}", "Main", "public static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t String n = sc.nextLine();\n\t String[] list = n.split(\"\");\n\t int sum = 0;\n\t for (int i = 0; i < list.length; i++) {\n\t \tsum += Integer.parseInt(list[i]);\n\t }\n\t if (sum % 9 == 0 ) {\n\t \tSystem.out.println(\"Yes\");\n\t } else {\n\t \tSystem.out.println(\"No\");\n\t }\n\t}", "main", "{\n\t Scanner sc = new Scanner(System.in);\n\t String n = sc.nextLine();\n\t String[] list = n.split(\"\");\n\t int sum = 0;\n\t for (int i = 0; i < list.length; i++) {\n\t \tsum += Integer.parseInt(list[i]);\n\t }\n\t if (sum % 9 == 0 ) {\n\t \tSystem.out.println(\"Yes\");\n\t } else {\n\t \tSystem.out.println(\"No\");\n\t }\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String n = sc.nextLine();", "n", "sc.nextLine()", "sc.nextLine", "sc", "String[] list = n.split(\"\");", "list", "n.split(\"\")", "n.split", "n", "\"\"", "int sum = 0;", "sum", "0", "for (int i = 0; i < list.length; i++) {\n\t \tsum += Integer.parseInt(list[i]);\n\t }", "int i = 0;", "int i = 0;", "i", "0", "i < list.length", "i", "list.length", "list", "list.length", "i++", "i++", "i", "{\n\t \tsum += Integer.parseInt(list[i]);\n\t }", "{\n\t \tsum += Integer.parseInt(list[i]);\n\t }", "sum += Integer.parseInt(list[i])", "sum", "Integer.parseInt(list[i])", "Integer.parseInt", "Integer", "list[i]", "list", "i", "if (sum % 9 == 0 ) {\n\t \tSystem.out.println(\"Yes\");\n\t } else {\n\t \tSystem.out.println(\"No\");\n\t }", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "{\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", "public class Main {\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t String n = sc.nextLine();\n\t String[] list = n.split(\"\");\n\t int sum = 0;\n\t for (int i = 0; i < list.length; i++) {\n\t \tsum += Integer.parseInt(list[i]);\n\t }\n\t if (sum % 9 == 0 ) {\n\t \tSystem.out.println(\"Yes\");\n\t } else {\n\t \tSystem.out.println(\"No\");\n\t }\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t String n = sc.nextLine();\n\t String[] list = n.split(\"\");\n\t int sum = 0;\n\t for (int i = 0; i < list.length; i++) {\n\t \tsum += Integer.parseInt(list[i]);\n\t }\n\t if (sum % 9 == 0 ) {\n\t \tSystem.out.println(\"Yes\");\n\t } else {\n\t \tSystem.out.println(\"No\");\n\t }\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String n = sc.nextLine(); String[] list = n.split(""); int sum = 0; for (int i = 0; i < list.length; i++) { sum += Integer.parseInt(list[i]); } if (sum % 9 == 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, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 18, 13, 13, 14, 2, 2, 13, 17, 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 ], [ 66, 5 ], [ 66, 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 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 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 ], [ 42, 44 ], [ 8, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 45, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 45, 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 \tchar[] n = sc.next().toCharArray();\n \tint sum = 0;\n \tfor(int i = 0; i < n.length; i++){\n \tsum += Character.getNumericValue(n[i]);\n }\n\n \tif(sum%9==0) System.out.println(\"Yes\");\n \telse System.out.println(\"No\");\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 \tchar[] n = sc.next().toCharArray();\n \tint sum = 0;\n \tfor(int i = 0; i < n.length; i++){\n \tsum += Character.getNumericValue(n[i]);\n }\n\n \tif(sum%9==0) System.out.println(\"Yes\");\n \telse System.out.println(\"No\");\n }\n}", "Main", "public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \tchar[] n = sc.next().toCharArray();\n \tint sum = 0;\n \tfor(int i = 0; i < n.length; i++){\n \tsum += Character.getNumericValue(n[i]);\n }\n\n \tif(sum%9==0) System.out.println(\"Yes\");\n \telse System.out.println(\"No\");\n }", "main", "{\n \tScanner sc = new Scanner(System.in);\n \tchar[] n = sc.next().toCharArray();\n \tint sum = 0;\n \tfor(int i = 0; i < n.length; i++){\n \tsum += Character.getNumericValue(n[i]);\n }\n\n \tif(sum%9==0) System.out.println(\"Yes\");\n \telse System.out.println(\"No\");\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "char[] n = sc.next().toCharArray();", "n", "sc.next().toCharArray()", "sc.next().toCharArray", "sc.next()", "sc.next", "sc", "int sum = 0;", "sum", "0", "for(int i = 0; i < n.length; i++){\n \tsum += Character.getNumericValue(n[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n.length", "i", "n.length", "n", "n.length", "i++", "i++", "i", "{\n \tsum += Character.getNumericValue(n[i]);\n }", "{\n \tsum += Character.getNumericValue(n[i]);\n }", "sum += Character.getNumericValue(n[i])", "sum", "Character.getNumericValue(n[i])", "Character.getNumericValue", "Character", "n[i]", "n", "i", "if(sum%9==0) System.out.println(\"Yes\");\n \telse System.out.println(\"No\");", "sum%9==0", "sum%9", "sum", "9", "0", "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 \tScanner sc = new Scanner(System.in);\n \tchar[] n = sc.next().toCharArray();\n \tint sum = 0;\n \tfor(int i = 0; i < n.length; i++){\n \tsum += Character.getNumericValue(n[i]);\n }\n\n \tif(sum%9==0) System.out.println(\"Yes\");\n \telse System.out.println(\"No\");\n }\n}", "public class Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \tchar[] n = sc.next().toCharArray();\n \tint sum = 0;\n \tfor(int i = 0; i < n.length; i++){\n \tsum += Character.getNumericValue(n[i]);\n }\n\n \tif(sum%9==0) System.out.println(\"Yes\");\n \telse System.out.println(\"No\");\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); char[] n = sc.next().toCharArray(); int sum = 0; for(int i = 0; i < n.length; i++){ sum += Character.getNumericValue(n[i]); } if(sum%9==0) System.out.println("Yes"); else System.out.println("No"); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 18, 18, 13, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 41, 13, 4, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 2, 4, 18, 13, 13, 17, 14, 2, 2, 13, 17, 17, 30, 4, 13, 17, 30, 4, 13, 17, 12, 13, 30, 38, 5, 13, 30, 29, 30, 4, 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 ], [ 150, 14 ], [ 150, 15 ], [ 15, 16 ], [ 15, 17 ], [ 150, 18 ], [ 18, 19 ], [ 18, 20 ], [ 150, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 23, 28 ], [ 28, 29 ], [ 29, 30 ], [ 21, 31 ], [ 31, 32 ], [ 150, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 35, 40 ], [ 40, 41 ], [ 41, 42 ], [ 33, 43 ], [ 43, 44 ], [ 150, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 45, 57 ], [ 57, 58 ], [ 150, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 150, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 150, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 150, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 150, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 89, 94 ], [ 94, 95 ], [ 94, 96 ], [ 89, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 105, 106 ], [ 97, 107 ], [ 107, 108 ], [ 108, 109 ], [ 97, 110 ], [ 111, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 117, 120 ], [ 116, 121 ], [ 89, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 122, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 122, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 150, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 139, 144 ], [ 144, 145 ], [ 145, 146 ], [ 136, 147 ], [ 147, 148 ], [ 0, 149 ], [ 149, 150 ], [ 149, 151 ] ]
[ "import java.io.IOException;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\nimport java.math.BigInteger; \npublic class Main\n{\n static Scanner sc=new Scanner(System.in);\n static PrintWriter out=new PrintWriter(System.out);\n static void pn(Object o)\n {\n out.println(o);\n out.flush();\n \n }\n static void p(Object o)\n {\n out.print(o);\n out.flush();\n }\n static void pni(Object o)\n {\n out.println(o);System.out.flush();\n }\n static int I() throws IOException\n { \n return sc.nextInt();\n }\n static long L()throws IOException\n {\n return sc.nextLong();\n }\n static double D()throws IOException\n {\n return sc.nextDouble();\n }\n static String S()throws IOException\n {\n return sc.next();\n }\n static void process() throws IOException\n {\n String s=S();long k=0;\n for(int i=0;i<s.length();i++)\n {\n k=k+((int)s.charAt(i)-48);\n }\n if(k%9==0)\n {\n pn(\"Yes\");\n }\n else\n {\n pn(\"No\");\n }\n }\n public static void main(String[] args) throws IOException\n{\n try\n{\n process();\n }\ncatch(Exception e)\n{\nreturn;\n}\n}\n \n \n }\n ", "import java.io.IOException;", "IOException", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "import java.math.BigInteger;", "BigInteger", "java.math", "public class Main\n{\n static Scanner sc=new Scanner(System.in);\n static PrintWriter out=new PrintWriter(System.out);\n static void pn(Object o)\n {\n out.println(o);\n out.flush();\n \n }\n static void p(Object o)\n {\n out.print(o);\n out.flush();\n }\n static void pni(Object o)\n {\n out.println(o);System.out.flush();\n }\n static int I() throws IOException\n { \n return sc.nextInt();\n }\n static long L()throws IOException\n {\n return sc.nextLong();\n }\n static double D()throws IOException\n {\n return sc.nextDouble();\n }\n static String S()throws IOException\n {\n return sc.next();\n }\n static void process() throws IOException\n {\n String s=S();long k=0;\n for(int i=0;i<s.length();i++)\n {\n k=k+((int)s.charAt(i)-48);\n }\n if(k%9==0)\n {\n pn(\"Yes\");\n }\n else\n {\n pn(\"No\");\n }\n }\n public static void main(String[] args) throws IOException\n{\n try\n{\n process();\n }\ncatch(Exception e)\n{\nreturn;\n}\n}\n \n \n }", "Main", "static Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "static PrintWriter out=new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "static void pn(Object o)\n {\n out.println(o);\n out.flush();\n \n }", "pn", "{\n out.println(o);\n out.flush();\n \n }", "out.println(o)", "out.println", "out", "o", "out.flush()", "out.flush", "out", "Object o", "o", "static void p(Object o)\n {\n out.print(o);\n out.flush();\n }", "p", "{\n out.print(o);\n out.flush();\n }", "out.print(o)", "out.print", "out", "o", "out.flush()", "out.flush", "out", "Object o", "o", "static void pni(Object o)\n {\n out.println(o);System.out.flush();\n }", "pni", "{\n out.println(o);System.out.flush();\n }", "out.println(o)", "out.println", "out", "o", "System.out.flush()", "System.out.flush", "System.out", "System", "System.out", "Object o", "o", "static int I() throws IOException\n { \n return sc.nextInt();\n }", "I", "{ \n return sc.nextInt();\n }", "return sc.nextInt();", "sc.nextInt()", "sc.nextInt", "sc", "static long L()throws IOException\n {\n return sc.nextLong();\n }", "L", "{\n return sc.nextLong();\n }", "return sc.nextLong();", "sc.nextLong()", "sc.nextLong", "sc", "static double D()throws IOException\n {\n return sc.nextDouble();\n }", "D", "{\n return sc.nextDouble();\n }", "return sc.nextDouble();", "sc.nextDouble()", "sc.nextDouble", "sc", "static String S()throws IOException\n {\n return sc.next();\n }", "S", "{\n return sc.next();\n }", "return sc.next();", "sc.next()", "sc.next", "sc", "static void process() throws IOException\n {\n String s=S();long k=0;\n for(int i=0;i<s.length();i++)\n {\n k=k+((int)s.charAt(i)-48);\n }\n if(k%9==0)\n {\n pn(\"Yes\");\n }\n else\n {\n pn(\"No\");\n }\n }", "process", "{\n String s=S();long k=0;\n for(int i=0;i<s.length();i++)\n {\n k=k+((int)s.charAt(i)-48);\n }\n if(k%9==0)\n {\n pn(\"Yes\");\n }\n else\n {\n pn(\"No\");\n }\n }", "String s=S();", "s", "S()", "S", "long k=0;", "k", "0", "for(int i=0;i<s.length();i++)\n {\n k=k+((int)s.charAt(i)-48);\n }", "int i=0;", "int i=0;", "i", "0", "i<s.length()", "i", "s.length()", "s.length", "s", "i++", "i++", "i", "{\n k=k+((int)s.charAt(i)-48);\n }", "{\n k=k+((int)s.charAt(i)-48);\n }", "k=k+((int)s.charAt(i)-48)", "k", "k+((int)s.charAt(i)-48)", "k", "((int)s.charAt(i)-48)", "(int)s.charAt(i)", "s.charAt", "s", "i", "48", "if(k%9==0)\n {\n pn(\"Yes\");\n }\n else\n {\n pn(\"No\");\n }", "k%9==0", "k%9", "k", "9", "0", "{\n pn(\"Yes\");\n }", "pn(\"Yes\")", "pn", "\"Yes\"", "{\n pn(\"No\");\n }", "pn(\"No\")", "pn", "\"No\"", "public static void main(String[] args) throws IOException\n{\n try\n{\n process();\n }\ncatch(Exception e)\n{\nreturn;\n}\n}", "main", "{\n try\n{\n process();\n }\ncatch(Exception e)\n{\nreturn;\n}\n}", "try\n{\n process();\n }\ncatch(Exception e)\n{\nreturn;\n}", "catch(Exception e)\n{\nreturn;\n}", "Exception e", "{\nreturn;\n}", "return;", "{\n process();\n }", "process()", "process", "String[] args", "args", "public class Main\n{\n static Scanner sc=new Scanner(System.in);\n static PrintWriter out=new PrintWriter(System.out);\n static void pn(Object o)\n {\n out.println(o);\n out.flush();\n \n }\n static void p(Object o)\n {\n out.print(o);\n out.flush();\n }\n static void pni(Object o)\n {\n out.println(o);System.out.flush();\n }\n static int I() throws IOException\n { \n return sc.nextInt();\n }\n static long L()throws IOException\n {\n return sc.nextLong();\n }\n static double D()throws IOException\n {\n return sc.nextDouble();\n }\n static String S()throws IOException\n {\n return sc.next();\n }\n static void process() throws IOException\n {\n String s=S();long k=0;\n for(int i=0;i<s.length();i++)\n {\n k=k+((int)s.charAt(i)-48);\n }\n if(k%9==0)\n {\n pn(\"Yes\");\n }\n else\n {\n pn(\"No\");\n }\n }\n public static void main(String[] args) throws IOException\n{\n try\n{\n process();\n }\ncatch(Exception e)\n{\nreturn;\n}\n}\n \n \n }", "public class Main\n{\n static Scanner sc=new Scanner(System.in);\n static PrintWriter out=new PrintWriter(System.out);\n static void pn(Object o)\n {\n out.println(o);\n out.flush();\n \n }\n static void p(Object o)\n {\n out.print(o);\n out.flush();\n }\n static void pni(Object o)\n {\n out.println(o);System.out.flush();\n }\n static int I() throws IOException\n { \n return sc.nextInt();\n }\n static long L()throws IOException\n {\n return sc.nextLong();\n }\n static double D()throws IOException\n {\n return sc.nextDouble();\n }\n static String S()throws IOException\n {\n return sc.next();\n }\n static void process() throws IOException\n {\n String s=S();long k=0;\n for(int i=0;i<s.length();i++)\n {\n k=k+((int)s.charAt(i)-48);\n }\n if(k%9==0)\n {\n pn(\"Yes\");\n }\n else\n {\n pn(\"No\");\n }\n }\n public static void main(String[] args) throws IOException\n{\n try\n{\n process();\n }\ncatch(Exception e)\n{\nreturn;\n}\n}\n \n \n }", "Main" ]
import java.io.IOException; import java.io.PrintWriter; import java.util.Scanner; import java.math.BigInteger; public class Main { static Scanner sc=new Scanner(System.in); static PrintWriter out=new PrintWriter(System.out); static void pn(Object o) { out.println(o); out.flush(); } static void p(Object o) { out.print(o); out.flush(); } static void pni(Object o) { out.println(o);System.out.flush(); } static int I() throws IOException { return sc.nextInt(); } static long L()throws IOException { return sc.nextLong(); } static double D()throws IOException { return sc.nextDouble(); } static String S()throws IOException { return sc.next(); } static void process() throws IOException { String s=S();long k=0; for(int i=0;i<s.length();i++) { k=k+((int)s.charAt(i)-48); } if(k%9==0) { pn("Yes"); } else { pn("No"); } } public static void main(String[] args) throws IOException { try { process(); } catch(Exception e) { return; } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 13, 41, 13, 20, 14, 2, 4, 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 ], [ 59, 8 ], [ 59, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 11, 32 ], [ 32, 33 ], [ 32, 34 ], [ 11, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 36, 41 ], [ 35, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 35, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 9, 56 ], [ 56, 57 ], [ 0, 58 ], [ 58, 59 ], [ 58, 60 ] ]
[ "import java.math.BigInteger;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc= new Scanner(System.in);\n String str=sc.nextLine();\n BigInteger bg =new BigInteger(str);\n BigInteger nine=new BigInteger(\"9\");\n BigInteger reminder=bg.remainder(nine);\n BigInteger y=new BigInteger(\"0\");\n if(reminder.compareTo(y)==0){\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }\n}", "import java.math.BigInteger;", "BigInteger", "java.math", "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 str=sc.nextLine();\n BigInteger bg =new BigInteger(str);\n BigInteger nine=new BigInteger(\"9\");\n BigInteger reminder=bg.remainder(nine);\n BigInteger y=new BigInteger(\"0\");\n if(reminder.compareTo(y)==0){\n System.out.println(\"Yes\");\n }\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 str=sc.nextLine();\n BigInteger bg =new BigInteger(str);\n BigInteger nine=new BigInteger(\"9\");\n BigInteger reminder=bg.remainder(nine);\n BigInteger y=new BigInteger(\"0\");\n if(reminder.compareTo(y)==0){\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }", "main", "{\n Scanner sc= new Scanner(System.in);\n String str=sc.nextLine();\n BigInteger bg =new BigInteger(str);\n BigInteger nine=new BigInteger(\"9\");\n BigInteger reminder=bg.remainder(nine);\n BigInteger y=new BigInteger(\"0\");\n if(reminder.compareTo(y)==0){\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }", "Scanner sc= new Scanner(System.in);", "sc", "new Scanner(System.in)", "String str=sc.nextLine();", "str", "sc.nextLine()", "sc.nextLine", "sc", "BigInteger bg =new BigInteger(str);", "bg", "new BigInteger(str)", "BigInteger nine=new BigInteger(\"9\");", "nine", "new BigInteger(\"9\")", "BigInteger reminder=bg.remainder(nine);", "reminder", "bg.remainder(nine)", "bg.remainder", "bg", "nine", "BigInteger y=new BigInteger(\"0\");", "y", "new BigInteger(\"0\")", "if(reminder.compareTo(y)==0){\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }", "reminder.compareTo(y)==0", "reminder.compareTo(y)", "reminder.compareTo", "reminder", "y", "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 public static void main(String[] args) {\n Scanner sc= new Scanner(System.in);\n String str=sc.nextLine();\n BigInteger bg =new BigInteger(str);\n BigInteger nine=new BigInteger(\"9\");\n BigInteger reminder=bg.remainder(nine);\n BigInteger y=new BigInteger(\"0\");\n if(reminder.compareTo(y)==0){\n System.out.println(\"Yes\");\n }\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 str=sc.nextLine();\n BigInteger bg =new BigInteger(str);\n BigInteger nine=new BigInteger(\"9\");\n BigInteger reminder=bg.remainder(nine);\n BigInteger y=new BigInteger(\"0\");\n if(reminder.compareTo(y)==0){\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }\n}", "Main" ]
import java.math.BigInteger; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc= new Scanner(System.in); String str=sc.nextLine(); BigInteger bg =new BigInteger(str); BigInteger nine=new BigInteger("9"); BigInteger reminder=bg.remainder(nine); BigInteger y=new BigInteger("0"); if(reminder.compareTo(y)==0){ System.out.println("Yes"); } else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 4, 13, 18, 13, 13, 18, 13, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 2, 4, 18, 13, 13, 17, 14, 2, 2, 13, 17, 17, 4, 18, 13, 17, 4, 18, 13, 17, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 84, 11 ], [ 84, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 17, 19 ], [ 15, 20 ], [ 20, 21 ], [ 20, 22 ], [ 12, 23 ], [ 23, 24 ], [ 84, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 27, 36 ], [ 36, 37 ], [ 36, 38 ], [ 27, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 39, 49 ], [ 49, 50 ], [ 50, 51 ], [ 39, 52 ], [ 53, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 59, 64 ], [ 27, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 65, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 65, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 25, 79 ], [ 79, 80 ], [ 25, 81 ], [ 81, 82 ], [ 0, 83 ], [ 83, 84 ], [ 83, 85 ] ]
[ "\nimport java.io.InputStream;\nimport java.io.PrintStream;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n String N = scan.next();\n\n long sum = 0;\n for(int i = 0; i < N.length(); i++) {\n sum += Integer.valueOf(N.charAt(i)-'0');\n }\n\n if(sum % 9 == 0)\n os.println(\"Yes\");\n else\n os.println(\"No\");\n\n }\n}", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.PrintStream;", "PrintStream", "java.io", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n String N = scan.next();\n\n long sum = 0;\n for(int i = 0; i < N.length(); i++) {\n sum += Integer.valueOf(N.charAt(i)-'0');\n }\n\n if(sum % 9 == 0)\n os.println(\"Yes\");\n else\n os.println(\"No\");\n\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }", "main", "{\n solve(System.in, System.out);\n }", "solve(System.in, System.out)", "solve", "System.in", "System", "System.in", "System.out", "System", "System.out", "String[] args", "args", "static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n String N = scan.next();\n\n long sum = 0;\n for(int i = 0; i < N.length(); i++) {\n sum += Integer.valueOf(N.charAt(i)-'0');\n }\n\n if(sum % 9 == 0)\n os.println(\"Yes\");\n else\n os.println(\"No\");\n\n }", "solve", "{\n // Your code here!\n Scanner scan = new Scanner(is);\n String N = scan.next();\n\n long sum = 0;\n for(int i = 0; i < N.length(); i++) {\n sum += Integer.valueOf(N.charAt(i)-'0');\n }\n\n if(sum % 9 == 0)\n os.println(\"Yes\");\n else\n os.println(\"No\");\n\n }", "Scanner scan = new Scanner(is);", "scan", "new Scanner(is)", "String N = scan.next();", "N", "scan.next()", "scan.next", "scan", "long sum = 0;", "sum", "0", "for(int i = 0; i < N.length(); i++) {\n sum += Integer.valueOf(N.charAt(i)-'0');\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N.length()", "i", "N.length()", "N.length", "N", "i++", "i++", "i", "{\n sum += Integer.valueOf(N.charAt(i)-'0');\n }", "{\n sum += Integer.valueOf(N.charAt(i)-'0');\n }", "sum += Integer.valueOf(N.charAt(i)-'0')", "sum", "Integer.valueOf(N.charAt(i)-'0')", "Integer.valueOf", "Integer", "N.charAt(i)-'0'", "N.charAt(i)", "N.charAt", "N", "i", "'0'", "if(sum % 9 == 0)\n os.println(\"Yes\");\n else\n os.println(\"No\");", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "os.println(\"Yes\")", "os.println", "os", "\"Yes\"", "os.println(\"No\")", "os.println", "os", "\"No\"", "InputStream is", "is", "PrintStream os", "os", "public class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n String N = scan.next();\n\n long sum = 0;\n for(int i = 0; i < N.length(); i++) {\n sum += Integer.valueOf(N.charAt(i)-'0');\n }\n\n if(sum % 9 == 0)\n os.println(\"Yes\");\n else\n os.println(\"No\");\n\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n String N = scan.next();\n\n long sum = 0;\n for(int i = 0; i < N.length(); i++) {\n sum += Integer.valueOf(N.charAt(i)-'0');\n }\n\n if(sum % 9 == 0)\n os.println(\"Yes\");\n else\n os.println(\"No\");\n\n }\n}", "Main" ]
import java.io.InputStream; import java.io.PrintStream; import java.util.*; public class Main { public static void main(String[] args) throws Exception { solve(System.in, System.out); } static void solve(InputStream is, PrintStream os) { // Your code here! Scanner scan = new Scanner(is); String N = scan.next(); long sum = 0; for(int i = 0; i < N.length(); i++) { sum += Integer.valueOf(N.charAt(i)-'0'); } if(sum % 9 == 0) os.println("Yes"); else os.println("No"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 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 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 20, 30 ], [ 30, 31 ], [ 31, 32 ], [ 20, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 44, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 6, 64 ], [ 64, 65 ], [ 0, 66 ], [ 66, 67 ], [ 66, 68 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String N = sc.next();\n long sum = 0;\n for (int i = 0; i < N.length(); i++) {\n sum += Character.getNumericValue(N.charAt(i));\n }\n if (sum % 9 != 0) {\n System.out.println(\"No\");\n } else {\n System.out.println(\"Yes\");\n }\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String N = sc.next();\n long sum = 0;\n for (int i = 0; i < N.length(); i++) {\n sum += Character.getNumericValue(N.charAt(i));\n }\n if (sum % 9 != 0) {\n System.out.println(\"No\");\n } else {\n System.out.println(\"Yes\");\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String N = sc.next();\n long sum = 0;\n for (int i = 0; i < N.length(); i++) {\n sum += Character.getNumericValue(N.charAt(i));\n }\n if (sum % 9 != 0) {\n System.out.println(\"No\");\n } else {\n System.out.println(\"Yes\");\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String N = sc.next();\n long sum = 0;\n for (int i = 0; i < N.length(); i++) {\n sum += Character.getNumericValue(N.charAt(i));\n }\n if (sum % 9 != 0) {\n System.out.println(\"No\");\n } else {\n System.out.println(\"Yes\");\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String N = sc.next();", "N", "sc.next()", "sc.next", "sc", "long sum = 0;", "sum", "0", "for (int i = 0; i < N.length(); i++) {\n sum += Character.getNumericValue(N.charAt(i));\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N.length()", "i", "N.length()", "N.length", "N", "i++", "i++", "i", "{\n sum += Character.getNumericValue(N.charAt(i));\n }", "{\n sum += Character.getNumericValue(N.charAt(i));\n }", "sum += Character.getNumericValue(N.charAt(i))", "sum", "Character.getNumericValue(N.charAt(i))", "Character.getNumericValue", "Character", "N.charAt(i)", "N.charAt", "N", "i", "if (sum % 9 != 0) {\n System.out.println(\"No\");\n } else {\n System.out.println(\"Yes\");\n }", "sum % 9 != 0", "sum % 9", "sum", "9", "0", "{\n System.out.println(\"No\");\n }", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "{\n System.out.println(\"Yes\");\n }", "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 String N = sc.next();\n long sum = 0;\n for (int i = 0; i < N.length(); i++) {\n sum += Character.getNumericValue(N.charAt(i));\n }\n if (sum % 9 != 0) {\n System.out.println(\"No\");\n } else {\n System.out.println(\"Yes\");\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String N = sc.next();\n long sum = 0;\n for (int i = 0; i < N.length(); i++) {\n sum += Character.getNumericValue(N.charAt(i));\n }\n if (sum % 9 != 0) {\n System.out.println(\"No\");\n } else {\n System.out.println(\"Yes\");\n }\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String N = sc.next(); long sum = 0; for (int i = 0; i < N.length(); i++) { sum += Character.getNumericValue(N.charAt(i)); } if (sum % 9 != 0) { System.out.println("No"); } else { 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, 41, 13, 17, 28, 13, 13, 30, 30, 0, 13, 4, 18, 13, 2, 13, 17, 41, 13, 8, 2, 2, 13, 17, 17, 17, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 57, 5 ], [ 57, 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 ], [ 25, 28 ], [ 29, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 35, 36 ], [ 35, 37 ], [ 8, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 40, 46 ], [ 40, 47 ], [ 8, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 6, 54 ], [ 54, 55 ], [ 0, 56 ], [ 56, 57 ], [ 56, 58 ] ]
[ "import java.util.*;\n\npublic class Main{\npublic static void main(String[] args){\n\tScanner scanner = new Scanner(System.in);\n \tString i = scanner.next();\n \tchar[] chars = i.toCharArray();\n \tint sum = 0;\n \tfor(char c : chars){\n \tsum += Integer.valueOf(c+\"\");\n }\n \tString res = sum % 9 == 0 ? \"Yes\" : \"No\";\n System.out.println(res);\n}\n}", "import java.util.*;", "util.*", "java", "public class Main{\npublic static void main(String[] args){\n\tScanner scanner = new Scanner(System.in);\n \tString i = scanner.next();\n \tchar[] chars = i.toCharArray();\n \tint sum = 0;\n \tfor(char c : chars){\n \tsum += Integer.valueOf(c+\"\");\n }\n \tString res = sum % 9 == 0 ? \"Yes\" : \"No\";\n System.out.println(res);\n}\n}", "Main", "public static void main(String[] args){\n\tScanner scanner = new Scanner(System.in);\n \tString i = scanner.next();\n \tchar[] chars = i.toCharArray();\n \tint sum = 0;\n \tfor(char c : chars){\n \tsum += Integer.valueOf(c+\"\");\n }\n \tString res = sum % 9 == 0 ? \"Yes\" : \"No\";\n System.out.println(res);\n}", "main", "{\n\tScanner scanner = new Scanner(System.in);\n \tString i = scanner.next();\n \tchar[] chars = i.toCharArray();\n \tint sum = 0;\n \tfor(char c : chars){\n \tsum += Integer.valueOf(c+\"\");\n }\n \tString res = sum % 9 == 0 ? \"Yes\" : \"No\";\n System.out.println(res);\n}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "String i = scanner.next();", "i", "scanner.next()", "scanner.next", "scanner", "char[] chars = i.toCharArray();", "chars", "i.toCharArray()", "i.toCharArray", "i", "int sum = 0;", "sum", "0", "for(char c : chars){\n \tsum += Integer.valueOf(c+\"\");\n }", "char c", "chars", "{\n \tsum += Integer.valueOf(c+\"\");\n }", "{\n \tsum += Integer.valueOf(c+\"\");\n }", "sum += Integer.valueOf(c+\"\")", "sum", "Integer.valueOf(c+\"\")", "Integer.valueOf", "Integer", "c+\"\"", "c", "\"\"", "String res = sum % 9 == 0 ? \"Yes\" : \"No\";", "res", "sum % 9 == 0 ? \"Yes\" : \"No\"", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "\"Yes\"", "\"No\"", "System.out.println(res)", "System.out.println", "System.out", "System", "System.out", "res", "String[] args", "args", "public class Main{\npublic static void main(String[] args){\n\tScanner scanner = new Scanner(System.in);\n \tString i = scanner.next();\n \tchar[] chars = i.toCharArray();\n \tint sum = 0;\n \tfor(char c : chars){\n \tsum += Integer.valueOf(c+\"\");\n }\n \tString res = sum % 9 == 0 ? \"Yes\" : \"No\";\n System.out.println(res);\n}\n}", "public class Main{\npublic static void main(String[] args){\n\tScanner scanner = new Scanner(System.in);\n \tString i = scanner.next();\n \tchar[] chars = i.toCharArray();\n \tint sum = 0;\n \tfor(char c : chars){\n \tsum += Integer.valueOf(c+\"\");\n }\n \tString res = sum % 9 == 0 ? \"Yes\" : \"No\";\n System.out.println(res);\n}\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); String i = scanner.next(); char[] chars = i.toCharArray(); int sum = 0; for(char c : chars){ sum += Integer.valueOf(c+""); } String res = sum % 9 == 0 ? "Yes" : "No"; System.out.println(res); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 14, 2, 4, 18, 13, 17, 30, 41, 13, 20, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 13, 0, 13, 2, 13, 17, 0, 13, 2, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 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 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 18, 22 ], [ 17, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 28, 32 ], [ 27, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 27, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 17, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 51, 53 ], [ 47, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 54, 64 ], [ 64, 65 ], [ 65, 66 ], [ 54, 67 ], [ 68, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 68, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 68, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 47, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 85, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 85, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 8, 105 ], [ 105, 106 ], [ 106, 107 ], [ 6, 108 ], [ 108, 109 ], [ 0, 110 ], [ 110, 111 ], [ 110, 112 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tString N = stdIn.next();\n\t\tif(N.length() < 8){\n\t\t\tlong A = new Long(N);\n\t\t\tif(A % 9 == 0){\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\tint sum = 0;\n\t\t\tint a = 0;\n\t\t\tfor(int i = 0; i < N.length(); i++){\n\t\t\t\ta = N.charAt(i);\n\t\t\t\ta = a - 48;\n\t\t\t\tsum = sum + a;\n\t\t\t}\n\t\t\tif(sum % 9 == 0){\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\n\n\t\t}\n\t\tstdIn.close();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tString N = stdIn.next();\n\t\tif(N.length() < 8){\n\t\t\tlong A = new Long(N);\n\t\t\tif(A % 9 == 0){\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\tint sum = 0;\n\t\t\tint a = 0;\n\t\t\tfor(int i = 0; i < N.length(); i++){\n\t\t\t\ta = N.charAt(i);\n\t\t\t\ta = a - 48;\n\t\t\t\tsum = sum + a;\n\t\t\t}\n\t\t\tif(sum % 9 == 0){\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\n\n\t\t}\n\t\tstdIn.close();\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tString N = stdIn.next();\n\t\tif(N.length() < 8){\n\t\t\tlong A = new Long(N);\n\t\t\tif(A % 9 == 0){\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\tint sum = 0;\n\t\t\tint a = 0;\n\t\t\tfor(int i = 0; i < N.length(); i++){\n\t\t\t\ta = N.charAt(i);\n\t\t\t\ta = a - 48;\n\t\t\t\tsum = sum + a;\n\t\t\t}\n\t\t\tif(sum % 9 == 0){\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\n\n\t\t}\n\t\tstdIn.close();\n\t}", "main", "{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tString N = stdIn.next();\n\t\tif(N.length() < 8){\n\t\t\tlong A = new Long(N);\n\t\t\tif(A % 9 == 0){\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\tint sum = 0;\n\t\t\tint a = 0;\n\t\t\tfor(int i = 0; i < N.length(); i++){\n\t\t\t\ta = N.charAt(i);\n\t\t\t\ta = a - 48;\n\t\t\t\tsum = sum + a;\n\t\t\t}\n\t\t\tif(sum % 9 == 0){\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\n\n\t\t}\n\t\tstdIn.close();\n\t}", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "String N = stdIn.next();", "N", "stdIn.next()", "stdIn.next", "stdIn", "if(N.length() < 8){\n\t\t\tlong A = new Long(N);\n\t\t\tif(A % 9 == 0){\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\tint sum = 0;\n\t\t\tint a = 0;\n\t\t\tfor(int i = 0; i < N.length(); i++){\n\t\t\t\ta = N.charAt(i);\n\t\t\t\ta = a - 48;\n\t\t\t\tsum = sum + a;\n\t\t\t}\n\t\t\tif(sum % 9 == 0){\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\n\n\t\t}", "N.length() < 8", "N.length()", "N.length", "N", "8", "{\n\t\t\tlong A = new Long(N);\n\t\t\tif(A % 9 == 0){\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}", "long A = new Long(N);", "A", "new Long(N)", "if(A % 9 == 0){\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}", "A % 9 == 0", "A % 9", "A", "9", "0", "{\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\tint sum = 0;\n\t\t\tint a = 0;\n\t\t\tfor(int i = 0; i < N.length(); i++){\n\t\t\t\ta = N.charAt(i);\n\t\t\t\ta = a - 48;\n\t\t\t\tsum = sum + a;\n\t\t\t}\n\t\t\tif(sum % 9 == 0){\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\n\n\t\t}", "int sum = 0;", "sum", "0", "int a = 0;", "a", "0", "for(int i = 0; i < N.length(); i++){\n\t\t\t\ta = N.charAt(i);\n\t\t\t\ta = a - 48;\n\t\t\t\tsum = sum + a;\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < N.length()", "i", "N.length()", "N.length", "N", "i++", "i++", "i", "{\n\t\t\t\ta = N.charAt(i);\n\t\t\t\ta = a - 48;\n\t\t\t\tsum = sum + a;\n\t\t\t}", "{\n\t\t\t\ta = N.charAt(i);\n\t\t\t\ta = a - 48;\n\t\t\t\tsum = sum + a;\n\t\t\t}", "a = N.charAt(i)", "a", "N.charAt(i)", "N.charAt", "N", "i", "a = a - 48", "a", "a - 48", "a", "48", "sum = sum + a", "sum", "sum + a", "sum", "a", "if(sum % 9 == 0){\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "{\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\"", "stdIn.close()", "stdIn.close", "stdIn", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tString N = stdIn.next();\n\t\tif(N.length() < 8){\n\t\t\tlong A = new Long(N);\n\t\t\tif(A % 9 == 0){\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\tint sum = 0;\n\t\t\tint a = 0;\n\t\t\tfor(int i = 0; i < N.length(); i++){\n\t\t\t\ta = N.charAt(i);\n\t\t\t\ta = a - 48;\n\t\t\t\tsum = sum + a;\n\t\t\t}\n\t\t\tif(sum % 9 == 0){\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\n\n\t\t}\n\t\tstdIn.close();\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tString N = stdIn.next();\n\t\tif(N.length() < 8){\n\t\t\tlong A = new Long(N);\n\t\t\tif(A % 9 == 0){\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\tint sum = 0;\n\t\t\tint a = 0;\n\t\t\tfor(int i = 0; i < N.length(); i++){\n\t\t\t\ta = N.charAt(i);\n\t\t\t\ta = a - 48;\n\t\t\t\tsum = sum + a;\n\t\t\t}\n\t\t\tif(sum % 9 == 0){\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\n\n\t\t}\n\t\tstdIn.close();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); String N = stdIn.next(); if(N.length() < 8){ long A = new Long(N); if(A % 9 == 0){ System.out.println("Yes"); } else{ System.out.println("No"); } } else{ int sum = 0; int a = 0; for(int i = 0; i < N.length(); i++){ a = N.charAt(i); a = a - 48; sum = sum + a; } if(sum % 9 == 0){ System.out.println("Yes"); } else{ System.out.println("No"); } } stdIn.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 2, 13, 17, 0, 13, 2, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 84, 11 ], [ 84, 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 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 49, 53 ], [ 53, 54 ], [ 53, 55 ], [ 43, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 14, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 61, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 12, 81 ], [ 81, 82 ], [ 0, 83 ], [ 83, 84 ], [ 83, 85 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\n\t\tint MAX = str.length();\n\t\tint sum = 0;\n\t\tfor(int i = 0; i < MAX; i++) {\n\t\t\tint s = Integer.parseInt(str.substring(i,i+1));\n\t\t\tsum = sum + s;\n\t\t}\n\n\t\tif(sum%9==0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n \n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\n\t\tint MAX = str.length();\n\t\tint sum = 0;\n\t\tfor(int i = 0; i < MAX; i++) {\n\t\t\tint s = Integer.parseInt(str.substring(i,i+1));\n\t\t\tsum = sum + s;\n\t\t}\n\n\t\tif(sum%9==0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n \n\t}\n}", "Main", "public static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\n\t\tint MAX = str.length();\n\t\tint sum = 0;\n\t\tfor(int i = 0; i < MAX; i++) {\n\t\t\tint s = Integer.parseInt(str.substring(i,i+1));\n\t\t\tsum = sum + s;\n\t\t}\n\n\t\tif(sum%9==0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n \n\t}", "main", "{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\n\t\tint MAX = str.length();\n\t\tint sum = 0;\n\t\tfor(int i = 0; i < MAX; i++) {\n\t\t\tint s = Integer.parseInt(str.substring(i,i+1));\n\t\t\tsum = sum + s;\n\t\t}\n\n\t\tif(sum%9==0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n \n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "int MAX = str.length();", "MAX", "str.length()", "str.length", "str", "int sum = 0;", "sum", "0", "for(int i = 0; i < MAX; i++) {\n\t\t\tint s = Integer.parseInt(str.substring(i,i+1));\n\t\t\tsum = sum + s;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < MAX", "i", "MAX", "i++", "i++", "i", "{\n\t\t\tint s = Integer.parseInt(str.substring(i,i+1));\n\t\t\tsum = sum + s;\n\t\t}", "{\n\t\t\tint s = Integer.parseInt(str.substring(i,i+1));\n\t\t\tsum = sum + s;\n\t\t}", "int s = Integer.parseInt(str.substring(i,i+1));", "s", "Integer.parseInt(str.substring(i,i+1))", "Integer.parseInt", "Integer", "str.substring(i,i+1)", "str.substring", "str", "i", "i+1", "i", "1", "sum = sum + s", "sum", "sum + s", "sum", "s", "if(sum%9==0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "sum%9==0", "sum%9", "sum", "9", "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) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\n\t\tint MAX = str.length();\n\t\tint sum = 0;\n\t\tfor(int i = 0; i < MAX; i++) {\n\t\t\tint s = Integer.parseInt(str.substring(i,i+1));\n\t\t\tsum = sum + s;\n\t\t}\n\n\t\tif(sum%9==0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n \n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\n\t\tint MAX = str.length();\n\t\tint sum = 0;\n\t\tfor(int i = 0; i < MAX; i++) {\n\t\t\tint s = Integer.parseInt(str.substring(i,i+1));\n\t\t\tsum = sum + s;\n\t\t}\n\n\t\tif(sum%9==0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n \n\t}\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 str = br.readLine(); int MAX = str.length(); int sum = 0; for(int i = 0; i < MAX; i++) { int s = Integer.parseInt(str.substring(i,i+1)); sum = sum + s; } if(sum%9==0) { System.out.println("Yes"); } else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 0, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 13, 2, 13, 17, 0, 13, 4, 18, 13, 13, 14, 2, 2, 2, 13, 17, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 86, 5 ], [ 86, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 29, 39 ], [ 39, 40 ], [ 40, 41 ], [ 29, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 46, 50 ], [ 50, 51 ], [ 50, 52 ], [ 43, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 8, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 60, 66 ], [ 66, 67 ], [ 66, 68 ], [ 59, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 59, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 6, 83 ], [ 83, 84 ], [ 0, 85 ], [ 85, 86 ], [ 85, 87 ] ]
[ "import java.util.*;\n\npublic class Main {\n \n public static void main(String[] args) {\n\n Scanner sc = null;\n sc = new Scanner(System.in);\n String n = sc.next();\n sc.close();\n String c = null;\n long sum = 0;\n for (int i=0; i < n.length(); i++) {\n c = n.substring(i, i + 1);\n sum += Long.parseLong(c);\n\n }\n if (sum % 9 == 0 || sum == 0) {\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 \n public static void main(String[] args) {\n\n Scanner sc = null;\n sc = new Scanner(System.in);\n String n = sc.next();\n sc.close();\n String c = null;\n long sum = 0;\n for (int i=0; i < n.length(); i++) {\n c = n.substring(i, i + 1);\n sum += Long.parseLong(c);\n\n }\n if (sum % 9 == 0 || sum == 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n\n Scanner sc = null;\n sc = new Scanner(System.in);\n String n = sc.next();\n sc.close();\n String c = null;\n long sum = 0;\n for (int i=0; i < n.length(); i++) {\n c = n.substring(i, i + 1);\n sum += Long.parseLong(c);\n\n }\n if (sum % 9 == 0 || sum == 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n }", "main", "{\n\n Scanner sc = null;\n sc = new Scanner(System.in);\n String n = sc.next();\n sc.close();\n String c = null;\n long sum = 0;\n for (int i=0; i < n.length(); i++) {\n c = n.substring(i, i + 1);\n sum += Long.parseLong(c);\n\n }\n if (sum % 9 == 0 || sum == 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n }", "Scanner sc = null;", "sc", "null", "sc = new Scanner(System.in)", "sc", "new Scanner(System.in)", "String n = sc.next();", "n", "sc.next()", "sc.next", "sc", "sc.close()", "sc.close", "sc", "String c = null;", "c", "null", "long sum = 0;", "sum", "0", "for (int i=0; i < n.length(); i++) {\n c = n.substring(i, i + 1);\n sum += Long.parseLong(c);\n\n }", "int i=0;", "int i=0;", "i", "0", "i < n.length()", "i", "n.length()", "n.length", "n", "i++", "i++", "i", "{\n c = n.substring(i, i + 1);\n sum += Long.parseLong(c);\n\n }", "{\n c = n.substring(i, i + 1);\n sum += Long.parseLong(c);\n\n }", "c = n.substring(i, i + 1)", "c", "n.substring(i, i + 1)", "n.substring", "n", "i", "i + 1", "i", "1", "sum += Long.parseLong(c)", "sum", "Long.parseLong(c)", "Long.parseLong", "Long", "c", "if (sum % 9 == 0 || sum == 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }", "sum % 9 == 0 || sum == 0", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "sum == 0", "sum", "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 \n public static void main(String[] args) {\n\n Scanner sc = null;\n sc = new Scanner(System.in);\n String n = sc.next();\n sc.close();\n String c = null;\n long sum = 0;\n for (int i=0; i < n.length(); i++) {\n c = n.substring(i, i + 1);\n sum += Long.parseLong(c);\n\n }\n if (sum % 9 == 0 || sum == 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n }\n}", "public class Main {\n \n public static void main(String[] args) {\n\n Scanner sc = null;\n sc = new Scanner(System.in);\n String n = sc.next();\n sc.close();\n String c = null;\n long sum = 0;\n for (int i=0; i < n.length(); i++) {\n c = n.substring(i, i + 1);\n sum += Long.parseLong(c);\n\n }\n if (sum % 9 == 0 || sum == 0) {\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 = null; sc = new Scanner(System.in); String n = sc.next(); sc.close(); String c = null; long sum = 0; for (int i=0; i < n.length(); i++) { c = n.substring(i, i + 1); sum += Long.parseLong(c); } if (sum % 9 == 0 || sum == 0) { System.out.println("Yes"); } else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 0, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 13, 14, 2, 2, 13, 17, 17, 4, 18, 13, 17, 4, 18, 13, 17, 4, 18, 13, 4, 18, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13, 6, 13, 41, 13, 2, 17, 17, 41, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 0, 13, 20, 13, 0, 13, 0, 13, 17, 12, 13, 30, 0, 13, 20, 0, 13, 20, 13, 0, 13, 0, 13, 17, 23, 13, 12, 13, 30, 41, 13, 20, 17, 41, 13, 17, 41, 13, 42, 2, 0, 13, 4, 13, 40, 17, 30, 14, 2, 13, 17, 3, 0, 18, 13, 40, 13, 13, 29, 20, 12, 13, 30, 41, 13, 17, 41, 13, 4, 13, 42, 2, 13, 17, 0, 13, 4, 13, 41, 13, 2, 13, 17, 14, 13, 0, 13, 4, 13, 42, 2, 2, 0, 13, 4, 13, 17, 2, 13, 17, 30, 0, 13, 2, 2, 2, 13, 17, 13, 17, 14, 13, 29, 40, 13, 29, 13, 12, 13, 30, 41, 13, 17, 41, 13, 4, 13, 42, 2, 13, 17, 0, 13, 4, 13, 41, 13, 2, 13, 17, 14, 13, 0, 13, 4, 13, 42, 2, 2, 0, 13, 4, 13, 17, 2, 13, 17, 30, 0, 13, 2, 2, 2, 13, 17, 13, 17, 14, 13, 29, 40, 13, 29, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 4, 13, 42, 2, 13, 17, 0, 13, 4, 13, 41, 13, 2, 13, 17, 14, 13, 0, 13, 4, 13, 42, 2, 2, 0, 13, 4, 13, 17, 2, 13, 17, 30, 0, 13, 2, 2, 2, 13, 17, 13, 17, 14, 2, 13, 17, 30, 42, 2, 2, 0, 13, 4, 13, 17, 2, 13, 17, 30, 0, 13, 2, 2, 13, 17, 0, 13, 17, 14, 13, 29, 40, 13, 29, 13, 12, 13, 30, 0, 13, 4, 18, 13, 13, 0, 13, 17, 13, 14, 2, 13, 40, 17, 0, 18, 13, 17, 40, 17, 12, 13, 30, 14, 2, 13, 13, 4, 13, 29, 18, 13, 40, 13, 12, 13, 30, 14, 2, 13, 17, 29, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 484, 8 ], [ 484, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 12, 19 ], [ 12, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 20, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 20, 32 ], [ 32, 33 ], [ 32, 34 ], [ 20, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 35, 45 ], [ 45, 46 ], [ 46, 47 ], [ 35, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 20, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 61, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 20, 75 ], [ 75, 76 ], [ 76, 77 ], [ 20, 78 ], [ 78, 79 ], [ 79, 80 ], [ 9, 81 ], [ 81, 82 ], [ 484, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 83, 87 ], [ 87, 88 ], [ 83, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 83, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 98, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 108, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 97, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 83, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 127, 130 ], [ 130, 131 ], [ 83, 132 ], [ 132, 133 ], [ 132, 134 ], [ 134, 135 ], [ 135, 136 ], [ 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 ], [ 484, 153 ], [ 153, 154 ], [ 153, 155 ], [ 155, 156 ], [ 155, 157 ], [ 157, 158 ], [ 157, 159 ], [ 153, 160 ], [ 160, 161 ], [ 153, 162 ], [ 162, 163 ], [ 153, 164 ], [ 164, 165 ], [ 153, 166 ], [ 166, 167 ], [ 153, 168 ], [ 168, 169 ], [ 168, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 170, 174 ], [ 174, 175 ], [ 174, 176 ], [ 170, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 180, 182 ], [ 153, 183 ], [ 183, 184 ], [ 183, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 185, 189 ], [ 189, 190 ], [ 189, 191 ], [ 185, 193 ], [ 193, 194 ], [ 193, 195 ], [ 195, 196 ], [ 195, 197 ], [ 183, 198 ], [ 198, 199 ], [ 153, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 202, 207 ], [ 207, 208 ], [ 207, 209 ], [ 202, 210 ], [ 210, 211 ], [ 202, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 216, 217 ], [ 213, 218 ], [ 218, 219 ], [ 212, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 222, 224 ], [ 221, 225 ], [ 220, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 229, 230 ], [ 226, 231 ], [ 202, 232 ], [ 232, 233 ], [ 153, 234 ], [ 234, 235 ], [ 234, 236 ], [ 236, 237 ], [ 237, 238 ], [ 237, 239 ], [ 236, 240 ], [ 240, 241 ], [ 240, 242 ], [ 242, 243 ], [ 236, 244 ], [ 244, 245 ], [ 245, 246 ], [ 245, 247 ], [ 244, 248 ], [ 248, 249 ], [ 248, 250 ], [ 250, 251 ], [ 236, 252 ], [ 252, 253 ], [ 252, 254 ], [ 254, 255 ], [ 254, 256 ], [ 236, 257 ], [ 257, 258 ], [ 257, 259 ], [ 259, 260 ], [ 259, 261 ], [ 261, 262 ], [ 236, 263 ], [ 263, 264 ], [ 264, 265 ], [ 265, 266 ], [ 266, 267 ], [ 266, 268 ], [ 268, 269 ], [ 265, 270 ], [ 264, 271 ], [ 271, 272 ], [ 271, 273 ], [ 263, 274 ], [ 274, 275 ], [ 275, 276 ], [ 275, 277 ], [ 277, 278 ], [ 278, 279 ], [ 279, 280 ], [ 279, 281 ], [ 278, 282 ], [ 277, 283 ], [ 236, 284 ], [ 284, 285 ], [ 284, 286 ], [ 286, 287 ], [ 287, 288 ], [ 236, 289 ], [ 289, 290 ], [ 153, 291 ], [ 291, 292 ], [ 291, 293 ], [ 293, 294 ], [ 294, 295 ], [ 294, 296 ], [ 293, 297 ], [ 297, 298 ], [ 297, 299 ], [ 299, 300 ], [ 293, 301 ], [ 301, 302 ], [ 302, 303 ], [ 302, 304 ], [ 301, 305 ], [ 305, 306 ], [ 305, 307 ], [ 307, 308 ], [ 293, 309 ], [ 309, 310 ], [ 309, 311 ], [ 311, 312 ], [ 311, 313 ], [ 293, 314 ], [ 314, 315 ], [ 314, 316 ], [ 316, 317 ], [ 316, 318 ], [ 318, 319 ], [ 293, 320 ], [ 320, 321 ], [ 321, 322 ], [ 322, 323 ], [ 323, 324 ], [ 323, 325 ], [ 325, 326 ], [ 322, 327 ], [ 321, 328 ], [ 328, 329 ], [ 328, 330 ], [ 320, 331 ], [ 331, 332 ], [ 332, 333 ], [ 332, 334 ], [ 334, 335 ], [ 335, 336 ], [ 336, 337 ], [ 336, 338 ], [ 335, 339 ], [ 334, 340 ], [ 293, 341 ], [ 341, 342 ], [ 341, 343 ], [ 343, 344 ], [ 344, 345 ], [ 293, 346 ], [ 346, 347 ], [ 153, 348 ], [ 348, 349 ], [ 348, 350 ], [ 350, 351 ], [ 351, 352 ], [ 351, 353 ], [ 350, 354 ], [ 354, 355 ], [ 354, 356 ], [ 350, 357 ], [ 357, 358 ], [ 357, 359 ], [ 359, 360 ], [ 350, 361 ], [ 361, 362 ], [ 362, 363 ], [ 362, 364 ], [ 361, 365 ], [ 365, 366 ], [ 365, 367 ], [ 367, 368 ], [ 350, 369 ], [ 369, 370 ], [ 369, 371 ], [ 371, 372 ], [ 371, 373 ], [ 350, 374 ], [ 374, 375 ], [ 374, 376 ], [ 376, 377 ], [ 376, 378 ], [ 378, 379 ], [ 350, 380 ], [ 380, 381 ], [ 381, 382 ], [ 382, 383 ], [ 383, 384 ], [ 383, 385 ], [ 385, 386 ], [ 382, 387 ], [ 381, 388 ], [ 388, 389 ], [ 388, 390 ], [ 380, 391 ], [ 391, 392 ], [ 392, 393 ], [ 392, 394 ], [ 394, 395 ], [ 395, 396 ], [ 396, 397 ], [ 396, 398 ], [ 395, 399 ], [ 394, 400 ], [ 350, 401 ], [ 401, 402 ], [ 402, 403 ], [ 402, 404 ], [ 401, 405 ], [ 405, 406 ], [ 406, 407 ], [ 407, 408 ], [ 408, 409 ], [ 409, 410 ], [ 409, 411 ], [ 411, 412 ], [ 408, 413 ], [ 407, 414 ], [ 414, 415 ], [ 414, 416 ], [ 406, 417 ], [ 417, 418 ], [ 418, 419 ], [ 418, 420 ], [ 420, 421 ], [ 421, 422 ], [ 421, 423 ], [ 420, 424 ], [ 424, 425 ], [ 424, 426 ], [ 350, 427 ], [ 427, 428 ], [ 427, 429 ], [ 429, 430 ], [ 430, 431 ], [ 350, 432 ], [ 432, 433 ], [ 153, 434 ], [ 434, 435 ], [ 434, 436 ], [ 436, 437 ], [ 437, 438 ], [ 437, 439 ], [ 439, 440 ], [ 440, 441 ], [ 439, 442 ], [ 439, 443 ], [ 443, 444 ], [ 443, 445 ], [ 439, 446 ], [ 436, 447 ], [ 447, 448 ], [ 448, 449 ], [ 448, 450 ], [ 450, 451 ], [ 447, 452 ], [ 452, 453 ], [ 453, 454 ], [ 453, 455 ], [ 452, 456 ], [ 456, 457 ], [ 153, 458 ], [ 458, 459 ], [ 458, 460 ], [ 460, 461 ], [ 461, 462 ], [ 462, 463 ], [ 462, 464 ], [ 461, 465 ], [ 465, 466 ], [ 460, 467 ], [ 467, 468 ], [ 468, 469 ], [ 468, 470 ], [ 470, 471 ], [ 153, 472 ], [ 472, 473 ], [ 472, 474 ], [ 474, 475 ], [ 475, 476 ], [ 476, 477 ], [ 476, 478 ], [ 475, 479 ], [ 474, 480 ], [ 480, 481 ], [ 481, 482 ], [ 0, 483 ], [ 483, 484 ], [ 483, 485 ] ]
[ "import java.util.*;\nimport java.io.*;\n\npublic class Main {\n\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next()\n {\n while(st==null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n String nextLine()\n {\n String str = \"\";\n\n try\n {\n str = br.readLine();\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static class Reader\n {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public String readLine() throws IOException\n {\n byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n\n public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n\n private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }\n }\n\n public static void main(String[] args) throws java.lang.Exception\n {\n try\n {\n FastReader fr = new FastReader();\n //Reader fr = new Reader();\n PrintWriter out = new PrintWriter(System.out);\n\n String s = fr.nextLine();\n\n long sum = 0;\n for (int i=0;i<s.length();i++) sum+=Long.parseLong(String.valueOf(s.charAt(i)));\n\n if (sum%9==0) out.println(\"Yes\");\n else out.println(\"No\");\n\n out.flush();\n out.close();\n }\n\n catch(Exception e){e.printStackTrace();}\n finally{}\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next()\n {\n while(st==null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n String nextLine()\n {\n String str = \"\";\n\n try\n {\n str = br.readLine();\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static class Reader\n {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public String readLine() throws IOException\n {\n byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n\n public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n\n private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }\n }\n\n public static void main(String[] args) throws java.lang.Exception\n {\n try\n {\n FastReader fr = new FastReader();\n //Reader fr = new Reader();\n PrintWriter out = new PrintWriter(System.out);\n\n String s = fr.nextLine();\n\n long sum = 0;\n for (int i=0;i<s.length();i++) sum+=Long.parseLong(String.valueOf(s.charAt(i)));\n\n if (sum%9==0) out.println(\"Yes\");\n else out.println(\"No\");\n\n out.flush();\n out.close();\n }\n\n catch(Exception e){e.printStackTrace();}\n finally{}\n }\n}", "Main", "public static void main(String[] args) throws java.lang.Exception\n {\n try\n {\n FastReader fr = new FastReader();\n //Reader fr = new Reader();\n PrintWriter out = new PrintWriter(System.out);\n\n String s = fr.nextLine();\n\n long sum = 0;\n for (int i=0;i<s.length();i++) sum+=Long.parseLong(String.valueOf(s.charAt(i)));\n\n if (sum%9==0) out.println(\"Yes\");\n else out.println(\"No\");\n\n out.flush();\n out.close();\n }\n\n catch(Exception e){e.printStackTrace();}\n finally{}\n }", "main", "{\n try\n {\n FastReader fr = new FastReader();\n //Reader fr = new Reader();\n PrintWriter out = new PrintWriter(System.out);\n\n String s = fr.nextLine();\n\n long sum = 0;\n for (int i=0;i<s.length();i++) sum+=Long.parseLong(String.valueOf(s.charAt(i)));\n\n if (sum%9==0) out.println(\"Yes\");\n else out.println(\"No\");\n\n out.flush();\n out.close();\n }\n\n catch(Exception e){e.printStackTrace();}\n finally{}\n }", "try\n {\n FastReader fr = new FastReader();\n //Reader fr = new Reader();\n PrintWriter out = new PrintWriter(System.out);\n\n String s = fr.nextLine();\n\n long sum = 0;\n for (int i=0;i<s.length();i++) sum+=Long.parseLong(String.valueOf(s.charAt(i)));\n\n if (sum%9==0) out.println(\"Yes\");\n else out.println(\"No\");\n\n out.flush();\n out.close();\n }\n\n catch(Exception e){e.printStackTrace();}\n finally{}", "catch(Exception e){e.printStackTrace();}", "Exception e", "{e.printStackTrace();}", "e.printStackTrace()", "e.printStackTrace", "e", "{}", "{\n FastReader fr = new FastReader();\n //Reader fr = new Reader();\n PrintWriter out = new PrintWriter(System.out);\n\n String s = fr.nextLine();\n\n long sum = 0;\n for (int i=0;i<s.length();i++) sum+=Long.parseLong(String.valueOf(s.charAt(i)));\n\n if (sum%9==0) out.println(\"Yes\");\n else out.println(\"No\");\n\n out.flush();\n out.close();\n }", "FastReader fr = new FastReader();", "fr", "new FastReader()", "PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "String s = fr.nextLine();", "s", "fr.nextLine()", "fr.nextLine", "fr", "long sum = 0;", "sum", "0", "for (int i=0;i<s.length();i++) sum+=Long.parseLong(String.valueOf(s.charAt(i)));", "int i=0;", "int i=0;", "i", "0", "i<s.length()", "i", "s.length()", "s.length", "s", "i++", "i++", "i", "sum+=Long.parseLong(String.valueOf(s.charAt(i)));", "sum+=Long.parseLong(String.valueOf(s.charAt(i)))", "sum", "Long.parseLong(String.valueOf(s.charAt(i)))", "Long.parseLong", "Long", "String.valueOf(s.charAt(i))", "String.valueOf", "String", "s.charAt(i)", "s.charAt", "s", "i", "if (sum%9==0) out.println(\"Yes\");\n else out.println(\"No\");", "sum%9==0", "sum%9", "sum", "9", "0", "out.println(\"Yes\")", "out.println", "out", "\"Yes\"", "out.println(\"No\")", "out.println", "out", "\"No\"", "out.flush()", "out.flush", "out", "out.close()", "out.close", "out", "String[] args", "args", "static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next()\n {\n while(st==null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n String nextLine()\n {\n String str = \"\";\n\n try\n {\n str = br.readLine();\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }", "FastReader", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastReader()\n {\n br = new BufferedReader(new 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 {\n while(st==null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "next", "{\n while(st==null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "while(st==null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n }", "st==null || !st.hasMoreElements()", "st==null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n }", "try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }", "catch(IOException e)\n {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt()\n {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "String nextLine()\n {\n String str = \"\";\n\n try\n {\n str = br.readLine();\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }", "nextLine", "{\n String str = \"\";\n\n try\n {\n str = br.readLine();\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }", "String str = \"\";", "str", "\"\"", "try\n {\n str = br.readLine();\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }", "catch(IOException e)\n {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n str = br.readLine();\n }", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str", "static class Reader\n {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public String readLine() throws IOException\n {\n byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n\n public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n\n private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }\n }", "Reader", "final private int BUFFER_SIZE = 1 << 16;", "BUFFER_SIZE", "1 << 16", "1", "16", "private DataInputStream din;", "din", "private byte[] buffer;", "buffer", "private int bufferPointer", "bufferPointer", "bytesRead;", "bytesRead", "public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }", "Reader", "{\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }", "din = new DataInputStream(System.in)", "din", "new DataInputStream(System.in)", "buffer = new byte[BUFFER_SIZE]", "buffer", "new byte[BUFFER_SIZE]", "BUFFER_SIZE", "bufferPointer = bytesRead = 0", "bufferPointer", "bytesRead = 0", "bytesRead", "0", "public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }", "Reader", "{\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }", "din = new DataInputStream(new FileInputStream(file_name))", "din", "new DataInputStream(new FileInputStream(file_name))", "buffer = new byte[BUFFER_SIZE]", "buffer", "new byte[BUFFER_SIZE]", "BUFFER_SIZE", "bufferPointer = bytesRead = 0", "bufferPointer", "bytesRead = 0", "bytesRead", "0", "String file_name", "file_name", "public String readLine() throws IOException\n {\n byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }", "readLine", "{\n byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }", "byte[] buf = new byte[64];", "buf", "new byte[64]", "64", "int cnt = 0", "cnt", "0", "c;", "c", "while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }", "(c = read()) != -1", "(c = read())", "c", "read()", "read", "-1", "1", "{\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }", "if (c == '\\n')\n break;", "c == '\\n'", "c", "'\\n'", "break;", "buf[cnt++] = (byte) c", "buf[cnt++]", "buf", "cnt++", "cnt", "(byte) c", "return new String(buf, 0, cnt);", "new String(buf, 0, cnt)", "public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }", "nextInt", "{\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }", "int ret = 0;", "ret", "0", "byte c = read();", "c", "read()", "read", "while (c <= ' ')\n c = read();", "c <= ' '", "c", "' '", "c = read()", "c", "read()", "read", "boolean neg = (c == '-');", "neg", "(c == '-')", "c", "'-'", "if (neg)\n c = read();", "neg", "c = read()", "c", "read()", "read", "do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');", "(c = read()) >= '0' && c <= '9'", "(c = read()) >= '0'", "(c = read())", "c", "read()", "read", "'0'", "c <= '9'", "c", "'9'", "{\n ret = ret * 10 + c - '0';\n }", "ret = ret * 10 + c - '0'", "ret", "ret * 10 + c - '0'", "ret * 10 + c", "ret * 10", "ret", "10", "c", "'0'", "if (neg)\n return -ret;", "neg", "return -ret;", "-ret", "ret", "return ret;", "ret", "public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }", "nextLong", "{\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }", "long ret = 0;", "ret", "0", "byte c = read();", "c", "read()", "read", "while (c <= ' ')\n c = read();", "c <= ' '", "c", "' '", "c = read()", "c", "read()", "read", "boolean neg = (c == '-');", "neg", "(c == '-')", "c", "'-'", "if (neg)\n c = read();", "neg", "c = read()", "c", "read()", "read", "do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');", "(c = read()) >= '0' && c <= '9'", "(c = read()) >= '0'", "(c = read())", "c", "read()", "read", "'0'", "c <= '9'", "c", "'9'", "{\n ret = ret * 10 + c - '0';\n }", "ret = ret * 10 + c - '0'", "ret", "ret * 10 + c - '0'", "ret * 10 + c", "ret * 10", "ret", "10", "c", "'0'", "if (neg)\n return -ret;", "neg", "return -ret;", "-ret", "ret", "return ret;", "ret", "public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }", "nextDouble", "{\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }", "double ret = 0", "ret", "0", "div = 1;", "div", "1", "byte c = read();", "c", "read()", "read", "while (c <= ' ')\n c = read();", "c <= ' '", "c", "' '", "c = read()", "c", "read()", "read", "boolean neg = (c == '-');", "neg", "(c == '-')", "c", "'-'", "if (neg)\n c = read();", "neg", "c = read()", "c", "read()", "read", "do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');", "(c = read()) >= '0' && c <= '9'", "(c = read()) >= '0'", "(c = read())", "c", "read()", "read", "'0'", "c <= '9'", "c", "'9'", "{\n ret = ret * 10 + c - '0';\n }", "ret = ret * 10 + c - '0'", "ret", "ret * 10 + c - '0'", "ret * 10 + c", "ret * 10", "ret", "10", "c", "'0'", "if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }", "c == '.'", "c", "'.'", "{\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }", "while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }", "(c = read()) >= '0' && c <= '9'", "(c = read()) >= '0'", "(c = read())", "c", "read()", "read", "'0'", "c <= '9'", "c", "'9'", "{\n ret += (c - '0') / (div *= 10);\n }", "ret += (c - '0') / (div *= 10)", "ret", "(c - '0') / (div *= 10)", "(c - '0')", "c", "'0'", "(div *= 10)", "div", "10", "if (neg)\n return -ret;", "neg", "return -ret;", "-ret", "ret", "return ret;", "ret", "private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }", "fillBuffer", "{\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }", "bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE)", "bytesRead", "din.read(buffer, bufferPointer = 0, BUFFER_SIZE)", "din.read", "din", "buffer", "bufferPointer = 0", "bufferPointer", "0", "BUFFER_SIZE", "if (bytesRead == -1)\n buffer[0] = -1;", "bytesRead == -1", "bytesRead", "-1", "1", "buffer[0] = -1", "buffer[0]", "buffer", "0", "-1", "1", "private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }", "read", "{\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }", "if (bufferPointer == bytesRead)\n fillBuffer();", "bufferPointer == bytesRead", "bufferPointer", "bytesRead", "fillBuffer()", "fillBuffer", "return buffer[bufferPointer++];", "buffer[bufferPointer++]", "buffer", "bufferPointer++", "bufferPointer", "public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }", "close", "{\n if (din == null)\n return;\n din.close();\n }", "if (din == null)\n return;", "din == null", "din", "null", "return;", "din.close()", "din.close", "din", "public class Main {\n\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next()\n {\n while(st==null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n String nextLine()\n {\n String str = \"\";\n\n try\n {\n str = br.readLine();\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static class Reader\n {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public String readLine() throws IOException\n {\n byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n\n public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n\n private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }\n }\n\n public static void main(String[] args) throws java.lang.Exception\n {\n try\n {\n FastReader fr = new FastReader();\n //Reader fr = new Reader();\n PrintWriter out = new PrintWriter(System.out);\n\n String s = fr.nextLine();\n\n long sum = 0;\n for (int i=0;i<s.length();i++) sum+=Long.parseLong(String.valueOf(s.charAt(i)));\n\n if (sum%9==0) out.println(\"Yes\");\n else out.println(\"No\");\n\n out.flush();\n out.close();\n }\n\n catch(Exception e){e.printStackTrace();}\n finally{}\n }\n}", "public class Main {\n\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next()\n {\n while(st==null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n String nextLine()\n {\n String str = \"\";\n\n try\n {\n str = br.readLine();\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static class Reader\n {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public String readLine() throws IOException\n {\n byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n\n public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n\n private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }\n }\n\n public static void main(String[] args) throws java.lang.Exception\n {\n try\n {\n FastReader fr = new FastReader();\n //Reader fr = new Reader();\n PrintWriter out = new PrintWriter(System.out);\n\n String s = fr.nextLine();\n\n long sum = 0;\n for (int i=0;i<s.length();i++) sum+=Long.parseLong(String.valueOf(s.charAt(i)));\n\n if (sum%9==0) out.println(\"Yes\");\n else out.println(\"No\");\n\n out.flush();\n out.close();\n }\n\n catch(Exception e){e.printStackTrace();}\n finally{}\n }\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { static class FastReader { BufferedReader br; StringTokenizer st; public FastReader() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while(st==null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch(IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } String nextLine() { String str = ""; try { str = br.readLine(); } catch(IOException e) { e.printStackTrace(); } return str; } } static class Reader { final private int BUFFER_SIZE = 1 << 16; private DataInputStream din; private byte[] buffer; private int bufferPointer, bytesRead; public Reader() { din = new DataInputStream(System.in); buffer = new byte[BUFFER_SIZE]; bufferPointer = bytesRead = 0; } public Reader(String file_name) throws IOException { din = new DataInputStream(new FileInputStream(file_name)); buffer = new byte[BUFFER_SIZE]; bufferPointer = bytesRead = 0; } public String readLine() throws IOException { byte[] buf = new byte[64]; // line length int cnt = 0, c; while ((c = read()) != -1) { if (c == '\n') break; buf[cnt++] = (byte) c; } return new String(buf, 0, cnt); } public int nextInt() throws IOException { int ret = 0; byte c = read(); while (c <= ' ') c = read(); boolean neg = (c == '-'); if (neg) c = read(); do { ret = ret * 10 + c - '0'; } while ((c = read()) >= '0' && c <= '9'); if (neg) return -ret; return ret; } public long nextLong() throws IOException { long ret = 0; byte c = read(); while (c <= ' ') c = read(); boolean neg = (c == '-'); if (neg) c = read(); do { ret = ret * 10 + c - '0'; } while ((c = read()) >= '0' && c <= '9'); if (neg) return -ret; return ret; } public double nextDouble() throws IOException { double ret = 0, div = 1; byte c = read(); while (c <= ' ') c = read(); boolean neg = (c == '-'); if (neg) c = read(); do { ret = ret * 10 + c - '0'; } while ((c = read()) >= '0' && c <= '9'); if (c == '.') { while ((c = read()) >= '0' && c <= '9') { ret += (c - '0') / (div *= 10); } } if (neg) return -ret; return ret; } private void fillBuffer() throws IOException { bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); if (bytesRead == -1) buffer[0] = -1; } private byte read() throws IOException { if (bufferPointer == bytesRead) fillBuffer(); return buffer[bufferPointer++]; } public void close() throws IOException { if (din == null) return; din.close(); } } public static void main(String[] args) throws java.lang.Exception { try { FastReader fr = new FastReader(); //Reader fr = new Reader(); PrintWriter out = new PrintWriter(System.out); String s = fr.nextLine(); long sum = 0; for (int i=0;i<s.length();i++) sum+=Long.parseLong(String.valueOf(s.charAt(i))); if (sum%9==0) out.println("Yes"); else out.println("No"); out.flush(); out.close(); } catch(Exception e){e.printStackTrace();} finally{} } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 41, 13, 17, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 13, 2, 13, 17, 41, 13, 4, 18, 13, 13, 0, 13, 2, 13, 13, 14, 2, 2, 13, 17, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 90, 14 ], [ 90, 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 ], [ 17, 33 ], [ 33, 34 ], [ 33, 35 ], [ 17, 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 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 51, 55 ], [ 55, 56 ], [ 55, 57 ], [ 48, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 48, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 17, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 69, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 69, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 15, 87 ], [ 87, 88 ], [ 0, 89 ], [ 89, 90 ], [ 89, 91 ] ]
[ " \n import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.*;\n public class Main\n {\n \tpublic static void main(String[]args)\n \t{\n \t\tScanner sc=new Scanner (System.in);\n \t\t//int t=sc.nextInt();\n \t\tString str=sc.next();\n \t\tint n=str.length();\n \t\tint i,temp=0;\n \t\tfor(i=0;i<n;i++)\n \t\t{\n \t\t\t\n \t\t\tString s=str.substring(i,i+1);\n \t\t\tint x=Integer.parseInt(s);\n \t\t\ttemp=temp+x;\n \t\t}\n \t\tif(temp%9==0)System.out.println(\"Yes\");\n \t\telse System.out.println(\"No\");\n \t}\n }", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.*;", "util.*", "java", "public class Main\n {\n \tpublic static void main(String[]args)\n \t{\n \t\tScanner sc=new Scanner (System.in);\n \t\t//int t=sc.nextInt();\n \t\tString str=sc.next();\n \t\tint n=str.length();\n \t\tint i,temp=0;\n \t\tfor(i=0;i<n;i++)\n \t\t{\n \t\t\t\n \t\t\tString s=str.substring(i,i+1);\n \t\t\tint x=Integer.parseInt(s);\n \t\t\ttemp=temp+x;\n \t\t}\n \t\tif(temp%9==0)System.out.println(\"Yes\");\n \t\telse System.out.println(\"No\");\n \t}\n }", "Main", "public static void main(String[]args)\n \t{\n \t\tScanner sc=new Scanner (System.in);\n \t\t//int t=sc.nextInt();\n \t\tString str=sc.next();\n \t\tint n=str.length();\n \t\tint i,temp=0;\n \t\tfor(i=0;i<n;i++)\n \t\t{\n \t\t\t\n \t\t\tString s=str.substring(i,i+1);\n \t\t\tint x=Integer.parseInt(s);\n \t\t\ttemp=temp+x;\n \t\t}\n \t\tif(temp%9==0)System.out.println(\"Yes\");\n \t\telse System.out.println(\"No\");\n \t}", "main", "{\n \t\tScanner sc=new Scanner (System.in);\n \t\t//int t=sc.nextInt();\n \t\tString str=sc.next();\n \t\tint n=str.length();\n \t\tint i,temp=0;\n \t\tfor(i=0;i<n;i++)\n \t\t{\n \t\t\t\n \t\t\tString s=str.substring(i,i+1);\n \t\t\tint x=Integer.parseInt(s);\n \t\t\ttemp=temp+x;\n \t\t}\n \t\tif(temp%9==0)System.out.println(\"Yes\");\n \t\telse System.out.println(\"No\");\n \t}", "Scanner sc=new Scanner (System.in);", "sc", "new Scanner (System.in)", "String str=sc.next();", "str", "sc.next()", "sc.next", "sc", "int n=str.length();", "n", "str.length()", "str.length", "str", "int i", "i", "temp=0;", "temp", "0", "for(i=0;i<n;i++)\n \t\t{\n \t\t\t\n \t\t\tString s=str.substring(i,i+1);\n \t\t\tint x=Integer.parseInt(s);\n \t\t\ttemp=temp+x;\n \t\t}", "i=0;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n \t\t\t\n \t\t\tString s=str.substring(i,i+1);\n \t\t\tint x=Integer.parseInt(s);\n \t\t\ttemp=temp+x;\n \t\t}", "{\n \t\t\t\n \t\t\tString s=str.substring(i,i+1);\n \t\t\tint x=Integer.parseInt(s);\n \t\t\ttemp=temp+x;\n \t\t}", "String s=str.substring(i,i+1);", "s", "str.substring(i,i+1)", "str.substring", "str", "i", "i+1", "i", "1", "int x=Integer.parseInt(s);", "x", "Integer.parseInt(s)", "Integer.parseInt", "Integer", "s", "temp=temp+x", "temp", "temp+x", "temp", "x", "if(temp%9==0)System.out.println(\"Yes\");\n \t\telse System.out.println(\"No\");", "temp%9==0", "temp%9", "temp", "9", "0", "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{\n \t\tScanner sc=new Scanner (System.in);\n \t\t//int t=sc.nextInt();\n \t\tString str=sc.next();\n \t\tint n=str.length();\n \t\tint i,temp=0;\n \t\tfor(i=0;i<n;i++)\n \t\t{\n \t\t\t\n \t\t\tString s=str.substring(i,i+1);\n \t\t\tint x=Integer.parseInt(s);\n \t\t\ttemp=temp+x;\n \t\t}\n \t\tif(temp%9==0)System.out.println(\"Yes\");\n \t\telse System.out.println(\"No\");\n \t}\n }", "public class Main\n {\n \tpublic static void main(String[]args)\n \t{\n \t\tScanner sc=new Scanner (System.in);\n \t\t//int t=sc.nextInt();\n \t\tString str=sc.next();\n \t\tint n=str.length();\n \t\tint i,temp=0;\n \t\tfor(i=0;i<n;i++)\n \t\t{\n \t\t\t\n \t\t\tString s=str.substring(i,i+1);\n \t\t\tint x=Integer.parseInt(s);\n \t\t\ttemp=temp+x;\n \t\t}\n \t\tif(temp%9==0)System.out.println(\"Yes\");\n \t\telse System.out.println(\"No\");\n \t}\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) { Scanner sc=new Scanner (System.in); //int t=sc.nextInt(); String str=sc.next(); int n=str.length(); int i,temp=0; for(i=0;i<n;i++) { String s=str.substring(i,i+1); int x=Integer.parseInt(s); temp=temp+x; } if(temp%9==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, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 41, 13, 2, 4, 18, 13, 13, 17, 0, 13, 2, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 71, 5 ], [ 71, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 20, 30 ], [ 30, 31 ], [ 31, 32 ], [ 20, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 37, 42 ], [ 34, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 8, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 48, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 48, 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\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tString n = in.next();\n\t\t\n\t\t\n\t\t\n\t\tlong sum = 0;\n\t\t\n\t\tfor(int i = 0;i<n.length();i++) {\n\t\t\tint num = n.charAt(i) - '0';\n\t\t\tsum = sum + num;\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tif(sum % 9 == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tString n = in.next();\n\t\t\n\t\t\n\t\t\n\t\tlong sum = 0;\n\t\t\n\t\tfor(int i = 0;i<n.length();i++) {\n\t\t\tint num = n.charAt(i) - '0';\n\t\t\tsum = sum + num;\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tif(sum % 9 == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tString n = in.next();\n\t\t\n\t\t\n\t\t\n\t\tlong sum = 0;\n\t\t\n\t\tfor(int i = 0;i<n.length();i++) {\n\t\t\tint num = n.charAt(i) - '0';\n\t\t\tsum = sum + num;\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tif(sum % 9 == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t}", "main", "{\n\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tString n = in.next();\n\t\t\n\t\t\n\t\t\n\t\tlong sum = 0;\n\t\t\n\t\tfor(int i = 0;i<n.length();i++) {\n\t\t\tint num = n.charAt(i) - '0';\n\t\t\tsum = sum + num;\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tif(sum % 9 == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t}", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "String n = in.next();", "n", "in.next()", "in.next", "in", "long sum = 0;", "sum", "0", "for(int i = 0;i<n.length();i++) {\n\t\t\tint num = n.charAt(i) - '0';\n\t\t\tsum = sum + num;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i<n.length()", "i", "n.length()", "n.length", "n", "i++", "i++", "i", "{\n\t\t\tint num = n.charAt(i) - '0';\n\t\t\tsum = sum + num;\n\t\t}", "{\n\t\t\tint num = n.charAt(i) - '0';\n\t\t\tsum = sum + num;\n\t\t}", "int num = n.charAt(i) - '0';", "num", "n.charAt(i) - '0'", "n.charAt(i)", "n.charAt", "n", "i", "'0'", "sum = sum + num", "sum", "sum + num", "sum", "num", "if(sum % 9 == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "sum % 9 == 0", "sum % 9", "sum", "9", "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\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tString n = in.next();\n\t\t\n\t\t\n\t\t\n\t\tlong sum = 0;\n\t\t\n\t\tfor(int i = 0;i<n.length();i++) {\n\t\t\tint num = n.charAt(i) - '0';\n\t\t\tsum = sum + num;\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tif(sum % 9 == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tString n = in.next();\n\t\t\n\t\t\n\t\t\n\t\tlong sum = 0;\n\t\t\n\t\tfor(int i = 0;i<n.length();i++) {\n\t\t\tint num = n.charAt(i) - '0';\n\t\t\tsum = sum + num;\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tif(sum % 9 == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); String n = in.next(); long sum = 0; for(int i = 0;i<n.length();i++) { int num = n.charAt(i) - '0'; sum = sum + num; } if(sum % 9 == 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, 4, 18, 13, 41, 13, 20, 18, 13, 13, 41, 13, 17, 41, 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, 14, 2, 2, 13, 17, 17, 30, 0, 13, 17, 30, 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 ], [ 86, 5 ], [ 86, 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 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 30, 40 ], [ 40, 41 ], [ 41, 42 ], [ 30, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 52, 54 ], [ 44, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 8, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 60, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 60, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 8, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 8, 80 ], [ 80, 81 ], [ 81, 82 ], [ 6, 83 ], [ 83, 84 ], [ 0, 85 ], [ 85, 86 ], [ 85, 87 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n char[] nChar = sc.next().toCharArray();\n int[] n = new int[nChar.length];\n int sum = 0;\n String ans;\n\n for (int cnt = 0; cnt < n.length; cnt++) {\n n[cnt] = Character.getNumericValue(nChar[cnt]);\n sum += n[cnt];\n }\n if(sum % 9 == 0){\n ans = \"Yes\";\n }\n else{\n ans = \"No\";\n }\n\n System.out.println(ans);\n sc.close();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n char[] nChar = sc.next().toCharArray();\n int[] n = new int[nChar.length];\n int sum = 0;\n String ans;\n\n for (int cnt = 0; cnt < n.length; cnt++) {\n n[cnt] = Character.getNumericValue(nChar[cnt]);\n sum += n[cnt];\n }\n if(sum % 9 == 0){\n ans = \"Yes\";\n }\n else{\n ans = \"No\";\n }\n\n System.out.println(ans);\n sc.close();\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n char[] nChar = sc.next().toCharArray();\n int[] n = new int[nChar.length];\n int sum = 0;\n String ans;\n\n for (int cnt = 0; cnt < n.length; cnt++) {\n n[cnt] = Character.getNumericValue(nChar[cnt]);\n sum += n[cnt];\n }\n if(sum % 9 == 0){\n ans = \"Yes\";\n }\n else{\n ans = \"No\";\n }\n\n System.out.println(ans);\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n char[] nChar = sc.next().toCharArray();\n int[] n = new int[nChar.length];\n int sum = 0;\n String ans;\n\n for (int cnt = 0; cnt < n.length; cnt++) {\n n[cnt] = Character.getNumericValue(nChar[cnt]);\n sum += n[cnt];\n }\n if(sum % 9 == 0){\n ans = \"Yes\";\n }\n else{\n ans = \"No\";\n }\n\n System.out.println(ans);\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "char[] nChar = sc.next().toCharArray();", "nChar", "sc.next().toCharArray()", "sc.next().toCharArray", "sc.next()", "sc.next", "sc", "int[] n = new int[nChar.length];", "n", "new int[nChar.length]", "nChar.length", "nChar", "nChar.length", "int sum = 0;", "sum", "0", "String ans;", "ans", "for (int cnt = 0; cnt < n.length; cnt++) {\n n[cnt] = Character.getNumericValue(nChar[cnt]);\n sum += n[cnt];\n }", "int cnt = 0;", "int cnt = 0;", "cnt", "0", "cnt < n.length", "cnt", "n.length", "n", "n.length", "cnt++", "cnt++", "cnt", "{\n n[cnt] = Character.getNumericValue(nChar[cnt]);\n sum += n[cnt];\n }", "{\n n[cnt] = Character.getNumericValue(nChar[cnt]);\n sum += n[cnt];\n }", "n[cnt] = Character.getNumericValue(nChar[cnt])", "n[cnt]", "n", "cnt", "Character.getNumericValue(nChar[cnt])", "Character.getNumericValue", "Character", "nChar[cnt]", "nChar", "cnt", "sum += n[cnt]", "sum", "n[cnt]", "n", "cnt", "if(sum % 9 == 0){\n ans = \"Yes\";\n }\n else{\n ans = \"No\";\n }", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "{\n ans = \"Yes\";\n }", "ans = \"Yes\"", "ans", "\"Yes\"", "{\n ans = \"No\";\n }", "ans = \"No\"", "ans", "\"No\"", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n char[] nChar = sc.next().toCharArray();\n int[] n = new int[nChar.length];\n int sum = 0;\n String ans;\n\n for (int cnt = 0; cnt < n.length; cnt++) {\n n[cnt] = Character.getNumericValue(nChar[cnt]);\n sum += n[cnt];\n }\n if(sum % 9 == 0){\n ans = \"Yes\";\n }\n else{\n ans = \"No\";\n }\n\n System.out.println(ans);\n sc.close();\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n char[] nChar = sc.next().toCharArray();\n int[] n = new int[nChar.length];\n int sum = 0;\n String ans;\n\n for (int cnt = 0; cnt < n.length; cnt++) {\n n[cnt] = Character.getNumericValue(nChar[cnt]);\n sum += n[cnt];\n }\n if(sum % 9 == 0){\n ans = \"Yes\";\n }\n else{\n ans = \"No\";\n }\n\n System.out.println(ans);\n sc.close();\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); char[] nChar = sc.next().toCharArray(); int[] n = new int[nChar.length]; int sum = 0; String ans; for (int cnt = 0; cnt < n.length; cnt++) { n[cnt] = Character.getNumericValue(nChar[cnt]); sum += n[cnt]; } if(sum % 9 == 0){ ans = "Yes"; } else{ ans = "No"; } System.out.println(ans); sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 4, 18, 13, 41, 13, 17, 28, 13, 13, 30, 30, 0, 13, 2, 13, 17, 4, 18, 13, 8, 2, 2, 13, 17, 17, 17, 17, 12, 13, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 13, 23, 13, 6, 13, 41, 13, 20, 41, 13, 20, 12, 13, 30, 42, 40, 4, 18, 13, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 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 ], [ 198, 17 ], [ 198, 18 ], [ 18, 19 ], [ 18, 20 ], [ 198, 21 ], [ 21, 22 ], [ 21, 23 ], [ 198, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 26, 34 ], [ 34, 35 ], [ 34, 36 ], [ 26, 37 ], [ 37, 38 ], [ 37, 39 ], [ 37, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 26, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 50, 56 ], [ 50, 57 ], [ 198, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 69, 70 ], [ 69, 71 ], [ 64, 72 ], [ 72, 73 ], [ 73, 74 ], [ 64, 75 ], [ 76, 76 ], [ 76, 77 ], [ 77, 78 ], [ 60, 79 ], [ 79, 80 ], [ 80, 81 ], [ 58, 82 ], [ 82, 83 ], [ 198, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 86, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 84, 102 ], [ 102, 103 ], [ 198, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 109, 110 ], [ 109, 111 ], [ 104, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 115, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 120, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 114, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 104, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 139, 142 ], [ 142, 143 ], [ 104, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 146, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 151, 156 ], [ 156, 157 ], [ 156, 158 ], [ 151, 159 ], [ 159, 160 ], [ 160, 161 ], [ 151, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 167, 168 ], [ 146, 169 ], [ 169, 170 ], [ 144, 171 ], [ 171, 172 ], [ 104, 173 ], [ 173, 174 ], [ 173, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 177, 180 ], [ 180, 181 ], [ 104, 182 ], [ 182, 183 ], [ 182, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 186, 189 ], [ 189, 190 ], [ 104, 191 ], [ 191, 192 ], [ 191, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 0, 197 ], [ 197, 198 ], [ 197, 199 ] ]
[ "import java.io.*;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.BitSet;\nimport java.util.StringTokenizer;\n\npublic class Main {\n private static void solve() throws Exception {\n char[] s = fs.next().toCharArray();\n int sum = 0;\n for (char c : s) {\n sum += (c-'0');\n }\n out.println(sum % 9 == 0 ? \"Yes\" : \"No\" );\n }\n\n private static FastScanner fs = new FastScanner();\n private static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) throws Exception {\n int T = 1;\n for (int t = 0; t < T; t++) {\n solve();\n }\n out.close();\n }\n\n static void debug(Object... O) {\n System.err.print(\"DEBUG \");\n System.err.println(Arrays.deepToString(O));\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextString() {\n return next();\n }\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.BitSet;", "BitSet", "java.util", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n private static void solve() throws Exception {\n char[] s = fs.next().toCharArray();\n int sum = 0;\n for (char c : s) {\n sum += (c-'0');\n }\n out.println(sum % 9 == 0 ? \"Yes\" : \"No\" );\n }\n\n private static FastScanner fs = new FastScanner();\n private static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) throws Exception {\n int T = 1;\n for (int t = 0; t < T; t++) {\n solve();\n }\n out.close();\n }\n\n static void debug(Object... O) {\n System.err.print(\"DEBUG \");\n System.err.println(Arrays.deepToString(O));\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextString() {\n return next();\n }\n }\n}", "Main", "private static FastScanner fs = new FastScanner();", "fs", "new FastScanner()", "private static PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "private static void solve() throws Exception {\n char[] s = fs.next().toCharArray();\n int sum = 0;\n for (char c : s) {\n sum += (c-'0');\n }\n out.println(sum % 9 == 0 ? \"Yes\" : \"No\" );\n }", "solve", "{\n char[] s = fs.next().toCharArray();\n int sum = 0;\n for (char c : s) {\n sum += (c-'0');\n }\n out.println(sum % 9 == 0 ? \"Yes\" : \"No\" );\n }", "char[] s = fs.next().toCharArray();", "s", "fs.next().toCharArray()", "fs.next().toCharArray", "fs.next()", "fs.next", "fs", "int sum = 0;", "sum", "0", "for (char c : s) {\n sum += (c-'0');\n }", "char c", "s", "{\n sum += (c-'0');\n }", "{\n sum += (c-'0');\n }", "sum += (c-'0')", "sum", "(c-'0')", "c", "'0'", "out.println(sum % 9 == 0 ? \"Yes\" : \"No\" )", "out.println", "out", "sum % 9 == 0 ? \"Yes\" : \"No\"", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "\"Yes\"", "\"No\"", "public static void main(String[] args) throws Exception {\n int T = 1;\n for (int t = 0; t < T; t++) {\n solve();\n }\n out.close();\n }", "main", "{\n int T = 1;\n for (int t = 0; t < T; t++) {\n solve();\n }\n out.close();\n }", "int T = 1;", "T", "1", "for (int t = 0; t < T; t++) {\n solve();\n }", "int t = 0;", "int t = 0;", "t", "0", "t < T", "t", "T", "t++", "t++", "t", "{\n solve();\n }", "{\n solve();\n }", "solve()", "solve", "out.close()", "out.close", "out", "String[] args", "args", "static void debug(Object... O) {\n System.err.print(\"DEBUG \");\n System.err.println(Arrays.deepToString(O));\n }", "debug", "{\n System.err.print(\"DEBUG \");\n System.err.println(Arrays.deepToString(O));\n }", "System.err.print(\"DEBUG \")", "System.err.print", "System.err", "System", "System.err", "\"DEBUG \"", "System.err.println(Arrays.deepToString(O))", "System.err.println", "System.err", "System", "System.err", "Arrays.deepToString(O)", "Arrays.deepToString", "Arrays", "O", "Object... O", "O", "static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextString() {\n return next();\n }\n }", "FastScanner", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringTokenizer st = new StringTokenizer(\"\");", "st", "new StringTokenizer(\"\")", "String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }", "next", "{\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }", "while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }", "readArray", "{\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }", "int[] a = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++) a[i] = nextInt();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = nextInt();", "a[i] = nextInt()", "a[i]", "a", "i", "nextInt()", "nextInt", "return a;", "a", "int n", "n", "long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "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 nextString() {\n return next();\n }", "nextString", "{\n return next();\n }", "return next();", "next()", "next", "public class Main {\n private static void solve() throws Exception {\n char[] s = fs.next().toCharArray();\n int sum = 0;\n for (char c : s) {\n sum += (c-'0');\n }\n out.println(sum % 9 == 0 ? \"Yes\" : \"No\" );\n }\n\n private static FastScanner fs = new FastScanner();\n private static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) throws Exception {\n int T = 1;\n for (int t = 0; t < T; t++) {\n solve();\n }\n out.close();\n }\n\n static void debug(Object... O) {\n System.err.print(\"DEBUG \");\n System.err.println(Arrays.deepToString(O));\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextString() {\n return next();\n }\n }\n}", "public class Main {\n private static void solve() throws Exception {\n char[] s = fs.next().toCharArray();\n int sum = 0;\n for (char c : s) {\n sum += (c-'0');\n }\n out.println(sum % 9 == 0 ? \"Yes\" : \"No\" );\n }\n\n private static FastScanner fs = new FastScanner();\n private static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) throws Exception {\n int T = 1;\n for (int t = 0; t < T; t++) {\n solve();\n }\n out.close();\n }\n\n static void debug(Object... O) {\n System.err.print(\"DEBUG \");\n System.err.println(Arrays.deepToString(O));\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextString() {\n return next();\n }\n }\n}", "Main" ]
import java.io.*; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; import java.util.StringTokenizer; public class Main { private static void solve() throws Exception { char[] s = fs.next().toCharArray(); int sum = 0; for (char c : s) { sum += (c-'0'); } out.println(sum % 9 == 0 ? "Yes" : "No" ); } private static FastScanner fs = new FastScanner(); private static PrintWriter out = new PrintWriter(System.out); public static void main(String[] args) throws Exception { int T = 1; for (int t = 0; t < T; t++) { solve(); } out.close(); } static void debug(Object... O) { System.err.print("DEBUG "); System.err.println(Arrays.deepToString(O)); } static class FastScanner { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(""); String next() { while (!st.hasMoreTokens()) try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } int[] readArray(int n) { int[] a = new int[n]; for (int i = 0; i < n; i++) a[i] = nextInt(); return a; } long nextLong() { return Long.parseLong(next()); } double nextDouble() { return Double.parseDouble(next()); } String nextString() { return next(); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 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, 17, 30, 40, 13, 14, 4, 18, 18, 13, 13, 17, 30, 3, 0, 13, 2, 13, 4, 18, 13, 18, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 23, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 23, 38 ], [ 38, 39 ], [ 38, 40 ], [ 23, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 41, 51 ], [ 51, 52 ], [ 52, 53 ], [ 41, 54 ], [ 55, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 56, 63 ], [ 63, 64 ], [ 64, 65 ], [ 55, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 66, 73 ], [ 73, 74 ], [ 55, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 82, 83 ], [ 82, 84 ], [ 23, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 85, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 85, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 21, 105 ], [ 105, 106 ] ]
[ "import java.util.Scanner;\nimport java.util.Arrays;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.stream.Collectors;\nimport java.util.HashSet;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String N=sc.next();\n String []hairetu = N.split(\"\");\n int sum=0;\n for (int i=0;i<hairetu.length ;i++ ) {\n if(hairetu[i].equals(\".\")){\n i++;\n }\n if(hairetu[i].equals(\"E\")){\n break;\n }\n sum=sum+Integer.parseInt(hairetu[i]);\n }\n if(sum%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n}\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "import java.util.stream.Collectors;", "Collectors", "java.util.stream", "import java.util.HashSet;", "HashSet", "java.util", "class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String N=sc.next();\n String []hairetu = N.split(\"\");\n int sum=0;\n for (int i=0;i<hairetu.length ;i++ ) {\n if(hairetu[i].equals(\".\")){\n i++;\n }\n if(hairetu[i].equals(\"E\")){\n break;\n }\n sum=sum+Integer.parseInt(hairetu[i]);\n }\n if(sum%9==0){\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 N=sc.next();\n String []hairetu = N.split(\"\");\n int sum=0;\n for (int i=0;i<hairetu.length ;i++ ) {\n if(hairetu[i].equals(\".\")){\n i++;\n }\n if(hairetu[i].equals(\"E\")){\n break;\n }\n sum=sum+Integer.parseInt(hairetu[i]);\n }\n if(sum%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n}", "main", "{\n Scanner sc = new Scanner(System.in);\n String N=sc.next();\n String []hairetu = N.split(\"\");\n int sum=0;\n for (int i=0;i<hairetu.length ;i++ ) {\n if(hairetu[i].equals(\".\")){\n i++;\n }\n if(hairetu[i].equals(\"E\")){\n break;\n }\n sum=sum+Integer.parseInt(hairetu[i]);\n }\n if(sum%9==0){\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 N=sc.next();", "N", "sc.next()", "sc.next", "sc", "String []hairetu = N.split(\"\");", "hairetu", "N.split(\"\")", "N.split", "N", "\"\"", "int sum=0;", "sum", "0", "for (int i=0;i<hairetu.length ;i++ ) {\n if(hairetu[i].equals(\".\")){\n i++;\n }\n if(hairetu[i].equals(\"E\")){\n break;\n }\n sum=sum+Integer.parseInt(hairetu[i]);\n }", "int i=0;", "int i=0;", "i", "0", "i<hairetu.length", "i", "hairetu.length", "hairetu", "hairetu.length", "i++", "i++", "i", "{\n if(hairetu[i].equals(\".\")){\n i++;\n }\n if(hairetu[i].equals(\"E\")){\n break;\n }\n sum=sum+Integer.parseInt(hairetu[i]);\n }", "{\n if(hairetu[i].equals(\".\")){\n i++;\n }\n if(hairetu[i].equals(\"E\")){\n break;\n }\n sum=sum+Integer.parseInt(hairetu[i]);\n }", "if(hairetu[i].equals(\".\")){\n i++;\n }", "hairetu[i].equals(\".\")", "hairetu[i].equals", "hairetu[i]", "hairetu", "i", "\".\"", "{\n i++;\n }", "i++", "i", "if(hairetu[i].equals(\"E\")){\n break;\n }", "hairetu[i].equals(\"E\")", "hairetu[i].equals", "hairetu[i]", "hairetu", "i", "\"E\"", "{\n break;\n }", "break;", "sum=sum+Integer.parseInt(hairetu[i])", "sum", "sum+Integer.parseInt(hairetu[i])", "sum", "Integer.parseInt(hairetu[i])", "Integer.parseInt", "Integer", "hairetu[i]", "hairetu", "i", "if(sum%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }", "sum%9==0", "sum%9", "sum", "9", "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" ]
import java.util.Scanner; import java.util.Arrays; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import java.util.HashSet; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String N=sc.next(); String []hairetu = N.split(""); int sum=0; for (int i=0;i<hairetu.length ;i++ ) { if(hairetu[i].equals(".")){ i++; } if(hairetu[i].equals("E")){ break; } sum=sum+Integer.parseInt(hairetu[i]); } if(sum%9==0){ 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, 20, 17, 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, 4, 18, 13, 13, 40, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 0, 13, 2, 18, 13, 13, 13, 14, 2, 2, 13, 17, 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 ], [ 98, 8 ], [ 98, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 11, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 24, 34 ], [ 34, 35 ], [ 35, 36 ], [ 24, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 38, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 11, 55 ], [ 55, 56 ], [ 55, 57 ], [ 11, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 63, 64 ], [ 63, 65 ], [ 58, 66 ], [ 66, 67 ], [ 67, 68 ], [ 58, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 11, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 77, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 77, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 9, 95 ], [ 95, 96 ], [ 0, 97 ], [ 97, 98 ], [ 97, 99 ] ]
[ " import java.util.*;\n import java.io.*;\n \n public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader rd = new BufferedReader(new InputStreamReader(System.in));\n int[] arr = new int[10];\n \n String s = rd.readLine();\n for (int i = 0; i < s.length(); i++) {\n int val = Integer.parseInt(Character.toString(s.charAt(i)));\n arr[val]++;\n }\n \n int sum = 0;\n for (int i = 1; i < 10; i++)\n \tsum += (arr[i] * i);\n \n if (sum % 9 == 0)\n System.out.print(\"Yes\");\n else\n System.out.print(\"No\");\n }\n }", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader rd = new BufferedReader(new InputStreamReader(System.in));\n int[] arr = new int[10];\n \n String s = rd.readLine();\n for (int i = 0; i < s.length(); i++) {\n int val = Integer.parseInt(Character.toString(s.charAt(i)));\n arr[val]++;\n }\n \n int sum = 0;\n for (int i = 1; i < 10; i++)\n \tsum += (arr[i] * i);\n \n if (sum % 9 == 0)\n System.out.print(\"Yes\");\n else\n System.out.print(\"No\");\n }\n }", "Main", "public static void main(String[] args) throws IOException{\n BufferedReader rd = new BufferedReader(new InputStreamReader(System.in));\n int[] arr = new int[10];\n \n String s = rd.readLine();\n for (int i = 0; i < s.length(); i++) {\n int val = Integer.parseInt(Character.toString(s.charAt(i)));\n arr[val]++;\n }\n \n int sum = 0;\n for (int i = 1; i < 10; i++)\n \tsum += (arr[i] * i);\n \n if (sum % 9 == 0)\n System.out.print(\"Yes\");\n else\n System.out.print(\"No\");\n }", "main", "{\n BufferedReader rd = new BufferedReader(new InputStreamReader(System.in));\n int[] arr = new int[10];\n \n String s = rd.readLine();\n for (int i = 0; i < s.length(); i++) {\n int val = Integer.parseInt(Character.toString(s.charAt(i)));\n arr[val]++;\n }\n \n int sum = 0;\n for (int i = 1; i < 10; i++)\n \tsum += (arr[i] * i);\n \n if (sum % 9 == 0)\n System.out.print(\"Yes\");\n else\n System.out.print(\"No\");\n }", "BufferedReader rd = new BufferedReader(new InputStreamReader(System.in));", "rd", "new BufferedReader(new InputStreamReader(System.in))", "int[] arr = new int[10];", "arr", "new int[10]", "10", "String s = rd.readLine();", "s", "rd.readLine()", "rd.readLine", "rd", "for (int i = 0; i < s.length(); i++) {\n int val = Integer.parseInt(Character.toString(s.charAt(i)));\n arr[val]++;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < s.length()", "i", "s.length()", "s.length", "s", "i++", "i++", "i", "{\n int val = Integer.parseInt(Character.toString(s.charAt(i)));\n arr[val]++;\n }", "{\n int val = Integer.parseInt(Character.toString(s.charAt(i)));\n arr[val]++;\n }", "int val = Integer.parseInt(Character.toString(s.charAt(i)));", "val", "Integer.parseInt(Character.toString(s.charAt(i)))", "Integer.parseInt", "Integer", "Character.toString(s.charAt(i))", "Character.toString", "Character", "s.charAt(i)", "s.charAt", "s", "i", "arr[val]++", "arr[val]", "arr", "val", "int sum = 0;", "sum", "0", "for (int i = 1; i < 10; i++)\n \tsum += (arr[i] * i);", "int i = 1;", "int i = 1;", "i", "1", "i < 10", "i", "10", "i++", "i++", "i", "sum += (arr[i] * i);", "sum += (arr[i] * i)", "sum", "(arr[i] * i)", "arr[i]", "arr", "i", "i", "if (sum % 9 == 0)\n System.out.print(\"Yes\");\n else\n System.out.print(\"No\");", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "System.out.print(\"Yes\")", "System.out.print", "System.out", "System", "System.out", "\"Yes\"", "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) throws IOException{\n BufferedReader rd = new BufferedReader(new InputStreamReader(System.in));\n int[] arr = new int[10];\n \n String s = rd.readLine();\n for (int i = 0; i < s.length(); i++) {\n int val = Integer.parseInt(Character.toString(s.charAt(i)));\n arr[val]++;\n }\n \n int sum = 0;\n for (int i = 1; i < 10; i++)\n \tsum += (arr[i] * i);\n \n if (sum % 9 == 0)\n System.out.print(\"Yes\");\n else\n System.out.print(\"No\");\n }\n }", "public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader rd = new BufferedReader(new InputStreamReader(System.in));\n int[] arr = new int[10];\n \n String s = rd.readLine();\n for (int i = 0; i < s.length(); i++) {\n int val = Integer.parseInt(Character.toString(s.charAt(i)));\n arr[val]++;\n }\n \n int sum = 0;\n for (int i = 1; i < 10; i++)\n \tsum += (arr[i] * i);\n \n if (sum % 9 == 0)\n System.out.print(\"Yes\");\n else\n System.out.print(\"No\");\n }\n }", "Main" ]
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws IOException{ BufferedReader rd = new BufferedReader(new InputStreamReader(System.in)); int[] arr = new int[10]; String s = rd.readLine(); for (int i = 0; i < s.length(); i++) { int val = Integer.parseInt(Character.toString(s.charAt(i))); arr[val]++; } int sum = 0; for (int i = 1; i < 10; i++) sum += (arr[i] * i); if (sum % 9 == 0) 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, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 13, 0, 13, 17, 0, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 72, 5 ], [ 72, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 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 ], [ 36, 43 ], [ 43, 44 ], [ 43, 45 ], [ 36, 46 ], [ 46, 47 ], [ 46, 48 ], [ 8, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 49, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 49, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 6, 69 ], [ 69, 70 ], [ 0, 71 ], [ 71, 72 ], [ 71, 73 ] ]
[ "import java.util.*;\npublic class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String N = sc.nextLine();\n int min;\n int anc = 0;\n for(int i = 0;i < N.length();i++){\n min = (int)N.charAt(i);\n \tmin -=48;\n anc += min;\n }\n if(anc%9 == 0){\n System.out.println(\"Yes\");\n }else{\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 N = sc.nextLine();\n int min;\n int anc = 0;\n for(int i = 0;i < N.length();i++){\n min = (int)N.charAt(i);\n \tmin -=48;\n anc += min;\n }\n if(anc%9 == 0){\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 N = sc.nextLine();\n int min;\n int anc = 0;\n for(int i = 0;i < N.length();i++){\n min = (int)N.charAt(i);\n \tmin -=48;\n anc += min;\n }\n if(anc%9 == 0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String N = sc.nextLine();\n int min;\n int anc = 0;\n for(int i = 0;i < N.length();i++){\n min = (int)N.charAt(i);\n \tmin -=48;\n anc += min;\n }\n if(anc%9 == 0){\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 N = sc.nextLine();", "N", "sc.nextLine()", "sc.nextLine", "sc", "int min;", "min", "int anc = 0;", "anc", "0", "for(int i = 0;i < N.length();i++){\n min = (int)N.charAt(i);\n \tmin -=48;\n anc += min;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N.length()", "i", "N.length()", "N.length", "N", "i++", "i++", "i", "{\n min = (int)N.charAt(i);\n \tmin -=48;\n anc += min;\n }", "{\n min = (int)N.charAt(i);\n \tmin -=48;\n anc += min;\n }", "min = (int)N.charAt(i)", "min", "(int)N.charAt(i)", "N.charAt", "N", "i", "min -=48", "min", "48", "anc += min", "anc", "min", "if(anc%9 == 0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }", "anc%9 == 0", "anc%9", "anc", "9", "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 public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String N = sc.nextLine();\n int min;\n int anc = 0;\n for(int i = 0;i < N.length();i++){\n min = (int)N.charAt(i);\n \tmin -=48;\n anc += min;\n }\n if(anc%9 == 0){\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 N = sc.nextLine();\n int min;\n int anc = 0;\n for(int i = 0;i < N.length();i++){\n min = (int)N.charAt(i);\n \tmin -=48;\n anc += min;\n }\n if(anc%9 == 0){\n System.out.println(\"Yes\");\n }else{\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 N = sc.nextLine(); int min; int anc = 0; for(int i = 0;i < N.length();i++){ min = (int)N.charAt(i); min -=48; anc += min; } if(anc%9 == 0){ System.out.println("Yes"); }else{ System.out.println("No"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 13, 0, 13, 2, 13, 17, 14, 2, 2, 13, 17, 17, 30, 4, 18, 13, 17, 30, 4, 18, 13, 17, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 7, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 14, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 29, 39 ], [ 39, 40 ], [ 40, 41 ], [ 29, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 43, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 14, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 58, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 58, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 14, 74 ], [ 74, 75 ], [ 75, 76 ], [ 12, 77 ], [ 77, 78 ] ]
[ "import java.util.*;\nimport java.io.*;\n\nclass Main{\n static boolean found = false;\n public static void main(String[] args) throws IOException {\n PrintWriter out = new PrintWriter(System.out);\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n // StringTokenizer st = new StringTokenizer(br.readLine());\n\n String s = br.readLine();\n\n long sum = 0;\n for (int i=0; i<s.length(); i++) {\n sum+= Character.getNumericValue(s.charAt(i));\n sum = sum%9;\n }\n if (sum%9==0) {\n out.println(\"Yes\");\n }\n else {\n out.println(\"No\");\n }\n out.close();\n }\n\n \n}\n\n\n\n\n\n\n\n", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "class Main{\n static boolean found = false;\n public static void main(String[] args) throws IOException {\n PrintWriter out = new PrintWriter(System.out);\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n // StringTokenizer st = new StringTokenizer(br.readLine());\n\n String s = br.readLine();\n\n long sum = 0;\n for (int i=0; i<s.length(); i++) {\n sum+= Character.getNumericValue(s.charAt(i));\n sum = sum%9;\n }\n if (sum%9==0) {\n out.println(\"Yes\");\n }\n else {\n out.println(\"No\");\n }\n out.close();\n }\n\n \n}", "Main", "static boolean found = false;", "found", "false", "public static void main(String[] args) throws IOException {\n PrintWriter out = new PrintWriter(System.out);\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n // StringTokenizer st = new StringTokenizer(br.readLine());\n\n String s = br.readLine();\n\n long sum = 0;\n for (int i=0; i<s.length(); i++) {\n sum+= Character.getNumericValue(s.charAt(i));\n sum = sum%9;\n }\n if (sum%9==0) {\n out.println(\"Yes\");\n }\n else {\n out.println(\"No\");\n }\n out.close();\n }", "main", "{\n PrintWriter out = new PrintWriter(System.out);\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n // StringTokenizer st = new StringTokenizer(br.readLine());\n\n String s = br.readLine();\n\n long sum = 0;\n for (int i=0; i<s.length(); i++) {\n sum+= Character.getNumericValue(s.charAt(i));\n sum = sum%9;\n }\n if (sum%9==0) {\n out.println(\"Yes\");\n }\n else {\n out.println(\"No\");\n }\n out.close();\n }", "PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "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", "long sum = 0;", "sum", "0", "for (int i=0; i<s.length(); i++) {\n sum+= Character.getNumericValue(s.charAt(i));\n sum = sum%9;\n }", "int i=0;", "int i=0;", "i", "0", "i<s.length()", "i", "s.length()", "s.length", "s", "i++", "i++", "i", "{\n sum+= Character.getNumericValue(s.charAt(i));\n sum = sum%9;\n }", "{\n sum+= Character.getNumericValue(s.charAt(i));\n sum = sum%9;\n }", "sum+= Character.getNumericValue(s.charAt(i))", "sum", "Character.getNumericValue(s.charAt(i))", "Character.getNumericValue", "Character", "s.charAt(i)", "s.charAt", "s", "i", "sum = sum%9", "sum", "sum%9", "sum", "9", "if (sum%9==0) {\n out.println(\"Yes\");\n }\n else {\n out.println(\"No\");\n }", "sum%9==0", "sum%9", "sum", "9", "0", "{\n out.println(\"Yes\");\n }", "out.println(\"Yes\")", "out.println", "out", "\"Yes\"", "{\n out.println(\"No\");\n }", "out.println(\"No\")", "out.println", "out", "\"No\"", "out.close()", "out.close", "out", "String[] args", "args" ]
import java.util.*; import java.io.*; class Main{ static boolean found = false; public static void main(String[] args) throws IOException { PrintWriter out = new PrintWriter(System.out); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); // StringTokenizer st = new StringTokenizer(br.readLine()); String s = br.readLine(); long sum = 0; for (int i=0; i<s.length(); i++) { sum+= Character.getNumericValue(s.charAt(i)); sum = sum%9; } if (sum%9==0) { out.println("Yes"); } else { out.println("No"); } out.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 2, 4, 18, 13, 13, 17, 14, 2, 2, 13, 17, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 69, 5 ], [ 69, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 20, 30 ], [ 30, 31 ], [ 31, 32 ], [ 20, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 39, 44 ], [ 8, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 45, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 45, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 8, 63 ], [ 63, 64 ], [ 64, 65 ], [ 6, 66 ], [ 66, 67 ], [ 0, 68 ], [ 68, 69 ], [ 68, 70 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n int sum = 0;\n for (int i = 0; i < a.length(); i++) {\n sum = sum + (a.charAt(i) - '0');\n }\n if (sum % 9 == 0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n sc.close();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n int sum = 0;\n for (int i = 0; i < a.length(); i++) {\n sum = sum + (a.charAt(i) - '0');\n }\n if (sum % 9 == 0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n sc.close();\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n int sum = 0;\n for (int i = 0; i < a.length(); i++) {\n sum = sum + (a.charAt(i) - '0');\n }\n if (sum % 9 == 0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n int sum = 0;\n for (int i = 0; i < a.length(); i++) {\n sum = sum + (a.charAt(i) - '0');\n }\n if (sum % 9 == 0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String a = sc.next();", "a", "sc.next()", "sc.next", "sc", "int sum = 0;", "sum", "0", "for (int i = 0; i < a.length(); i++) {\n sum = sum + (a.charAt(i) - '0');\n }", "int i = 0;", "int i = 0;", "i", "0", "i < a.length()", "i", "a.length()", "a.length", "a", "i++", "i++", "i", "{\n sum = sum + (a.charAt(i) - '0');\n }", "{\n sum = sum + (a.charAt(i) - '0');\n }", "sum = sum + (a.charAt(i) - '0')", "sum", "sum + (a.charAt(i) - '0')", "sum", "(a.charAt(i) - '0')", "a.charAt(i)", "a.charAt", "a", "i", "'0'", "if (sum % 9 == 0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "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\"", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String a = sc.next();\n int sum = 0;\n for (int i = 0; i < a.length(); i++) {\n sum = sum + (a.charAt(i) - '0');\n }\n if (sum % 9 == 0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n sc.close();\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 int sum = 0;\n for (int i = 0; i < a.length(); i++) {\n sum = sum + (a.charAt(i) - '0');\n }\n if (sum % 9 == 0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n sc.close();\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String a = sc.next(); int sum = 0; for (int i = 0; i < a.length(); i++) { sum = sum + (a.charAt(i) - '0'); } if (sum % 9 == 0) 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, 4, 18, 13, 41, 13, 20, 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, 18, 13, 13, 0, 13, 18, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 93, 5 ], [ 93, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 20, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 26, 27 ], [ 27, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 32, 42 ], [ 42, 43 ], [ 43, 44 ], [ 32, 45 ], [ 46, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 46, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 62, 63 ], [ 62, 64 ], [ 46, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 70, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 70, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 6, 90 ], [ 90, 91 ], [ 0, 92 ], [ 92, 93 ], [ 92, 94 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String str = sc.next();\n char[] ch = new char[str.length()];\n int[] n = new int[str.length()];\n int nSum = 0;\n for (int i = 0; i < str.length(); i++) {\n ch[i] = str.charAt(i);\n n[i] = Character.getNumericValue(ch[i]);\n nSum += n[i];\n }\n \n if (nSum % 9 == 0) {\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 str = sc.next();\n char[] ch = new char[str.length()];\n int[] n = new int[str.length()];\n int nSum = 0;\n for (int i = 0; i < str.length(); i++) {\n ch[i] = str.charAt(i);\n n[i] = Character.getNumericValue(ch[i]);\n nSum += n[i];\n }\n \n if (nSum % 9 == 0) {\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 str = sc.next();\n char[] ch = new char[str.length()];\n int[] n = new int[str.length()];\n int nSum = 0;\n for (int i = 0; i < str.length(); i++) {\n ch[i] = str.charAt(i);\n n[i] = Character.getNumericValue(ch[i]);\n nSum += n[i];\n }\n \n if (nSum % 9 == 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String str = sc.next();\n char[] ch = new char[str.length()];\n int[] n = new int[str.length()];\n int nSum = 0;\n for (int i = 0; i < str.length(); i++) {\n ch[i] = str.charAt(i);\n n[i] = Character.getNumericValue(ch[i]);\n nSum += n[i];\n }\n \n if (nSum % 9 == 0) {\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 str = sc.next();", "str", "sc.next()", "sc.next", "sc", "char[] ch = new char[str.length()];", "ch", "new char[str.length()]", "str.length()", "str.length", "str", "int[] n = new int[str.length()];", "n", "new int[str.length()]", "str.length()", "str.length", "str", "int nSum = 0;", "nSum", "0", "for (int i = 0; i < str.length(); i++) {\n ch[i] = str.charAt(i);\n n[i] = Character.getNumericValue(ch[i]);\n nSum += n[i];\n }", "int i = 0;", "int i = 0;", "i", "0", "i < str.length()", "i", "str.length()", "str.length", "str", "i++", "i++", "i", "{\n ch[i] = str.charAt(i);\n n[i] = Character.getNumericValue(ch[i]);\n nSum += n[i];\n }", "{\n ch[i] = str.charAt(i);\n n[i] = Character.getNumericValue(ch[i]);\n nSum += n[i];\n }", "ch[i] = str.charAt(i)", "ch[i]", "ch", "i", "str.charAt(i)", "str.charAt", "str", "i", "n[i] = Character.getNumericValue(ch[i])", "n[i]", "n", "i", "Character.getNumericValue(ch[i])", "Character.getNumericValue", "Character", "ch[i]", "ch", "i", "nSum += n[i]", "nSum", "n[i]", "n", "i", "if (nSum % 9 == 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }", "nSum % 9 == 0", "nSum % 9", "nSum", "9", "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 public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String str = sc.next();\n char[] ch = new char[str.length()];\n int[] n = new int[str.length()];\n int nSum = 0;\n for (int i = 0; i < str.length(); i++) {\n ch[i] = str.charAt(i);\n n[i] = Character.getNumericValue(ch[i]);\n nSum += n[i];\n }\n \n if (nSum % 9 == 0) {\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 str = sc.next();\n char[] ch = new char[str.length()];\n int[] n = new int[str.length()];\n int nSum = 0;\n for (int i = 0; i < str.length(); i++) {\n ch[i] = str.charAt(i);\n n[i] = Character.getNumericValue(ch[i]);\n nSum += n[i];\n }\n \n if (nSum % 9 == 0) {\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 str = sc.next(); char[] ch = new char[str.length()]; int[] n = new int[str.length()]; int nSum = 0; for (int i = 0; i < str.length(); i++) { ch[i] = str.charAt(i); n[i] = Character.getNumericValue(ch[i]); nSum += n[i]; } if (nSum % 9 == 0) { 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 13, 2, 13, 17, 41, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 75, 8 ], [ 75, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 11, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 28, 36 ], [ 36, 37 ], [ 37, 38 ], [ 28, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 46, 50 ], [ 50, 51 ], [ 50, 52 ], [ 11, 53 ], [ 53, 54 ], [ 53, 55 ], [ 11, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 56, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 11, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 9, 72 ], [ 72, 73 ], [ 0, 74 ], [ 74, 75 ], [ 74, 76 ] ]
[ "\n\nimport java.util.Map.Entry;\nimport java.util.*;\n \n//import org.w3c.dom.css.Counter;\n \npublic class Main {\n//public class App {\n \n public static void main(final String[] args){\n //スキャン\n final Scanner s = new Scanner(System.in);\n //String N = Integer.parseInt(s.next());\n //int X = Integer.parseInt(s.next());\n //int T = Integer.parseInt(s.next());\n //int ans = N /X;\n String hoge = s.next();\n int huge = hoge.length();\n int hage = 0;\n for(int i =0;i<huge;i++){\n hage += Integer.parseInt(hoge.substring(i, i+1));\n }\n\n\n String ans =\"Yes\";\n if(hage%9 !=0){ans = \"No\";}\n System.out.println(ans);\n \n }\n}", "import java.util.Map.Entry;", "Entry", "java.util.Map", "import java.util.*;", "util.*", "java", "public class Main {\n//public class App {\n \n public static void main(final String[] args){\n //スキャン\n final Scanner s = new Scanner(System.in);\n //String N = Integer.parseInt(s.next());\n //int X = Integer.parseInt(s.next());\n //int T = Integer.parseInt(s.next());\n //int ans = N /X;\n String hoge = s.next();\n int huge = hoge.length();\n int hage = 0;\n for(int i =0;i<huge;i++){\n hage += Integer.parseInt(hoge.substring(i, i+1));\n }\n\n\n String ans =\"Yes\";\n if(hage%9 !=0){ans = \"No\";}\n System.out.println(ans);\n \n }\n}", "Main", "public static void main(final String[] args){\n //スキャン\n final Scanner s = new Scanner(System.in);\n //String N = Integer.parseInt(s.next());\n //int X = Integer.parseInt(s.next());\n //int T = Integer.parseInt(s.next());\n //int ans = N /X;\n String hoge = s.next();\n int huge = hoge.length();\n int hage = 0;\n for(int i =0;i<huge;i++){\n hage += Integer.parseInt(hoge.substring(i, i+1));\n }\n\n\n String ans =\"Yes\";\n if(hage%9 !=0){ans = \"No\";}\n System.out.println(ans);\n \n }", "main", "{\n //スキャン\n final Scanner s = new Scanner(System.in);\n //String N = Integer.parseInt(s.next());\n //int X = Integer.parseInt(s.next());\n //int T = Integer.parseInt(s.next());\n //int ans = N /X;\n String hoge = s.next();\n int huge = hoge.length();\n int hage = 0;\n for(int i =0;i<huge;i++){\n hage += Integer.parseInt(hoge.substring(i, i+1));\n }\n\n\n String ans =\"Yes\";\n if(hage%9 !=0){ans = \"No\";}\n System.out.println(ans);\n \n }", "final Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "String hoge = s.next();", "hoge", "s.next()", "s.next", "s", "int huge = hoge.length();", "huge", "hoge.length()", "hoge.length", "hoge", "int hage = 0;", "hage", "0", "for(int i =0;i<huge;i++){\n hage += Integer.parseInt(hoge.substring(i, i+1));\n }", "int i =0;", "int i =0;", "i", "0", "i<huge", "i", "huge", "i++", "i++", "i", "{\n hage += Integer.parseInt(hoge.substring(i, i+1));\n }", "{\n hage += Integer.parseInt(hoge.substring(i, i+1));\n }", "hage += Integer.parseInt(hoge.substring(i, i+1))", "hage", "Integer.parseInt(hoge.substring(i, i+1))", "Integer.parseInt", "Integer", "hoge.substring(i, i+1)", "hoge.substring", "hoge", "i", "i+1", "i", "1", "String ans =\"Yes\";", "ans", "\"Yes\"", "if(hage%9 !=0){ans = \"No\";}", "hage%9 !=0", "hage%9", "hage", "9", "0", "{ans = \"No\";}", "ans = \"No\"", "ans", "\"No\"", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "final String[] args", "args", "public class Main {\n//public class App {\n \n public static void main(final String[] args){\n //スキャン\n final Scanner s = new Scanner(System.in);\n //String N = Integer.parseInt(s.next());\n //int X = Integer.parseInt(s.next());\n //int T = Integer.parseInt(s.next());\n //int ans = N /X;\n String hoge = s.next();\n int huge = hoge.length();\n int hage = 0;\n for(int i =0;i<huge;i++){\n hage += Integer.parseInt(hoge.substring(i, i+1));\n }\n\n\n String ans =\"Yes\";\n if(hage%9 !=0){ans = \"No\";}\n System.out.println(ans);\n \n }\n}", "public class Main {\n//public class App {\n \n public static void main(final String[] args){\n //スキャン\n final Scanner s = new Scanner(System.in);\n //String N = Integer.parseInt(s.next());\n //int X = Integer.parseInt(s.next());\n //int T = Integer.parseInt(s.next());\n //int ans = N /X;\n String hoge = s.next();\n int huge = hoge.length();\n int hage = 0;\n for(int i =0;i<huge;i++){\n hage += Integer.parseInt(hoge.substring(i, i+1));\n }\n\n\n String ans =\"Yes\";\n if(hage%9 !=0){ans = \"No\";}\n System.out.println(ans);\n \n }\n}", "Main" ]
import java.util.Map.Entry; import java.util.*; //import org.w3c.dom.css.Counter; public class Main { //public class App { public static void main(final String[] args){ //スキャン final Scanner s = new Scanner(System.in); //String N = Integer.parseInt(s.next()); //int X = Integer.parseInt(s.next()); //int T = Integer.parseInt(s.next()); //int ans = N /X; String hoge = s.next(); int huge = hoge.length(); int hage = 0; for(int i =0;i<huge;i++){ hage += Integer.parseInt(hoge.substring(i, i+1)); } String ans ="Yes"; if(hage%9 !=0){ans = "No";} System.out.println(ans); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 41, 13, 17, 41, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 13, 13, 17, 0, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 72, 5 ], [ 72, 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 ], [ 8, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 31, 33 ], [ 24, 34 ], [ 34, 35 ], [ 35, 36 ], [ 24, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 38, 46 ], [ 46, 47 ], [ 46, 48 ], [ 8, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 49, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 49, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 6, 69 ], [ 69, 70 ], [ 0, 71 ], [ 71, 72 ], [ 71, 73 ] ]
[ "import java.util.Scanner;\n \npublic class Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n char c[] = sc.next().toCharArray();\n int n = 0;\n int a;\n for(int i = 0; i < c.length; i++){\n a = c[i]-48;\n n += a;\n }\n if(n%9==0){\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 char c[] = sc.next().toCharArray();\n int n = 0;\n int a;\n for(int i = 0; i < c.length; i++){\n a = c[i]-48;\n n += a;\n }\n if(n%9==0){\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 char c[] = sc.next().toCharArray();\n int n = 0;\n int a;\n for(int i = 0; i < c.length; i++){\n a = c[i]-48;\n n += a;\n }\n if(n%9==0){\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n char c[] = sc.next().toCharArray();\n int n = 0;\n int a;\n for(int i = 0; i < c.length; i++){\n a = c[i]-48;\n n += a;\n }\n if(n%9==0){\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)", "char c[] = sc.next().toCharArray();", "c", "sc.next().toCharArray()", "sc.next().toCharArray", "sc.next()", "sc.next", "sc", "int n = 0;", "n", "0", "int a;", "a", "for(int i = 0; i < c.length; i++){\n a = c[i]-48;\n n += a;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < c.length", "i", "c.length", "c", "c.length", "i++", "i++", "i", "{\n a = c[i]-48;\n n += a;\n }", "{\n a = c[i]-48;\n n += a;\n }", "a = c[i]-48", "a", "c[i]-48", "c[i]", "c", "i", "48", "n += a", "n", "a", "if(n%9==0){\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }", "n%9==0", "n%9", "n", "9", "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 public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n char c[] = sc.next().toCharArray();\n int n = 0;\n int a;\n for(int i = 0; i < c.length; i++){\n a = c[i]-48;\n n += a;\n }\n if(n%9==0){\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 char c[] = sc.next().toCharArray();\n int n = 0;\n int a;\n for(int i = 0; i < c.length; i++){\n a = c[i]-48;\n n += a;\n }\n if(n%9==0){\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); char c[] = sc.next().toCharArray(); int n = 0; int a; for(int i = 0; i < c.length; i++){ a = c[i]-48; n += a; } if(n%9==0){ 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, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 13, 0, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 6, 13, 41, 13, 17, 41, 13, 17, 12, 13, 30, 0, 13, 20, 0, 13, 17, 23, 13, 12, 13, 30, 14, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 14, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 29, 4, 18, 13, 29, 4, 18, 13, 17, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 241, 17 ], [ 241, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 20, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 32, 42 ], [ 42, 43 ], [ 43, 44 ], [ 32, 45 ], [ 46, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 46, 59 ], [ 59, 60 ], [ 59, 61 ], [ 20, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 62, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 18, 78 ], [ 78, 79 ], [ 241, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 85, 86 ], [ 85, 87 ], [ 80, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 94, 95 ], [ 94, 96 ], [ 88, 97 ], [ 97, 98 ], [ 80, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 102, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 116, 117 ], [ 112, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 101, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 80, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 129, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 139, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 128, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 151, 154 ], [ 80, 155 ], [ 155, 156 ], [ 155, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 159, 162 ], [ 162, 163 ], [ 80, 164 ], [ 164, 165 ], [ 164, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 168, 171 ], [ 171, 172 ], [ 80, 173 ], [ 173, 174 ], [ 173, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 177, 180 ], [ 180, 181 ], [ 80, 182 ], [ 182, 183 ], [ 182, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 184, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 191, 193 ], [ 189, 194 ], [ 194, 195 ], [ 194, 196 ], [ 189, 197 ], [ 197, 198 ], [ 198, 199 ], [ 189, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 202, 204 ], [ 201, 205 ], [ 205, 206 ], [ 184, 207 ], [ 207, 208 ], [ 182, 209 ], [ 209, 210 ], [ 80, 211 ], [ 211, 212 ], [ 211, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 213, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 218, 223 ], [ 223, 224 ], [ 223, 225 ], [ 218, 226 ], [ 226, 227 ], [ 227, 228 ], [ 218, 229 ], [ 229, 230 ], [ 230, 231 ], [ 231, 232 ], [ 231, 233 ], [ 230, 234 ], [ 234, 235 ], [ 213, 236 ], [ 236, 237 ], [ 211, 238 ], [ 238, 239 ], [ 0, 240 ], [ 240, 241 ], [ 240, 242 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n private static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n String n = sc.next();\n int d = 0;\n for (int i = 0; i < n.length(); i++) {\n d += Integer.parseInt(String.valueOf(n.charAt(i)));\n d %= 9;\n }\n if (d == 0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n private static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n String n = sc.next();\n int d = 0;\n for (int i = 0; i < n.length(); i++) {\n d += Integer.parseInt(String.valueOf(n.charAt(i)));\n d %= 9;\n }\n if (d == 0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }\n}", "Main", "public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n String n = sc.next();\n int d = 0;\n for (int i = 0; i < n.length(); i++) {\n d += Integer.parseInt(String.valueOf(n.charAt(i)));\n d %= 9;\n }\n if (d == 0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }", "main", "{\n FastScanner sc = new FastScanner(System.in);\n String n = sc.next();\n int d = 0;\n for (int i = 0; i < n.length(); i++) {\n d += Integer.parseInt(String.valueOf(n.charAt(i)));\n d %= 9;\n }\n if (d == 0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }", "FastScanner sc = new FastScanner(System.in);", "sc", "new FastScanner(System.in)", "String n = sc.next();", "n", "sc.next()", "sc.next", "sc", "int d = 0;", "d", "0", "for (int i = 0; i < n.length(); i++) {\n d += Integer.parseInt(String.valueOf(n.charAt(i)));\n d %= 9;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n.length()", "i", "n.length()", "n.length", "n", "i++", "i++", "i", "{\n d += Integer.parseInt(String.valueOf(n.charAt(i)));\n d %= 9;\n }", "{\n d += Integer.parseInt(String.valueOf(n.charAt(i)));\n d %= 9;\n }", "d += Integer.parseInt(String.valueOf(n.charAt(i)))", "d", "Integer.parseInt(String.valueOf(n.charAt(i)))", "Integer.parseInt", "Integer", "String.valueOf(n.charAt(i))", "String.valueOf", "String", "n.charAt(i)", "n.charAt", "n", "i", "d %= 9", "d", "9", "if (d == 0) System.out.println(\"Yes\");\n else System.out.println(\"No\");", "d == 0", "d", "0", "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", "private static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }", "FastScanner", "private BufferedReader reader = null;", "reader", "null", "private StringTokenizer tokenizer = null;", "tokenizer", "null", "public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }", "FastScanner", "{\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }", "reader = new BufferedReader(new InputStreamReader(in))", "reader", "new BufferedReader(new InputStreamReader(in))", "tokenizer = null", "tokenizer", "null", "InputStream in", "in", "public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }", "next", "{\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }", "if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "tokenizer == null || !tokenizer.hasMoreTokens()", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }", "catch (IOException e) {\n throw new RuntimeException(e);\n }", "IOException e", "{\n throw new RuntimeException(e);\n }", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n tokenizer = new StringTokenizer(reader.readLine());\n }", "tokenizer = new StringTokenizer(reader.readLine())", "tokenizer", "new StringTokenizer(reader.readLine())", "return tokenizer.nextToken();", "tokenizer.nextToken()", "tokenizer.nextToken", "tokenizer", "public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }", "nextLine", "{\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }", "if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "tokenizer == null || !tokenizer.hasMoreTokens()", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "{\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }", "catch (IOException e) {\n throw new RuntimeException(e);\n }", "IOException e", "{\n throw new RuntimeException(e);\n }", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n return reader.readLine();\n }", "return reader.readLine();", "reader.readLine()", "reader.readLine", "reader", "return tokenizer.nextToken(\"\\n\");", "tokenizer.nextToken(\"\\n\")", "tokenizer.nextToken", "tokenizer", "\"\\n\"", "public long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public double nextDouble() {\n return Double.parseDouble(next());\n }", "nextDouble", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }", "nextIntArray", "{\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }", "int[] a = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++)\n a[i] = nextInt();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = nextInt();", "a[i] = nextInt()", "a[i]", "a", "i", "nextInt()", "nextInt", "return a;", "a", "int n", "n", "public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }", "nextLongArray", "{\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }", "long[] a = new long[n];", "a", "new long[n]", "n", "for (int i = 0; i < n; i++)\n a[i] = nextLong();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = nextLong();", "a[i] = nextLong()", "a[i]", "a", "i", "nextLong()", "nextLong", "return a;", "a", "int n", "n", "public class Main {\n private static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n String n = sc.next();\n int d = 0;\n for (int i = 0; i < n.length(); i++) {\n d += Integer.parseInt(String.valueOf(n.charAt(i)));\n d %= 9;\n }\n if (d == 0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }\n}", "public class Main {\n private static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n String n = sc.next();\n int d = 0;\n for (int i = 0; i < n.length(); i++) {\n d += Integer.parseInt(String.valueOf(n.charAt(i)));\n d %= 9;\n }\n if (d == 0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { private static class FastScanner { private BufferedReader reader = null; private StringTokenizer tokenizer = null; public FastScanner(InputStream in) { reader = new BufferedReader(new InputStreamReader(in)); tokenizer = null; } public String next() { if (tokenizer == null || !tokenizer.hasMoreTokens()) { try { tokenizer = new StringTokenizer(reader.readLine()); } catch (IOException e) { throw new RuntimeException(e); } } return tokenizer.nextToken(); } public String nextLine() { if (tokenizer == null || !tokenizer.hasMoreTokens()) { try { return reader.readLine(); } catch (IOException e) { throw new RuntimeException(e); } } return tokenizer.nextToken("\n"); } public long nextLong() { return Long.parseLong(next()); } public int nextInt() { return Integer.parseInt(next()); } public double nextDouble() { return Double.parseDouble(next()); } public int[] nextIntArray(int n) { int[] a = new int[n]; for (int i = 0; i < n; i++) a[i] = nextInt(); return a; } public long[] nextLongArray(int n) { long[] a = new long[n]; for (int i = 0; i < n; i++) a[i] = nextLong(); return a; } } public static void main(String[] args) { FastScanner sc = new FastScanner(System.in); String n = sc.next(); int d = 0; for (int i = 0; i < n.length(); i++) { d += Integer.parseInt(String.valueOf(n.charAt(i))); d %= 9; } if (d == 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, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 0, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 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 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 20, 30 ], [ 30, 31 ], [ 31, 32 ], [ 20, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 34, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 47, 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.*;\n\npublic class Main {\n\n public static void main(String args[]) {\n\n\n Scanner scan = new Scanner(System.in);\n\n String s = scan.next();\n long sum = 0;\n\n for (int i = 0; i<s.length(); i++) {\n int a = Character.getNumericValue(s.charAt(i));\n sum += a;\n }\n\n if (sum % 9 == 0) {\n\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\n public static void main(String args[]) {\n\n\n Scanner scan = new Scanner(System.in);\n\n String s = scan.next();\n long sum = 0;\n\n for (int i = 0; i<s.length(); i++) {\n int a = Character.getNumericValue(s.charAt(i));\n sum += a;\n }\n\n if (sum % 9 == 0) {\n\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "Main", "public static void main(String args[]) {\n\n\n Scanner scan = new Scanner(System.in);\n\n String s = scan.next();\n long sum = 0;\n\n for (int i = 0; i<s.length(); i++) {\n int a = Character.getNumericValue(s.charAt(i));\n sum += a;\n }\n\n if (sum % 9 == 0) {\n\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }", "main", "{\n\n\n Scanner scan = new Scanner(System.in);\n\n String s = scan.next();\n long sum = 0;\n\n for (int i = 0; i<s.length(); i++) {\n int a = Character.getNumericValue(s.charAt(i));\n sum += a;\n }\n\n if (sum % 9 == 0) {\n\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", "long sum = 0;", "sum", "0", "for (int i = 0; i<s.length(); i++) {\n int a = Character.getNumericValue(s.charAt(i));\n sum += a;\n }", "int i = 0;", "int i = 0;", "i", "0", "i<s.length()", "i", "s.length()", "s.length", "s", "i++", "i++", "i", "{\n int a = Character.getNumericValue(s.charAt(i));\n sum += a;\n }", "{\n int a = Character.getNumericValue(s.charAt(i));\n sum += a;\n }", "int a = Character.getNumericValue(s.charAt(i));", "a", "Character.getNumericValue(s.charAt(i))", "Character.getNumericValue", "Character", "s.charAt(i)", "s.charAt", "s", "i", "sum += a", "sum", "a", "if (sum % 9 == 0) {\n\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "{\n\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\n public static void main(String args[]) {\n\n\n Scanner scan = new Scanner(System.in);\n\n String s = scan.next();\n long sum = 0;\n\n for (int i = 0; i<s.length(); i++) {\n int a = Character.getNumericValue(s.charAt(i));\n sum += a;\n }\n\n if (sum % 9 == 0) {\n\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "public class Main {\n\n public static void main(String args[]) {\n\n\n Scanner scan = new Scanner(System.in);\n\n String s = scan.next();\n long sum = 0;\n\n for (int i = 0; i<s.length(); i++) {\n int a = Character.getNumericValue(s.charAt(i));\n sum += a;\n }\n\n if (sum % 9 == 0) {\n\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); String s = scan.next(); long sum = 0; for (int i = 0; i<s.length(); i++) { int a = Character.getNumericValue(s.charAt(i)); sum += a; } if (sum % 9 == 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, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 17, 28, 13, 13, 30, 30, 0, 13, 2, 13, 4, 18, 13, 13, 0, 13, 2, 13, 17, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 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 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 29, 32 ], [ 33, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 33, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 47, 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.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 n = sc.next();\n\t\tsc.close();\n\n\t\tString[] array = n.split(\"\");\n\n\t\tlong tmp = 0L;\n\n\t\tfor(String str : array) {\n\t\t\ttmp = tmp+Integer.parseInt(str);\n\t\t\ttmp = tmp%9;\n\t\t}\n\n\t\tif(tmp%9==0) {\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\tBigDecimal aa = new BigDecimal(\"10\");\n//\t\tBigDecimal zero = new BigDecimal(\"0\");\n//\t\tBigDecimal tmp = aa;\n//\n//\t\tBigDecimal bigN = new BigDecimal(n);\n//\n//\t\twhile(tmp.compareTo(bigN)==-1) {\n//\t\t\ttmp = tmp.multiply(aa);\n//\t\t}\n//\n//\t\ttmp = tmp.divide(aa);\n//\t\tSystem.out.println(tmp);\n//\n//\t\twhile(bigN.compareTo(zero)==1) {\n//\t\t\tbigN = bigN.subtract(tmp);\n////\t\t\ttmp = tmp.multiply(aa);\n////\t\t\tSystem.out.println(bigN);\n//\t\t}\n//\t\tbigN = bigN.add(tmp);\n//\t\tSystem.out.println(bigN);\n\n\n\n\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.next();\n\t\tsc.close();\n\n\t\tString[] array = n.split(\"\");\n\n\t\tlong tmp = 0L;\n\n\t\tfor(String str : array) {\n\t\t\ttmp = tmp+Integer.parseInt(str);\n\t\t\ttmp = tmp%9;\n\t\t}\n\n\t\tif(tmp%9==0) {\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\tBigDecimal aa = new BigDecimal(\"10\");\n//\t\tBigDecimal zero = new BigDecimal(\"0\");\n//\t\tBigDecimal tmp = aa;\n//\n//\t\tBigDecimal bigN = new BigDecimal(n);\n//\n//\t\twhile(tmp.compareTo(bigN)==-1) {\n//\t\t\ttmp = tmp.multiply(aa);\n//\t\t}\n//\n//\t\ttmp = tmp.divide(aa);\n//\t\tSystem.out.println(tmp);\n//\n//\t\twhile(bigN.compareTo(zero)==1) {\n//\t\t\tbigN = bigN.subtract(tmp);\n////\t\t\ttmp = tmp.multiply(aa);\n////\t\t\tSystem.out.println(bigN);\n//\t\t}\n//\t\tbigN = bigN.add(tmp);\n//\t\tSystem.out.println(bigN);\n\n\n\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.next();\n\t\tsc.close();\n\n\t\tString[] array = n.split(\"\");\n\n\t\tlong tmp = 0L;\n\n\t\tfor(String str : array) {\n\t\t\ttmp = tmp+Integer.parseInt(str);\n\t\t\ttmp = tmp%9;\n\t\t}\n\n\t\tif(tmp%9==0) {\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\tBigDecimal aa = new BigDecimal(\"10\");\n//\t\tBigDecimal zero = new BigDecimal(\"0\");\n//\t\tBigDecimal tmp = aa;\n//\n//\t\tBigDecimal bigN = new BigDecimal(n);\n//\n//\t\twhile(tmp.compareTo(bigN)==-1) {\n//\t\t\ttmp = tmp.multiply(aa);\n//\t\t}\n//\n//\t\ttmp = tmp.divide(aa);\n//\t\tSystem.out.println(tmp);\n//\n//\t\twhile(bigN.compareTo(zero)==1) {\n//\t\t\tbigN = bigN.subtract(tmp);\n////\t\t\ttmp = tmp.multiply(aa);\n////\t\t\tSystem.out.println(bigN);\n//\t\t}\n//\t\tbigN = bigN.add(tmp);\n//\t\tSystem.out.println(bigN);\n\n\n\n\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.next();\n\t\tsc.close();\n\n\t\tString[] array = n.split(\"\");\n\n\t\tlong tmp = 0L;\n\n\t\tfor(String str : array) {\n\t\t\ttmp = tmp+Integer.parseInt(str);\n\t\t\ttmp = tmp%9;\n\t\t}\n\n\t\tif(tmp%9==0) {\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\tBigDecimal aa = new BigDecimal(\"10\");\n//\t\tBigDecimal zero = new BigDecimal(\"0\");\n//\t\tBigDecimal tmp = aa;\n//\n//\t\tBigDecimal bigN = new BigDecimal(n);\n//\n//\t\twhile(tmp.compareTo(bigN)==-1) {\n//\t\t\ttmp = tmp.multiply(aa);\n//\t\t}\n//\n//\t\ttmp = tmp.divide(aa);\n//\t\tSystem.out.println(tmp);\n//\n//\t\twhile(bigN.compareTo(zero)==1) {\n//\t\t\tbigN = bigN.subtract(tmp);\n////\t\t\ttmp = tmp.multiply(aa);\n////\t\t\tSystem.out.println(bigN);\n//\t\t}\n//\t\tbigN = bigN.add(tmp);\n//\t\tSystem.out.println(bigN);\n\n\n\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String n = sc.next();", "n", "sc.next()", "sc.next", "sc", "sc.close()", "sc.close", "sc", "String[] array = n.split(\"\");", "array", "n.split(\"\")", "n.split", "n", "\"\"", "long tmp = 0L;", "tmp", "0L", "for(String str : array) {\n\t\t\ttmp = tmp+Integer.parseInt(str);\n\t\t\ttmp = tmp%9;\n\t\t}", "String str", "array", "{\n\t\t\ttmp = tmp+Integer.parseInt(str);\n\t\t\ttmp = tmp%9;\n\t\t}", "{\n\t\t\ttmp = tmp+Integer.parseInt(str);\n\t\t\ttmp = tmp%9;\n\t\t}", "tmp = tmp+Integer.parseInt(str)", "tmp", "tmp+Integer.parseInt(str)", "tmp", "Integer.parseInt(str)", "Integer.parseInt", "Integer", "str", "tmp = tmp%9", "tmp", "tmp%9", "tmp", "9", "if(tmp%9==0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "tmp%9==0", "tmp%9", "tmp", "9", "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 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.next();\n\t\tsc.close();\n\n\t\tString[] array = n.split(\"\");\n\n\t\tlong tmp = 0L;\n\n\t\tfor(String str : array) {\n\t\t\ttmp = tmp+Integer.parseInt(str);\n\t\t\ttmp = tmp%9;\n\t\t}\n\n\t\tif(tmp%9==0) {\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\tBigDecimal aa = new BigDecimal(\"10\");\n//\t\tBigDecimal zero = new BigDecimal(\"0\");\n//\t\tBigDecimal tmp = aa;\n//\n//\t\tBigDecimal bigN = new BigDecimal(n);\n//\n//\t\twhile(tmp.compareTo(bigN)==-1) {\n//\t\t\ttmp = tmp.multiply(aa);\n//\t\t}\n//\n//\t\ttmp = tmp.divide(aa);\n//\t\tSystem.out.println(tmp);\n//\n//\t\twhile(bigN.compareTo(zero)==1) {\n//\t\t\tbigN = bigN.subtract(tmp);\n////\t\t\ttmp = tmp.multiply(aa);\n////\t\t\tSystem.out.println(bigN);\n//\t\t}\n//\t\tbigN = bigN.add(tmp);\n//\t\tSystem.out.println(bigN);\n\n\n\n\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.next();\n\t\tsc.close();\n\n\t\tString[] array = n.split(\"\");\n\n\t\tlong tmp = 0L;\n\n\t\tfor(String str : array) {\n\t\t\ttmp = tmp+Integer.parseInt(str);\n\t\t\ttmp = tmp%9;\n\t\t}\n\n\t\tif(tmp%9==0) {\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\tBigDecimal aa = new BigDecimal(\"10\");\n//\t\tBigDecimal zero = new BigDecimal(\"0\");\n//\t\tBigDecimal tmp = aa;\n//\n//\t\tBigDecimal bigN = new BigDecimal(n);\n//\n//\t\twhile(tmp.compareTo(bigN)==-1) {\n//\t\t\ttmp = tmp.multiply(aa);\n//\t\t}\n//\n//\t\ttmp = tmp.divide(aa);\n//\t\tSystem.out.println(tmp);\n//\n//\t\twhile(bigN.compareTo(zero)==1) {\n//\t\t\tbigN = bigN.subtract(tmp);\n////\t\t\ttmp = tmp.multiply(aa);\n////\t\t\tSystem.out.println(bigN);\n//\t\t}\n//\t\tbigN = bigN.add(tmp);\n//\t\tSystem.out.println(bigN);\n\n\n\n\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); String n = sc.next(); sc.close(); String[] array = n.split(""); long tmp = 0L; for(String str : array) { tmp = tmp+Integer.parseInt(str); tmp = tmp%9; } if(tmp%9==0) { System.out.println("Yes"); }else { System.out.println("No"); } // BigDecimal aa = new BigDecimal("10"); // BigDecimal zero = new BigDecimal("0"); // BigDecimal tmp = aa; // // BigDecimal bigN = new BigDecimal(n); // // while(tmp.compareTo(bigN)==-1) { // tmp = tmp.multiply(aa); // } // // tmp = tmp.divide(aa); // System.out.println(tmp); // // while(bigN.compareTo(zero)==1) { // bigN = bigN.subtract(tmp); //// tmp = tmp.multiply(aa); //// System.out.println(bigN); // } // bigN = bigN.add(tmp); // System.out.println(bigN); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 2, 17, 4, 18, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 72, 5 ], [ 72, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 20, 30 ], [ 30, 31 ], [ 31, 32 ], [ 20, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 8, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 46, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 8, 66 ], [ 66, 67 ], [ 67, 68 ], [ 6, 69 ], [ 69, 70 ], [ 0, 71 ], [ 71, 72 ], [ 71, 73 ] ]
[ "import java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner reader = new Scanner(System.in);\n\t\tString n = reader.next();\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < n.length(); i++) {\n\t\t\ttotal += Integer.parseInt(\"\" + n.charAt(i));\n\t\t}\n\t\tif (total % 9 == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\treader.close();\n\t}\n\t\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner reader = new Scanner(System.in);\n\t\tString n = reader.next();\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < n.length(); i++) {\n\t\t\ttotal += Integer.parseInt(\"\" + n.charAt(i));\n\t\t}\n\t\tif (total % 9 == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\treader.close();\n\t}\n\t\n}", "Main", "public static void main(String[] args) {\n\t\tScanner reader = new Scanner(System.in);\n\t\tString n = reader.next();\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < n.length(); i++) {\n\t\t\ttotal += Integer.parseInt(\"\" + n.charAt(i));\n\t\t}\n\t\tif (total % 9 == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\treader.close();\n\t}", "main", "{\n\t\tScanner reader = new Scanner(System.in);\n\t\tString n = reader.next();\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < n.length(); i++) {\n\t\t\ttotal += Integer.parseInt(\"\" + n.charAt(i));\n\t\t}\n\t\tif (total % 9 == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\treader.close();\n\t}", "Scanner reader = new Scanner(System.in);", "reader", "new Scanner(System.in)", "String n = reader.next();", "n", "reader.next()", "reader.next", "reader", "long total = 0;", "total", "0", "for (int i = 0; i < n.length(); i++) {\n\t\t\ttotal += Integer.parseInt(\"\" + n.charAt(i));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n.length()", "i", "n.length()", "n.length", "n", "i++", "i++", "i", "{\n\t\t\ttotal += Integer.parseInt(\"\" + n.charAt(i));\n\t\t}", "{\n\t\t\ttotal += Integer.parseInt(\"\" + n.charAt(i));\n\t\t}", "total += Integer.parseInt(\"\" + n.charAt(i))", "total", "Integer.parseInt(\"\" + n.charAt(i))", "Integer.parseInt", "Integer", "\"\" + n.charAt(i)", "\"\"", "n.charAt(i)", "n.charAt", "n", "i", "if (total % 9 == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "total % 9 == 0", "total % 9", "total", "9", "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\"", "reader.close()", "reader.close", "reader", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner reader = new Scanner(System.in);\n\t\tString n = reader.next();\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < n.length(); i++) {\n\t\t\ttotal += Integer.parseInt(\"\" + n.charAt(i));\n\t\t}\n\t\tif (total % 9 == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\treader.close();\n\t}\n\t\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner reader = new Scanner(System.in);\n\t\tString n = reader.next();\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < n.length(); i++) {\n\t\t\ttotal += Integer.parseInt(\"\" + n.charAt(i));\n\t\t}\n\t\tif (total % 9 == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\treader.close();\n\t}\n\t\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner reader = new Scanner(System.in); String n = reader.next(); long total = 0; for (int i = 0; i < n.length(); i++) { total += Integer.parseInt("" + n.charAt(i)); } if (total % 9 == 0) { System.out.println("Yes"); } else { System.out.println("No"); } reader.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 0, 13, 2, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 8, 2, 2, 13, 17, 17, 17, 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 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 23, 33 ], [ 33, 34 ], [ 34, 35 ], [ 23, 36 ], [ 37, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 40, 45 ], [ 8, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 51, 57 ], [ 51, 58 ], [ 6, 59 ], [ 59, 60 ], [ 0, 61 ], [ 61, 62 ], [ 61, 63 ] ]
[ "import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str = sc.nextLine();\n sc.close();\n //int N = Integer.parseInt(str);\n\n int count=0;\n\n for(int i = 0; i < str.length(); i++){\n count += str.charAt(i) - '0';\n }\n\n\n System.out.println((count%9 == 0) ? \"Yes\" : \"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 str = sc.nextLine();\n sc.close();\n //int N = Integer.parseInt(str);\n\n int count=0;\n\n for(int i = 0; i < str.length(); i++){\n count += str.charAt(i) - '0';\n }\n\n\n System.out.println((count%9 == 0) ? \"Yes\" : \"No\");\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str = sc.nextLine();\n sc.close();\n //int N = Integer.parseInt(str);\n\n int count=0;\n\n for(int i = 0; i < str.length(); i++){\n count += str.charAt(i) - '0';\n }\n\n\n System.out.println((count%9 == 0) ? \"Yes\" : \"No\");\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String str = sc.nextLine();\n sc.close();\n //int N = Integer.parseInt(str);\n\n int count=0;\n\n for(int i = 0; i < str.length(); i++){\n count += str.charAt(i) - '0';\n }\n\n\n System.out.println((count%9 == 0) ? \"Yes\" : \"No\");\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String str = sc.nextLine();", "str", "sc.nextLine()", "sc.nextLine", "sc", "sc.close()", "sc.close", "sc", "int count=0;", "count", "0", "for(int i = 0; i < str.length(); i++){\n count += str.charAt(i) - '0';\n }", "int i = 0;", "int i = 0;", "i", "0", "i < str.length()", "i", "str.length()", "str.length", "str", "i++", "i++", "i", "{\n count += str.charAt(i) - '0';\n }", "{\n count += str.charAt(i) - '0';\n }", "count += str.charAt(i) - '0'", "count", "str.charAt(i) - '0'", "str.charAt(i)", "str.charAt", "str", "i", "'0'", "System.out.println((count%9 == 0) ? \"Yes\" : \"No\")", "System.out.println", "System.out", "System", "System.out", "(count%9 == 0) ? \"Yes\" : \"No\"", "(count%9 == 0)", "count%9", "count", "9", "0", "\"Yes\"", "\"No\"", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str = sc.nextLine();\n sc.close();\n //int N = Integer.parseInt(str);\n\n int count=0;\n\n for(int i = 0; i < str.length(); i++){\n count += str.charAt(i) - '0';\n }\n\n\n System.out.println((count%9 == 0) ? \"Yes\" : \"No\");\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str = sc.nextLine();\n sc.close();\n //int N = Integer.parseInt(str);\n\n int count=0;\n\n for(int i = 0; i < str.length(); i++){\n count += str.charAt(i) - '0';\n }\n\n\n System.out.println((count%9 == 0) ? \"Yes\" : \"No\");\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String str = sc.nextLine(); sc.close(); //int N = Integer.parseInt(str); int count=0; for(int i = 0; i < str.length(); i++){ count += str.charAt(i) - '0'; } System.out.println((count%9 == 0) ? "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, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 18, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 12, 13, 30, 41, 13, 20, 18, 13, 13, 41, 13, 17, 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, 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 ], [ 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 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 30, 40 ], [ 40, 41 ], [ 41, 42 ], [ 30, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 8, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 50, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 50, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 6, 70 ], [ 70, 71 ], [ 114, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 78, 79 ], [ 78, 80 ], [ 74, 81 ], [ 81, 82 ], [ 81, 83 ], [ 74, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 91, 93 ], [ 84, 94 ], [ 94, 95 ], [ 95, 96 ], [ 84, 97 ], [ 98, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 106, 107 ], [ 106, 108 ], [ 74, 109 ], [ 109, 110 ], [ 72, 111 ], [ 111, 112 ], [ 0, 113 ], [ 113, 114 ], [ 113, 115 ] ]
[ "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\n\t\tString str = sc.next();\n\t\tchar[] list = str.toCharArray();\n\n int[] intArray = convertIntArray(list);\n int sum = 0;\n\n\t\tfor(int i = 0; i < intArray.length; i++)\n\t\t{\n\t\t\tsum += intArray[i];\n\t\t}\n\n\t\tif(sum % 9 != 0)\n\t\t{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t}\n\n\tprivate static int[] convertIntArray(char[] array)\n\t{\n\t\tint[] intArray = new int[array.length];\n\t\tint index = 0;\n\n\t\tfor(int i = 0; i < array.length; i++)\n\t\t{\n\t\t\tintArray[i] = Character.getNumericValue(array[i]);\n\t\t}\n\n\t\treturn intArray;\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString str = sc.next();\n\t\tchar[] list = str.toCharArray();\n\n int[] intArray = convertIntArray(list);\n int sum = 0;\n\n\t\tfor(int i = 0; i < intArray.length; i++)\n\t\t{\n\t\t\tsum += intArray[i];\n\t\t}\n\n\t\tif(sum % 9 != 0)\n\t\t{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t}\n\n\tprivate static int[] convertIntArray(char[] array)\n\t{\n\t\tint[] intArray = new int[array.length];\n\t\tint index = 0;\n\n\t\tfor(int i = 0; i < array.length; i++)\n\t\t{\n\t\t\tintArray[i] = Character.getNumericValue(array[i]);\n\t\t}\n\n\t\treturn intArray;\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString str = sc.next();\n\t\tchar[] list = str.toCharArray();\n\n int[] intArray = convertIntArray(list);\n int sum = 0;\n\n\t\tfor(int i = 0; i < intArray.length; i++)\n\t\t{\n\t\t\tsum += intArray[i];\n\t\t}\n\n\t\tif(sum % 9 != 0)\n\t\t{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString str = sc.next();\n\t\tchar[] list = str.toCharArray();\n\n int[] intArray = convertIntArray(list);\n int sum = 0;\n\n\t\tfor(int i = 0; i < intArray.length; i++)\n\t\t{\n\t\t\tsum += intArray[i];\n\t\t}\n\n\t\tif(sum % 9 != 0)\n\t\t{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String str = sc.next();", "str", "sc.next()", "sc.next", "sc", "char[] list = str.toCharArray();", "list", "str.toCharArray()", "str.toCharArray", "str", "int[] intArray = convertIntArray(list);", "intArray", "convertIntArray(list)", "convertIntArray", "list", "int sum = 0;", "sum", "0", "for(int i = 0; i < intArray.length; i++)\n\t\t{\n\t\t\tsum += intArray[i];\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < intArray.length", "i", "intArray.length", "intArray", "intArray.length", "i++", "i++", "i", "{\n\t\t\tsum += intArray[i];\n\t\t}", "{\n\t\t\tsum += intArray[i];\n\t\t}", "sum += intArray[i]", "sum", "intArray[i]", "intArray", "i", "if(sum % 9 != 0)\n\t\t{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}", "sum % 9 != 0", "sum % 9", "sum", "9", "0", "{\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "System.out.println(\"No\")", "System.out.println", "System.out", "System", "System.out", "\"No\"", "{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "String[] args", "args", "private static int[] convertIntArray(char[] array)\n\t{\n\t\tint[] intArray = new int[array.length];\n\t\tint index = 0;\n\n\t\tfor(int i = 0; i < array.length; i++)\n\t\t{\n\t\t\tintArray[i] = Character.getNumericValue(array[i]);\n\t\t}\n\n\t\treturn intArray;\n\t}", "convertIntArray", "{\n\t\tint[] intArray = new int[array.length];\n\t\tint index = 0;\n\n\t\tfor(int i = 0; i < array.length; i++)\n\t\t{\n\t\t\tintArray[i] = Character.getNumericValue(array[i]);\n\t\t}\n\n\t\treturn intArray;\n\t}", "int[] intArray = new int[array.length];", "intArray", "new int[array.length]", "array.length", "array", "array.length", "int index = 0;", "index", "0", "for(int i = 0; i < array.length; i++)\n\t\t{\n\t\t\tintArray[i] = Character.getNumericValue(array[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < array.length", "i", "array.length", "array", "array.length", "i++", "i++", "i", "{\n\t\t\tintArray[i] = Character.getNumericValue(array[i]);\n\t\t}", "{\n\t\t\tintArray[i] = Character.getNumericValue(array[i]);\n\t\t}", "intArray[i] = Character.getNumericValue(array[i])", "intArray[i]", "intArray", "i", "Character.getNumericValue(array[i])", "Character.getNumericValue", "Character", "array[i]", "array", "i", "return intArray;", "intArray", "char[] array", "array", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString str = sc.next();\n\t\tchar[] list = str.toCharArray();\n\n int[] intArray = convertIntArray(list);\n int sum = 0;\n\n\t\tfor(int i = 0; i < intArray.length; i++)\n\t\t{\n\t\t\tsum += intArray[i];\n\t\t}\n\n\t\tif(sum % 9 != 0)\n\t\t{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t}\n\n\tprivate static int[] convertIntArray(char[] array)\n\t{\n\t\tint[] intArray = new int[array.length];\n\t\tint index = 0;\n\n\t\tfor(int i = 0; i < array.length; i++)\n\t\t{\n\t\t\tintArray[i] = Character.getNumericValue(array[i]);\n\t\t}\n\n\t\treturn intArray;\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString str = sc.next();\n\t\tchar[] list = str.toCharArray();\n\n int[] intArray = convertIntArray(list);\n int sum = 0;\n\n\t\tfor(int i = 0; i < intArray.length; i++)\n\t\t{\n\t\t\tsum += intArray[i];\n\t\t}\n\n\t\tif(sum % 9 != 0)\n\t\t{\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t}\n\n\tprivate static int[] convertIntArray(char[] array)\n\t{\n\t\tint[] intArray = new int[array.length];\n\t\tint index = 0;\n\n\t\tfor(int i = 0; i < array.length; i++)\n\t\t{\n\t\t\tintArray[i] = Character.getNumericValue(array[i]);\n\t\t}\n\n\t\treturn intArray;\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str = sc.next(); char[] list = str.toCharArray(); int[] intArray = convertIntArray(list); int sum = 0; for(int i = 0; i < intArray.length; i++) { sum += intArray[i]; } if(sum % 9 != 0) { System.out.println("No"); } else { System.out.println("Yes"); } } private static int[] convertIntArray(char[] array) { int[] intArray = new int[array.length]; int index = 0; for(int i = 0; i < array.length; i++) { intArray[i] = Character.getNumericValue(array[i]); } return intArray; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 18, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 72, 5 ], [ 72, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 19, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 33, 35 ], [ 26, 36 ], [ 36, 37 ], [ 37, 38 ], [ 26, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 8, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 49, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 49, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 6, 69 ], [ 69, 70 ], [ 0, 71 ], [ 71, 72 ], [ 71, 73 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String N=sc.next();\n String[] num = N.split(\"\");\n long count = 0;\n \n for(int i=0;i<num.length;i++){\n count+= Long.parseLong(num[i]);\n }\n \n \n if(count%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String N=sc.next();\n String[] num = N.split(\"\");\n long count = 0;\n \n for(int i=0;i<num.length;i++){\n count+= Long.parseLong(num[i]);\n }\n \n \n if(count%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String N=sc.next();\n String[] num = N.split(\"\");\n long count = 0;\n \n for(int i=0;i<num.length;i++){\n count+= Long.parseLong(num[i]);\n }\n \n \n if(count%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String N=sc.next();\n String[] num = N.split(\"\");\n long count = 0;\n \n for(int i=0;i<num.length;i++){\n count+= Long.parseLong(num[i]);\n }\n \n \n if(count%9==0){\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 N=sc.next();", "N", "sc.next()", "sc.next", "sc", "String[] num = N.split(\"\");", "num", "N.split(\"\")", "N.split", "N", "\"\"", "long count = 0;", "count", "0", "for(int i=0;i<num.length;i++){\n count+= Long.parseLong(num[i]);\n }", "int i=0;", "int i=0;", "i", "0", "i<num.length", "i", "num.length", "num", "num.length", "i++", "i++", "i", "{\n count+= Long.parseLong(num[i]);\n }", "{\n count+= Long.parseLong(num[i]);\n }", "count+= Long.parseLong(num[i])", "count", "Long.parseLong(num[i])", "Long.parseLong", "Long", "num[i]", "num", "i", "if(count%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }", "count%9==0", "count%9", "count", "9", "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 public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String N=sc.next();\n String[] num = N.split(\"\");\n long count = 0;\n \n for(int i=0;i<num.length;i++){\n count+= Long.parseLong(num[i]);\n }\n \n \n if(count%9==0){\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 Exception {\n Scanner sc = new Scanner(System.in);\n String N=sc.next();\n String[] num = N.split(\"\");\n long count = 0;\n \n for(int i=0;i<num.length;i++){\n count+= Long.parseLong(num[i]);\n }\n \n \n if(count%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); String N=sc.next(); String[] num = N.split(""); long count = 0; for(int i=0;i<num.length;i++){ count+= Long.parseLong(num[i]); } if(count%9==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, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 13, 13, 17, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 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 ], [ 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 ], [ 43, 45 ], [ 42, 46 ], [ 8, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 47, 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.Scanner;\npublic class Main {\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n char[]ss = S.toCharArray();\n \n int all = 0;\n for(int i=0; i<S.length(); i++) {\n \tall += ss[i]-48;\n }\t\n \tif(all%9 == 0) {\n \t\tSystem.out.println(\"Yes\");\n \t}else {\n \t\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 \n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n char[]ss = S.toCharArray();\n \n int all = 0;\n for(int i=0; i<S.length(); i++) {\n \tall += ss[i]-48;\n }\t\n \tif(all%9 == 0) {\n \t\tSystem.out.println(\"Yes\");\n \t}else {\n \t\tSystem.out.println(\"No\");\n }\n}\n}", "Main", "public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n char[]ss = S.toCharArray();\n \n int all = 0;\n for(int i=0; i<S.length(); i++) {\n \tall += ss[i]-48;\n }\t\n \tif(all%9 == 0) {\n \t\tSystem.out.println(\"Yes\");\n \t}else {\n \t\tSystem.out.println(\"No\");\n }\n}", "main", "{\n \n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n char[]ss = S.toCharArray();\n \n int all = 0;\n for(int i=0; i<S.length(); i++) {\n \tall += ss[i]-48;\n }\t\n \tif(all%9 == 0) {\n \t\tSystem.out.println(\"Yes\");\n \t}else {\n \t\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", "char[]ss = S.toCharArray();", "ss", "S.toCharArray()", "S.toCharArray", "S", "int all = 0;", "all", "0", "for(int i=0; i<S.length(); i++) {\n \tall += ss[i]-48;\n }", "int i=0;", "int i=0;", "i", "0", "i<S.length()", "i", "S.length()", "S.length", "S", "i++", "i++", "i", "{\n \tall += ss[i]-48;\n }", "{\n \tall += ss[i]-48;\n }", "all += ss[i]-48", "all", "ss[i]-48", "ss[i]", "ss", "i", "48", "if(all%9 == 0) {\n \t\tSystem.out.println(\"Yes\");\n \t}else {\n \t\tSystem.out.println(\"No\");\n }", "all%9 == 0", "all%9", "all", "9", "0", "{\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 }", "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 S = sc.next();\n char[]ss = S.toCharArray();\n \n int all = 0;\n for(int i=0; i<S.length(); i++) {\n \tall += ss[i]-48;\n }\t\n \tif(all%9 == 0) {\n \t\tSystem.out.println(\"Yes\");\n \t}else {\n \t\tSystem.out.println(\"No\");\n }\n}\n}", "public class Main {\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n char[]ss = S.toCharArray();\n \n int all = 0;\n for(int i=0; i<S.length(); i++) {\n \tall += ss[i]-48;\n }\t\n \tif(all%9 == 0) {\n \t\tSystem.out.println(\"Yes\");\n \t}else {\n \t\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(); char[]ss = S.toCharArray(); int all = 0; for(int i=0; i<S.length(); i++) { all += ss[i]-48; } if(all%9 == 0) { 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, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 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 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 14, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 28, 38 ], [ 38, 39 ], [ 39, 40 ], [ 28, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 14, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 55, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 55, 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\n public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String s=br.readLine().trim();\n long res=0;\n for(int i=0;i<s.length();i++){\n res+=(Integer.parseInt(String.valueOf(s.charAt(i))));\n }\n if(res%9==0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n\n\n\n\n\n }\n\n\n\n\n\n\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String s=br.readLine().trim();\n long res=0;\n for(int i=0;i<s.length();i++){\n res+=(Integer.parseInt(String.valueOf(s.charAt(i))));\n }\n if(res%9==0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n\n\n\n\n\n }\n\n\n\n\n\n\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().trim();\n long res=0;\n for(int i=0;i<s.length();i++){\n res+=(Integer.parseInt(String.valueOf(s.charAt(i))));\n }\n if(res%9==0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n\n\n\n\n\n }", "main", "{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String s=br.readLine().trim();\n long res=0;\n for(int i=0;i<s.length();i++){\n res+=(Integer.parseInt(String.valueOf(s.charAt(i))));\n }\n if(res%9==0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n\n\n\n\n\n }", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String s=br.readLine().trim();", "s", "br.readLine().trim()", "br.readLine().trim", "br.readLine()", "br.readLine", "br", "long res=0;", "res", "0", "for(int i=0;i<s.length();i++){\n res+=(Integer.parseInt(String.valueOf(s.charAt(i))));\n }", "int i=0;", "int i=0;", "i", "0", "i<s.length()", "i", "s.length()", "s.length", "s", "i++", "i++", "i", "{\n res+=(Integer.parseInt(String.valueOf(s.charAt(i))));\n }", "{\n res+=(Integer.parseInt(String.valueOf(s.charAt(i))));\n }", "res+=(Integer.parseInt(String.valueOf(s.charAt(i))))", "res", "(Integer.parseInt(String.valueOf(s.charAt(i))))", "Integer.parseInt", "Integer", "String.valueOf(s.charAt(i))", "String.valueOf", "String", "s.charAt(i)", "s.charAt", "s", "i", "if(res%9==0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }", "res%9==0", "res%9", "res", "9", "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\n public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String s=br.readLine().trim();\n long res=0;\n for(int i=0;i<s.length();i++){\n res+=(Integer.parseInt(String.valueOf(s.charAt(i))));\n }\n if(res%9==0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n\n\n\n\n\n }\n\n\n\n\n\n\n\n}", "public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String s=br.readLine().trim();\n long res=0;\n for(int i=0;i<s.length();i++){\n res+=(Integer.parseInt(String.valueOf(s.charAt(i))));\n }\n if(res%9==0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n\n\n\n\n\n }\n\n\n\n\n\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 br=new BufferedReader(new InputStreamReader(System.in)); String s=br.readLine().trim(); long res=0; for(int i=0;i<s.length();i++){ res+=(Integer.parseInt(String.valueOf(s.charAt(i)))); } if(res%9==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, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 4, 18, 13, 4, 18, 13, 13, 2, 13, 17, 14, 2, 13, 17, 30, 0, 13, 2, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 80, 5 ], [ 80, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 20, 30 ], [ 30, 31 ], [ 31, 32 ], [ 20, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 42, 46 ], [ 46, 47 ], [ 46, 48 ], [ 34, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 8, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 59, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 6, 77 ], [ 77, 78 ], [ 0, 79 ], [ 79, 80 ], [ 79, 81 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString string = sc.next();\n\t\tint ans=0;\n\t\tfor(int i=0;i<string.length();i++){\n\t\t\tans=ans+Integer.parseInt(string.substring(i,i+1));\n\t\t\tif(ans>=9){ans=ans-9;}\n\t\t}\n\t\tif(ans==0){System.out.println(\"Yes\");}\n\t\telse{System.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 sc = new Scanner(System.in);\n\t\tString string = sc.next();\n\t\tint ans=0;\n\t\tfor(int i=0;i<string.length();i++){\n\t\t\tans=ans+Integer.parseInt(string.substring(i,i+1));\n\t\t\tif(ans>=9){ans=ans-9;}\n\t\t}\n\t\tif(ans==0){System.out.println(\"Yes\");}\n\t\telse{System.out.println(\"No\");}\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString string = sc.next();\n\t\tint ans=0;\n\t\tfor(int i=0;i<string.length();i++){\n\t\t\tans=ans+Integer.parseInt(string.substring(i,i+1));\n\t\t\tif(ans>=9){ans=ans-9;}\n\t\t}\n\t\tif(ans==0){System.out.println(\"Yes\");}\n\t\telse{System.out.println(\"No\");}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString string = sc.next();\n\t\tint ans=0;\n\t\tfor(int i=0;i<string.length();i++){\n\t\t\tans=ans+Integer.parseInt(string.substring(i,i+1));\n\t\t\tif(ans>=9){ans=ans-9;}\n\t\t}\n\t\tif(ans==0){System.out.println(\"Yes\");}\n\t\telse{System.out.println(\"No\");}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String string = sc.next();", "string", "sc.next()", "sc.next", "sc", "int ans=0;", "ans", "0", "for(int i=0;i<string.length();i++){\n\t\t\tans=ans+Integer.parseInt(string.substring(i,i+1));\n\t\t\tif(ans>=9){ans=ans-9;}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<string.length()", "i", "string.length()", "string.length", "string", "i++", "i++", "i", "{\n\t\t\tans=ans+Integer.parseInt(string.substring(i,i+1));\n\t\t\tif(ans>=9){ans=ans-9;}\n\t\t}", "{\n\t\t\tans=ans+Integer.parseInt(string.substring(i,i+1));\n\t\t\tif(ans>=9){ans=ans-9;}\n\t\t}", "ans=ans+Integer.parseInt(string.substring(i,i+1))", "ans", "ans+Integer.parseInt(string.substring(i,i+1))", "ans", "Integer.parseInt(string.substring(i,i+1))", "Integer.parseInt", "Integer", "string.substring(i,i+1)", "string.substring", "string", "i", "i+1", "i", "1", "if(ans>=9){ans=ans-9;}", "ans>=9", "ans", "9", "{ans=ans-9;}", "ans=ans-9", "ans", "ans-9", "ans", "9", "if(ans==0){System.out.println(\"Yes\");}\n\t\telse{System.out.println(\"No\");}", "ans==0", "ans", "0", "{System.out.println(\"Yes\");}", "System.out.println(\"Yes\")", "System.out.println", "System.out", "System", "System.out", "\"Yes\"", "{System.out.println(\"No\");}", "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\tString string = sc.next();\n\t\tint ans=0;\n\t\tfor(int i=0;i<string.length();i++){\n\t\t\tans=ans+Integer.parseInt(string.substring(i,i+1));\n\t\t\tif(ans>=9){ans=ans-9;}\n\t\t}\n\t\tif(ans==0){System.out.println(\"Yes\");}\n\t\telse{System.out.println(\"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 string = sc.next();\n\t\tint ans=0;\n\t\tfor(int i=0;i<string.length();i++){\n\t\t\tans=ans+Integer.parseInt(string.substring(i,i+1));\n\t\t\tif(ans>=9){ans=ans-9;}\n\t\t}\n\t\tif(ans==0){System.out.println(\"Yes\");}\n\t\telse{System.out.println(\"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 string = sc.next(); int ans=0; for(int i=0;i<string.length();i++){ ans=ans+Integer.parseInt(string.substring(i,i+1)); if(ans>=9){ans=ans-9;} } if(ans==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, 17, 28, 13, 4, 18, 13, 30, 0, 13, 2, 13, 17, 4, 18, 18, 13, 13, 8, 2, 2, 13, 17, 17, 17, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 50, 5 ], [ 50, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 36, 42 ], [ 36, 43 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 6, 47 ], [ 47, 48 ], [ 0, 49 ], [ 49, 50 ], [ 49, 51 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString num = scan.next();\n\t\tlong sum = 0;\n\t\tfor(char c : num.toCharArray()) sum+=(c-'0');\n\t\tSystem.out.println(sum%9 == 0 ? \"Yes\" : \"No\");\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 num = scan.next();\n\t\tlong sum = 0;\n\t\tfor(char c : num.toCharArray()) sum+=(c-'0');\n\t\tSystem.out.println(sum%9 == 0 ? \"Yes\" : \"No\");\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 num = scan.next();\n\t\tlong sum = 0;\n\t\tfor(char c : num.toCharArray()) sum+=(c-'0');\n\t\tSystem.out.println(sum%9 == 0 ? \"Yes\" : \"No\");\n\t\tscan.close();\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString num = scan.next();\n\t\tlong sum = 0;\n\t\tfor(char c : num.toCharArray()) sum+=(c-'0');\n\t\tSystem.out.println(sum%9 == 0 ? \"Yes\" : \"No\");\n\t\tscan.close();\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "String num = scan.next();", "num", "scan.next()", "scan.next", "scan", "long sum = 0;", "sum", "0", "for(char c : num.toCharArray()) sum+=(c-'0');", "char c", "num.toCharArray()", "num.toCharArray", "num", "sum+=(c-'0');", "sum+=(c-'0')", "sum", "(c-'0')", "c", "'0'", "System.out.println(sum%9 == 0 ? \"Yes\" : \"No\")", "System.out.println", "System.out", "System", "System.out", "sum%9 == 0 ? \"Yes\" : \"No\"", "sum%9 == 0", "sum%9", "sum", "9", "0", "\"Yes\"", "\"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 num = scan.next();\n\t\tlong sum = 0;\n\t\tfor(char c : num.toCharArray()) sum+=(c-'0');\n\t\tSystem.out.println(sum%9 == 0 ? \"Yes\" : \"No\");\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 num = scan.next();\n\t\tlong sum = 0;\n\t\tfor(char c : num.toCharArray()) sum+=(c-'0');\n\t\tSystem.out.println(sum%9 == 0 ? \"Yes\" : \"No\");\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 num = scan.next(); long sum = 0; for(char c : num.toCharArray()) sum+=(c-'0'); System.out.println(sum%9 == 0 ? "Yes" : "No"); scan.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 12, 13, 30, 41, 13, 20, 4, 18, 13, 4, 18, 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, 13, 1, 40, 13, 30, 30, 0, 13, 2, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 8, 2, 2, 13, 17, 17, 17, 17, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 80, 8 ], [ 80, 9 ], [ 9, 10 ], [ 9, 11 ], [ 80, 12 ], [ 12, 13 ], [ 12, 14 ], [ 80, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 22, 23 ], [ 17, 24 ], [ 24, 25 ], [ 25, 26 ], [ 15, 27 ], [ 27, 28 ], [ 80, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 31, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 42, 43 ], [ 42, 44 ], [ 31, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 50, 51 ], [ 50, 52 ], [ 45, 53 ], [ 53, 54 ], [ 54, 55 ], [ 45, 56 ], [ 57, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 60, 65 ], [ 31, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 71, 77 ], [ 71, 78 ], [ 0, 79 ], [ 79, 80 ], [ 79, 81 ] ]
[ "import java.util.*;\nimport java.io.*;\npublic class Main {\n\n\tstatic Scanner inp= new Scanner(System.in);\n\tstatic PrintWriter out= new PrintWriter(System.out);\n\tpublic static void main(String args[]) {\t\t \t\n\t \tMain g=new Main();\n\t \tg.main();\n\t \tout.close();\n\t}\n\n\t\n\t\n\t//Main\n\tvoid main() {\n\t\t\n\t\tString s=inp.next();\n\t\tint n=s.length();\n\t\tint gg=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tgg+=(s.charAt(i)-'0');\n\t\t}\n\t\tSystem.out.println(gg%9==0?\"Yes\":\"No\");\n\t\t\n\t}\n \n \n\t\t\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n\n\tstatic Scanner inp= new Scanner(System.in);\n\tstatic PrintWriter out= new PrintWriter(System.out);\n\tpublic static void main(String args[]) {\t\t \t\n\t \tMain g=new Main();\n\t \tg.main();\n\t \tout.close();\n\t}\n\n\t\n\t\n\t//Main\n\tvoid main() {\n\t\t\n\t\tString s=inp.next();\n\t\tint n=s.length();\n\t\tint gg=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tgg+=(s.charAt(i)-'0');\n\t\t}\n\t\tSystem.out.println(gg%9==0?\"Yes\":\"No\");\n\t\t\n\t}\n \n \n\t\t\n}", "Main", "static Scanner inp= new Scanner(System.in);", "inp", "new Scanner(System.in)", "static PrintWriter out= new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "public static void main(String args[]) {\t\t \t\n\t \tMain g=new Main();\n\t \tg.main();\n\t \tout.close();\n\t}", "main", "{\t\t \t\n\t \tMain g=new Main();\n\t \tg.main();\n\t \tout.close();\n\t}", "Main g=new Main();", "g", "new Main()", "g.main()", "g.main", "g", "out.close()", "out.close", "out", "String args[]", "args", "//Main\n\tvoid main() {\n\t\t\n\t\tString s=inp.next();\n\t\tint n=s.length();\n\t\tint gg=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tgg+=(s.charAt(i)-'0');\n\t\t}\n\t\tSystem.out.println(gg%9==0?\"Yes\":\"No\");\n\t\t\n\t}", "main", "{\n\t\t\n\t\tString s=inp.next();\n\t\tint n=s.length();\n\t\tint gg=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tgg+=(s.charAt(i)-'0');\n\t\t}\n\t\tSystem.out.println(gg%9==0?\"Yes\":\"No\");\n\t\t\n\t}", "String s=inp.next();", "s", "inp.next()", "inp.next", "inp", "int n=s.length();", "n", "s.length()", "s.length", "s", "int gg=0;", "gg", "0", "for(int i=0;i<n;i++) {\n\t\t\tgg+=(s.charAt(i)-'0');\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tgg+=(s.charAt(i)-'0');\n\t\t}", "{\n\t\t\tgg+=(s.charAt(i)-'0');\n\t\t}", "gg+=(s.charAt(i)-'0')", "gg", "(s.charAt(i)-'0')", "s.charAt(i)", "s.charAt", "s", "i", "'0'", "System.out.println(gg%9==0?\"Yes\":\"No\")", "System.out.println", "System.out", "System", "System.out", "gg%9==0?\"Yes\":\"No\"", "gg%9==0", "gg%9", "gg", "9", "0", "\"Yes\"", "\"No\"", "public class Main {\n\n\tstatic Scanner inp= new Scanner(System.in);\n\tstatic PrintWriter out= new PrintWriter(System.out);\n\tpublic static void main(String args[]) {\t\t \t\n\t \tMain g=new Main();\n\t \tg.main();\n\t \tout.close();\n\t}\n\n\t\n\t\n\t//Main\n\tvoid main() {\n\t\t\n\t\tString s=inp.next();\n\t\tint n=s.length();\n\t\tint gg=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tgg+=(s.charAt(i)-'0');\n\t\t}\n\t\tSystem.out.println(gg%9==0?\"Yes\":\"No\");\n\t\t\n\t}\n \n \n\t\t\n}", "public class Main {\n\n\tstatic Scanner inp= new Scanner(System.in);\n\tstatic PrintWriter out= new PrintWriter(System.out);\n\tpublic static void main(String args[]) {\t\t \t\n\t \tMain g=new Main();\n\t \tg.main();\n\t \tout.close();\n\t}\n\n\t\n\t\n\t//Main\n\tvoid main() {\n\t\t\n\t\tString s=inp.next();\n\t\tint n=s.length();\n\t\tint gg=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tgg+=(s.charAt(i)-'0');\n\t\t}\n\t\tSystem.out.println(gg%9==0?\"Yes\":\"No\");\n\t\t\n\t}\n \n \n\t\t\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { static Scanner inp= new Scanner(System.in); static PrintWriter out= new PrintWriter(System.out); public static void main(String args[]) { Main g=new Main(); g.main(); out.close(); } //Main void main() { String s=inp.next(); int n=s.length(); int gg=0; for(int i=0;i<n;i++) { gg+=(s.charAt(i)-'0'); } System.out.println(gg%9==0?"Yes":"No"); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 2, 4, 18, 13, 13, 17, 14, 2, 13, 17, 0, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 69, 5 ], [ 69, 6 ], [ 6, 7 ], [ 6, 8 ], [ 69, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 11, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 20, 30 ], [ 30, 31 ], [ 31, 32 ], [ 20, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 37, 42 ], [ 34, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 47, 49 ], [ 11, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 50, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 9, 66 ], [ 66, 67 ], [ 0, 68 ], [ 68, 69 ], [ 68, 70 ] ]
[ "import java.util.*;\npublic class Main{\n\t\n\t\n\tprivate static Scanner sc=new Scanner(System.in);\n\t\n\tpublic static void main(String []args){\n\t\t\n\t\tString num=sc.nextLine();\n\t\tint reminder=0;\n\t\tfor(int i=0;i<num.length();i++){\n\t\t\treminder+=num.charAt(i)-'0';\n\t\t\tif(reminder>=9)\n\t\t\t\treminder-=9;\n\t\t}\n\t\tif(reminder==0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}\n\t\n}", "import java.util.*;", "util.*", "java", "public class Main{\n\t\n\t\n\tprivate static Scanner sc=new Scanner(System.in);\n\t\n\tpublic static void main(String []args){\n\t\t\n\t\tString num=sc.nextLine();\n\t\tint reminder=0;\n\t\tfor(int i=0;i<num.length();i++){\n\t\t\treminder+=num.charAt(i)-'0';\n\t\t\tif(reminder>=9)\n\t\t\t\treminder-=9;\n\t\t}\n\t\tif(reminder==0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}\n\t\n}", "Main", "private static Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "public static void main(String []args){\n\t\t\n\t\tString num=sc.nextLine();\n\t\tint reminder=0;\n\t\tfor(int i=0;i<num.length();i++){\n\t\t\treminder+=num.charAt(i)-'0';\n\t\t\tif(reminder>=9)\n\t\t\t\treminder-=9;\n\t\t}\n\t\tif(reminder==0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}", "main", "{\n\t\t\n\t\tString num=sc.nextLine();\n\t\tint reminder=0;\n\t\tfor(int i=0;i<num.length();i++){\n\t\t\treminder+=num.charAt(i)-'0';\n\t\t\tif(reminder>=9)\n\t\t\t\treminder-=9;\n\t\t}\n\t\tif(reminder==0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}", "String num=sc.nextLine();", "num", "sc.nextLine()", "sc.nextLine", "sc", "int reminder=0;", "reminder", "0", "for(int i=0;i<num.length();i++){\n\t\t\treminder+=num.charAt(i)-'0';\n\t\t\tif(reminder>=9)\n\t\t\t\treminder-=9;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<num.length()", "i", "num.length()", "num.length", "num", "i++", "i++", "i", "{\n\t\t\treminder+=num.charAt(i)-'0';\n\t\t\tif(reminder>=9)\n\t\t\t\treminder-=9;\n\t\t}", "{\n\t\t\treminder+=num.charAt(i)-'0';\n\t\t\tif(reminder>=9)\n\t\t\t\treminder-=9;\n\t\t}", "reminder+=num.charAt(i)-'0'", "reminder", "num.charAt(i)-'0'", "num.charAt(i)", "num.charAt", "num", "i", "'0'", "if(reminder>=9)\n\t\t\t\treminder-=9;", "reminder>=9", "reminder", "9", "reminder-=9", "reminder", "9", "if(reminder==0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");", "reminder==0", "reminder", "0", "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\t\n\t\n\tprivate static Scanner sc=new Scanner(System.in);\n\t\n\tpublic static void main(String []args){\n\t\t\n\t\tString num=sc.nextLine();\n\t\tint reminder=0;\n\t\tfor(int i=0;i<num.length();i++){\n\t\t\treminder+=num.charAt(i)-'0';\n\t\t\tif(reminder>=9)\n\t\t\t\treminder-=9;\n\t\t}\n\t\tif(reminder==0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}\n\t\n}", "public class Main{\n\t\n\t\n\tprivate static Scanner sc=new Scanner(System.in);\n\t\n\tpublic static void main(String []args){\n\t\t\n\t\tString num=sc.nextLine();\n\t\tint reminder=0;\n\t\tfor(int i=0;i<num.length();i++){\n\t\t\treminder+=num.charAt(i)-'0';\n\t\t\tif(reminder>=9)\n\t\t\t\treminder-=9;\n\t\t}\n\t\tif(reminder==0)\n\t\t\tSystem.out.println(\"Yes\");\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}\n\t\n}", "Main" ]
import java.util.*; public class Main{ private static Scanner sc=new Scanner(System.in); public static void main(String []args){ String num=sc.nextLine(); int reminder=0; for(int i=0;i<num.length();i++){ reminder+=num.charAt(i)-'0'; if(reminder>=9) reminder-=9; } if(reminder==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, 4, 18, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 18, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 69, 5 ], [ 69, 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 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 30, 32 ], [ 23, 33 ], [ 33, 34 ], [ 34, 35 ], [ 23, 36 ], [ 37, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 43, 45 ], [ 8, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 46, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 6, 66 ], [ 66, 67 ], [ 0, 68 ], [ 68, 69 ], [ 68, 70 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tString[] s = stdIn.next().split(\"\");\n\t\t\n\t\tlong a = 0;\n\t\tfor(int i = 0; i < s.length; i++) {\n\t\t\ta += Integer.parseInt(s[i]);\n\t\t}\n\t\tif(a % 9 == 0) {\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\t\n\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tString[] s = stdIn.next().split(\"\");\n\t\t\n\t\tlong a = 0;\n\t\tfor(int i = 0; i < s.length; i++) {\n\t\t\ta += Integer.parseInt(s[i]);\n\t\t}\n\t\tif(a % 9 == 0) {\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\t\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tString[] s = stdIn.next().split(\"\");\n\t\t\n\t\tlong a = 0;\n\t\tfor(int i = 0; i < s.length; i++) {\n\t\t\ta += Integer.parseInt(s[i]);\n\t\t}\n\t\tif(a % 9 == 0) {\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\t\n\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tString[] s = stdIn.next().split(\"\");\n\t\t\n\t\tlong a = 0;\n\t\tfor(int i = 0; i < s.length; i++) {\n\t\t\ta += Integer.parseInt(s[i]);\n\t\t}\n\t\tif(a % 9 == 0) {\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\t\n\n\t}", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "String[] s = stdIn.next().split(\"\");", "s", "stdIn.next().split(\"\")", "stdIn.next().split", "stdIn.next()", "stdIn.next", "stdIn", "\"\"", "long a = 0;", "a", "0", "for(int i = 0; i < s.length; i++) {\n\t\t\ta += Integer.parseInt(s[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < s.length", "i", "s.length", "s", "s.length", "i++", "i++", "i", "{\n\t\t\ta += Integer.parseInt(s[i]);\n\t\t}", "{\n\t\t\ta += Integer.parseInt(s[i]);\n\t\t}", "a += Integer.parseInt(s[i])", "a", "Integer.parseInt(s[i])", "Integer.parseInt", "Integer", "s[i]", "s", "i", "if(a % 9 == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "a % 9 == 0", "a % 9", "a", "9", "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 自動生成されたメソッド・スタブ\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tString[] s = stdIn.next().split(\"\");\n\t\t\n\t\tlong a = 0;\n\t\tfor(int i = 0; i < s.length; i++) {\n\t\t\ta += Integer.parseInt(s[i]);\n\t\t}\n\t\tif(a % 9 == 0) {\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\t\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tString[] s = stdIn.next().split(\"\");\n\t\t\n\t\tlong a = 0;\n\t\tfor(int i = 0; i < s.length; i++) {\n\t\t\ta += Integer.parseInt(s[i]);\n\t\t}\n\t\tif(a % 9 == 0) {\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\t\n\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner stdIn = new Scanner(System.in); String[] s = stdIn.next().split(""); long a = 0; for(int i = 0; i < s.length; i++) { a += Integer.parseInt(s[i]); } if(a % 9 == 0) { 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, 4, 18, 13, 13, 23, 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, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 13, 13, 17, 4, 18, 18, 13, 13, 8, 2, 2, 13, 17, 17, 17, 17, 23, 13, 6, 13, 41, 13, 41, 13, 41, 13, 41, 13, 17, 12, 13, 30, 0, 13, 20, 17, 0, 13, 17, 0, 13, 20, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 14, 2, 13, 18, 13, 13, 29, 18, 13, 40, 13, 41, 13, 4, 18, 13, 42, 4, 18, 13, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 13, 17, 0, 13, 17, 29, 18, 13, 40, 13, 29, 17, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 29, 4, 18, 13, 4, 13, 29, 40, 17, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 29, 4, 18, 13, 4, 13, 29, 40, 17, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 29, 4, 18, 13, 4, 13, 29, 40, 17, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 220, 11 ], [ 220, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 19, 20 ], [ 18, 21 ], [ 12, 22 ], [ 22, 23 ], [ 220, 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 ], [ 40, 42 ], [ 26, 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 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 26, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 70, 76 ], [ 70, 77 ], [ 24, 78 ], [ 78, 79 ], [ 220, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 80, 84 ], [ 84, 85 ], [ 80, 86 ], [ 86, 87 ], [ 80, 88 ], [ 88, 89 ], [ 88, 90 ], [ 80, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 93, 101 ], [ 101, 102 ], [ 101, 103 ], [ 80, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 107, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 118, 120 ], [ 115, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 114, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 129, 130 ], [ 114, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 132, 135 ], [ 131, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 140, 141 ], [ 114, 142 ], [ 142, 143 ], [ 142, 144 ], [ 144, 145 ], [ 145, 146 ], [ 144, 147 ], [ 144, 148 ], [ 114, 149 ], [ 149, 150 ], [ 149, 151 ], [ 114, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 155, 156 ], [ 106, 157 ], [ 157, 158 ], [ 80, 159 ], [ 159, 160 ], [ 159, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 162, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 171, 174 ], [ 174, 175 ], [ 161, 176 ], [ 176, 177 ], [ 177, 178 ], [ 80, 179 ], [ 179, 180 ], [ 179, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 182, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 191, 194 ], [ 194, 195 ], [ 181, 196 ], [ 196, 197 ], [ 197, 198 ], [ 80, 199 ], [ 199, 200 ], [ 199, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 205, 206 ], [ 206, 207 ], [ 207, 208 ], [ 202, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 211, 214 ], [ 214, 215 ], [ 201, 216 ], [ 216, 217 ], [ 217, 218 ], [ 0, 219 ], [ 219, 220 ], [ 219, 221 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\n\npublic class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve(args);\n }\n\n public void solve(String[] args) {\n MyScanner scanner = new MyScanner();\n\n // ビジネスロジックここから\n String n = scanner.next();\n char[] value = n.toCharArray();\n int sum = 0;\n \n for (int i = 0; i < value.length; i++) {\n \tsum += value[i] - '0';\n }\n \n \n System.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n // ビジネスロジックここまで\n\n }\n\n private class MyScanner {\n String[] s;\n int i;\n BufferedReader br;\n String reg = \" \";\n MyScanner () {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n public String next() {\n try {\n if (i < s.length) return s[i++];\n String line = br.readLine();\n while (line.equals(\"\")) {line = br.readLine();}\n s = line.split(reg, 0);\n i = 0;return s[i++];\n } catch (Exception e) {e.printStackTrace();}\n return null;\n }\n public int nextInt() {\n try {return Integer.parseInt(next());} catch (Exception e) {e.printStackTrace();}\n return -1;\n }\n public double nextDouble() {\n try {return Double.parseDouble(next());} catch (Exception e) {e.printStackTrace();}\n return -1;\n }\n public long nextLong() {\n try {return Long.parseLong(next());} catch (Exception e) {e.printStackTrace();}\n return -1;\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.Arrays;", "Arrays", "java.util", "public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve(args);\n }\n\n public void solve(String[] args) {\n MyScanner scanner = new MyScanner();\n\n // ビジネスロジックここから\n String n = scanner.next();\n char[] value = n.toCharArray();\n int sum = 0;\n \n for (int i = 0; i < value.length; i++) {\n \tsum += value[i] - '0';\n }\n \n \n System.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n // ビジネスロジックここまで\n\n }\n\n private class MyScanner {\n String[] s;\n int i;\n BufferedReader br;\n String reg = \" \";\n MyScanner () {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n public String next() {\n try {\n if (i < s.length) return s[i++];\n String line = br.readLine();\n while (line.equals(\"\")) {line = br.readLine();}\n s = line.split(reg, 0);\n i = 0;return s[i++];\n } catch (Exception e) {e.printStackTrace();}\n return null;\n }\n public int nextInt() {\n try {return Integer.parseInt(next());} catch (Exception e) {e.printStackTrace();}\n return -1;\n }\n public double nextDouble() {\n try {return Double.parseDouble(next());} catch (Exception e) {e.printStackTrace();}\n return -1;\n }\n public long nextLong() {\n try {return Long.parseLong(next());} catch (Exception e) {e.printStackTrace();}\n return -1;\n }\n }\n}", "Main", "public static void main(String[] args) {\n Main main = new Main();\n main.solve(args);\n }", "main", "{\n Main main = new Main();\n main.solve(args);\n }", "Main main = new Main();", "main", "new Main()", "main.solve(args)", "main.solve", "main", "args", "String[] args", "args", "public void solve(String[] args) {\n MyScanner scanner = new MyScanner();\n\n // ビジネスロジックここから\n String n = scanner.next();\n char[] value = n.toCharArray();\n int sum = 0;\n \n for (int i = 0; i < value.length; i++) {\n \tsum += value[i] - '0';\n }\n \n \n System.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n // ビジネスロジックここまで\n\n }", "solve", "{\n MyScanner scanner = new MyScanner();\n\n // ビジネスロジックここから\n String n = scanner.next();\n char[] value = n.toCharArray();\n int sum = 0;\n \n for (int i = 0; i < value.length; i++) {\n \tsum += value[i] - '0';\n }\n \n \n System.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n // ビジネスロジックここまで\n\n }", "MyScanner scanner = new MyScanner();", "scanner", "new MyScanner()", "String n = scanner.next();", "n", "scanner.next()", "scanner.next", "scanner", "char[] value = n.toCharArray();", "value", "n.toCharArray()", "n.toCharArray", "n", "int sum = 0;", "sum", "0", "for (int i = 0; i < value.length; i++) {\n \tsum += value[i] - '0';\n }", "int i = 0;", "int i = 0;", "i", "0", "i < value.length", "i", "value.length", "value", "value.length", "i++", "i++", "i", "{\n \tsum += value[i] - '0';\n }", "{\n \tsum += value[i] - '0';\n }", "sum += value[i] - '0'", "sum", "value[i] - '0'", "value[i]", "value", "i", "'0'", "System.out.println(sum % 9 == 0 ? \"Yes\" : \"No\")", "System.out.println", "System.out", "System", "System.out", "sum % 9 == 0 ? \"Yes\" : \"No\"", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "\"Yes\"", "\"No\"", "String[] args", "args", "private class MyScanner {\n String[] s;\n int i;\n BufferedReader br;\n String reg = \" \";\n MyScanner () {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n public String next() {\n try {\n if (i < s.length) return s[i++];\n String line = br.readLine();\n while (line.equals(\"\")) {line = br.readLine();}\n s = line.split(reg, 0);\n i = 0;return s[i++];\n } catch (Exception e) {e.printStackTrace();}\n return null;\n }\n public int nextInt() {\n try {return Integer.parseInt(next());} catch (Exception e) {e.printStackTrace();}\n return -1;\n }\n public double nextDouble() {\n try {return Double.parseDouble(next());} catch (Exception e) {e.printStackTrace();}\n return -1;\n }\n public long nextLong() {\n try {return Long.parseLong(next());} catch (Exception e) {e.printStackTrace();}\n return -1;\n }\n }", "MyScanner", "String[] s;", "s", "int i;", "i", "BufferedReader br;", "br", "String reg = \" \";", "reg", "\" \"", "MyScanner () {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "MyScanner", "{\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "s = new String[0]", "s", "new String[0]", "0", "i = 0", "i", "0", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "public String next() {\n try {\n if (i < s.length) return s[i++];\n String line = br.readLine();\n while (line.equals(\"\")) {line = br.readLine();}\n s = line.split(reg, 0);\n i = 0;return s[i++];\n } catch (Exception e) {e.printStackTrace();}\n return null;\n }", "next", "{\n try {\n if (i < s.length) return s[i++];\n String line = br.readLine();\n while (line.equals(\"\")) {line = br.readLine();}\n s = line.split(reg, 0);\n i = 0;return s[i++];\n } catch (Exception e) {e.printStackTrace();}\n return null;\n }", "try {\n if (i < s.length) return s[i++];\n String line = br.readLine();\n while (line.equals(\"\")) {line = br.readLine();}\n s = line.split(reg, 0);\n i = 0;return s[i++];\n } catch (Exception e) {e.printStackTrace();}", "catch (Exception e) {e.printStackTrace();}", "Exception e", "{e.printStackTrace();}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n if (i < s.length) return s[i++];\n String line = br.readLine();\n while (line.equals(\"\")) {line = br.readLine();}\n s = line.split(reg, 0);\n i = 0;return s[i++];\n }", "if (i < s.length) return s[i++];", "i < s.length", "i", "s.length", "s", "s.length", "return s[i++];", "s[i++]", "s", "i++", "i", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "while (line.equals(\"\")) {line = br.readLine();}", "line.equals(\"\")", "line.equals", "line", "\"\"", "{line = br.readLine();}", "line = br.readLine()", "line", "br.readLine()", "br.readLine", "br", "s = line.split(reg, 0)", "s", "line.split(reg, 0)", "line.split", "line", "reg", "0", "i = 0", "i", "0", "return s[i++];", "s[i++]", "s", "i++", "i", "return null;", "null", "public int nextInt() {\n try {return Integer.parseInt(next());} catch (Exception e) {e.printStackTrace();}\n return -1;\n }", "nextInt", "{\n try {return Integer.parseInt(next());} catch (Exception e) {e.printStackTrace();}\n return -1;\n }", "try {return Integer.parseInt(next());} catch (Exception e) {e.printStackTrace();}", "catch (Exception e) {e.printStackTrace();}", "Exception e", "{e.printStackTrace();}", "e.printStackTrace()", "e.printStackTrace", "e", "{return Integer.parseInt(next());}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "return -1;", "-1", "1", "public double nextDouble() {\n try {return Double.parseDouble(next());} catch (Exception e) {e.printStackTrace();}\n return -1;\n }", "nextDouble", "{\n try {return Double.parseDouble(next());} catch (Exception e) {e.printStackTrace();}\n return -1;\n }", "try {return Double.parseDouble(next());} catch (Exception e) {e.printStackTrace();}", "catch (Exception e) {e.printStackTrace();}", "Exception e", "{e.printStackTrace();}", "e.printStackTrace()", "e.printStackTrace", "e", "{return Double.parseDouble(next());}", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "return -1;", "-1", "1", "public long nextLong() {\n try {return Long.parseLong(next());} catch (Exception e) {e.printStackTrace();}\n return -1;\n }", "nextLong", "{\n try {return Long.parseLong(next());} catch (Exception e) {e.printStackTrace();}\n return -1;\n }", "try {return Long.parseLong(next());} catch (Exception e) {e.printStackTrace();}", "catch (Exception e) {e.printStackTrace();}", "Exception e", "{e.printStackTrace();}", "e.printStackTrace()", "e.printStackTrace", "e", "{return Long.parseLong(next());}", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "return -1;", "-1", "1", "public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve(args);\n }\n\n public void solve(String[] args) {\n MyScanner scanner = new MyScanner();\n\n // ビジネスロジックここから\n String n = scanner.next();\n char[] value = n.toCharArray();\n int sum = 0;\n \n for (int i = 0; i < value.length; i++) {\n \tsum += value[i] - '0';\n }\n \n \n System.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n // ビジネスロジックここまで\n\n }\n\n private class MyScanner {\n String[] s;\n int i;\n BufferedReader br;\n String reg = \" \";\n MyScanner () {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n public String next() {\n try {\n if (i < s.length) return s[i++];\n String line = br.readLine();\n while (line.equals(\"\")) {line = br.readLine();}\n s = line.split(reg, 0);\n i = 0;return s[i++];\n } catch (Exception e) {e.printStackTrace();}\n return null;\n }\n public int nextInt() {\n try {return Integer.parseInt(next());} catch (Exception e) {e.printStackTrace();}\n return -1;\n }\n public double nextDouble() {\n try {return Double.parseDouble(next());} catch (Exception e) {e.printStackTrace();}\n return -1;\n }\n public long nextLong() {\n try {return Long.parseLong(next());} catch (Exception e) {e.printStackTrace();}\n return -1;\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve(args);\n }\n\n public void solve(String[] args) {\n MyScanner scanner = new MyScanner();\n\n // ビジネスロジックここから\n String n = scanner.next();\n char[] value = n.toCharArray();\n int sum = 0;\n \n for (int i = 0; i < value.length; i++) {\n \tsum += value[i] - '0';\n }\n \n \n System.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n // ビジネスロジックここまで\n\n }\n\n private class MyScanner {\n String[] s;\n int i;\n BufferedReader br;\n String reg = \" \";\n MyScanner () {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n public String next() {\n try {\n if (i < s.length) return s[i++];\n String line = br.readLine();\n while (line.equals(\"\")) {line = br.readLine();}\n s = line.split(reg, 0);\n i = 0;return s[i++];\n } catch (Exception e) {e.printStackTrace();}\n return null;\n }\n public int nextInt() {\n try {return Integer.parseInt(next());} catch (Exception e) {e.printStackTrace();}\n return -1;\n }\n public double nextDouble() {\n try {return Double.parseDouble(next());} catch (Exception e) {e.printStackTrace();}\n return -1;\n }\n public long nextLong() {\n try {return Long.parseLong(next());} catch (Exception e) {e.printStackTrace();}\n return -1;\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arrays; public class Main { public static void main(String[] args) { Main main = new Main(); main.solve(args); } public void solve(String[] args) { MyScanner scanner = new MyScanner(); // ビジネスロジックここから String n = scanner.next(); char[] value = n.toCharArray(); int sum = 0; for (int i = 0; i < value.length; i++) { sum += value[i] - '0'; } System.out.println(sum % 9 == 0 ? "Yes" : "No"); // ビジネスロジックここまで } private class MyScanner { String[] s; int i; BufferedReader br; String reg = " "; MyScanner () { s = new String[0]; i = 0; br = new BufferedReader(new InputStreamReader(System.in)); } public String next() { try { if (i < s.length) return s[i++]; String line = br.readLine(); while (line.equals("")) {line = br.readLine();} s = line.split(reg, 0); i = 0;return s[i++]; } catch (Exception e) {e.printStackTrace();} return null; } public int nextInt() { try {return Integer.parseInt(next());} catch (Exception e) {e.printStackTrace();} return -1; } public double nextDouble() { try {return Double.parseDouble(next());} catch (Exception e) {e.printStackTrace();} return -1; } public long nextLong() { try {return Long.parseLong(next());} catch (Exception e) {e.printStackTrace();} return -1; } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 41, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 17, 28, 13, 4, 18, 13, 30, 30, 0, 13, 2, 13, 17, 0, 13, 17, 4, 18, 13, 8, 2, 13, 17, 17, 17, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 8, 4, 18, 13, 18, 13, 13, 20, 41, 13, 18, 13, 13, 41, 13, 20, 41, 13, 20, 4, 18, 20, 4, 18, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 20, 0, 18, 36, 13, 17, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 25, 26 ], [ 25, 27 ], [ 0, 28 ], [ 197, 29 ], [ 197, 30 ], [ 30, 31 ], [ 30, 32 ], [ 197, 33 ], [ 33, 34 ], [ 197, 35 ], [ 35, 36 ], [ 197, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 39, 45 ], [ 45, 46 ], [ 45, 47 ], [ 39, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 48, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 54, 60 ], [ 60, 61 ], [ 60, 62 ], [ 39, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 66, 71 ], [ 197, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 74, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 72, 85 ], [ 85, 86 ], [ 72, 87 ], [ 87, 88 ], [ 197, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 94, 98 ], [ 98, 99 ], [ 98, 100 ], [ 94, 101 ], [ 91, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 104, 106 ], [ 91, 107 ], [ 107, 108 ], [ 107, 109 ], [ 91, 110 ], [ 110, 111 ], [ 110, 112 ], [ 91, 113 ], [ 113, 114 ], [ 114, 115 ], [ 91, 116 ], [ 116, 117 ], [ 117, 118 ], [ 89, 119 ], [ 119, 120 ], [ 197, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 121, 125 ], [ 125, 126 ], [ 121, 127 ], [ 127, 128 ], [ 127, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 134 ], [ 129, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 127, 140 ], [ 140, 141 ], [ 121, 142 ], [ 142, 143 ], [ 142, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 146, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 145, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 158, 159 ], [ 159, 160 ], [ 155, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 144, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 121, 169 ], [ 169, 170 ], [ 169, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 173, 176 ], [ 176, 177 ], [ 121, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 182, 185 ], [ 185, 186 ], [ 121, 187 ], [ 187, 188 ], [ 187, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 191, 194 ], [ 194, 195 ], [ 0, 196 ], [ 196, 197 ], [ 196, 198 ] ]
[ "\nimport java.io.BufferedReader;\nimport java.io.File;\nimport java.io.FileInputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n private static final String INPUT_FILE_PATH = \"\";\n\n void solve() {\n String s = in.nextToken();\n int sum = 0;\n for (char c : s.toCharArray()) {\n sum += c - '0';\n sum %= 9;\n }\n out.println(sum == 0 ? \"Yes\" : \"No\");\n }\n\n private final InputReader in;\n private final PrintWriter out;\n\n private Main(InputReader in, PrintWriter out) {\n this.in = in;\n this.out = out;\n }\n\n private static class InputReader {\n private BufferedReader br;\n private StringTokenizer st;\n\n public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n\n public static void main(String[] args) throws Exception {\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n new Main(inputReader, printWriter).solve();\n\n printWriter.close();\n }\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.File;", "File", "java.io", "import java.io.FileInputStream;", "FileInputStream", "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.io.OutputStream;", "OutputStream", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n\n private static final String INPUT_FILE_PATH = \"\";\n\n void solve() {\n String s = in.nextToken();\n int sum = 0;\n for (char c : s.toCharArray()) {\n sum += c - '0';\n sum %= 9;\n }\n out.println(sum == 0 ? \"Yes\" : \"No\");\n }\n\n private final InputReader in;\n private final PrintWriter out;\n\n private Main(InputReader in, PrintWriter out) {\n this.in = in;\n this.out = out;\n }\n\n private static class InputReader {\n private BufferedReader br;\n private StringTokenizer st;\n\n public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n\n public static void main(String[] args) throws Exception {\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n new Main(inputReader, printWriter).solve();\n\n printWriter.close();\n }\n\n}", "Main", "private static final String INPUT_FILE_PATH = \"\";", "INPUT_FILE_PATH", "\"\"", "private final InputReader in;", "in", "private final PrintWriter out;", "out", "void solve() {\n String s = in.nextToken();\n int sum = 0;\n for (char c : s.toCharArray()) {\n sum += c - '0';\n sum %= 9;\n }\n out.println(sum == 0 ? \"Yes\" : \"No\");\n }", "solve", "{\n String s = in.nextToken();\n int sum = 0;\n for (char c : s.toCharArray()) {\n sum += c - '0';\n sum %= 9;\n }\n out.println(sum == 0 ? \"Yes\" : \"No\");\n }", "String s = in.nextToken();", "s", "in.nextToken()", "in.nextToken", "in", "int sum = 0;", "sum", "0", "for (char c : s.toCharArray()) {\n sum += c - '0';\n sum %= 9;\n }", "char c", "s.toCharArray()", "s.toCharArray", "s", "{\n sum += c - '0';\n sum %= 9;\n }", "{\n sum += c - '0';\n sum %= 9;\n }", "sum += c - '0'", "sum", "c - '0'", "c", "'0'", "sum %= 9", "sum", "9", "out.println(sum == 0 ? \"Yes\" : \"No\")", "out.println", "out", "sum == 0 ? \"Yes\" : \"No\"", "sum == 0", "sum", "0", "\"Yes\"", "\"No\"", "private Main(InputReader in, PrintWriter out) {\n this.in = in;\n this.out = out;\n }", "Main", "{\n this.in = in;\n this.out = out;\n }", "this.in = in", "this.in", "this", "this.in", "in", "this.out = out", "this.out", "this", "this.out", "out", "InputReader in", "in", "PrintWriter out", "out", "public static void main(String[] args) throws Exception {\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n new Main(inputReader, printWriter).solve();\n\n printWriter.close();\n }", "main", "{\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n new Main(inputReader, printWriter).solve();\n\n printWriter.close();\n }", "InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));", "inputStream", "INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH))", "INPUT_FILE_PATH.isEmpty()", "INPUT_FILE_PATH.isEmpty", "INPUT_FILE_PATH", "System.in", "System", "System.in", "new FileInputStream(new File(INPUT_FILE_PATH))", "OutputStream outputStream = System.out;", "outputStream", "System.out", "System", "System.out", "InputReader inputReader = new InputReader(inputStream);", "inputReader", "new InputReader(inputStream)", "PrintWriter printWriter = new PrintWriter(outputStream);", "printWriter", "new PrintWriter(outputStream)", "new Main(inputReader, printWriter).solve()", "new Main(inputReader, printWriter).solve", "new Main(inputReader, printWriter)", "printWriter.close()", "printWriter.close", "printWriter", "String[] args", "args", "private static class InputReader {\n private BufferedReader br;\n private StringTokenizer st;\n\n public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }", "InputReader", "private BufferedReader br;", "br", "private StringTokenizer st;", "st", "public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }", "InputReader", "{\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }", "this.br = new BufferedReader(new InputStreamReader(inputStream), 32768)", "this.br", "this", "this.br", "new BufferedReader(new InputStreamReader(inputStream), 32768)", "this.st = null", "this.st", "this", "this.st", "null", "InputStream inputStream", "inputStream", "public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }", "nextToken", "{\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }", "catch (IOException e) {\n throw new RuntimeException(e);\n }", "IOException e", "{\n throw new RuntimeException(e);\n }", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "public int nextInt() {\n return Integer.parseInt(nextToken());\n }", "nextInt", "{\n return Integer.parseInt(nextToken());\n }", "return Integer.parseInt(nextToken());", "Integer.parseInt(nextToken())", "Integer.parseInt", "Integer", "nextToken()", "nextToken", "public 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", "public 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 private static final String INPUT_FILE_PATH = \"\";\n\n void solve() {\n String s = in.nextToken();\n int sum = 0;\n for (char c : s.toCharArray()) {\n sum += c - '0';\n sum %= 9;\n }\n out.println(sum == 0 ? \"Yes\" : \"No\");\n }\n\n private final InputReader in;\n private final PrintWriter out;\n\n private Main(InputReader in, PrintWriter out) {\n this.in = in;\n this.out = out;\n }\n\n private static class InputReader {\n private BufferedReader br;\n private StringTokenizer st;\n\n public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n\n public static void main(String[] args) throws Exception {\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n new Main(inputReader, printWriter).solve();\n\n printWriter.close();\n }\n\n}", "public class Main {\n\n private static final String INPUT_FILE_PATH = \"\";\n\n void solve() {\n String s = in.nextToken();\n int sum = 0;\n for (char c : s.toCharArray()) {\n sum += c - '0';\n sum %= 9;\n }\n out.println(sum == 0 ? \"Yes\" : \"No\");\n }\n\n private final InputReader in;\n private final PrintWriter out;\n\n private Main(InputReader in, PrintWriter out) {\n this.in = in;\n this.out = out;\n }\n\n private static class InputReader {\n private BufferedReader br;\n private StringTokenizer st;\n\n public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n\n public static void main(String[] args) throws Exception {\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n new Main(inputReader, printWriter).solve();\n\n printWriter.close();\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.PrintWriter; import java.util.StringTokenizer; public class Main { private static final String INPUT_FILE_PATH = ""; void solve() { String s = in.nextToken(); int sum = 0; for (char c : s.toCharArray()) { sum += c - '0'; sum %= 9; } out.println(sum == 0 ? "Yes" : "No"); } private final InputReader in; private final PrintWriter out; private Main(InputReader in, PrintWriter out) { this.in = in; this.out = out; } private static class InputReader { private BufferedReader br; private StringTokenizer st; public InputReader(InputStream inputStream) { this.br = new BufferedReader(new InputStreamReader(inputStream), 32768); this.st = null; } public String nextToken() { while (st == null || !st.hasMoreTokens()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { throw new RuntimeException(e); } } return st.nextToken(); } public int nextInt() { return Integer.parseInt(nextToken()); } public long nextLong() { return Long.parseLong(nextToken()); } public double nextDouble() { return Double.parseDouble(nextToken()); } } public static void main(String[] args) throws Exception { InputStream inputStream = INPUT_FILE_PATH.isEmpty() ? System.in : new FileInputStream(new File(INPUT_FILE_PATH)); OutputStream outputStream = System.out; InputReader inputReader = new InputReader(inputStream); PrintWriter printWriter = new PrintWriter(outputStream); new Main(inputReader, printWriter).solve(); printWriter.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 0, 13, 2, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 8, 2, 2, 13, 17, 17, 17, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 61, 8 ], [ 61, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 23, 33 ], [ 33, 34 ], [ 34, 35 ], [ 23, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 39, 44 ], [ 11, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 50, 56 ], [ 50, 57 ], [ 9, 58 ], [ 58, 59 ], [ 0, 60 ], [ 60, 61 ], [ 60, 62 ] ]
[ "import java.util.*;\nimport java.io.*;\npublic class Main {\n\n\tpublic static void main(String[] args) throws java.lang.Exception\n {\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine();\n\t\tlong sum=0;\n\t\tfor(int i=0; i<s.length(); i++) sum+=s.charAt(i)-48;\n\t\tSystem.out.println(sum%9==0?\"Yes\":\"No\");\n\t}\n\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n\n\tpublic static void main(String[] args) throws java.lang.Exception\n {\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine();\n\t\tlong sum=0;\n\t\tfor(int i=0; i<s.length(); i++) sum+=s.charAt(i)-48;\n\t\tSystem.out.println(sum%9==0?\"Yes\":\"No\");\n\t}\n\n}", "Main", "public static void main(String[] args) throws java.lang.Exception\n {\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine();\n\t\tlong sum=0;\n\t\tfor(int i=0; i<s.length(); i++) sum+=s.charAt(i)-48;\n\t\tSystem.out.println(sum%9==0?\"Yes\":\"No\");\n\t}", "main", "{\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine();\n\t\tlong sum=0;\n\t\tfor(int i=0; i<s.length(); i++) sum+=s.charAt(i)-48;\n\t\tSystem.out.println(sum%9==0?\"Yes\":\"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", "long sum=0;", "sum", "0", "for(int i=0; i<s.length(); i++) sum+=s.charAt(i)-48;", "int i=0;", "int i=0;", "i", "0", "i<s.length()", "i", "s.length()", "s.length", "s", "i++", "i++", "i", "sum+=s.charAt(i)-48;", "sum+=s.charAt(i)-48", "sum", "s.charAt(i)-48", "s.charAt(i)", "s.charAt", "s", "i", "48", "System.out.println(sum%9==0?\"Yes\":\"No\")", "System.out.println", "System.out", "System", "System.out", "sum%9==0?\"Yes\":\"No\"", "sum%9==0", "sum%9", "sum", "9", "0", "\"Yes\"", "\"No\"", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws java.lang.Exception\n {\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine();\n\t\tlong sum=0;\n\t\tfor(int i=0; i<s.length(); i++) sum+=s.charAt(i)-48;\n\t\tSystem.out.println(sum%9==0?\"Yes\":\"No\");\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws java.lang.Exception\n {\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=br.readLine();\n\t\tlong sum=0;\n\t\tfor(int i=0; i<s.length(); i++) sum+=s.charAt(i)-48;\n\t\tSystem.out.println(sum%9==0?\"Yes\":\"No\");\n\t}\n\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws java.lang.Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String s=br.readLine(); long sum=0; for(int i=0; i<s.length(); i++) sum+=s.charAt(i)-48; System.out.println(sum%9==0?"Yes":"No"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 0, 13, 4, 18, 13, 18, 13, 13, 14, 2, 2, 13, 17, 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 ], [ 67, 5 ], [ 67, 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 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 30, 32 ], [ 23, 33 ], [ 33, 34 ], [ 34, 35 ], [ 23, 36 ], [ 37, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 43, 45 ], [ 8, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 46, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 6, 64 ], [ 64, 65 ], [ 0, 66 ], [ 66, 67 ], [ 66, 68 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] n = sc.next().split(\"\");\n\n int sum = 0;\n for (int i = 0; i < n.length; i++) {\n sum += Integer.parseInt(n[i]);\n }\n\n if (sum%9 == 0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\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[] n = sc.next().split(\"\");\n\n int sum = 0;\n for (int i = 0; i < n.length; i++) {\n sum += Integer.parseInt(n[i]);\n }\n\n if (sum%9 == 0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] n = sc.next().split(\"\");\n\n int sum = 0;\n for (int i = 0; i < n.length; i++) {\n sum += Integer.parseInt(n[i]);\n }\n\n if (sum%9 == 0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String[] n = sc.next().split(\"\");\n\n int sum = 0;\n for (int i = 0; i < n.length; i++) {\n sum += Integer.parseInt(n[i]);\n }\n\n if (sum%9 == 0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String[] n = sc.next().split(\"\");", "n", "sc.next().split(\"\")", "sc.next().split", "sc.next()", "sc.next", "sc", "\"\"", "int sum = 0;", "sum", "0", "for (int i = 0; i < n.length; i++) {\n sum += Integer.parseInt(n[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n.length", "i", "n.length", "n", "n.length", "i++", "i++", "i", "{\n sum += Integer.parseInt(n[i]);\n }", "{\n sum += Integer.parseInt(n[i]);\n }", "sum += Integer.parseInt(n[i])", "sum", "Integer.parseInt(n[i])", "Integer.parseInt", "Integer", "n[i]", "n", "i", "if (sum%9 == 0) System.out.println(\"Yes\");\n else System.out.println(\"No\");", "sum%9 == 0", "sum%9", "sum", "9", "0", "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 String[] n = sc.next().split(\"\");\n\n int sum = 0;\n for (int i = 0; i < n.length; i++) {\n sum += Integer.parseInt(n[i]);\n }\n\n if (sum%9 == 0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] n = sc.next().split(\"\");\n\n int sum = 0;\n for (int i = 0; i < n.length; i++) {\n sum += Integer.parseInt(n[i]);\n }\n\n if (sum%9 == 0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String[] n = sc.next().split(""); int sum = 0; for (int i = 0; i < n.length; i++) { sum += Integer.parseInt(n[i]); } if (sum%9 == 0) System.out.println("Yes"); else System.out.println("No"); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 41, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 4, 18, 13, 4, 18, 13, 4, 18, 13, 23, 13, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 14, 40, 4, 18, 13, 17, 30, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 13, 0, 13, 2, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 17, 29, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 113, 5 ], [ 113, 6 ], [ 6, 7 ], [ 113, 8 ], [ 8, 9 ], [ 113, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 12, 16 ], [ 16, 17 ], [ 16, 18 ], [ 12, 19 ], [ 19, 20 ], [ 20, 21 ], [ 19, 22 ], [ 22, 23 ], [ 23, 24 ], [ 12, 25 ], [ 25, 26 ], [ 26, 27 ], [ 10, 28 ], [ 28, 29 ], [ 113, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 32, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 43, 44 ], [ 30, 45 ], [ 45, 46 ], [ 113, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 53, 55 ], [ 49, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 56, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 63, 73 ], [ 73, 74 ], [ 74, 75 ], [ 63, 76 ], [ 77, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 77, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 86, 88 ], [ 49, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 89, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 49, 99 ], [ 99, 100 ], [ 113, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 101, 110 ], [ 110, 111 ], [ 0, 112 ], [ 112, 113 ], [ 112, 114 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }\n \n\t//フィールド\n Scanner sc;\n String N;\n \n //入力\n Main(Scanner sc) {\n this.sc = sc;\n this.N = sc.next();\n }\n \n //解答処理\n private String solve() {\n String answer = \"No\";\n long m = 0;\n if (!N.equals(\"0\")) {\n \tfor (int i=0; i<N.length(); i++) {\n \t\tint tmp = N.charAt(i);\n \t\tm += tmp-48;\n \t}\n }\n \n if (m%9 == 0) {\n \tanswer = \"Yes\";\n }\n \n return answer;\n }\n \n //出力\n public void show(String answer) {\n System.out.println(answer);\n }\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }\n \n\t//フィールド\n Scanner sc;\n String N;\n \n //入力\n Main(Scanner sc) {\n this.sc = sc;\n this.N = sc.next();\n }\n \n //解答処理\n private String solve() {\n String answer = \"No\";\n long m = 0;\n if (!N.equals(\"0\")) {\n \tfor (int i=0; i<N.length(); i++) {\n \t\tint tmp = N.charAt(i);\n \t\tm += tmp-48;\n \t}\n }\n \n if (m%9 == 0) {\n \tanswer = \"Yes\";\n }\n \n return answer;\n }\n \n //出力\n public void show(String answer) {\n System.out.println(answer);\n }\n\n}", "Main", "//フィールド\n Scanner sc;", "sc", "String N;", "N", "public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "Main m = new Main(sc);", "m", "new Main(sc)", "m.show(m.solve())", "m.show", "m", "m.solve()", "m.solve", "m", "sc.close()", "sc.close", "sc", "String[] args", "args", "//入力\n Main(Scanner sc) {\n this.sc = sc;\n this.N = sc.next();\n }", "Main", "{\n this.sc = sc;\n this.N = sc.next();\n }", "this.sc = sc", "this.sc", "this", "this.sc", "sc", "this.N = sc.next()", "this.N", "this", "this.N", "sc.next()", "sc.next", "sc", "Scanner sc", "sc", "//解答処理\n private String solve() {\n String answer = \"No\";\n long m = 0;\n if (!N.equals(\"0\")) {\n \tfor (int i=0; i<N.length(); i++) {\n \t\tint tmp = N.charAt(i);\n \t\tm += tmp-48;\n \t}\n }\n \n if (m%9 == 0) {\n \tanswer = \"Yes\";\n }\n \n return answer;\n }", "solve", "{\n String answer = \"No\";\n long m = 0;\n if (!N.equals(\"0\")) {\n \tfor (int i=0; i<N.length(); i++) {\n \t\tint tmp = N.charAt(i);\n \t\tm += tmp-48;\n \t}\n }\n \n if (m%9 == 0) {\n \tanswer = \"Yes\";\n }\n \n return answer;\n }", "String answer = \"No\";", "answer", "\"No\"", "long m = 0;", "m", "0", "if (!N.equals(\"0\")) {\n \tfor (int i=0; i<N.length(); i++) {\n \t\tint tmp = N.charAt(i);\n \t\tm += tmp-48;\n \t}\n }", "!N.equals(\"0\")", "N.equals(\"0\")", "N.equals", "N", "\"0\"", "{\n \tfor (int i=0; i<N.length(); i++) {\n \t\tint tmp = N.charAt(i);\n \t\tm += tmp-48;\n \t}\n }", "for (int i=0; i<N.length(); i++) {\n \t\tint tmp = N.charAt(i);\n \t\tm += tmp-48;\n \t}", "int i=0;", "int i=0;", "i", "0", "i<N.length()", "i", "N.length()", "N.length", "N", "i++", "i++", "i", "{\n \t\tint tmp = N.charAt(i);\n \t\tm += tmp-48;\n \t}", "{\n \t\tint tmp = N.charAt(i);\n \t\tm += tmp-48;\n \t}", "int tmp = N.charAt(i);", "tmp", "N.charAt(i)", "N.charAt", "N", "i", "m += tmp-48", "m", "tmp-48", "tmp", "48", "if (m%9 == 0) {\n \tanswer = \"Yes\";\n }", "m%9 == 0", "m%9", "m", "9", "0", "{\n \tanswer = \"Yes\";\n }", "answer = \"Yes\"", "answer", "\"Yes\"", "return answer;", "answer", "//出力\n public void show(String answer) {\n System.out.println(answer);\n }", "show", "{\n System.out.println(answer);\n }", "System.out.println(answer)", "System.out.println", "System.out", "System", "System.out", "answer", "String answer", "answer", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }\n \n\t//フィールド\n Scanner sc;\n String N;\n \n //入力\n Main(Scanner sc) {\n this.sc = sc;\n this.N = sc.next();\n }\n \n //解答処理\n private String solve() {\n String answer = \"No\";\n long m = 0;\n if (!N.equals(\"0\")) {\n \tfor (int i=0; i<N.length(); i++) {\n \t\tint tmp = N.charAt(i);\n \t\tm += tmp-48;\n \t}\n }\n \n if (m%9 == 0) {\n \tanswer = \"Yes\";\n }\n \n return answer;\n }\n \n //出力\n public void show(String answer) {\n System.out.println(answer);\n }\n\n}", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Main m = new Main(sc);\n m.show(m.solve());\n sc.close();\n }\n \n\t//フィールド\n Scanner sc;\n String N;\n \n //入力\n Main(Scanner sc) {\n this.sc = sc;\n this.N = sc.next();\n }\n \n //解答処理\n private String solve() {\n String answer = \"No\";\n long m = 0;\n if (!N.equals(\"0\")) {\n \tfor (int i=0; i<N.length(); i++) {\n \t\tint tmp = N.charAt(i);\n \t\tm += tmp-48;\n \t}\n }\n \n if (m%9 == 0) {\n \tanswer = \"Yes\";\n }\n \n return answer;\n }\n \n //出力\n public void show(String answer) {\n System.out.println(answer);\n }\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); Main m = new Main(sc); m.show(m.solve()); sc.close(); } //フィールド Scanner sc; String N; //入力 Main(Scanner sc) { this.sc = sc; this.N = sc.next(); } //解答処理 private String solve() { String answer = "No"; long m = 0; if (!N.equals("0")) { for (int i=0; i<N.length(); i++) { int tmp = N.charAt(i); m += tmp-48; } } if (m%9 == 0) { answer = "Yes"; } return answer; } //出力 public void show(String answer) { System.out.println(answer); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 0, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 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 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 20, 30 ], [ 30, 31 ], [ 31, 32 ], [ 20, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 34, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 47, 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.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n int total = 0;\n //分解して足し算\n for(int i=0; i < n.length(); i++) {\n int num = Character.getNumericValue(n.charAt(i));\n total += num;\n }\n //判断\n if (total%9 == 0) {\n System.out.println(\"Yes\");\n } else {\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 n = sc.next();\n int total = 0;\n //分解して足し算\n for(int i=0; i < n.length(); i++) {\n int num = Character.getNumericValue(n.charAt(i));\n total += num;\n }\n //判断\n if (total%9 == 0) {\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 n = sc.next();\n int total = 0;\n //分解して足し算\n for(int i=0; i < n.length(); i++) {\n int num = Character.getNumericValue(n.charAt(i));\n total += num;\n }\n //判断\n if (total%9 == 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n int total = 0;\n //分解して足し算\n for(int i=0; i < n.length(); i++) {\n int num = Character.getNumericValue(n.charAt(i));\n total += num;\n }\n //判断\n if (total%9 == 0) {\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 n = sc.next();", "n", "sc.next()", "sc.next", "sc", "int total = 0;", "total", "0", "for(int i=0; i < n.length(); i++) {\n int num = Character.getNumericValue(n.charAt(i));\n total += num;\n }", "int i=0;", "int i=0;", "i", "0", "i < n.length()", "i", "n.length()", "n.length", "n", "i++", "i++", "i", "{\n int num = Character.getNumericValue(n.charAt(i));\n total += num;\n }", "{\n int num = Character.getNumericValue(n.charAt(i));\n total += num;\n }", "int num = Character.getNumericValue(n.charAt(i));", "num", "Character.getNumericValue(n.charAt(i))", "Character.getNumericValue", "Character", "n.charAt(i)", "n.charAt", "n", "i", "total += num", "total", "num", "if (total%9 == 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }", "total%9 == 0", "total%9", "total", "9", "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 public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String n = sc.next();\n int total = 0;\n //分解して足し算\n for(int i=0; i < n.length(); i++) {\n int num = Character.getNumericValue(n.charAt(i));\n total += num;\n }\n //判断\n if (total%9 == 0) {\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 n = sc.next();\n int total = 0;\n //分解して足し算\n for(int i=0; i < n.length(); i++) {\n int num = Character.getNumericValue(n.charAt(i));\n total += num;\n }\n //判断\n if (total%9 == 0) {\n System.out.println(\"Yes\");\n } else {\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 n = sc.next(); int total = 0; //分解して足し算 for(int i=0; i < n.length(); i++) { int num = Character.getNumericValue(n.charAt(i)); total += num; } //判断 if (total%9 == 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, 17, 28, 13, 4, 18, 13, 30, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 29, 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 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 26, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 26, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 8, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 41, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 8, 59 ], [ 6, 60 ], [ 60, 61 ], [ 0, 62 ], [ 62, 63 ], [ 62, 64 ] ]
[ "import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString N = sc.next();\n\t\tint sum = 0;\n\t\t\n\t\tfor(char c : N.toCharArray()) {\n\n\t\t\tsum += Character.getNumericValue(c);\n \t\n\t\t\tif(sum>=9){\n\t\t\t\tsum %= 9;\n\t\t\t}\n\t\t}\n \n if(sum==0){\n\t\t\tSystem.out.println(\"Yes\");\n }else{\n\t\tSystem.out.println(\"No\");\n\t }\n\t\t\n\t\treturn;\n\t}\n\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString N = sc.next();\n\t\tint sum = 0;\n\t\t\n\t\tfor(char c : N.toCharArray()) {\n\n\t\t\tsum += Character.getNumericValue(c);\n \t\n\t\t\tif(sum>=9){\n\t\t\t\tsum %= 9;\n\t\t\t}\n\t\t}\n \n if(sum==0){\n\t\t\tSystem.out.println(\"Yes\");\n }else{\n\t\tSystem.out.println(\"No\");\n\t }\n\t\t\n\t\treturn;\n\t}\n\n}", "Main", "public static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString N = sc.next();\n\t\tint sum = 0;\n\t\t\n\t\tfor(char c : N.toCharArray()) {\n\n\t\t\tsum += Character.getNumericValue(c);\n \t\n\t\t\tif(sum>=9){\n\t\t\t\tsum %= 9;\n\t\t\t}\n\t\t}\n \n if(sum==0){\n\t\t\tSystem.out.println(\"Yes\");\n }else{\n\t\tSystem.out.println(\"No\");\n\t }\n\t\t\n\t\treturn;\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString N = sc.next();\n\t\tint sum = 0;\n\t\t\n\t\tfor(char c : N.toCharArray()) {\n\n\t\t\tsum += Character.getNumericValue(c);\n \t\n\t\t\tif(sum>=9){\n\t\t\t\tsum %= 9;\n\t\t\t}\n\t\t}\n \n if(sum==0){\n\t\t\tSystem.out.println(\"Yes\");\n }else{\n\t\tSystem.out.println(\"No\");\n\t }\n\t\t\n\t\treturn;\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String N = sc.next();", "N", "sc.next()", "sc.next", "sc", "int sum = 0;", "sum", "0", "for(char c : N.toCharArray()) {\n\n\t\t\tsum += Character.getNumericValue(c);\n \t\n\t\t\tif(sum>=9){\n\t\t\t\tsum %= 9;\n\t\t\t}\n\t\t}", "char c", "N.toCharArray()", "N.toCharArray", "N", "{\n\n\t\t\tsum += Character.getNumericValue(c);\n \t\n\t\t\tif(sum>=9){\n\t\t\t\tsum %= 9;\n\t\t\t}\n\t\t}", "{\n\n\t\t\tsum += Character.getNumericValue(c);\n \t\n\t\t\tif(sum>=9){\n\t\t\t\tsum %= 9;\n\t\t\t}\n\t\t}", "sum += Character.getNumericValue(c)", "sum", "Character.getNumericValue(c)", "Character.getNumericValue", "Character", "c", "if(sum>=9){\n\t\t\t\tsum %= 9;\n\t\t\t}", "sum>=9", "sum", "9", "{\n\t\t\t\tsum %= 9;\n\t\t\t}", "sum %= 9", "sum", "9", "if(sum==0){\n\t\t\tSystem.out.println(\"Yes\");\n }else{\n\t\tSystem.out.println(\"No\");\n\t }", "sum==0", "sum", "0", "{\n\t\t\tSystem.out.println(\"Yes\");\n }", "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\"", "return;", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString N = sc.next();\n\t\tint sum = 0;\n\t\t\n\t\tfor(char c : N.toCharArray()) {\n\n\t\t\tsum += Character.getNumericValue(c);\n \t\n\t\t\tif(sum>=9){\n\t\t\t\tsum %= 9;\n\t\t\t}\n\t\t}\n \n if(sum==0){\n\t\t\tSystem.out.println(\"Yes\");\n }else{\n\t\tSystem.out.println(\"No\");\n\t }\n\t\t\n\t\treturn;\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString N = sc.next();\n\t\tint sum = 0;\n\t\t\n\t\tfor(char c : N.toCharArray()) {\n\n\t\t\tsum += Character.getNumericValue(c);\n \t\n\t\t\tif(sum>=9){\n\t\t\t\tsum %= 9;\n\t\t\t}\n\t\t}\n \n if(sum==0){\n\t\t\tSystem.out.println(\"Yes\");\n }else{\n\t\tSystem.out.println(\"No\");\n\t }\n\t\t\n\t\treturn;\n\t}\n\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String N = sc.next(); int sum = 0; for(char c : N.toCharArray()) { sum += Character.getNumericValue(c); if(sum>=9){ sum %= 9; } } if(sum==0){ 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, 17, 41, 13, 17, 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, 4, 18, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 88, 5 ], [ 88, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 19, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 32, 42 ], [ 42, 43 ], [ 43, 44 ], [ 32, 45 ], [ 46, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 54, 55 ], [ 54, 56 ], [ 46, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 8, 62 ], [ 62, 63 ], [ 63, 64 ], [ 8, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 65, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 65, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 6, 85 ], [ 85, 86 ], [ 0, 87 ], [ 87, 88 ], [ 87, 89 ] ]
[ "import java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str = sc.nextLine();\n\t\tString[] num_str = str.split(\"\");\n\n\t\tint result=0;\n\t\tint[] num_int = new int[num_str.length];\n\n\t\tfor(int i=0; i < num_int.length; i++){\n\t\t\tnum_int[i] = Integer.parseInt(num_str[i]);\n\n\t\t\tresult += num_int[i]; \n\t\t}\n\t\tsc.close();\n\n\t\tif(result % 9 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\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 sc = new Scanner(System.in);\n\t\tString str = sc.nextLine();\n\t\tString[] num_str = str.split(\"\");\n\n\t\tint result=0;\n\t\tint[] num_int = new int[num_str.length];\n\n\t\tfor(int i=0; i < num_int.length; i++){\n\t\t\tnum_int[i] = Integer.parseInt(num_str[i]);\n\n\t\t\tresult += num_int[i]; \n\t\t}\n\t\tsc.close();\n\n\t\tif(result % 9 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str = sc.nextLine();\n\t\tString[] num_str = str.split(\"\");\n\n\t\tint result=0;\n\t\tint[] num_int = new int[num_str.length];\n\n\t\tfor(int i=0; i < num_int.length; i++){\n\t\t\tnum_int[i] = Integer.parseInt(num_str[i]);\n\n\t\t\tresult += num_int[i]; \n\t\t}\n\t\tsc.close();\n\n\t\tif(result % 9 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\tSystem.out.println(\"No\");\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str = sc.nextLine();\n\t\tString[] num_str = str.split(\"\");\n\n\t\tint result=0;\n\t\tint[] num_int = new int[num_str.length];\n\n\t\tfor(int i=0; i < num_int.length; i++){\n\t\t\tnum_int[i] = Integer.parseInt(num_str[i]);\n\n\t\t\tresult += num_int[i]; \n\t\t}\n\t\tsc.close();\n\n\t\tif(result % 9 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\tSystem.out.println(\"No\");\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String str = sc.nextLine();", "str", "sc.nextLine()", "sc.nextLine", "sc", "String[] num_str = str.split(\"\");", "num_str", "str.split(\"\")", "str.split", "str", "\"\"", "int result=0;", "result", "0", "int[] num_int = new int[num_str.length];", "num_int", "new int[num_str.length]", "num_str.length", "num_str", "num_str.length", "for(int i=0; i < num_int.length; i++){\n\t\t\tnum_int[i] = Integer.parseInt(num_str[i]);\n\n\t\t\tresult += num_int[i]; \n\t\t}", "int i=0;", "int i=0;", "i", "0", "i < num_int.length", "i", "num_int.length", "num_int", "num_int.length", "i++", "i++", "i", "{\n\t\t\tnum_int[i] = Integer.parseInt(num_str[i]);\n\n\t\t\tresult += num_int[i]; \n\t\t}", "{\n\t\t\tnum_int[i] = Integer.parseInt(num_str[i]);\n\n\t\t\tresult += num_int[i]; \n\t\t}", "num_int[i] = Integer.parseInt(num_str[i])", "num_int[i]", "num_int", "i", "Integer.parseInt(num_str[i])", "Integer.parseInt", "Integer", "num_str[i]", "num_str", "i", "result += num_int[i]", "result", "num_int[i]", "num_int", "i", "sc.close()", "sc.close", "sc", "if(result % 9 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\tSystem.out.println(\"No\");\n\t\t}", "result % 9 == 0", "result % 9", "result", "9", "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\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\tString str = sc.nextLine();\n\t\tString[] num_str = str.split(\"\");\n\n\t\tint result=0;\n\t\tint[] num_int = new int[num_str.length];\n\n\t\tfor(int i=0; i < num_int.length; i++){\n\t\t\tnum_int[i] = Integer.parseInt(num_str[i]);\n\n\t\t\tresult += num_int[i]; \n\t\t}\n\t\tsc.close();\n\n\t\tif(result % 9 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str = sc.nextLine();\n\t\tString[] num_str = str.split(\"\");\n\n\t\tint result=0;\n\t\tint[] num_int = new int[num_str.length];\n\n\t\tfor(int i=0; i < num_int.length; i++){\n\t\t\tnum_int[i] = Integer.parseInt(num_str[i]);\n\n\t\t\tresult += num_int[i]; \n\t\t}\n\t\tsc.close();\n\n\t\tif(result % 9 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\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 sc = new Scanner(System.in); String str = sc.nextLine(); String[] num_str = str.split(""); int result=0; int[] num_int = new int[num_str.length]; for(int i=0; i < num_int.length; i++){ num_int[i] = Integer.parseInt(num_str[i]); result += num_int[i]; } sc.close(); if(result % 9 == 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, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 2, 4, 18, 13, 13, 17, 14, 2, 2, 13, 17, 17, 30, 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 ], [ 68, 5 ], [ 68, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 23, 33 ], [ 33, 34 ], [ 34, 35 ], [ 23, 36 ], [ 37, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 40, 45 ], [ 8, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 8, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 8, 62 ], [ 62, 63 ], [ 63, 64 ], [ 6, 65 ], [ 65, 66 ], [ 0, 67 ], [ 67, 68 ], [ 67, 69 ] ]
[ "import java.util.*;\n\npublic class Main {\npublic static void main(String[] args) {\n\n\t\t\tScanner keyboard = new Scanner(System.in);\n\n\t\t\t String S = keyboard.next();\n\t\t\t long sum = 0;\n\t\t\t String ans = \"No\";\n\t\t\t \t\t\n\t\t\tfor (int s=0; s<S.length(); s++) {\n\t\t\t\tsum += (long)S.charAt(s)-48;\n\t\t\t}\t\t\t\n\t\t\n\t\t\tif(sum%9 == 0) {\n\t\t\t\tans = \"Yes\"; \n\t\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\t\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\npublic static void main(String[] args) {\n\n\t\t\tScanner keyboard = new Scanner(System.in);\n\n\t\t\t String S = keyboard.next();\n\t\t\t long sum = 0;\n\t\t\t String ans = \"No\";\n\t\t\t \t\t\n\t\t\tfor (int s=0; s<S.length(); s++) {\n\t\t\t\tsum += (long)S.charAt(s)-48;\n\t\t\t}\t\t\t\n\t\t\n\t\t\tif(sum%9 == 0) {\n\t\t\t\tans = \"Yes\"; \n\t\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\t\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\t\tScanner keyboard = new Scanner(System.in);\n\n\t\t\t String S = keyboard.next();\n\t\t\t long sum = 0;\n\t\t\t String ans = \"No\";\n\t\t\t \t\t\n\t\t\tfor (int s=0; s<S.length(); s++) {\n\t\t\t\tsum += (long)S.charAt(s)-48;\n\t\t\t}\t\t\t\n\t\t\n\t\t\tif(sum%9 == 0) {\n\t\t\t\tans = \"Yes\"; \n\t\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\t\n\t}", "main", "{\n\n\t\t\tScanner keyboard = new Scanner(System.in);\n\n\t\t\t String S = keyboard.next();\n\t\t\t long sum = 0;\n\t\t\t String ans = \"No\";\n\t\t\t \t\t\n\t\t\tfor (int s=0; s<S.length(); s++) {\n\t\t\t\tsum += (long)S.charAt(s)-48;\n\t\t\t}\t\t\t\n\t\t\n\t\t\tif(sum%9 == 0) {\n\t\t\t\tans = \"Yes\"; \n\t\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\t\n\t}", "Scanner keyboard = new Scanner(System.in);", "keyboard", "new Scanner(System.in)", "String S = keyboard.next();", "S", "keyboard.next()", "keyboard.next", "keyboard", "long sum = 0;", "sum", "0", "String ans = \"No\";", "ans", "\"No\"", "for (int s=0; s<S.length(); s++) {\n\t\t\t\tsum += (long)S.charAt(s)-48;\n\t\t\t}", "int s=0;", "int s=0;", "s", "0", "s<S.length()", "s", "S.length()", "S.length", "S", "s++", "s++", "s", "{\n\t\t\t\tsum += (long)S.charAt(s)-48;\n\t\t\t}", "{\n\t\t\t\tsum += (long)S.charAt(s)-48;\n\t\t\t}", "sum += (long)S.charAt(s)-48", "sum", "(long)S.charAt(s)-48", "(long)S.charAt(s)", "S.charAt", "S", "s", "48", "if(sum%9 == 0) {\n\t\t\t\tans = \"Yes\"; \n\t\t\t}", "sum%9 == 0", "sum%9", "sum", "9", "0", "{\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", "keyboard.close()", "keyboard.close", "keyboard", "String[] args", "args", "public class Main {\npublic static void main(String[] args) {\n\n\t\t\tScanner keyboard = new Scanner(System.in);\n\n\t\t\t String S = keyboard.next();\n\t\t\t long sum = 0;\n\t\t\t String ans = \"No\";\n\t\t\t \t\t\n\t\t\tfor (int s=0; s<S.length(); s++) {\n\t\t\t\tsum += (long)S.charAt(s)-48;\n\t\t\t}\t\t\t\n\t\t\n\t\t\tif(sum%9 == 0) {\n\t\t\t\tans = \"Yes\"; \n\t\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\t\n\t}\n}", "public class Main {\npublic static void main(String[] args) {\n\n\t\t\tScanner keyboard = new Scanner(System.in);\n\n\t\t\t String S = keyboard.next();\n\t\t\t long sum = 0;\n\t\t\t String ans = \"No\";\n\t\t\t \t\t\n\t\t\tfor (int s=0; s<S.length(); s++) {\n\t\t\t\tsum += (long)S.charAt(s)-48;\n\t\t\t}\t\t\t\n\t\t\n\t\t\tif(sum%9 == 0) {\n\t\t\t\tans = \"Yes\"; \n\t\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\t\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner keyboard = new Scanner(System.in); String S = keyboard.next(); long sum = 0; String ans = "No"; for (int s=0; s<S.length(); s++) { sum += (long)S.charAt(s)-48; } if(sum%9 == 0) { ans = "Yes"; } System.out.println(ans); keyboard.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 2, 13, 17, 4, 18, 13, 18, 13, 13, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 13, 17, 0, 13, 17, 14, 2, 13, 2, 18, 13, 13, 17, 30, 0, 13, 2, 13, 17, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 120, 17 ], [ 120, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 20, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 29, 34 ], [ 20, 35 ], [ 35, 36 ], [ 35, 37 ], [ 20, 38 ], [ 38, 39 ], [ 38, 40 ], [ 20, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 41, 51 ], [ 51, 52 ], [ 52, 53 ], [ 41, 54 ], [ 55, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 65, 66 ], [ 65, 67 ], [ 55, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 68, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 74, 80 ], [ 80, 81 ], [ 80, 82 ], [ 68, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 83, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 94, 96 ], [ 20, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 97, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 97, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 18, 117 ], [ 117, 118 ], [ 0, 119 ], [ 119, 120 ], [ 119, 121 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigInteger;\nimport java.nio.charset.StandardCharsets;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n BufferedReader in = new BufferedReader(reader);\n String[] str = in.readLine().split(\"\");\n double num = 0;\n double res = 0;\n\n for(int i=0; i < str.length; i++) {\n \tnum = num*10 + Integer.parseInt(str[i]);\n \tif(i % 5 == 0 ) {\n \t\tres += num % 9;\n \t\tnum = 0;\n \t}\n else if(i == str.length-1){\n \t\tres += num % 9;\n }\n }\n if(res % 9 == 0) {\n System.out.println(\"Yes\");\n\n }else {\n System.out.println(\"No\");\n }\n\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.math.BigInteger;", "BigInteger", "java.math", "import java.nio.charset.StandardCharsets;", "StandardCharsets", "java.nio.charset", "public class Main {\n public static void main(String[] args) throws IOException {\n InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n BufferedReader in = new BufferedReader(reader);\n String[] str = in.readLine().split(\"\");\n double num = 0;\n double res = 0;\n\n for(int i=0; i < str.length; i++) {\n \tnum = num*10 + Integer.parseInt(str[i]);\n \tif(i % 5 == 0 ) {\n \t\tres += num % 9;\n \t\tnum = 0;\n \t}\n else if(i == str.length-1){\n \t\tres += num % 9;\n }\n }\n if(res % 9 == 0) {\n System.out.println(\"Yes\");\n\n }else {\n System.out.println(\"No\");\n }\n\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n BufferedReader in = new BufferedReader(reader);\n String[] str = in.readLine().split(\"\");\n double num = 0;\n double res = 0;\n\n for(int i=0; i < str.length; i++) {\n \tnum = num*10 + Integer.parseInt(str[i]);\n \tif(i % 5 == 0 ) {\n \t\tres += num % 9;\n \t\tnum = 0;\n \t}\n else if(i == str.length-1){\n \t\tres += num % 9;\n }\n }\n if(res % 9 == 0) {\n System.out.println(\"Yes\");\n\n }else {\n System.out.println(\"No\");\n }\n\n }", "main", "{\n InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n BufferedReader in = new BufferedReader(reader);\n String[] str = in.readLine().split(\"\");\n double num = 0;\n double res = 0;\n\n for(int i=0; i < str.length; i++) {\n \tnum = num*10 + Integer.parseInt(str[i]);\n \tif(i % 5 == 0 ) {\n \t\tres += num % 9;\n \t\tnum = 0;\n \t}\n else if(i == str.length-1){\n \t\tres += num % 9;\n }\n }\n if(res % 9 == 0) {\n System.out.println(\"Yes\");\n\n }else {\n System.out.println(\"No\");\n }\n\n }", "InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);", "reader", "new InputStreamReader(System.in, StandardCharsets.UTF_8)", "BufferedReader in = new BufferedReader(reader);", "in", "new BufferedReader(reader)", "String[] str = in.readLine().split(\"\");", "str", "in.readLine().split(\"\")", "in.readLine().split", "in.readLine()", "in.readLine", "in", "\"\"", "double num = 0;", "num", "0", "double res = 0;", "res", "0", "for(int i=0; i < str.length; i++) {\n \tnum = num*10 + Integer.parseInt(str[i]);\n \tif(i % 5 == 0 ) {\n \t\tres += num % 9;\n \t\tnum = 0;\n \t}\n else if(i == str.length-1){\n \t\tres += num % 9;\n }\n }", "int i=0;", "int i=0;", "i", "0", "i < str.length", "i", "str.length", "str", "str.length", "i++", "i++", "i", "{\n \tnum = num*10 + Integer.parseInt(str[i]);\n \tif(i % 5 == 0 ) {\n \t\tres += num % 9;\n \t\tnum = 0;\n \t}\n else if(i == str.length-1){\n \t\tres += num % 9;\n }\n }", "{\n \tnum = num*10 + Integer.parseInt(str[i]);\n \tif(i % 5 == 0 ) {\n \t\tres += num % 9;\n \t\tnum = 0;\n \t}\n else if(i == str.length-1){\n \t\tres += num % 9;\n }\n }", "num = num*10 + Integer.parseInt(str[i])", "num", "num*10 + Integer.parseInt(str[i])", "num*10", "num", "10", "Integer.parseInt(str[i])", "Integer.parseInt", "Integer", "str[i]", "str", "i", "if(i % 5 == 0 ) {\n \t\tres += num % 9;\n \t\tnum = 0;\n \t}\n else if(i == str.length-1){\n \t\tres += num % 9;\n }", "i % 5 == 0", "i % 5", "i", "5", "0", "{\n \t\tres += num % 9;\n \t\tnum = 0;\n \t}", "res += num % 9", "res", "num % 9", "num", "9", "num = 0", "num", "0", "if(i == str.length-1){\n \t\tres += num % 9;\n }", "i == str.length-1", "i", "str.length-1", "str.length", "str", "str.length", "1", "{\n \t\tres += num % 9;\n }", "res += num % 9", "res", "num % 9", "num", "9", "if(res % 9 == 0) {\n System.out.println(\"Yes\");\n\n }else {\n System.out.println(\"No\");\n }", "res % 9 == 0", "res % 9", "res", "9", "0", "{\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 }", "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 InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n BufferedReader in = new BufferedReader(reader);\n String[] str = in.readLine().split(\"\");\n double num = 0;\n double res = 0;\n\n for(int i=0; i < str.length; i++) {\n \tnum = num*10 + Integer.parseInt(str[i]);\n \tif(i % 5 == 0 ) {\n \t\tres += num % 9;\n \t\tnum = 0;\n \t}\n else if(i == str.length-1){\n \t\tres += num % 9;\n }\n }\n if(res % 9 == 0) {\n System.out.println(\"Yes\");\n\n }else {\n System.out.println(\"No\");\n }\n\n }\n}", "public class Main {\n public static void main(String[] args) throws IOException {\n InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n BufferedReader in = new BufferedReader(reader);\n String[] str = in.readLine().split(\"\");\n double num = 0;\n double res = 0;\n\n for(int i=0; i < str.length; i++) {\n \tnum = num*10 + Integer.parseInt(str[i]);\n \tif(i % 5 == 0 ) {\n \t\tres += num % 9;\n \t\tnum = 0;\n \t}\n else if(i == str.length-1){\n \t\tres += num % 9;\n }\n }\n if(res % 9 == 0) {\n System.out.println(\"Yes\");\n\n }else {\n System.out.println(\"No\");\n }\n\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigInteger; import java.nio.charset.StandardCharsets; public class Main { public static void main(String[] args) throws IOException { InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8); BufferedReader in = new BufferedReader(reader); String[] str = in.readLine().split(""); double num = 0; double res = 0; for(int i=0; i < str.length; i++) { num = num*10 + Integer.parseInt(str[i]); if(i % 5 == 0 ) { res += num % 9; num = 0; } else if(i == str.length-1){ res += num % 9; } } if(res % 9 == 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, 17, 28, 13, 4, 18, 13, 30, 0, 13, 4, 18, 13, 13, 14, 2, 2, 13, 17, 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 ], [ 53, 5 ], [ 53, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 32, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 32, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 6, 50 ], [ 50, 51 ], [ 0, 52 ], [ 52, 53 ], [ 52, 54 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args)\n {\n Scanner inputs = new Scanner(System.in);\n String n = inputs.next();\n int sum = 0;\n for(char ch: n.toCharArray())\n sum += Character.getNumericValue(ch);\n\n if(sum%9 == 0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args)\n {\n Scanner inputs = new Scanner(System.in);\n String n = inputs.next();\n int sum = 0;\n for(char ch: n.toCharArray())\n sum += Character.getNumericValue(ch);\n\n if(sum%9 == 0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}", "Main", "public static void main(String[] args)\n {\n Scanner inputs = new Scanner(System.in);\n String n = inputs.next();\n int sum = 0;\n for(char ch: n.toCharArray())\n sum += Character.getNumericValue(ch);\n\n if(sum%9 == 0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }", "main", "{\n Scanner inputs = new Scanner(System.in);\n String n = inputs.next();\n int sum = 0;\n for(char ch: n.toCharArray())\n sum += Character.getNumericValue(ch);\n\n if(sum%9 == 0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }", "Scanner inputs = new Scanner(System.in);", "inputs", "new Scanner(System.in)", "String n = inputs.next();", "n", "inputs.next()", "inputs.next", "inputs", "int sum = 0;", "sum", "0", "for(char ch: n.toCharArray())\n sum += Character.getNumericValue(ch);", "char ch", "n.toCharArray()", "n.toCharArray", "n", "sum += Character.getNumericValue(ch);", "sum += Character.getNumericValue(ch)", "sum", "Character.getNumericValue(ch)", "Character.getNumericValue", "Character", "ch", "if(sum%9 == 0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");", "sum%9 == 0", "sum%9", "sum", "9", "0", "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 {\n Scanner inputs = new Scanner(System.in);\n String n = inputs.next();\n int sum = 0;\n for(char ch: n.toCharArray())\n sum += Character.getNumericValue(ch);\n\n if(sum%9 == 0)\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 {\n Scanner inputs = new Scanner(System.in);\n String n = inputs.next();\n int sum = 0;\n for(char ch: n.toCharArray())\n sum += Character.getNumericValue(ch);\n\n if(sum%9 == 0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner inputs = new Scanner(System.in); String n = inputs.next(); int sum = 0; for(char ch: n.toCharArray()) sum += Character.getNumericValue(ch); if(sum%9 == 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, 4, 18, 13, 41, 13, 17, 28, 13, 13, 30, 30, 0, 13, 4, 18, 13, 13, 41, 13, 8, 2, 2, 13, 17, 17, 17, 17, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 55, 5 ], [ 55, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 22, 25 ], [ 26, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 35, 41 ], [ 35, 42 ], [ 8, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 8, 49 ], [ 49, 50 ], [ 50, 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 char[] n = sc.next().toCharArray();\n int sum = 0;\n for (char nn : n) {\n sum += Character.getNumericValue(nn);\n }\n String ans = sum % 9 == 0 ? \"Yes\" : \"No\";\n System.out.println(ans);\n sc.close();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n char[] n = sc.next().toCharArray();\n int sum = 0;\n for (char nn : n) {\n sum += Character.getNumericValue(nn);\n }\n String ans = sum % 9 == 0 ? \"Yes\" : \"No\";\n System.out.println(ans);\n sc.close();\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n char[] n = sc.next().toCharArray();\n int sum = 0;\n for (char nn : n) {\n sum += Character.getNumericValue(nn);\n }\n String ans = sum % 9 == 0 ? \"Yes\" : \"No\";\n System.out.println(ans);\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n char[] n = sc.next().toCharArray();\n int sum = 0;\n for (char nn : n) {\n sum += Character.getNumericValue(nn);\n }\n String ans = sum % 9 == 0 ? \"Yes\" : \"No\";\n System.out.println(ans);\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "char[] n = sc.next().toCharArray();", "n", "sc.next().toCharArray()", "sc.next().toCharArray", "sc.next()", "sc.next", "sc", "int sum = 0;", "sum", "0", "for (char nn : n) {\n sum += Character.getNumericValue(nn);\n }", "char nn", "n", "{\n sum += Character.getNumericValue(nn);\n }", "{\n sum += Character.getNumericValue(nn);\n }", "sum += Character.getNumericValue(nn)", "sum", "Character.getNumericValue(nn)", "Character.getNumericValue", "Character", "nn", "String ans = sum % 9 == 0 ? \"Yes\" : \"No\";", "ans", "sum % 9 == 0 ? \"Yes\" : \"No\"", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "\"Yes\"", "\"No\"", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n char[] n = sc.next().toCharArray();\n int sum = 0;\n for (char nn : n) {\n sum += Character.getNumericValue(nn);\n }\n String ans = sum % 9 == 0 ? \"Yes\" : \"No\";\n System.out.println(ans);\n sc.close();\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n char[] n = sc.next().toCharArray();\n int sum = 0;\n for (char nn : n) {\n sum += Character.getNumericValue(nn);\n }\n String ans = sum % 9 == 0 ? \"Yes\" : \"No\";\n System.out.println(ans);\n sc.close();\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); char[] n = sc.next().toCharArray(); int sum = 0; for (char nn : n) { sum += Character.getNumericValue(nn); } String ans = sum % 9 == 0 ? "Yes" : "No"; System.out.println(ans); sc.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 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 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 20, 30 ], [ 30, 31 ], [ 31, 32 ], [ 20, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 44, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 6, 64 ], [ 64, 65 ], [ 0, 66 ], [ 66, 67 ], [ 66, 68 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString x = sc.next();\n\t\tint y = 0;\n\t\tfor(int i =0; i < x.length(); i++){\n\t\t\ty += Character.getNumericValue(x.charAt(i));\n\t\t}\n\t\tif(y % 9 == 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}", "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 x = sc.next();\n\t\tint y = 0;\n\t\tfor(int i =0; i < x.length(); i++){\n\t\t\ty += Character.getNumericValue(x.charAt(i));\n\t\t}\n\t\tif(y % 9 == 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}", "Main", "public static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString x = sc.next();\n\t\tint y = 0;\n\t\tfor(int i =0; i < x.length(); i++){\n\t\t\ty += Character.getNumericValue(x.charAt(i));\n\t\t}\n\t\tif(y % 9 == 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 x = sc.next();\n\t\tint y = 0;\n\t\tfor(int i =0; i < x.length(); i++){\n\t\t\ty += Character.getNumericValue(x.charAt(i));\n\t\t}\n\t\tif(y % 9 == 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 x = sc.next();", "x", "sc.next()", "sc.next", "sc", "int y = 0;", "y", "0", "for(int i =0; i < x.length(); i++){\n\t\t\ty += Character.getNumericValue(x.charAt(i));\n\t\t}", "int i =0;", "int i =0;", "i", "0", "i < x.length()", "i", "x.length()", "x.length", "x", "i++", "i++", "i", "{\n\t\t\ty += Character.getNumericValue(x.charAt(i));\n\t\t}", "{\n\t\t\ty += Character.getNumericValue(x.charAt(i));\n\t\t}", "y += Character.getNumericValue(x.charAt(i))", "y", "Character.getNumericValue(x.charAt(i))", "Character.getNumericValue", "Character", "x.charAt(i)", "x.charAt", "x", "i", "if(y % 9 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else{\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "y % 9 == 0", "y % 9", "y", "9", "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\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString x = sc.next();\n\t\tint y = 0;\n\t\tfor(int i =0; i < x.length(); i++){\n\t\t\ty += Character.getNumericValue(x.charAt(i));\n\t\t}\n\t\tif(y % 9 == 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}", "public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString x = sc.next();\n\t\tint y = 0;\n\t\tfor(int i =0; i < x.length(); i++){\n\t\t\ty += Character.getNumericValue(x.charAt(i));\n\t\t}\n\t\tif(y % 9 == 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}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); String x = sc.next(); int y = 0; for(int i =0; i < x.length(); i++){ y += Character.getNumericValue(x.charAt(i)); } if(y % 9 == 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, 4, 18, 13, 41, 13, 17, 41, 13, 17, 28, 13, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 13, 14, 2, 2, 13, 17, 17, 30, 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 ], [ 61, 5 ], [ 61, 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 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 25, 28 ], [ 29, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 8, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 39, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 8, 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;\n\n \npublic class Main {\n \n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] n = sc.nextLine().toCharArray();\n\t\tString ans = \"No\";\n\t\tlong culc = 0;\n\n\t\tfor(char num : n) {\n\t\t\tculc += Integer.parseInt(String.valueOf(num));\n\t\t}\n\t\t\n\t\tif(culc % 9 == 0) {\n\t\t\tans = \"Yes\";\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tsc.close();\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\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] n = sc.nextLine().toCharArray();\n\t\tString ans = \"No\";\n\t\tlong culc = 0;\n\n\t\tfor(char num : n) {\n\t\t\tculc += Integer.parseInt(String.valueOf(num));\n\t\t}\n\t\t\n\t\tif(culc % 9 == 0) {\n\t\t\tans = \"Yes\";\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] n = sc.nextLine().toCharArray();\n\t\tString ans = \"No\";\n\t\tlong culc = 0;\n\n\t\tfor(char num : n) {\n\t\t\tculc += Integer.parseInt(String.valueOf(num));\n\t\t}\n\t\t\n\t\tif(culc % 9 == 0) {\n\t\t\tans = \"Yes\";\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}", "main", "{\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] n = sc.nextLine().toCharArray();\n\t\tString ans = \"No\";\n\t\tlong culc = 0;\n\n\t\tfor(char num : n) {\n\t\t\tculc += Integer.parseInt(String.valueOf(num));\n\t\t}\n\t\t\n\t\tif(culc % 9 == 0) {\n\t\t\tans = \"Yes\";\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "char[] n = sc.nextLine().toCharArray();", "n", "sc.nextLine().toCharArray()", "sc.nextLine().toCharArray", "sc.nextLine()", "sc.nextLine", "sc", "String ans = \"No\";", "ans", "\"No\"", "long culc = 0;", "culc", "0", "for(char num : n) {\n\t\t\tculc += Integer.parseInt(String.valueOf(num));\n\t\t}", "char num", "n", "{\n\t\t\tculc += Integer.parseInt(String.valueOf(num));\n\t\t}", "{\n\t\t\tculc += Integer.parseInt(String.valueOf(num));\n\t\t}", "culc += Integer.parseInt(String.valueOf(num))", "culc", "Integer.parseInt(String.valueOf(num))", "Integer.parseInt", "Integer", "String.valueOf(num)", "String.valueOf", "String", "num", "if(culc % 9 == 0) {\n\t\t\tans = \"Yes\";\n\t\t}", "culc % 9 == 0", "culc % 9", "culc", "9", "0", "{\n\t\t\tans = \"Yes\";\n\t\t}", "ans = \"Yes\"", "ans", "\"Yes\"", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n \n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] n = sc.nextLine().toCharArray();\n\t\tString ans = \"No\";\n\t\tlong culc = 0;\n\n\t\tfor(char num : n) {\n\t\t\tculc += Integer.parseInt(String.valueOf(num));\n\t\t}\n\t\t\n\t\tif(culc % 9 == 0) {\n\t\t\tans = \"Yes\";\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n}", "public class Main {\n \n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] n = sc.nextLine().toCharArray();\n\t\tString ans = \"No\";\n\t\tlong culc = 0;\n\n\t\tfor(char num : n) {\n\t\t\tculc += Integer.parseInt(String.valueOf(num));\n\t\t}\n\t\t\n\t\tif(culc % 9 == 0) {\n\t\t\tans = \"Yes\";\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\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); char[] n = sc.nextLine().toCharArray(); String ans = "No"; long culc = 0; for(char num : n) { culc += Integer.parseInt(String.valueOf(num)); } if(culc % 9 == 0) { ans = "Yes"; } 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, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 18, 13, 13, 0, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 75, 5 ], [ 75, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 19, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 33, 35 ], [ 26, 36 ], [ 36, 37 ], [ 37, 38 ], [ 26, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 40, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 52, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 52, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 6, 72 ], [ 72, 73 ], [ 0, 74 ], [ 74, 75 ], [ 74, 76 ] ]
[ "import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n String data[] = line.split(\"\");\n int sum = 0;\n for(int i = 0;i < data.length;i++){\n int num = Integer.parseInt(data[i]);\n sum += num;\n }\n if(sum % 9 == 0){\n System.out.println(\"Yes\");\n }\n else{\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 line = sc.nextLine();\n String data[] = line.split(\"\");\n int sum = 0;\n for(int i = 0;i < data.length;i++){\n int num = Integer.parseInt(data[i]);\n sum += num;\n }\n if(sum % 9 == 0){\n System.out.println(\"Yes\");\n }\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 line = sc.nextLine();\n String data[] = line.split(\"\");\n int sum = 0;\n for(int i = 0;i < data.length;i++){\n int num = Integer.parseInt(data[i]);\n sum += num;\n }\n if(sum % 9 == 0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n String data[] = line.split(\"\");\n int sum = 0;\n for(int i = 0;i < data.length;i++){\n int num = Integer.parseInt(data[i]);\n sum += num;\n }\n if(sum % 9 == 0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String line = sc.nextLine();", "line", "sc.nextLine()", "sc.nextLine", "sc", "String data[] = line.split(\"\");", "data", "line.split(\"\")", "line.split", "line", "\"\"", "int sum = 0;", "sum", "0", "for(int i = 0;i < data.length;i++){\n int num = Integer.parseInt(data[i]);\n sum += num;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < data.length", "i", "data.length", "data", "data.length", "i++", "i++", "i", "{\n int num = Integer.parseInt(data[i]);\n sum += num;\n }", "{\n int num = Integer.parseInt(data[i]);\n sum += num;\n }", "int num = Integer.parseInt(data[i]);", "num", "Integer.parseInt(data[i])", "Integer.parseInt", "Integer", "data[i]", "data", "i", "sum += num", "sum", "num", "if(sum % 9 == 0){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }", "sum % 9 == 0", "sum % 9", "sum", "9", "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 public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n String data[] = line.split(\"\");\n int sum = 0;\n for(int i = 0;i < data.length;i++){\n int num = Integer.parseInt(data[i]);\n sum += num;\n }\n if(sum % 9 == 0){\n System.out.println(\"Yes\");\n }\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 line = sc.nextLine();\n String data[] = line.split(\"\");\n int sum = 0;\n for(int i = 0;i < data.length;i++){\n int num = Integer.parseInt(data[i]);\n sum += num;\n }\n if(sum % 9 == 0){\n System.out.println(\"Yes\");\n }\n else{\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 line = sc.nextLine(); String data[] = line.split(""); int sum = 0; for(int i = 0;i < data.length;i++){ int num = Integer.parseInt(data[i]); sum += num; } if(sum % 9 == 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, 17, 41, 13, 17, 42, 2, 4, 18, 13, 17, 30, 0, 13, 4, 18, 13, 17, 17, 0, 13, 2, 13, 4, 18, 13, 13, 0, 13, 4, 18, 13, 17, 4, 18, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 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 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 24, 28 ], [ 23, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 32, 36 ], [ 29, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 29, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 47, 51 ], [ 51, 52 ], [ 52, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 54, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 54, 67 ], [ 67, 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\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner (System.in);\n\t\t\n\t\tString n = sc.next();\n\t\tString chkNumStr = \"\";\n\t\tint chkNum=0;\n\t\t\n\t\t\n\t\t\n\t\twhile(n.length() != 0) {\n\t\t\tchkNumStr = n.substring(0, 1);\n\t\t\tchkNum = chkNum + Integer.parseInt(chkNumStr);\n\t\t\tn = n.substring(1, n.length());\n\t\t}\n\t\tif(chkNum%9 == 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\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner (System.in);\n\t\t\n\t\tString n = sc.next();\n\t\tString chkNumStr = \"\";\n\t\tint chkNum=0;\n\t\t\n\t\t\n\t\t\n\t\twhile(n.length() != 0) {\n\t\t\tchkNumStr = n.substring(0, 1);\n\t\t\tchkNum = chkNum + Integer.parseInt(chkNumStr);\n\t\t\tn = n.substring(1, n.length());\n\t\t}\n\t\tif(chkNum%9 == 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\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner (System.in);\n\t\t\n\t\tString n = sc.next();\n\t\tString chkNumStr = \"\";\n\t\tint chkNum=0;\n\t\t\n\t\t\n\t\t\n\t\twhile(n.length() != 0) {\n\t\t\tchkNumStr = n.substring(0, 1);\n\t\t\tchkNum = chkNum + Integer.parseInt(chkNumStr);\n\t\t\tn = n.substring(1, n.length());\n\t\t}\n\t\tif(chkNum%9 == 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\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner (System.in);\n\t\t\n\t\tString n = sc.next();\n\t\tString chkNumStr = \"\";\n\t\tint chkNum=0;\n\t\t\n\t\t\n\t\t\n\t\twhile(n.length() != 0) {\n\t\t\tchkNumStr = n.substring(0, 1);\n\t\t\tchkNum = chkNum + Integer.parseInt(chkNumStr);\n\t\t\tn = n.substring(1, n.length());\n\t\t}\n\t\tif(chkNum%9 == 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 n = sc.next();", "n", "sc.next()", "sc.next", "sc", "String chkNumStr = \"\";", "chkNumStr", "\"\"", "int chkNum=0;", "chkNum", "0", "while(n.length() != 0) {\n\t\t\tchkNumStr = n.substring(0, 1);\n\t\t\tchkNum = chkNum + Integer.parseInt(chkNumStr);\n\t\t\tn = n.substring(1, n.length());\n\t\t}", "n.length() != 0", "n.length()", "n.length", "n", "0", "{\n\t\t\tchkNumStr = n.substring(0, 1);\n\t\t\tchkNum = chkNum + Integer.parseInt(chkNumStr);\n\t\t\tn = n.substring(1, n.length());\n\t\t}", "chkNumStr = n.substring(0, 1)", "chkNumStr", "n.substring(0, 1)", "n.substring", "n", "0", "1", "chkNum = chkNum + Integer.parseInt(chkNumStr)", "chkNum", "chkNum + Integer.parseInt(chkNumStr)", "chkNum", "Integer.parseInt(chkNumStr)", "Integer.parseInt", "Integer", "chkNumStr", "n = n.substring(1, n.length())", "n", "n.substring(1, n.length())", "n.substring", "n", "1", "n.length()", "n.length", "n", "if(chkNum%9 == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "chkNum%9 == 0", "chkNum%9", "chkNum", "9", "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 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner (System.in);\n\t\t\n\t\tString n = sc.next();\n\t\tString chkNumStr = \"\";\n\t\tint chkNum=0;\n\t\t\n\t\t\n\t\t\n\t\twhile(n.length() != 0) {\n\t\t\tchkNumStr = n.substring(0, 1);\n\t\t\tchkNum = chkNum + Integer.parseInt(chkNumStr);\n\t\t\tn = n.substring(1, n.length());\n\t\t}\n\t\tif(chkNum%9 == 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\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner (System.in);\n\t\t\n\t\tString n = sc.next();\n\t\tString chkNumStr = \"\";\n\t\tint chkNum=0;\n\t\t\n\t\t\n\t\t\n\t\twhile(n.length() != 0) {\n\t\t\tchkNumStr = n.substring(0, 1);\n\t\t\tchkNum = chkNum + Integer.parseInt(chkNumStr);\n\t\t\tn = n.substring(1, n.length());\n\t\t}\n\t\tif(chkNum%9 == 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) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner (System.in); String n = sc.next(); String chkNumStr = ""; int chkNum=0; while(n.length() != 0) { chkNumStr = n.substring(0, 1); chkNum = chkNum + Integer.parseInt(chkNumStr); n = n.substring(1, n.length()); } if(chkNum%9 == 0) { 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, 41, 13, 17, 41, 13, 17, 41, 13, 13, 41, 13, 17, 41, 13, 41, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 2, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 8, 2, 2, 13, 17, 17, 17, 17, 12, 13, 30, 14, 2, 13, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 4, 18, 18, 13, 13, 17, 30, 0, 13, 18, 13, 13, 0, 13, 20, 0, 13, 20, 4, 13, 12, 13, 30, 4, 18, 20, 23, 13, 6, 13, 41, 13, 41, 13, 20, 17, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 40, 17, 37, 20, 14, 2, 13, 13, 30, 0, 13, 17, 38, 5, 13, 30, 37, 20, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 17, 29, 40, 17, 29, 18, 13, 40, 13, 12, 13, 30, 29, 2, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 40, 17, 23, 13, 12, 13, 30, 29, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 40, 17, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 0, 13, 4, 13, 41, 13, 20, 42, 40, 4, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 0, 13, 4, 13, 41, 13, 20, 42, 40, 4, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 608, 20 ], [ 608, 21 ], [ 21, 22 ], [ 608, 23 ], [ 23, 24 ], [ 23, 25 ], [ 608, 26 ], [ 26, 27 ], [ 26, 28 ], [ 608, 29 ], [ 29, 30 ], [ 29, 31 ], [ 608, 32 ], [ 32, 33 ], [ 32, 34 ], [ 608, 35 ], [ 35, 36 ], [ 608, 37 ], [ 37, 38 ], [ 608, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 47, 49 ], [ 41, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 50, 60 ], [ 60, 61 ], [ 61, 62 ], [ 50, 63 ], [ 64, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 67, 72 ], [ 41, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 78, 84 ], [ 78, 85 ], [ 608, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 94, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 93, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 89, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 114, 116 ], [ 88, 117 ], [ 117, 118 ], [ 117, 119 ], [ 88, 120 ], [ 120, 121 ], [ 120, 122 ], [ 88, 123 ], [ 123, 124 ], [ 608, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 125, 131 ], [ 131, 132 ], [ 0, 133 ], [ 133, 134 ], [ 133, 135 ], [ 135, 136 ], [ 133, 137 ], [ 137, 138 ], [ 137, 139 ], [ 133, 141 ], [ 141, 142 ], [ 133, 143 ], [ 143, 144 ], [ 133, 145 ], [ 145, 146 ], [ 145, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 148, 152 ], [ 145, 153 ], [ 153, 154 ], [ 133, 155 ], [ 155, 156 ], [ 155, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 161, 162 ], [ 158, 163 ], [ 163, 164 ], [ 157, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 165, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 176, 177 ], [ 177, 178 ], [ 173, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 183, 184 ], [ 182, 185 ], [ 169, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 186, 190 ], [ 190, 191 ], [ 191, 192 ], [ 157, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 196, 197 ], [ 133, 198 ], [ 198, 199 ], [ 198, 200 ], [ 200, 201 ], [ 201, 202 ], [ 205, 203 ], [ 215, 204 ], [ 212, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 205, 209 ], [ 209, 210 ], [ 209, 211 ], [ 212, 212 ], [ 212, 213 ], [ 212, 214 ], [ 215, 215 ], [ 215, 216 ], [ 215, 217 ], [ 205, 218 ], [ 218, 219 ], [ 218, 220 ], [ 220, 221 ], [ 198, 222 ], [ 222, 223 ], [ 133, 224 ], [ 224, 225 ], [ 224, 226 ], [ 226, 227 ], [ 227, 228 ], [ 229, 229 ], [ 229, 230 ], [ 230, 231 ], [ 230, 232 ], [ 229, 233 ], [ 233, 234 ], [ 233, 235 ], [ 229, 236 ], [ 236, 237 ], [ 236, 238 ], [ 238, 239 ], [ 224, 240 ], [ 240, 241 ], [ 133, 242 ], [ 242, 243 ], [ 242, 244 ], [ 244, 245 ], [ 245, 246 ], [ 246, 247 ], [ 247, 248 ], [ 246, 249 ], [ 249, 250 ], [ 133, 251 ], [ 251, 252 ], [ 251, 253 ], [ 253, 254 ], [ 254, 255 ], [ 254, 256 ], [ 253, 258 ], [ 258, 259 ], [ 259, 260 ], [ 260, 261 ], [ 260, 262 ], [ 258, 263 ], [ 263, 264 ], [ 263, 265 ], [ 258, 266 ], [ 266, 267 ], [ 267, 268 ], [ 258, 269 ], [ 269, 270 ], [ 270, 271 ], [ 271, 272 ], [ 271, 273 ], [ 270, 274 ], [ 274, 275 ], [ 253, 276 ], [ 276, 277 ], [ 251, 278 ], [ 278, 279 ], [ 133, 280 ], [ 280, 281 ], [ 280, 282 ], [ 282, 283 ], [ 283, 284 ], [ 283, 285 ], [ 282, 288 ], [ 288, 289 ], [ 289, 290 ], [ 290, 291 ], [ 290, 292 ], [ 288, 293 ], [ 293, 294 ], [ 293, 295 ], [ 288, 296 ], [ 296, 297 ], [ 297, 298 ], [ 288, 299 ], [ 300, 300 ], [ 300, 301 ], [ 301, 302 ], [ 302, 303 ], [ 302, 304 ], [ 301, 305 ], [ 305, 306 ], [ 305, 307 ], [ 282, 308 ], [ 308, 309 ], [ 280, 310 ], [ 310, 311 ], [ 280, 312 ], [ 312, 313 ], [ 133, 314 ], [ 314, 315 ], [ 314, 316 ], [ 316, 317 ], [ 317, 318 ], [ 318, 319 ], [ 319, 320 ], [ 318, 321 ], [ 321, 322 ], [ 133, 323 ], [ 323, 324 ], [ 323, 325 ], [ 325, 326 ], [ 326, 327 ], [ 326, 328 ], [ 325, 330 ], [ 330, 331 ], [ 331, 332 ], [ 332, 333 ], [ 332, 334 ], [ 330, 335 ], [ 335, 336 ], [ 335, 337 ], [ 330, 338 ], [ 338, 339 ], [ 339, 340 ], [ 330, 341 ], [ 341, 342 ], [ 342, 343 ], [ 343, 344 ], [ 343, 345 ], [ 342, 346 ], [ 346, 347 ], [ 325, 348 ], [ 348, 349 ], [ 323, 350 ], [ 350, 351 ], [ 133, 352 ], [ 352, 353 ], [ 352, 354 ], [ 354, 355 ], [ 355, 356 ], [ 355, 357 ], [ 354, 360 ], [ 360, 361 ], [ 361, 362 ], [ 362, 363 ], [ 362, 364 ], [ 360, 365 ], [ 365, 366 ], [ 365, 367 ], [ 360, 368 ], [ 368, 369 ], [ 369, 370 ], [ 360, 371 ], [ 372, 372 ], [ 372, 373 ], [ 373, 374 ], [ 374, 375 ], [ 374, 376 ], [ 373, 377 ], [ 377, 378 ], [ 377, 379 ], [ 354, 380 ], [ 380, 381 ], [ 352, 382 ], [ 382, 383 ], [ 352, 384 ], [ 384, 385 ], [ 133, 386 ], [ 386, 387 ], [ 386, 388 ], [ 388, 389 ], [ 389, 390 ], [ 390, 391 ], [ 391, 392 ], [ 390, 393 ], [ 393, 394 ], [ 133, 395 ], [ 395, 396 ], [ 395, 397 ], [ 397, 398 ], [ 398, 399 ], [ 398, 400 ], [ 397, 402 ], [ 402, 403 ], [ 403, 404 ], [ 404, 405 ], [ 404, 406 ], [ 402, 407 ], [ 407, 408 ], [ 407, 409 ], [ 402, 410 ], [ 410, 411 ], [ 411, 412 ], [ 402, 413 ], [ 413, 414 ], [ 414, 415 ], [ 415, 416 ], [ 415, 417 ], [ 414, 418 ], [ 418, 419 ], [ 397, 420 ], [ 420, 421 ], [ 395, 422 ], [ 422, 423 ], [ 133, 424 ], [ 424, 425 ], [ 424, 426 ], [ 426, 427 ], [ 427, 428 ], [ 427, 429 ], [ 426, 432 ], [ 432, 433 ], [ 433, 434 ], [ 434, 435 ], [ 434, 436 ], [ 432, 437 ], [ 437, 438 ], [ 437, 439 ], [ 432, 440 ], [ 440, 441 ], [ 441, 442 ], [ 432, 443 ], [ 444, 444 ], [ 444, 445 ], [ 445, 446 ], [ 446, 447 ], [ 446, 448 ], [ 445, 449 ], [ 449, 450 ], [ 449, 451 ], [ 426, 452 ], [ 452, 453 ], [ 424, 454 ], [ 454, 455 ], [ 424, 456 ], [ 456, 457 ], [ 133, 458 ], [ 458, 459 ], [ 458, 460 ], [ 460, 461 ], [ 461, 462 ], [ 461, 463 ], [ 463, 464 ], [ 460, 465 ], [ 465, 466 ], [ 466, 467 ], [ 466, 468 ], [ 465, 469 ], [ 469, 470 ], [ 469, 471 ], [ 471, 472 ], [ 460, 473 ], [ 473, 474 ], [ 473, 475 ], [ 460, 476 ], [ 476, 477 ], [ 477, 478 ], [ 478, 479 ], [ 478, 480 ], [ 476, 481 ], [ 481, 482 ], [ 482, 483 ], [ 483, 484 ], [ 482, 485 ], [ 481, 486 ], [ 486, 487 ], [ 486, 488 ], [ 488, 489 ], [ 460, 490 ], [ 490, 491 ], [ 491, 492 ], [ 492, 493 ], [ 133, 494 ], [ 494, 495 ], [ 494, 496 ], [ 496, 497 ], [ 497, 498 ], [ 497, 499 ], [ 496, 501 ], [ 501, 502 ], [ 502, 503 ], [ 503, 504 ], [ 503, 505 ], [ 501, 506 ], [ 506, 507 ], [ 506, 508 ], [ 501, 509 ], [ 509, 510 ], [ 510, 511 ], [ 501, 512 ], [ 512, 513 ], [ 513, 514 ], [ 514, 515 ], [ 514, 516 ], [ 513, 517 ], [ 517, 518 ], [ 496, 519 ], [ 519, 520 ], [ 494, 521 ], [ 521, 522 ], [ 133, 523 ], [ 523, 524 ], [ 523, 525 ], [ 525, 526 ], [ 526, 527 ], [ 526, 528 ], [ 528, 529 ], [ 525, 530 ], [ 530, 531 ], [ 531, 532 ], [ 531, 533 ], [ 530, 534 ], [ 534, 535 ], [ 534, 536 ], [ 536, 537 ], [ 525, 538 ], [ 538, 539 ], [ 538, 540 ], [ 525, 541 ], [ 541, 542 ], [ 542, 543 ], [ 543, 544 ], [ 543, 545 ], [ 541, 546 ], [ 546, 547 ], [ 547, 548 ], [ 548, 549 ], [ 547, 550 ], [ 546, 551 ], [ 551, 552 ], [ 551, 553 ], [ 553, 554 ], [ 525, 555 ], [ 555, 556 ], [ 556, 557 ], [ 557, 558 ], [ 133, 559 ], [ 559, 560 ], [ 559, 561 ], [ 561, 562 ], [ 562, 563 ], [ 562, 564 ], [ 561, 567 ], [ 567, 568 ], [ 568, 569 ], [ 569, 570 ], [ 569, 571 ], [ 567, 572 ], [ 572, 573 ], [ 572, 574 ], [ 567, 575 ], [ 575, 576 ], [ 576, 577 ], [ 567, 578 ], [ 579, 579 ], [ 579, 580 ], [ 580, 581 ], [ 581, 582 ], [ 582, 583 ], [ 582, 584 ], [ 580, 585 ], [ 585, 586 ], [ 585, 587 ], [ 580, 588 ], [ 588, 589 ], [ 589, 590 ], [ 580, 591 ], [ 592, 592 ], [ 592, 593 ], [ 593, 594 ], [ 594, 595 ], [ 595, 596 ], [ 595, 597 ], [ 594, 598 ], [ 593, 599 ], [ 599, 600 ], [ 561, 601 ], [ 601, 602 ], [ 559, 603 ], [ 603, 604 ], [ 559, 605 ], [ 605, 606 ], [ 0, 607 ], [ 607, 608 ], [ 607, 609 ] ]
[ "import java.io.IOException;\nimport java.io.PrintWriter;\nimport java.util.InputMismatchException;\nimport java.io.InputStream;\nimport java.io.FileNotFoundException;\nimport java.io.FileInputStream;\n\npublic class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/main/java/D1\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n String s = in.next();\n int a = 0;\n for (int i = 0; i < s.length(); i++) {\n a += s.charAt(i) - '0';\n }\n System.out.println(a % 9 == 0 ? \"Yes\" : \"No\");\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}\n\n\nclass FastScanner {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public FastScanner(InputStream stream) {\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }\n\n int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public boolean isEndline(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }\n\n public int[][] nextIntMap(int n, int m) {\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public long[] nextLongArray(int n) {\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }\n\n public long[][] nextLongMap(int n, int m) {\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public double[] nextDoubleArray(int n) {\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }\n\n public double[][] nextDoubleMap(int n, int m) {\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }\n\n public String next() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String[] nextStringArray(int n) {\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }\n\n public String nextLine() {\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }\n\n public int[][] nextPackedIntArrays(int packN, int size) {\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }\n}", "import java.io.IOException;", "IOException", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.InputMismatchException;", "InputMismatchException", "java.util", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.FileNotFoundException;", "FileNotFoundException", "java.io", "import java.io.FileInputStream;", "FileInputStream", "java.io", "public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/main/java/D1\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n String s = in.next();\n int a = 0;\n for (int i = 0; i < s.length(); i++) {\n a += s.charAt(i) - '0';\n }\n System.out.println(a % 9 == 0 ? \"Yes\" : \"No\");\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}", "Main", "InputStream is;", "is", "int __t__ = 1;", "__t__", "1", "int __f__ = 0;", "__f__", "0", "int __FILE_DEBUG_FLAG__ = __f__;", "__FILE_DEBUG_FLAG__", "__f__", "String __DEBUG_FILE_NAME__ = \"src/main/java/D1\";", "__DEBUG_FILE_NAME__", "\"src/main/java/D1\"", "FastScanner in;", "in", "PrintWriter out;", "out", "public void solve() {\n String s = in.next();\n int a = 0;\n for (int i = 0; i < s.length(); i++) {\n a += s.charAt(i) - '0';\n }\n System.out.println(a % 9 == 0 ? \"Yes\" : \"No\");\n }", "solve", "{\n String s = in.next();\n int a = 0;\n for (int i = 0; i < s.length(); i++) {\n a += s.charAt(i) - '0';\n }\n System.out.println(a % 9 == 0 ? \"Yes\" : \"No\");\n }", "String s = in.next();", "s", "in.next()", "in.next", "in", "int a = 0;", "a", "0", "for (int i = 0; i < s.length(); i++) {\n a += s.charAt(i) - '0';\n }", "int i = 0;", "int i = 0;", "i", "0", "i < s.length()", "i", "s.length()", "s.length", "s", "i++", "i++", "i", "{\n a += s.charAt(i) - '0';\n }", "{\n a += s.charAt(i) - '0';\n }", "a += s.charAt(i) - '0'", "a", "s.charAt(i) - '0'", "s.charAt(i)", "s.charAt", "s", "i", "'0'", "System.out.println(a % 9 == 0 ? \"Yes\" : \"No\")", "System.out.println", "System.out", "System", "System.out", "a % 9 == 0 ? \"Yes\" : \"No\"", "a % 9 == 0", "a % 9", "a", "9", "0", "\"Yes\"", "\"No\"", "public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }", "run", "{\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }", "if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }", "__FILE_DEBUG_FLAG__ == __t__", "__FILE_DEBUG_FLAG__", "__t__", "{\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n }", "try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }", "catch (FileNotFoundException e) {\n e.printStackTrace();\n }", "FileNotFoundException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n }", "is = new FileInputStream(__DEBUG_FILE_NAME__)", "is", "new FileInputStream(__DEBUG_FILE_NAME__)", "System.out.println(\"FILE_INPUT!\")", "System.out.println", "System.out", "System", "System.out", "\"FILE_INPUT!\"", "{\n is = System.in;\n }", "is = System.in", "is", "System.in", "System", "System.in", "in = new FastScanner(is)", "in", "new FastScanner(is)", "out = new PrintWriter(System.out)", "out", "new PrintWriter(System.out)", "solve()", "solve", "public static void main(final String[] args) {\n new Main().run();\n }", "main", "{\n new Main().run();\n }", "new Main().run()", "new Main().run", "new Main()", "final String[] args", "args", "class FastScanner {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public FastScanner(InputStream stream) {\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }\n\n int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public boolean isEndline(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }\n\n public int[][] nextIntMap(int n, int m) {\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public long[] nextLongArray(int n) {\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }\n\n public long[][] nextLongMap(int n, int m) {\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public double[] nextDoubleArray(int n) {\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }\n\n public double[][] nextDoubleMap(int n, int m) {\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }\n\n public String next() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String[] nextStringArray(int n) {\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }\n\n public String nextLine() {\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }\n\n public int[][] nextPackedIntArrays(int packN, int size) {\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }\n}", "FastScanner", "private InputStream stream;", "stream", "private byte[] buf = new byte[1024];", "buf", "new byte[1024]", "1024", "private int curChar;", "curChar", "private int numChars;", "numChars", "public FastScanner(InputStream stream) {\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }", "FastScanner", "{\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }", "this.stream = stream", "this.stream", "this", "this.stream", "stream", "InputStream stream", "stream", "int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }", "read", "{\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }", "if (numChars == -1)\n throw new InputMismatchException();", "numChars == -1", "numChars", "-1", "1", "throw new InputMismatchException();", "new InputMismatchException()", "if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }", "curChar >= numChars", "curChar", "numChars", "{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }", "curChar = 0", "curChar", "0", "try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }", "catch (IOException e) {\n throw new InputMismatchException();\n }", "IOException e", "{\n throw new InputMismatchException();\n }", "throw new InputMismatchException();", "new InputMismatchException()", "{\n numChars = stream.read(buf);\n }", "numChars = stream.read(buf)", "numChars", "stream.read(buf)", "stream.read", "stream", "buf", "if (numChars <= 0)\n return -1;", "numChars <= 0", "numChars", "0", "return -1;", "-1", "1", "return buf[curChar++];", "buf[curChar++]", "buf", "curChar++", "curChar", "public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "isSpaceChar", "{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == '\\t'", "c == '\\r'", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == ' '", "c", "' '", "c == '\\n'", "c", "'\\n'", "c == '\\r'", "c", "'\\r'", "c == '\\t'", "c", "'\\t'", "c == -1", "c", "-1", "1", "int c", "c", "public boolean isEndline(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }", "isEndline", "{\n return c == '\\n' || c == '\\r' || c == -1;\n }", "return c == '\\n' || c == '\\r' || c == -1;", "c == '\\n' || c == '\\r' || c == -1", "c == '\\n' || c == '\\r' || c == -1", "c == '\\n'", "c", "'\\n'", "c == '\\r'", "c", "'\\r'", "c == -1", "c", "-1", "1", "int c", "c", "public int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public int[] nextIntArray(int n) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }", "nextIntArray", "{\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }", "int[] array = new int[n];", "array", "new int[n]", "n", "for (int i = 0; i < n; i++)\n array[i] = nextInt();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "array[i] = nextInt();", "array[i] = nextInt()", "array[i]", "array", "i", "nextInt()", "nextInt", "return array;", "array", "int n", "n", "public int[][] nextIntMap(int n, int m) {\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }", "nextIntMap", "{\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }", "int[][] map = new int[n][m];", "map", "new int[n][m]", "n", "m", "for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n map[i] = nextIntArray(m);\n }", "{\n map[i] = nextIntArray(m);\n }", "map[i] = nextIntArray(m)", "map[i]", "map", "i", "nextIntArray(m)", "nextIntArray", "m", "return map;", "map", "int n", "n", "int m", "m", "public long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public long[] nextLongArray(int n) {\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }", "nextLongArray", "{\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }", "long[] array = new long[n];", "array", "new long[n]", "n", "for (int i = 0; i < n; i++)\n array[i] = nextLong();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "array[i] = nextLong();", "array[i] = nextLong()", "array[i]", "array", "i", "nextLong()", "nextLong", "return array;", "array", "int n", "n", "public long[][] nextLongMap(int n, int m) {\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }", "nextLongMap", "{\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }", "long[][] map = new long[n][m];", "map", "new long[n][m]", "n", "m", "for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n map[i] = nextLongArray(m);\n }", "{\n map[i] = nextLongArray(m);\n }", "map[i] = nextLongArray(m)", "map[i]", "map", "i", "nextLongArray(m)", "nextLongArray", "m", "return map;", "map", "int n", "n", "int m", "m", "public double nextDouble() {\n return Double.parseDouble(next());\n }", "nextDouble", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "public double[] nextDoubleArray(int n) {\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }", "nextDoubleArray", "{\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }", "double[] array = new double[n];", "array", "new double[n]", "n", "for (int i = 0; i < n; i++)\n array[i] = nextDouble();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "array[i] = nextDouble();", "array[i] = nextDouble()", "array[i]", "array", "i", "nextDouble()", "nextDouble", "return array;", "array", "int n", "n", "public double[][] nextDoubleMap(int n, int m) {\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }", "nextDoubleMap", "{\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }", "double[][] map = new double[n][m];", "map", "new double[n][m]", "n", "m", "for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n map[i] = nextDoubleArray(m);\n }", "{\n map[i] = nextDoubleArray(m);\n }", "map[i] = nextDoubleArray(m)", "map[i]", "map", "i", "nextDoubleArray(m)", "nextDoubleArray", "m", "return map;", "map", "int n", "n", "int m", "m", "public String next() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }", "next", "{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }", "int c = read();", "c", "read()", "read", "while (isSpaceChar(c))\n c = read();", "isSpaceChar(c)", "isSpaceChar", "c", "c = read()", "c", "read()", "read", "StringBuilder res = new StringBuilder();", "res", "new StringBuilder()", "do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n res.appendCodePoint(c);\n c = read();\n }", "res.appendCodePoint(c)", "res.appendCodePoint", "res", "c", "c = read()", "c", "read()", "read", "return res.toString();", "res.toString()", "res.toString", "res", "public String[] nextStringArray(int n) {\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }", "nextStringArray", "{\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }", "String[] array = new String[n];", "array", "new String[n]", "n", "for (int i = 0; i < n; i++)\n array[i] = next();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "array[i] = next();", "array[i] = next()", "array[i]", "array", "i", "next()", "next", "return array;", "array", "int n", "n", "public String nextLine() {\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }", "nextLine", "{\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }", "int c = read();", "c", "read()", "read", "while (isEndline(c))\n c = read();", "isEndline(c)", "isEndline", "c", "c = read()", "c", "read()", "read", "StringBuilder res = new StringBuilder();", "res", "new StringBuilder()", "do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));", "!isEndline(c)", "isEndline(c)", "isEndline", "c", "{\n res.appendCodePoint(c);\n c = read();\n }", "res.appendCodePoint(c)", "res.appendCodePoint", "res", "c", "c = read()", "c", "read()", "read", "return res.toString();", "res.toString()", "res.toString", "res", "public int[][] nextPackedIntArrays(int packN, int size) {\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }", "nextPackedIntArrays", "{\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }", "int[][] res = new int[packN][size];", "res", "new int[packN][size]", "packN", "size", "for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < size", "i", "size", "i++", "i++", "i", "{\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }", "{\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }", "for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < packN", "j", "packN", "j++", "j++", "j", "{\n res[j][i] = nextInt();\n }", "{\n res[j][i] = nextInt();\n }", "res[j][i] = nextInt()", "res[j][i]", "res[j]", "res", "j", "i", "nextInt()", "nextInt", "return res;", "res", "int packN", "packN", "int size", "size", "public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/main/java/D1\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n String s = in.next();\n int a = 0;\n for (int i = 0; i < s.length(); i++) {\n a += s.charAt(i) - '0';\n }\n System.out.println(a % 9 == 0 ? \"Yes\" : \"No\");\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}", "public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/main/java/D1\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n String s = in.next();\n int a = 0;\n for (int i = 0; i < s.length(); i++) {\n a += s.charAt(i) - '0';\n }\n System.out.println(a % 9 == 0 ? \"Yes\" : \"No\");\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}", "Main" ]
import java.io.IOException; import java.io.PrintWriter; import java.util.InputMismatchException; import java.io.InputStream; import java.io.FileNotFoundException; import java.io.FileInputStream; public class Main { InputStream is; int __t__ = 1; int __f__ = 0; int __FILE_DEBUG_FLAG__ = __f__; String __DEBUG_FILE_NAME__ = "src/main/java/D1"; FastScanner in; PrintWriter out; public void solve() { String s = in.next(); int a = 0; for (int i = 0; i < s.length(); i++) { a += s.charAt(i) - '0'; } System.out.println(a % 9 == 0 ? "Yes" : "No"); } public void run() { if (__FILE_DEBUG_FLAG__ == __t__) { try { is = new FileInputStream(__DEBUG_FILE_NAME__); } catch (FileNotFoundException e) { e.printStackTrace(); } System.out.println("FILE_INPUT!"); } else { is = System.in; } in = new FastScanner(is); out = new PrintWriter(System.out); solve(); } public static void main(final String[] args) { new Main().run(); } } class FastScanner { private InputStream stream; private byte[] buf = new byte[1024]; private int curChar; private int numChars; public FastScanner(InputStream stream) { this.stream = stream; // stream = new FileInputStream(new File("dec.in")); } int read() { if (numChars == -1) throw new InputMismatchException(); if (curChar >= numChars) { curChar = 0; try { numChars = stream.read(buf); } catch (IOException e) { throw new InputMismatchException(); } if (numChars <= 0) return -1; } return buf[curChar++]; } public boolean isSpaceChar(int c) { return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1; } public boolean isEndline(int c) { return c == '\n' || c == '\r' || c == -1; } public int nextInt() { return Integer.parseInt(next()); } public int[] nextIntArray(int n) { int[] array = new int[n]; for (int i = 0; i < n; i++) array[i] = nextInt(); return array; } public int[][] nextIntMap(int n, int m) { int[][] map = new int[n][m]; for (int i = 0; i < n; i++) { map[i] = nextIntArray(m); } return map; } public long nextLong() { return Long.parseLong(next()); } public long[] nextLongArray(int n) { long[] array = new long[n]; for (int i = 0; i < n; i++) array[i] = nextLong(); return array; } public long[][] nextLongMap(int n, int m) { long[][] map = new long[n][m]; for (int i = 0; i < n; i++) { map[i] = nextLongArray(m); } return map; } public double nextDouble() { return Double.parseDouble(next()); } public double[] nextDoubleArray(int n) { double[] array = new double[n]; for (int i = 0; i < n; i++) array[i] = nextDouble(); return array; } public double[][] nextDoubleMap(int n, int m) { double[][] map = new double[n][m]; for (int i = 0; i < n; i++) { map[i] = nextDoubleArray(m); } return map; } public String next() { int c = read(); while (isSpaceChar(c)) c = read(); StringBuilder res = new StringBuilder(); do { res.appendCodePoint(c); c = read(); } while (!isSpaceChar(c)); return res.toString(); } public String[] nextStringArray(int n) { String[] array = new String[n]; for (int i = 0; i < n; i++) array[i] = next(); return array; } public String nextLine() { int c = read(); while (isEndline(c)) c = read(); StringBuilder res = new StringBuilder(); do { res.appendCodePoint(c); c = read(); } while (!isEndline(c)); return res.toString(); } public int[][] nextPackedIntArrays(int packN, int size) { int[][] res = new int[packN][size]; for (int i = 0; i < size; i++) { for (int j = 0; j < packN; j++) { res[j][i] = nextInt(); } } return res; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 18, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 71, 5 ], [ 71, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 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 ], [ 32, 34 ], [ 25, 35 ], [ 35, 36 ], [ 36, 37 ], [ 25, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 8, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 48, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 48, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 6, 68 ], [ 68, 69 ], [ 0, 70 ], [ 70, 71 ], [ 70, 72 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n\n char[] chars = s.toCharArray();\n\n int sum = 0;\n for (int i = 0; i <chars.length; i++) {\n sum += Character.getNumericValue(chars[i]);\n }\n\n if (sum % 9 == 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n\n\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n\n char[] chars = s.toCharArray();\n\n int sum = 0;\n for (int i = 0; i <chars.length; i++) {\n sum += Character.getNumericValue(chars[i]);\n }\n\n if (sum % 9 == 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n\n\n }\n}", "Main", "public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n\n char[] chars = s.toCharArray();\n\n int sum = 0;\n for (int i = 0; i <chars.length; i++) {\n sum += Character.getNumericValue(chars[i]);\n }\n\n if (sum % 9 == 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n\n\n }", "main", "{\n\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n\n char[] chars = s.toCharArray();\n\n int sum = 0;\n for (int i = 0; i <chars.length; i++) {\n sum += Character.getNumericValue(chars[i]);\n }\n\n if (sum % 9 == 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String s = sc.nextLine();", "s", "sc.nextLine()", "sc.nextLine", "sc", "char[] chars = s.toCharArray();", "chars", "s.toCharArray()", "s.toCharArray", "s", "int sum = 0;", "sum", "0", "for (int i = 0; i <chars.length; i++) {\n sum += Character.getNumericValue(chars[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i <chars.length", "i", "chars.length", "chars", "chars.length", "i++", "i++", "i", "{\n sum += Character.getNumericValue(chars[i]);\n }", "{\n sum += Character.getNumericValue(chars[i]);\n }", "sum += Character.getNumericValue(chars[i])", "sum", "Character.getNumericValue(chars[i])", "Character.getNumericValue", "Character", "chars[i]", "chars", "i", "if (sum % 9 == 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }", "sum % 9 == 0", "sum % 9", "sum", "9", "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\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n\n char[] chars = s.toCharArray();\n\n int sum = 0;\n for (int i = 0; i <chars.length; i++) {\n sum += Character.getNumericValue(chars[i]);\n }\n\n if (sum % 9 == 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n\n\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n\n char[] chars = s.toCharArray();\n\n int sum = 0;\n for (int i = 0; i <chars.length; i++) {\n sum += Character.getNumericValue(chars[i]);\n }\n\n if (sum % 9 == 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\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); String s = sc.nextLine(); char[] chars = s.toCharArray(); int sum = 0; for (int i = 0; i <chars.length; i++) { sum += Character.getNumericValue(chars[i]); } if (sum % 9 == 0) { 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, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 4, 18, 13, 17, 13, 13, 4, 18, 13, 23, 13, 6, 13, 12, 13, 30, 41, 13, 4, 18, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 13, 13, 17, 4, 18, 13, 8, 2, 2, 13, 17, 17, 17, 17, 23, 13, 23, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 0, 13, 20, 29, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 25, 26 ], [ 25, 27 ], [ 0, 28 ], [ 159, 29 ], [ 159, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 35, 37 ], [ 32, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 32, 43 ], [ 43, 44 ], [ 43, 45 ], [ 32, 46 ], [ 46, 47 ], [ 46, 48 ], [ 32, 49 ], [ 49, 50 ], [ 49, 51 ], [ 32, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 52, 56 ], [ 52, 57 ], [ 32, 58 ], [ 58, 59 ], [ 59, 60 ], [ 30, 61 ], [ 61, 62 ], [ 159, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 67, 75 ], [ 75, 76 ], [ 75, 77 ], [ 67, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 85, 87 ], [ 78, 88 ], [ 88, 89 ], [ 89, 90 ], [ 78, 91 ], [ 92, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 99 ], [ 67, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 103, 109 ], [ 103, 110 ], [ 65, 111 ], [ 111, 112 ], [ 65, 113 ], [ 113, 114 ], [ 65, 115 ], [ 115, 116 ], [ 159, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 117, 121 ], [ 121, 122 ], [ 117, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 123, 129 ], [ 129, 130 ], [ 117, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 134, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 147, 148 ], [ 148, 149 ], [ 144, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 133, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 0, 158 ], [ 158, 159 ], [ 158, 160 ] ]
[ "import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\nimport java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author lucasr\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n MyScanner in = new MyScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMultipleOf9 solver = new BMultipleOf9();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMultipleOf9 {\n public void solve(int testNumber, MyScanner sc, PrintWriter out) {\n char[] vals = sc.next().toCharArray();\n int sum = 0;\n for (int i = 0; i < vals.length; i++) {\n sum += vals[i] - '0';\n }\n out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n }\n\n }\n\n static class MyScanner {\n private BufferedReader br;\n private StringTokenizer tokenizer;\n\n public MyScanner(InputStream is) {\n br = new BufferedReader(new InputStreamReader(is));\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n }\n}\n", "import java.io.OutputStream;", "OutputStream", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "import java.io.IOException;", "IOException", "java.io", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n MyScanner in = new MyScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMultipleOf9 solver = new BMultipleOf9();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMultipleOf9 {\n public void solve(int testNumber, MyScanner sc, PrintWriter out) {\n char[] vals = sc.next().toCharArray();\n int sum = 0;\n for (int i = 0; i < vals.length; i++) {\n sum += vals[i] - '0';\n }\n out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n }\n\n }\n\n static class MyScanner {\n private BufferedReader br;\n private StringTokenizer tokenizer;\n\n public MyScanner(InputStream is) {\n br = new BufferedReader(new InputStreamReader(is));\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n MyScanner in = new MyScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMultipleOf9 solver = new BMultipleOf9();\n solver.solve(1, in, out);\n out.close();\n }", "main", "{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n MyScanner in = new MyScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMultipleOf9 solver = new BMultipleOf9();\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", "MyScanner in = new MyScanner(inputStream);", "in", "new MyScanner(inputStream)", "PrintWriter out = new PrintWriter(outputStream);", "out", "new PrintWriter(outputStream)", "BMultipleOf9 solver = new BMultipleOf9();", "solver", "new BMultipleOf9()", "solver.solve(1, in, out)", "solver.solve", "solver", "1", "in", "out", "out.close()", "out.close", "out", "String[] args", "args", "static class BMultipleOf9 {\n public void solve(int testNumber, MyScanner sc, PrintWriter out) {\n char[] vals = sc.next().toCharArray();\n int sum = 0;\n for (int i = 0; i < vals.length; i++) {\n sum += vals[i] - '0';\n }\n out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n }\n\n }", "BMultipleOf9", "public void solve(int testNumber, MyScanner sc, PrintWriter out) {\n char[] vals = sc.next().toCharArray();\n int sum = 0;\n for (int i = 0; i < vals.length; i++) {\n sum += vals[i] - '0';\n }\n out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n }", "solve", "{\n char[] vals = sc.next().toCharArray();\n int sum = 0;\n for (int i = 0; i < vals.length; i++) {\n sum += vals[i] - '0';\n }\n out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n }", "char[] vals = sc.next().toCharArray();", "vals", "sc.next().toCharArray()", "sc.next().toCharArray", "sc.next()", "sc.next", "sc", "int sum = 0;", "sum", "0", "for (int i = 0; i < vals.length; i++) {\n sum += vals[i] - '0';\n }", "int i = 0;", "int i = 0;", "i", "0", "i < vals.length", "i", "vals.length", "vals", "vals.length", "i++", "i++", "i", "{\n sum += vals[i] - '0';\n }", "{\n sum += vals[i] - '0';\n }", "sum += vals[i] - '0'", "sum", "vals[i] - '0'", "vals[i]", "vals", "i", "'0'", "out.println(sum % 9 == 0 ? \"Yes\" : \"No\")", "out.println", "out", "sum % 9 == 0 ? \"Yes\" : \"No\"", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "\"Yes\"", "\"No\"", "int testNumber", "testNumber", "MyScanner sc", "sc", "PrintWriter out", "out", "static class MyScanner {\n private BufferedReader br;\n private StringTokenizer tokenizer;\n\n public MyScanner(InputStream is) {\n br = new BufferedReader(new InputStreamReader(is));\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n }", "MyScanner", "private BufferedReader br;", "br", "private StringTokenizer tokenizer;", "tokenizer", "public MyScanner(InputStream is) {\n br = new BufferedReader(new InputStreamReader(is));\n }", "MyScanner", "{\n br = new BufferedReader(new InputStreamReader(is));\n }", "br = new BufferedReader(new InputStreamReader(is))", "br", "new BufferedReader(new InputStreamReader(is))", "InputStream is", "is", "public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }", "next", "{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }", "while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "tokenizer == null || !tokenizer.hasMoreTokens()", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "{\n try {\n tokenizer = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "try {\n tokenizer = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }", "catch (IOException e) {\n throw new RuntimeException(e);\n }", "IOException e", "{\n throw new RuntimeException(e);\n }", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n tokenizer = new StringTokenizer(br.readLine());\n }", "tokenizer = new StringTokenizer(br.readLine())", "tokenizer", "new StringTokenizer(br.readLine())", "return tokenizer.nextToken();", "tokenizer.nextToken()", "tokenizer.nextToken", "tokenizer", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n MyScanner in = new MyScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMultipleOf9 solver = new BMultipleOf9();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMultipleOf9 {\n public void solve(int testNumber, MyScanner sc, PrintWriter out) {\n char[] vals = sc.next().toCharArray();\n int sum = 0;\n for (int i = 0; i < vals.length; i++) {\n sum += vals[i] - '0';\n }\n out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n }\n\n }\n\n static class MyScanner {\n private BufferedReader br;\n private StringTokenizer tokenizer;\n\n public MyScanner(InputStream is) {\n br = new BufferedReader(new InputStreamReader(is));\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n MyScanner in = new MyScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BMultipleOf9 solver = new BMultipleOf9();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BMultipleOf9 {\n public void solve(int testNumber, MyScanner sc, PrintWriter out) {\n char[] vals = sc.next().toCharArray();\n int sum = 0;\n for (int i = 0; i < vals.length; i++) {\n sum += vals[i] - '0';\n }\n out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n }\n\n }\n\n static class MyScanner {\n private BufferedReader br;\n private StringTokenizer tokenizer;\n\n public MyScanner(InputStream is) {\n br = new BufferedReader(new InputStreamReader(is));\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n }\n}", "Main" ]
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.StringTokenizer; import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.InputStream; /** * Built using CHelper plug-in * Actual solution is at the top * * @author lucasr */ public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; MyScanner in = new MyScanner(inputStream); PrintWriter out = new PrintWriter(outputStream); BMultipleOf9 solver = new BMultipleOf9(); solver.solve(1, in, out); out.close(); } static class BMultipleOf9 { public void solve(int testNumber, MyScanner sc, PrintWriter out) { char[] vals = sc.next().toCharArray(); int sum = 0; for (int i = 0; i < vals.length; i++) { sum += vals[i] - '0'; } out.println(sum % 9 == 0 ? "Yes" : "No"); } } static class MyScanner { private BufferedReader br; private StringTokenizer tokenizer; public MyScanner(InputStream is) { br = new BufferedReader(new InputStreamReader(is)); } public String next() { while (tokenizer == null || !tokenizer.hasMoreTokens()) { try { tokenizer = new StringTokenizer(br.readLine()); } catch (IOException e) { throw new RuntimeException(e); } } return tokenizer.nextToken(); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 13, 13, 17, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 67, 5 ], [ 67, 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 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 22, 32 ], [ 32, 33 ], [ 33, 34 ], [ 22, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 44, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 6, 64 ], [ 64, 65 ], [ 0, 66 ], [ 66, 67 ], [ 66, 68 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] cs = sc.next().toCharArray();\n\t\tint t = 0;\n\t\tfor (int i = 0; i < cs.length; i++) {\n\t\t\tt += cs[i] - '0';\n\t\t}\n\t\tif (t % 9 == 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}", "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\tchar[] cs = sc.next().toCharArray();\n\t\tint t = 0;\n\t\tfor (int i = 0; i < cs.length; i++) {\n\t\t\tt += cs[i] - '0';\n\t\t}\n\t\tif (t % 9 == 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}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] cs = sc.next().toCharArray();\n\t\tint t = 0;\n\t\tfor (int i = 0; i < cs.length; i++) {\n\t\t\tt += cs[i] - '0';\n\t\t}\n\t\tif (t % 9 == 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\tchar[] cs = sc.next().toCharArray();\n\t\tint t = 0;\n\t\tfor (int i = 0; i < cs.length; i++) {\n\t\t\tt += cs[i] - '0';\n\t\t}\n\t\tif (t % 9 == 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)", "char[] cs = sc.next().toCharArray();", "cs", "sc.next().toCharArray()", "sc.next().toCharArray", "sc.next()", "sc.next", "sc", "int t = 0;", "t", "0", "for (int i = 0; i < cs.length; i++) {\n\t\t\tt += cs[i] - '0';\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < cs.length", "i", "cs.length", "cs", "cs.length", "i++", "i++", "i", "{\n\t\t\tt += cs[i] - '0';\n\t\t}", "{\n\t\t\tt += cs[i] - '0';\n\t\t}", "t += cs[i] - '0'", "t", "cs[i] - '0'", "cs[i]", "cs", "i", "'0'", "if (t % 9 == 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "t % 9 == 0", "t % 9", "t", "9", "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\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] cs = sc.next().toCharArray();\n\t\tint t = 0;\n\t\tfor (int i = 0; i < cs.length; i++) {\n\t\t\tt += cs[i] - '0';\n\t\t}\n\t\tif (t % 9 == 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}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] cs = sc.next().toCharArray();\n\t\tint t = 0;\n\t\tfor (int i = 0; i < cs.length; i++) {\n\t\t\tt += cs[i] - '0';\n\t\t}\n\t\tif (t % 9 == 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}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); char[] cs = sc.next().toCharArray(); int t = 0; for (int i = 0; i < cs.length; i++) { t += cs[i] - '0'; } if (t % 9 == 0) { 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, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 2, 4, 18, 13, 13, 17, 14, 2, 2, 13, 17, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 26, 36 ], [ 36, 37 ], [ 37, 38 ], [ 26, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 43, 48 ], [ 14, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 49, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 49, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 12, 67 ], [ 67, 68 ], [ 10, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 69, 73 ], [ 73, 74 ], [ 69, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 69, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 84, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 94, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 83, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 69, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 116, 117 ], [ 69, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 122, 125 ], [ 125, 126 ], [ 69, 127 ], [ 127, 128 ], [ 127, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 131, 134 ], [ 134, 135 ], [ 69, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 138, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 142, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 153, 154 ], [ 138, 155 ], [ 155, 156 ] ]
[ "/* package whatever; // don't place package name! */\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n/* Name of the class has to be \"Main\" only if the class is public. */\nclass Main\n{\n\t\n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n \n public static void main(String[] args) \n { \n FastReader sc=new FastReader(); \n\t\tString s=sc.nextLine();\n\t\tlong ans=0;\n\t\t\n\n\t\t\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tans+=(s.charAt(i)-'0');\n\t\t}\n\t\t\n\t\tif(ans%9==0)System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");\n \t\n }\n}", "import java.util.*;", "util.*", "java", "import java.lang.*;", "lang.*", "java", "import java.io.*;", "io.*", "java", "class Main\n{\n\t\n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n \n public static void main(String[] args) \n { \n FastReader sc=new FastReader(); \n\t\tString s=sc.nextLine();\n\t\tlong ans=0;\n\t\t\n\n\t\t\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tans+=(s.charAt(i)-'0');\n\t\t}\n\t\t\n\t\tif(ans%9==0)System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");\n \t\n }\n}", "Main", "public static void main(String[] args) \n { \n FastReader sc=new FastReader(); \n\t\tString s=sc.nextLine();\n\t\tlong ans=0;\n\t\t\n\n\t\t\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tans+=(s.charAt(i)-'0');\n\t\t}\n\t\t\n\t\tif(ans%9==0)System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");\n \t\n }", "main", "{ \n FastReader sc=new FastReader(); \n\t\tString s=sc.nextLine();\n\t\tlong ans=0;\n\t\t\n\n\t\t\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tans+=(s.charAt(i)-'0');\n\t\t}\n\t\t\n\t\tif(ans%9==0)System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");\n \t\n }", "FastReader sc=new FastReader();", "sc", "new FastReader()", "String s=sc.nextLine();", "s", "sc.nextLine()", "sc.nextLine", "sc", "long ans=0;", "ans", "0", "for(int i=0;i<s.length();i++){\n\t\t\tans+=(s.charAt(i)-'0');\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\tans+=(s.charAt(i)-'0');\n\t\t}", "{\n\t\t\tans+=(s.charAt(i)-'0');\n\t\t}", "ans+=(s.charAt(i)-'0')", "ans", "(s.charAt(i)-'0')", "s.charAt(i)", "s.charAt", "s", "i", "'0'", "if(ans%9==0)System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");", "ans%9==0", "ans%9", "ans", "9", "0", "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", "static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n }", "FastReader", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastReader() \n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n }", "FastReader", "{ \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n }", "br = new BufferedReader(new\n InputStreamReader(System.in))", "br", "new BufferedReader(new\n InputStreamReader(System.in))", "String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }", "next", "{ \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }", "while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n }", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{ \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n }", "try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n }", "catch (IOException e) \n { \n e.printStackTrace(); \n }", "IOException e", "{ \n e.printStackTrace(); \n }", "e.printStackTrace()", "e.printStackTrace", "e", "{ \n st = new StringTokenizer(br.readLine()); \n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() \n { \n return Integer.parseInt(next()); \n }", "nextInt", "{ \n return Integer.parseInt(next()); \n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() \n { \n return Long.parseLong(next()); \n }", "nextLong", "{ \n return Long.parseLong(next()); \n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble() \n { \n return Double.parseDouble(next()); \n }", "nextDouble", "{ \n return Double.parseDouble(next()); \n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }", "nextLine", "{ \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }", "String str = \"\";", "str", "\"\"", "try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n }", "catch (IOException e) \n { \n e.printStackTrace(); \n }", "IOException e", "{ \n e.printStackTrace(); \n }", "e.printStackTrace()", "e.printStackTrace", "e", "{ \n str = br.readLine(); \n }", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str" ]
/* package whatever; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Main { static class FastReader { BufferedReader br; StringTokenizer st; public FastReader() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while (st == null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } long nextLong() { return Long.parseLong(next()); } double nextDouble() { return Double.parseDouble(next()); } String nextLine() { String str = ""; try { str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } return str; } } public static void main(String[] args) { FastReader sc=new FastReader(); String s=sc.nextLine(); long ans=0; for(int i=0;i<s.length();i++){ ans+=(s.charAt(i)-'0'); } if(ans%9==0)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, 13, 17, 14, 4, 18, 13, 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 ], [ 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 ], [ 22, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 11, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 29, 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.util.Scanner;\nimport java.math.BigInteger;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigInteger n = sc.nextBigInteger();\n BigInteger r = n.mod(BigInteger.valueOf(9));\n if(r.equals(BigInteger.valueOf(0))) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.math.BigInteger;", "BigInteger", "java.math", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigInteger n = sc.nextBigInteger();\n BigInteger r = n.mod(BigInteger.valueOf(9));\n if(r.equals(BigInteger.valueOf(0))) {\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 BigInteger n = sc.nextBigInteger();\n BigInteger r = n.mod(BigInteger.valueOf(9));\n if(r.equals(BigInteger.valueOf(0))) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n BigInteger n = sc.nextBigInteger();\n BigInteger r = n.mod(BigInteger.valueOf(9));\n if(r.equals(BigInteger.valueOf(0))) {\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)", "BigInteger n = sc.nextBigInteger();", "n", "sc.nextBigInteger()", "sc.nextBigInteger", "sc", "BigInteger r = n.mod(BigInteger.valueOf(9));", "r", "n.mod(BigInteger.valueOf(9))", "n.mod", "n", "BigInteger.valueOf(9)", "BigInteger.valueOf", "BigInteger", "9", "if(r.equals(BigInteger.valueOf(0))) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }", "r.equals(BigInteger.valueOf(0))", "r.equals", "r", "BigInteger.valueOf(0)", "BigInteger.valueOf", "BigInteger", "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 public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigInteger n = sc.nextBigInteger();\n BigInteger r = n.mod(BigInteger.valueOf(9));\n if(r.equals(BigInteger.valueOf(0))) {\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 BigInteger n = sc.nextBigInteger();\n BigInteger r = n.mod(BigInteger.valueOf(9));\n if(r.equals(BigInteger.valueOf(0))) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "Main" ]
import java.util.Scanner; import java.math.BigInteger; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); BigInteger n = sc.nextBigInteger(); BigInteger r = n.mod(BigInteger.valueOf(9)); if(r.equals(BigInteger.valueOf(0))) { System.out.println("Yes"); } else { System.out.println("No"); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 41, 13, 17, 12, 13, 30, 41, 13, 4, 18, 4, 18, 4, 18, 13, 41, 13, 17, 28, 13, 13, 30, 0, 13, 2, 2, 13, 2, 13, 17, 17, 4, 18, 13, 8, 2, 13, 17, 17, 17, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 20, 4, 18, 13, 41, 13, 4, 18, 13, 14, 13, 4, 18, 18, 13, 13, 2, 17, 2, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 0, 13, 20, 0, 13, 20, 0, 13, 20, 12, 13, 30, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 41, 13, 18, 13, 13, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 29, 13, 12, 13, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 41, 13, 18, 13, 13, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 29, 13, 12, 13, 30, 4, 18, 13, 4, 18, 13, 4, 18, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 4, 8 ], [ 8, 9 ], [ 4, 10 ], [ 10, 11 ], [ 4, 12 ], [ 12, 13 ], [ 12, 14 ], [ 4, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 17, 27 ], [ 27, 28 ], [ 27, 29 ], [ 17, 30 ], [ 30, 31 ], [ 30, 32 ], [ 30, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 36, 42 ], [ 17, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 46, 51 ], [ 4, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 54, 60 ], [ 60, 61 ], [ 60, 62 ], [ 54, 63 ], [ 63, 64 ], [ 64, 65 ], [ 54, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 54, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 54, 83 ], [ 83, 84 ], [ 84, 85 ], [ 52, 86 ], [ 86, 87 ], [ 4, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 94, 95 ], [ 94, 96 ], [ 90, 97 ], [ 97, 98 ], [ 97, 99 ], [ 4, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 107, 108 ], [ 108, 109 ], [ 4, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 117, 118 ], [ 118, 119 ], [ 4, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 125, 130 ], [ 122, 131 ], [ 131, 132 ], [ 131, 133 ], [ 134, 135 ], [ 134, 136 ], [ 122, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 138, 142 ], [ 142, 143 ], [ 142, 144 ], [ 144, 145 ], [ 144, 146 ], [ 137, 147 ], [ 147, 148 ], [ 147, 149 ], [ 137, 150 ], [ 150, 151 ], [ 151, 152 ], [ 137, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 154, 158 ], [ 158, 159 ], [ 159, 160 ], [ 158, 161 ], [ 161, 162 ], [ 161, 163 ], [ 122, 164 ], [ 164, 165 ], [ 4, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 171, 176 ], [ 168, 177 ], [ 177, 178 ], [ 177, 179 ], [ 180, 181 ], [ 180, 182 ], [ 168, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 184, 188 ], [ 188, 189 ], [ 188, 190 ], [ 190, 191 ], [ 190, 192 ], [ 183, 193 ], [ 193, 194 ], [ 193, 195 ], [ 183, 196 ], [ 196, 197 ], [ 197, 198 ], [ 183, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 201, 203 ], [ 200, 204 ], [ 204, 205 ], [ 205, 206 ], [ 204, 207 ], [ 207, 208 ], [ 207, 209 ], [ 168, 210 ], [ 210, 211 ], [ 4, 212 ], [ 212, 213 ], [ 212, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 214, 218 ], [ 218, 219 ], [ 219, 220 ], [ 214, 221 ], [ 221, 222 ], [ 222, 223 ] ]
[ "import java.io.*;\n\nclass Main {\n BufferedReader bf;\n PrintWriter writer;\n StringBuilder sb;\n static boolean local_system = false;\n\n void run() throws IOException {\n char[] d = bf.readLine().trim().toCharArray();\n int v = 0;\n for(char e : d) v=(v+(e-'0'))%9;\n writer.print(v == 0 ? \"Yes\" : \"No\");\n } \n\n public static void main(String[] args) throws IOException {\n long start_time = System.currentTimeMillis();\n Main obj = new Main();\n obj.run();\n long end_time = System.currentTimeMillis();\n if (local_system) obj.writer.println(\"Time : \" + (end_time - start_time));\n obj.close();\n }\n\n public Main(){\n writer = new PrintWriter(System.out);\n bf = new BufferedReader(new InputStreamReader(System.in));\n sb = new StringBuilder();\n }\n\n public int i() throws IOException {\n return Integer.parseInt(bf.readLine());\n }\n\n public long l() throws IOException {\n return Long.parseLong(bf.readLine());\n }\n\n public int[] ni() throws IOException {\n String[] data = bf.readLine().split(\" \");\n int[] send = new int[data.length];\n for (int i = 0, h = data.length; i < h; i++) send[i] = Integer.parseInt(data[i]);\n return send;\n }\n\n public long[] nl() throws IOException {\n String[] data = bf.readLine().split(\" \");\n long[] send = new long[data.length];\n for (int i = 0, h = data.length; i < h; i++) send[i] = Long.parseLong(data[i]);\n return send;\n }\n\n public void close() throws IOException{\n writer.flush();\n writer.close();\n bf.close();\n }\n}\n\n", "import java.io.*;", "io.*", "java", "class Main {\n BufferedReader bf;\n PrintWriter writer;\n StringBuilder sb;\n static boolean local_system = false;\n\n void run() throws IOException {\n char[] d = bf.readLine().trim().toCharArray();\n int v = 0;\n for(char e : d) v=(v+(e-'0'))%9;\n writer.print(v == 0 ? \"Yes\" : \"No\");\n } \n\n public static void main(String[] args) throws IOException {\n long start_time = System.currentTimeMillis();\n Main obj = new Main();\n obj.run();\n long end_time = System.currentTimeMillis();\n if (local_system) obj.writer.println(\"Time : \" + (end_time - start_time));\n obj.close();\n }\n\n public Main(){\n writer = new PrintWriter(System.out);\n bf = new BufferedReader(new InputStreamReader(System.in));\n sb = new StringBuilder();\n }\n\n public int i() throws IOException {\n return Integer.parseInt(bf.readLine());\n }\n\n public long l() throws IOException {\n return Long.parseLong(bf.readLine());\n }\n\n public int[] ni() throws IOException {\n String[] data = bf.readLine().split(\" \");\n int[] send = new int[data.length];\n for (int i = 0, h = data.length; i < h; i++) send[i] = Integer.parseInt(data[i]);\n return send;\n }\n\n public long[] nl() throws IOException {\n String[] data = bf.readLine().split(\" \");\n long[] send = new long[data.length];\n for (int i = 0, h = data.length; i < h; i++) send[i] = Long.parseLong(data[i]);\n return send;\n }\n\n public void close() throws IOException{\n writer.flush();\n writer.close();\n bf.close();\n }\n}", "Main", "BufferedReader bf;", "bf", "PrintWriter writer;", "writer", "StringBuilder sb;", "sb", "static boolean local_system = false;", "local_system", "false", "void run() throws IOException {\n char[] d = bf.readLine().trim().toCharArray();\n int v = 0;\n for(char e : d) v=(v+(e-'0'))%9;\n writer.print(v == 0 ? \"Yes\" : \"No\");\n }", "run", "{\n char[] d = bf.readLine().trim().toCharArray();\n int v = 0;\n for(char e : d) v=(v+(e-'0'))%9;\n writer.print(v == 0 ? \"Yes\" : \"No\");\n }", "char[] d = bf.readLine().trim().toCharArray();", "d", "bf.readLine().trim().toCharArray()", "bf.readLine().trim().toCharArray", "bf.readLine().trim()", "bf.readLine().trim", "bf.readLine()", "bf.readLine", "bf", "int v = 0;", "v", "0", "for(char e : d) v=(v+(e-'0'))%9;", "char e", "d", "v=(v+(e-'0'))%9;", "v=(v+(e-'0'))%9", "v", "(v+(e-'0'))%9", "(v+(e-'0'))", "v", "(e-'0')", "e", "'0'", "9", "writer.print(v == 0 ? \"Yes\" : \"No\")", "writer.print", "writer", "v == 0 ? \"Yes\" : \"No\"", "v == 0", "v", "0", "\"Yes\"", "\"No\"", "public static void main(String[] args) throws IOException {\n long start_time = System.currentTimeMillis();\n Main obj = new Main();\n obj.run();\n long end_time = System.currentTimeMillis();\n if (local_system) obj.writer.println(\"Time : \" + (end_time - start_time));\n obj.close();\n }", "main", "{\n long start_time = System.currentTimeMillis();\n Main obj = new Main();\n obj.run();\n long end_time = System.currentTimeMillis();\n if (local_system) obj.writer.println(\"Time : \" + (end_time - start_time));\n obj.close();\n }", "long start_time = System.currentTimeMillis();", "start_time", "System.currentTimeMillis()", "System.currentTimeMillis", "System", "Main obj = new Main();", "obj", "new Main()", "obj.run()", "obj.run", "obj", "long end_time = System.currentTimeMillis();", "end_time", "System.currentTimeMillis()", "System.currentTimeMillis", "System", "if (local_system) obj.writer.println(\"Time : \" + (end_time - start_time));", "local_system", "obj.writer.println(\"Time : \" + (end_time - start_time))", "obj.writer.println", "obj.writer", "obj", "obj.writer", "\"Time : \" + (end_time - start_time)", "\"Time : \"", "(end_time - start_time)", "end_time", "start_time", "obj.close()", "obj.close", "obj", "String[] args", "args", "public Main(){\n writer = new PrintWriter(System.out);\n bf = new BufferedReader(new InputStreamReader(System.in));\n sb = new StringBuilder();\n }", "Main", "{\n writer = new PrintWriter(System.out);\n bf = new BufferedReader(new InputStreamReader(System.in));\n sb = new StringBuilder();\n }", "writer = new PrintWriter(System.out)", "writer", "new PrintWriter(System.out)", "bf = new BufferedReader(new InputStreamReader(System.in))", "bf", "new BufferedReader(new InputStreamReader(System.in))", "sb = new StringBuilder()", "sb", "new StringBuilder()", "public int i() throws IOException {\n return Integer.parseInt(bf.readLine());\n }", "i", "{\n return Integer.parseInt(bf.readLine());\n }", "return Integer.parseInt(bf.readLine());", "Integer.parseInt(bf.readLine())", "Integer.parseInt", "Integer", "bf.readLine()", "bf.readLine", "bf", "public long l() throws IOException {\n return Long.parseLong(bf.readLine());\n }", "l", "{\n return Long.parseLong(bf.readLine());\n }", "return Long.parseLong(bf.readLine());", "Long.parseLong(bf.readLine())", "Long.parseLong", "Long", "bf.readLine()", "bf.readLine", "bf", "public int[] ni() throws IOException {\n String[] data = bf.readLine().split(\" \");\n int[] send = new int[data.length];\n for (int i = 0, h = data.length; i < h; i++) send[i] = Integer.parseInt(data[i]);\n return send;\n }", "ni", "{\n String[] data = bf.readLine().split(\" \");\n int[] send = new int[data.length];\n for (int i = 0, h = data.length; i < h; i++) send[i] = Integer.parseInt(data[i]);\n return send;\n }", "String[] data = bf.readLine().split(\" \");", "data", "bf.readLine().split(\" \")", "bf.readLine().split", "bf.readLine()", "bf.readLine", "bf", "\" \"", "int[] send = new int[data.length];", "send", "new int[data.length]", "data.length", "data", "data.length", "for (int i = 0, h = data.length; i < h; i++) send[i] = Integer.parseInt(data[i]);", "int i = 0, h = data.length;", "int i = 0", "i", "0", "h = data.length;", "h", "data.length", "data", "data.length", "i < h", "i", "h", "i++", "i++", "i", "send[i] = Integer.parseInt(data[i]);", "send[i] = Integer.parseInt(data[i])", "send[i]", "send", "i", "Integer.parseInt(data[i])", "Integer.parseInt", "Integer", "data[i]", "data", "i", "return send;", "send", "public long[] nl() throws IOException {\n String[] data = bf.readLine().split(\" \");\n long[] send = new long[data.length];\n for (int i = 0, h = data.length; i < h; i++) send[i] = Long.parseLong(data[i]);\n return send;\n }", "nl", "{\n String[] data = bf.readLine().split(\" \");\n long[] send = new long[data.length];\n for (int i = 0, h = data.length; i < h; i++) send[i] = Long.parseLong(data[i]);\n return send;\n }", "String[] data = bf.readLine().split(\" \");", "data", "bf.readLine().split(\" \")", "bf.readLine().split", "bf.readLine()", "bf.readLine", "bf", "\" \"", "long[] send = new long[data.length];", "send", "new long[data.length]", "data.length", "data", "data.length", "for (int i = 0, h = data.length; i < h; i++) send[i] = Long.parseLong(data[i]);", "int i = 0, h = data.length;", "int i = 0", "i", "0", "h = data.length;", "h", "data.length", "data", "data.length", "i < h", "i", "h", "i++", "i++", "i", "send[i] = Long.parseLong(data[i]);", "send[i] = Long.parseLong(data[i])", "send[i]", "send", "i", "Long.parseLong(data[i])", "Long.parseLong", "Long", "data[i]", "data", "i", "return send;", "send", "public void close() throws IOException{\n writer.flush();\n writer.close();\n bf.close();\n }", "close", "{\n writer.flush();\n writer.close();\n bf.close();\n }", "writer.flush()", "writer.flush", "writer", "writer.close()", "writer.close", "writer", "bf.close()", "bf.close", "bf" ]
import java.io.*; class Main { BufferedReader bf; PrintWriter writer; StringBuilder sb; static boolean local_system = false; void run() throws IOException { char[] d = bf.readLine().trim().toCharArray(); int v = 0; for(char e : d) v=(v+(e-'0'))%9; writer.print(v == 0 ? "Yes" : "No"); } public static void main(String[] args) throws IOException { long start_time = System.currentTimeMillis(); Main obj = new Main(); obj.run(); long end_time = System.currentTimeMillis(); if (local_system) obj.writer.println("Time : " + (end_time - start_time)); obj.close(); } public Main(){ writer = new PrintWriter(System.out); bf = new BufferedReader(new InputStreamReader(System.in)); sb = new StringBuilder(); } public int i() throws IOException { return Integer.parseInt(bf.readLine()); } public long l() throws IOException { return Long.parseLong(bf.readLine()); } public int[] ni() throws IOException { String[] data = bf.readLine().split(" "); int[] send = new int[data.length]; for (int i = 0, h = data.length; i < h; i++) send[i] = Integer.parseInt(data[i]); return send; } public long[] nl() throws IOException { String[] data = bf.readLine().split(" "); long[] send = new long[data.length]; for (int i = 0, h = data.length; i < h; i++) send[i] = Long.parseLong(data[i]); return send; } public void close() throws IOException{ writer.flush(); writer.close(); bf.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 13, 14, 2, 2, 13, 17, 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 ], [ 68, 5 ], [ 68, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 20, 30 ], [ 30, 31 ], [ 31, 32 ], [ 20, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 8, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 47, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 6, 65 ], [ 65, 66 ], [ 0, 67 ], [ 67, 68 ], [ 67, 69 ] ]
[ "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.nextLine();\n long sum=0;\n for(int i=0;i<s.length();i++)\n {\n sum+=Long.parseLong(String.valueOf(s.charAt(i)));\n }\n if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\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.nextLine();\n long sum=0;\n for(int i=0;i<s.length();i++)\n {\n sum+=Long.parseLong(String.valueOf(s.charAt(i)));\n }\n if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}", "Main", "public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\n String s=sc.nextLine();\n long sum=0;\n for(int i=0;i<s.length();i++)\n {\n sum+=Long.parseLong(String.valueOf(s.charAt(i)));\n }\n if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }", "main", "{\n Scanner sc=new Scanner(System.in);\n String s=sc.nextLine();\n long sum=0;\n for(int i=0;i<s.length();i++)\n {\n sum+=Long.parseLong(String.valueOf(s.charAt(i)));\n }\n if(sum%9==0)\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.nextLine();", "s", "sc.nextLine()", "sc.nextLine", "sc", "long sum=0;", "sum", "0", "for(int i=0;i<s.length();i++)\n {\n sum+=Long.parseLong(String.valueOf(s.charAt(i)));\n }", "int i=0;", "int i=0;", "i", "0", "i<s.length()", "i", "s.length()", "s.length", "s", "i++", "i++", "i", "{\n sum+=Long.parseLong(String.valueOf(s.charAt(i)));\n }", "{\n sum+=Long.parseLong(String.valueOf(s.charAt(i)));\n }", "sum+=Long.parseLong(String.valueOf(s.charAt(i)))", "sum", "Long.parseLong(String.valueOf(s.charAt(i)))", "Long.parseLong", "Long", "String.valueOf(s.charAt(i))", "String.valueOf", "String", "s.charAt(i)", "s.charAt", "s", "i", "if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");", "sum%9==0", "sum%9", "sum", "9", "0", "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 {\n Scanner sc=new Scanner(System.in);\n String s=sc.nextLine();\n long sum=0;\n for(int i=0;i<s.length();i++)\n {\n sum+=Long.parseLong(String.valueOf(s.charAt(i)));\n }\n if(sum%9==0)\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 {\n Scanner sc=new Scanner(System.in);\n String s=sc.nextLine();\n long sum=0;\n for(int i=0;i<s.length();i++)\n {\n sum+=Long.parseLong(String.valueOf(s.charAt(i)));\n }\n if(sum%9==0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"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(); long sum=0; for(int i=0;i<s.length();i++) { sum+=Long.parseLong(String.valueOf(s.charAt(i))); } if(sum%9==0) 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, 20, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 41, 13, 17, 28, 13, 13, 30, 30, 0, 13, 2, 13, 17, 4, 18, 18, 13, 13, 8, 2, 2, 13, 17, 17, 17, 17, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 20, 28, 13, 13, 30, 30, 4, 18, 13, 13, 4, 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, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 29, 17, 14, 2, 2, 2, 13, 17, 17, 2, 2, 13, 17, 17, 30, 29, 17, 41, 13, 2, 4, 18, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 0, 13, 17, 30, 30, 14, 2, 2, 2, 13, 2, 13, 17, 17, 2, 2, 13, 2, 13, 17, 17, 30, 29, 17, 29, 17, 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, 2, 2, 13, 4, 13, 13, 13, 13, 23, 13, 23, 13, 6, 13, 41, 13, 20, 41, 13, 20, 12, 13, 30, 42, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 13, 0, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 2, 13, 18, 13, 13, 23, 13, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 392, 8 ], [ 392, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 11, 21 ], [ 21, 22 ], [ 21, 23 ], [ 11, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 11, 31 ], [ 31, 32 ], [ 31, 33 ], [ 11, 34 ], [ 34, 35 ], [ 34, 36 ], [ 34, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 11, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 49, 55 ], [ 49, 56 ], [ 11, 57 ], [ 57, 58 ], [ 58, 59 ], [ 9, 60 ], [ 60, 61 ], [ 392, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 68, 70 ], [ 68, 71 ], [ 72, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 64, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 64, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 88, 90 ], [ 81, 91 ], [ 91, 92 ], [ 92, 93 ], [ 81, 94 ], [ 95, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 62, 104 ], [ 104, 105 ], [ 392, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 114, 115 ], [ 114, 116 ], [ 109, 117 ], [ 117, 118 ], [ 118, 119 ], [ 109, 120 ], [ 121, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 126, 127 ], [ 127, 128 ], [ 106, 129 ], [ 129, 130 ], [ 106, 131 ], [ 131, 132 ], [ 106, 133 ], [ 133, 134 ], [ 392, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 138, 143 ], [ 143, 144 ], [ 143, 145 ], [ 138, 146 ], [ 146, 147 ], [ 147, 148 ], [ 138, 149 ], [ 150, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 151, 155 ], [ 155, 156 ], [ 156, 157 ], [ 135, 158 ], [ 158, 159 ], [ 135, 160 ], [ 160, 161 ], [ 135, 162 ], [ 162, 163 ], [ 392, 164 ], [ 164, 165 ], [ 164, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 167, 171 ], [ 171, 172 ], [ 172, 173 ], [ 167, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 175, 179 ], [ 179, 180 ], [ 179, 181 ], [ 174, 182 ], [ 182, 183 ], [ 183, 184 ], [ 174, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 187, 191 ], [ 186, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 192, 196 ], [ 185, 197 ], [ 197, 198 ], [ 198, 199 ], [ 166, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 203, 206 ], [ 202, 207 ], [ 166, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 208, 213 ], [ 213, 214 ], [ 213, 215 ], [ 208, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 208, 220 ], [ 221, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 227, 228 ], [ 227, 229 ], [ 224, 230 ], [ 223, 231 ], [ 231, 232 ], [ 232, 233 ], [ 232, 234 ], [ 234, 235 ], [ 234, 236 ], [ 231, 237 ], [ 222, 238 ], [ 238, 239 ], [ 239, 240 ], [ 166, 241 ], [ 241, 242 ], [ 164, 243 ], [ 243, 244 ], [ 392, 245 ], [ 245, 246 ], [ 245, 247 ], [ 247, 248 ], [ 248, 249 ], [ 249, 250 ], [ 250, 251 ], [ 250, 252 ], [ 249, 253 ], [ 249, 254 ], [ 254, 255 ], [ 254, 256 ], [ 254, 257 ], [ 257, 258 ], [ 257, 259 ], [ 245, 260 ], [ 260, 261 ], [ 245, 262 ], [ 262, 263 ], [ 392, 264 ], [ 264, 265 ], [ 264, 266 ], [ 266, 267 ], [ 267, 268 ], [ 268, 269 ], [ 269, 270 ], [ 269, 271 ], [ 271, 272 ], [ 271, 273 ], [ 271, 274 ], [ 268, 275 ], [ 264, 276 ], [ 276, 277 ], [ 264, 278 ], [ 278, 279 ], [ 392, 280 ], [ 280, 281 ], [ 280, 282 ], [ 282, 283 ], [ 282, 284 ], [ 280, 285 ], [ 285, 286 ], [ 285, 287 ], [ 280, 288 ], [ 288, 289 ], [ 288, 290 ], [ 290, 291 ], [ 291, 292 ], [ 292, 293 ], [ 293, 294 ], [ 294, 295 ], [ 291, 296 ], [ 296, 297 ], [ 297, 298 ], [ 298, 299 ], [ 298, 300 ], [ 300, 301 ], [ 301, 302 ], [ 302, 303 ], [ 297, 304 ], [ 304, 305 ], [ 305, 306 ], [ 305, 307 ], [ 290, 308 ], [ 308, 309 ], [ 309, 310 ], [ 310, 311 ], [ 280, 312 ], [ 312, 313 ], [ 312, 314 ], [ 314, 315 ], [ 315, 316 ], [ 316, 317 ], [ 317, 318 ], [ 316, 319 ], [ 319, 320 ], [ 280, 321 ], [ 321, 322 ], [ 321, 323 ], [ 323, 324 ], [ 324, 325 ], [ 324, 326 ], [ 323, 328 ], [ 328, 329 ], [ 329, 330 ], [ 330, 331 ], [ 330, 332 ], [ 328, 333 ], [ 333, 334 ], [ 333, 335 ], [ 328, 336 ], [ 336, 337 ], [ 337, 338 ], [ 328, 339 ], [ 340, 340 ], [ 340, 341 ], [ 341, 342 ], [ 342, 343 ], [ 342, 344 ], [ 341, 345 ], [ 345, 346 ], [ 323, 347 ], [ 347, 348 ], [ 321, 349 ], [ 349, 350 ], [ 280, 351 ], [ 351, 352 ], [ 351, 353 ], [ 353, 354 ], [ 354, 355 ], [ 355, 356 ], [ 356, 357 ], [ 355, 358 ], [ 358, 359 ], [ 392, 360 ], [ 360, 361 ], [ 360, 362 ], [ 362, 363 ], [ 360, 364 ], [ 364, 365 ], [ 360, 366 ], [ 366, 367 ], [ 366, 368 ], [ 368, 369 ], [ 369, 370 ], [ 369, 371 ], [ 368, 372 ], [ 372, 373 ], [ 372, 374 ], [ 366, 375 ], [ 375, 376 ], [ 366, 377 ], [ 377, 378 ], [ 360, 379 ], [ 379, 380 ], [ 379, 381 ], [ 381, 382 ], [ 382, 383 ], [ 383, 384 ], [ 383, 385 ], [ 385, 386 ], [ 385, 387 ], [ 379, 388 ], [ 388, 389 ], [ 360, 390 ], [ 0, 391 ], [ 391, 392 ], [ 391, 393 ] ]
[ "\nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n Scanner sc = new Scanner(System.in);\n FastScanner fs = new FastScanner();\n char array[] = sc.next().toCharArray();\n long sum = 0;\n for (char c : array) {\n sum += c - '0';\n }\n System.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n bw.flush();\n }\n//==============================================//\n//==============================================//\n//==============================================//\n//==============================================//\n//==============================================//\n//==============================================//\n//==============================================//\n//==============================================//\n\n static void sort(int[] a) {\n ArrayList<Integer> l = new ArrayList<>();\n for (int i : a) {\n l.add(i);\n }\n Collections.sort(l);\n for (int i = 0; i < a.length; i++) {\n a[i] = l.get(i);\n }\n }\n\n static class FastScanner {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens()) {\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 int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n\n static class Pair implements Comparable<Pair> {\n\n int a, b;\n\n public Pair(int x, int y) {\n a = x;\n b = y;\n }\n\n @Override\n public int compareTo(Pair p) {\n return a - p.a;\n }\n }\n\n static void forl_0(int n, int[] array, Scanner sc) {\n for (int i = 0; i < n; i++) {\n array[i] = sc.nextInt();\n }\n }\n\n static void forl_1(int n, int[] array, Scanner sc) {\n for (int i = 1; i <= n; i++) {\n array[i] = sc.nextInt();\n }\n }\n\n static boolean isPrime(long n) {\n if (n < 2) {\n return false;\n } else if (n == 2 || n == 3) {\n return true;\n } else if (n % 2 == 0 || n % 3 == 0) {\n return false;\n }\n long sqrtN = (long) Math.sqrt(n) + 1;\n for (long i = 6L; i <= sqrtN; i += 6) {\n if (n % (i - 1) == 0 || n % (i + 1) == 0) {\n return false;\n }\n }\n return true;\n }\n\n public static long gcd(long a, long b) {\n return (b == 0) ? a : gcd(b, a % b);\n }\n\n public static long lcm(long a, long b) {\n return a / gcd(a, b) * b;\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n Scanner sc = new Scanner(System.in);\n FastScanner fs = new FastScanner();\n char array[] = sc.next().toCharArray();\n long sum = 0;\n for (char c : array) {\n sum += c - '0';\n }\n System.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n bw.flush();\n }\n//==============================================//\n//==============================================//\n//==============================================//\n//==============================================//\n//==============================================//\n//==============================================//\n//==============================================//\n//==============================================//\n\n static void sort(int[] a) {\n ArrayList<Integer> l = new ArrayList<>();\n for (int i : a) {\n l.add(i);\n }\n Collections.sort(l);\n for (int i = 0; i < a.length; i++) {\n a[i] = l.get(i);\n }\n }\n\n static class FastScanner {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens()) {\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 int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n\n static class Pair implements Comparable<Pair> {\n\n int a, b;\n\n public Pair(int x, int y) {\n a = x;\n b = y;\n }\n\n @Override\n public int compareTo(Pair p) {\n return a - p.a;\n }\n }\n\n static void forl_0(int n, int[] array, Scanner sc) {\n for (int i = 0; i < n; i++) {\n array[i] = sc.nextInt();\n }\n }\n\n static void forl_1(int n, int[] array, Scanner sc) {\n for (int i = 1; i <= n; i++) {\n array[i] = sc.nextInt();\n }\n }\n\n static boolean isPrime(long n) {\n if (n < 2) {\n return false;\n } else if (n == 2 || n == 3) {\n return true;\n } else if (n % 2 == 0 || n % 3 == 0) {\n return false;\n }\n long sqrtN = (long) Math.sqrt(n) + 1;\n for (long i = 6L; i <= sqrtN; i += 6) {\n if (n % (i - 1) == 0 || n % (i + 1) == 0) {\n return false;\n }\n }\n return true;\n }\n\n public static long gcd(long a, long b) {\n return (b == 0) ? a : gcd(b, a % b);\n }\n\n public static long lcm(long a, long b) {\n return a / gcd(a, b) * b;\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n Scanner sc = new Scanner(System.in);\n FastScanner fs = new FastScanner();\n char array[] = sc.next().toCharArray();\n long sum = 0;\n for (char c : array) {\n sum += c - '0';\n }\n System.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n bw.flush();\n }", "main", "{\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n Scanner sc = new Scanner(System.in);\n FastScanner fs = new FastScanner();\n char array[] = sc.next().toCharArray();\n long sum = 0;\n for (char c : array) {\n sum += c - '0';\n }\n System.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n bw.flush();\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));", "bw", "new BufferedWriter(new OutputStreamWriter(System.out))", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "FastScanner fs = new FastScanner();", "fs", "new FastScanner()", "char array[] = sc.next().toCharArray();", "array", "sc.next().toCharArray()", "sc.next().toCharArray", "sc.next()", "sc.next", "sc", "long sum = 0;", "sum", "0", "for (char c : array) {\n sum += c - '0';\n }", "char c", "array", "{\n sum += c - '0';\n }", "{\n sum += c - '0';\n }", "sum += c - '0'", "sum", "c - '0'", "c", "'0'", "System.out.println(sum % 9 == 0 ? \"Yes\" : \"No\")", "System.out.println", "System.out", "System", "System.out", "sum % 9 == 0 ? \"Yes\" : \"No\"", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "\"Yes\"", "\"No\"", "bw.flush()", "bw.flush", "bw", "String[] args", "args", "static void sort(int[] a) {\n ArrayList<Integer> l = new ArrayList<>();\n for (int i : a) {\n l.add(i);\n }\n Collections.sort(l);\n for (int i = 0; i < a.length; i++) {\n a[i] = l.get(i);\n }\n }", "sort", "{\n ArrayList<Integer> l = new ArrayList<>();\n for (int i : a) {\n l.add(i);\n }\n Collections.sort(l);\n for (int i = 0; i < a.length; i++) {\n a[i] = l.get(i);\n }\n }", "ArrayList<Integer> l = new ArrayList<>();", "l", "new ArrayList<>()", "for (int i : a) {\n l.add(i);\n }", "int i", "a", "{\n l.add(i);\n }", "{\n l.add(i);\n }", "l.add(i)", "l.add", "l", "i", "Collections.sort(l)", "Collections.sort", "Collections", "l", "for (int i = 0; i < a.length; i++) {\n a[i] = l.get(i);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < a.length", "i", "a.length", "a", "a.length", "i++", "i++", "i", "{\n a[i] = l.get(i);\n }", "{\n a[i] = l.get(i);\n }", "a[i] = l.get(i)", "a[i]", "a", "i", "l.get(i)", "l.get", "l", "i", "int[] a", "a", "static void forl_0(int n, int[] array, Scanner sc) {\n for (int i = 0; i < n; i++) {\n array[i] = sc.nextInt();\n }\n }", "forl_0", "{\n for (int i = 0; i < n; i++) {\n array[i] = sc.nextInt();\n }\n }", "for (int i = 0; i < n; i++) {\n array[i] = sc.nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n array[i] = sc.nextInt();\n }", "{\n array[i] = sc.nextInt();\n }", "array[i] = sc.nextInt()", "array[i]", "array", "i", "sc.nextInt()", "sc.nextInt", "sc", "int n", "n", "int[] array", "array", "Scanner sc", "sc", "static void forl_1(int n, int[] array, Scanner sc) {\n for (int i = 1; i <= n; i++) {\n array[i] = sc.nextInt();\n }\n }", "forl_1", "{\n for (int i = 1; i <= n; i++) {\n array[i] = sc.nextInt();\n }\n }", "for (int i = 1; i <= n; i++) {\n array[i] = sc.nextInt();\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n array[i] = sc.nextInt();\n }", "{\n array[i] = sc.nextInt();\n }", "array[i] = sc.nextInt()", "array[i]", "array", "i", "sc.nextInt()", "sc.nextInt", "sc", "int n", "n", "int[] array", "array", "Scanner sc", "sc", "static boolean isPrime(long n) {\n if (n < 2) {\n return false;\n } else if (n == 2 || n == 3) {\n return true;\n } else if (n % 2 == 0 || n % 3 == 0) {\n return false;\n }\n long sqrtN = (long) Math.sqrt(n) + 1;\n for (long i = 6L; i <= sqrtN; i += 6) {\n if (n % (i - 1) == 0 || n % (i + 1) == 0) {\n return false;\n }\n }\n return true;\n }", "isPrime", "{\n if (n < 2) {\n return false;\n } else if (n == 2 || n == 3) {\n return true;\n } else if (n % 2 == 0 || n % 3 == 0) {\n return false;\n }\n long sqrtN = (long) Math.sqrt(n) + 1;\n for (long i = 6L; i <= sqrtN; i += 6) {\n if (n % (i - 1) == 0 || n % (i + 1) == 0) {\n return false;\n }\n }\n return true;\n }", "if (n < 2) {\n return false;\n } else if (n == 2 || n == 3) {\n return true;\n } else if (n % 2 == 0 || n % 3 == 0) {\n return false;\n }", "n < 2", "n", "2", "{\n return false;\n }", "return false;", "false", "if (n == 2 || n == 3) {\n return true;\n } else if (n % 2 == 0 || n % 3 == 0) {\n return false;\n }", "n == 2 || n == 3", "n == 2", "n", "2", "n == 3", "n", "3", "{\n return true;\n }", "return true;", "true", "if (n % 2 == 0 || n % 3 == 0) {\n return false;\n }", "n % 2 == 0 || n % 3 == 0", "n % 2 == 0", "n % 2", "n", "2", "0", "n % 3 == 0", "n % 3", "n", "3", "0", "{\n return false;\n }", "return false;", "false", "long sqrtN = (long) Math.sqrt(n) + 1;", "sqrtN", "(long) Math.sqrt(n) + 1", "(long) Math.sqrt(n)", "Math.sqrt", "Math", "n", "1", "for (long i = 6L; i <= sqrtN; i += 6) {\n if (n % (i - 1) == 0 || n % (i + 1) == 0) {\n return false;\n }\n }", "long i = 6L;", "long i = 6L;", "i", "6L", "i <= sqrtN", "i", "sqrtN", "i += 6", "i += 6", "i", "6", "{\n if (n % (i - 1) == 0 || n % (i + 1) == 0) {\n return false;\n }\n }", "{\n if (n % (i - 1) == 0 || n % (i + 1) == 0) {\n return false;\n }\n }", "if (n % (i - 1) == 0 || n % (i + 1) == 0) {\n return false;\n }", "n % (i - 1) == 0 || n % (i + 1) == 0", "n % (i - 1) == 0", "n % (i - 1)", "n", "(i - 1)", "i", "1", "0", "n % (i + 1) == 0", "n % (i + 1)", "n", "(i + 1)", "i", "1", "0", "{\n return false;\n }", "return false;", "false", "return true;", "true", "long n", "n", "public static long gcd(long a, long b) {\n return (b == 0) ? a : gcd(b, a % b);\n }", "gcd", "{\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", "public static long lcm(long a, long b) {\n return a / gcd(a, b) * b;\n }", "lcm", "{\n return a / gcd(a, b) * b;\n }", "return a / gcd(a, b) * b;", "a / gcd(a, b) * b", "a / gcd(a, b)", "a", "gcd(a, b)", "gcd", "a", "b", "b", "long a", "a", "long b", "b", "static class FastScanner {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens()) {\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 int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }", "FastScanner", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringTokenizer st = new StringTokenizer(\"\");", "st", "new StringTokenizer(\"\")", "String next() {\n while (!st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "next", "{\n while (!st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "while (!st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "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", "int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }", "readArray", "{\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }", "int[] a = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n a[i] = nextInt();\n }", "{\n a[i] = nextInt();\n }", "a[i] = nextInt()", "a[i]", "a", "i", "nextInt()", "nextInt", "return a;", "a", "int n", "n", "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", "static class Pair implements Comparable<Pair> {\n\n int a, b;\n\n public Pair(int x, int y) {\n a = x;\n b = y;\n }\n\n @Override\n public int compareTo(Pair p) {\n return a - p.a;\n }\n }", "Pair", "int a", "a", "b;", "b", "public Pair(int x, int y) {\n a = x;\n b = y;\n }", "Pair", "{\n a = x;\n b = y;\n }", "a = x", "a", "x", "b = y", "b", "y", "int x", "x", "int y", "y", "@Override\n public int compareTo(Pair p) {\n return a - p.a;\n }", "compareTo", "{\n return a - p.a;\n }", "return a - p.a;", "a - p.a", "a", "p.a", "p", "p.a", "Pair p", "p", "Comparable", "public class Main {\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n Scanner sc = new Scanner(System.in);\n FastScanner fs = new FastScanner();\n char array[] = sc.next().toCharArray();\n long sum = 0;\n for (char c : array) {\n sum += c - '0';\n }\n System.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n bw.flush();\n }\n//==============================================//\n//==============================================//\n//==============================================//\n//==============================================//\n//==============================================//\n//==============================================//\n//==============================================//\n//==============================================//\n\n static void sort(int[] a) {\n ArrayList<Integer> l = new ArrayList<>();\n for (int i : a) {\n l.add(i);\n }\n Collections.sort(l);\n for (int i = 0; i < a.length; i++) {\n a[i] = l.get(i);\n }\n }\n\n static class FastScanner {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens()) {\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 int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n\n static class Pair implements Comparable<Pair> {\n\n int a, b;\n\n public Pair(int x, int y) {\n a = x;\n b = y;\n }\n\n @Override\n public int compareTo(Pair p) {\n return a - p.a;\n }\n }\n\n static void forl_0(int n, int[] array, Scanner sc) {\n for (int i = 0; i < n; i++) {\n array[i] = sc.nextInt();\n }\n }\n\n static void forl_1(int n, int[] array, Scanner sc) {\n for (int i = 1; i <= n; i++) {\n array[i] = sc.nextInt();\n }\n }\n\n static boolean isPrime(long n) {\n if (n < 2) {\n return false;\n } else if (n == 2 || n == 3) {\n return true;\n } else if (n % 2 == 0 || n % 3 == 0) {\n return false;\n }\n long sqrtN = (long) Math.sqrt(n) + 1;\n for (long i = 6L; i <= sqrtN; i += 6) {\n if (n % (i - 1) == 0 || n % (i + 1) == 0) {\n return false;\n }\n }\n return true;\n }\n\n public static long gcd(long a, long b) {\n return (b == 0) ? a : gcd(b, a % b);\n }\n\n public static long lcm(long a, long b) {\n return a / gcd(a, b) * b;\n }\n}", "public class Main {\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n Scanner sc = new Scanner(System.in);\n FastScanner fs = new FastScanner();\n char array[] = sc.next().toCharArray();\n long sum = 0;\n for (char c : array) {\n sum += c - '0';\n }\n System.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n bw.flush();\n }\n//==============================================//\n//==============================================//\n//==============================================//\n//==============================================//\n//==============================================//\n//==============================================//\n//==============================================//\n//==============================================//\n\n static void sort(int[] a) {\n ArrayList<Integer> l = new ArrayList<>();\n for (int i : a) {\n l.add(i);\n }\n Collections.sort(l);\n for (int i = 0; i < a.length; i++) {\n a[i] = l.get(i);\n }\n }\n\n static class FastScanner {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens()) {\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 int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n\n static class Pair implements Comparable<Pair> {\n\n int a, b;\n\n public Pair(int x, int y) {\n a = x;\n b = y;\n }\n\n @Override\n public int compareTo(Pair p) {\n return a - p.a;\n }\n }\n\n static void forl_0(int n, int[] array, Scanner sc) {\n for (int i = 0; i < n; i++) {\n array[i] = sc.nextInt();\n }\n }\n\n static void forl_1(int n, int[] array, Scanner sc) {\n for (int i = 1; i <= n; i++) {\n array[i] = sc.nextInt();\n }\n }\n\n static boolean isPrime(long n) {\n if (n < 2) {\n return false;\n } else if (n == 2 || n == 3) {\n return true;\n } else if (n % 2 == 0 || n % 3 == 0) {\n return false;\n }\n long sqrtN = (long) Math.sqrt(n) + 1;\n for (long i = 6L; i <= sqrtN; i += 6) {\n if (n % (i - 1) == 0 || n % (i + 1) == 0) {\n return false;\n }\n }\n return true;\n }\n\n public static long gcd(long a, long b) {\n return (b == 0) ? a : gcd(b, a % b);\n }\n\n public static long lcm(long a, long b) {\n return a / gcd(a, b) * b;\n }\n}", "Main" ]
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); Scanner sc = new Scanner(System.in); FastScanner fs = new FastScanner(); char array[] = sc.next().toCharArray(); long sum = 0; for (char c : array) { sum += c - '0'; } System.out.println(sum % 9 == 0 ? "Yes" : "No"); bw.flush(); } //==============================================// //==============================================// //==============================================// //==============================================// //==============================================// //==============================================// //==============================================// //==============================================// static void sort(int[] a) { ArrayList<Integer> l = new ArrayList<>(); for (int i : a) { l.add(i); } Collections.sort(l); for (int i = 0; i < a.length; i++) { a[i] = l.get(i); } } static class FastScanner { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(""); String next() { while (!st.hasMoreTokens()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } int[] readArray(int n) { int[] a = new int[n]; for (int i = 0; i < n; i++) { a[i] = nextInt(); } return a; } long nextLong() { return Long.parseLong(next()); } } static class Pair implements Comparable<Pair> { int a, b; public Pair(int x, int y) { a = x; b = y; } @Override public int compareTo(Pair p) { return a - p.a; } } static void forl_0(int n, int[] array, Scanner sc) { for (int i = 0; i < n; i++) { array[i] = sc.nextInt(); } } static void forl_1(int n, int[] array, Scanner sc) { for (int i = 1; i <= n; i++) { array[i] = sc.nextInt(); } } static boolean isPrime(long n) { if (n < 2) { return false; } else if (n == 2 || n == 3) { return true; } else if (n % 2 == 0 || n % 3 == 0) { return false; } long sqrtN = (long) Math.sqrt(n) + 1; for (long i = 6L; i <= sqrtN; i += 6) { if (n % (i - 1) == 0 || n % (i + 1) == 0) { return false; } } return true; } public static long gcd(long a, long b) { return (b == 0) ? a : gcd(b, a % b); } public static long lcm(long a, long b) { return a / gcd(a, b) * b; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 42, 2, 4, 18, 13, 17, 30, 0, 13, 4, 18, 13, 4, 18, 13, 17, 17, 0, 13, 4, 18, 13, 17, 4, 18, 18, 13, 13, 8, 2, 2, 13, 17, 17, 17, 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 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 21, 25 ], [ 20, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 32, 36 ], [ 26, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 8, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 48, 54 ], [ 48, 55 ], [ 6, 56 ], [ 56, 57 ], [ 0, 58 ], [ 58, 59 ], [ 58, 60 ] ]
[ "import java.util.*;\n//import java.util.stream.Collectors;\n\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\t\tlong sum = 0;\n\t\twhile(s.length() > 0){\n\t\t\tsum += Integer.parseInt(s.substring(0, 1));\n\t\t\ts = s.substring(1);\n\t\t}\n\t\t\n\t\tSystem.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\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\t\tlong sum = 0;\n\t\twhile(s.length() > 0){\n\t\t\tsum += Integer.parseInt(s.substring(0, 1));\n\t\t\ts = s.substring(1);\n\t\t}\n\t\t\n\t\tSystem.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString s = sc.next();\n\t\tlong sum = 0;\n\t\twhile(s.length() > 0){\n\t\t\tsum += Integer.parseInt(s.substring(0, 1));\n\t\t\ts = s.substring(1);\n\t\t}\n\t\t\n\t\tSystem.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString s = sc.next();\n\t\tlong sum = 0;\n\t\twhile(s.length() > 0){\n\t\t\tsum += Integer.parseInt(s.substring(0, 1));\n\t\t\ts = s.substring(1);\n\t\t}\n\t\t\n\t\tSystem.out.println(sum % 9 == 0 ? \"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", "long sum = 0;", "sum", "0", "while(s.length() > 0){\n\t\t\tsum += Integer.parseInt(s.substring(0, 1));\n\t\t\ts = s.substring(1);\n\t\t}", "s.length() > 0", "s.length()", "s.length", "s", "0", "{\n\t\t\tsum += Integer.parseInt(s.substring(0, 1));\n\t\t\ts = s.substring(1);\n\t\t}", "sum += Integer.parseInt(s.substring(0, 1))", "sum", "Integer.parseInt(s.substring(0, 1))", "Integer.parseInt", "Integer", "s.substring(0, 1)", "s.substring", "s", "0", "1", "s = s.substring(1)", "s", "s.substring(1)", "s.substring", "s", "1", "System.out.println(sum % 9 == 0 ? \"Yes\" : \"No\")", "System.out.println", "System.out", "System", "System.out", "sum % 9 == 0 ? \"Yes\" : \"No\"", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "\"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\t\n\t\tString s = sc.next();\n\t\tlong sum = 0;\n\t\twhile(s.length() > 0){\n\t\t\tsum += Integer.parseInt(s.substring(0, 1));\n\t\t\ts = s.substring(1);\n\t\t}\n\t\t\n\t\tSystem.out.println(sum % 9 == 0 ? \"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\t\n\t\tString s = sc.next();\n\t\tlong sum = 0;\n\t\twhile(s.length() > 0){\n\t\t\tsum += Integer.parseInt(s.substring(0, 1));\n\t\t\ts = s.substring(1);\n\t\t}\n\t\t\n\t\tSystem.out.println(sum % 9 == 0 ? \"Yes\" : \"No\");\n\t}\n}", "Main" ]
import java.util.*; //import java.util.stream.Collectors; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s = sc.next(); long sum = 0; while(s.length() > 0){ sum += Integer.parseInt(s.substring(0, 1)); s = s.substring(1); } System.out.println(sum % 9 == 0 ? "Yes" : "No"); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 12, 13, 30, 38, 30, 41, 13, 20, 0, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 13, 2, 13, 17, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 74, 5 ], [ 74, 6 ], [ 6, 7 ], [ 74, 8 ], [ 8, 9 ], [ 8, 10 ], [ 10, 11 ], [ 11, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 12, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 10, 21 ], [ 21, 22 ], [ 21, 23 ], [ 10, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 24, 34 ], [ 34, 35 ], [ 35, 36 ], [ 24, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 44, 48 ], [ 48, 49 ], [ 48, 50 ], [ 10, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 51, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 51, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 8, 71 ], [ 71, 72 ], [ 0, 73 ], [ 73, 74 ], [ 73, 75 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tstatic String N;\n\n\tpublic static void main(String args[]) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tN = sc.next();\n\t\t}\n\t\tlong summary=0;\n\t\tfor(int i=0;i<N.length();i++) {\n\t\t\tsummary += Long.parseLong(N.substring(i,i+1));\n\t\t}\n\t\t\t\n\t\tif (summary%9==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}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tstatic String N;\n\n\tpublic static void main(String args[]) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tN = sc.next();\n\t\t}\n\t\tlong summary=0;\n\t\tfor(int i=0;i<N.length();i++) {\n\t\t\tsummary += Long.parseLong(N.substring(i,i+1));\n\t\t}\n\t\t\t\n\t\tif (summary%9==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}", "Main", "static String N;", "N", "public static void main(String args[]) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tN = sc.next();\n\t\t}\n\t\tlong summary=0;\n\t\tfor(int i=0;i<N.length();i++) {\n\t\t\tsummary += Long.parseLong(N.substring(i,i+1));\n\t\t}\n\t\t\t\n\t\tif (summary%9==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\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tN = sc.next();\n\t\t}\n\t\tlong summary=0;\n\t\tfor(int i=0;i<N.length();i++) {\n\t\t\tsummary += Long.parseLong(N.substring(i,i+1));\n\t\t}\n\t\t\t\n\t\tif (summary%9==0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}", "try (Scanner sc = new Scanner(System.in)) {\n\t\t\tN = sc.next();\n\t\t}", "{\n\t\t\tN = sc.next();\n\t\t}", "Scanner sc = new Scanner(System.in)", "Scanner sc = new Scanner(System.in)", "new Scanner(System.in)", "N = sc.next()", "N", "sc.next()", "sc.next", "sc", "long summary=0;", "summary", "0", "for(int i=0;i<N.length();i++) {\n\t\t\tsummary += Long.parseLong(N.substring(i,i+1));\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<N.length()", "i", "N.length()", "N.length", "N", "i++", "i++", "i", "{\n\t\t\tsummary += Long.parseLong(N.substring(i,i+1));\n\t\t}", "{\n\t\t\tsummary += Long.parseLong(N.substring(i,i+1));\n\t\t}", "summary += Long.parseLong(N.substring(i,i+1))", "summary", "Long.parseLong(N.substring(i,i+1))", "Long.parseLong", "Long", "N.substring(i,i+1)", "N.substring", "N", "i", "i+1", "i", "1", "if (summary%9==0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}", "summary%9==0", "summary%9", "summary", "9", "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\tstatic String N;\n\n\tpublic static void main(String args[]) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tN = sc.next();\n\t\t}\n\t\tlong summary=0;\n\t\tfor(int i=0;i<N.length();i++) {\n\t\t\tsummary += Long.parseLong(N.substring(i,i+1));\n\t\t}\n\t\t\t\n\t\tif (summary%9==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}", "public class Main {\n\tstatic String N;\n\n\tpublic static void main(String args[]) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tN = sc.next();\n\t\t}\n\t\tlong summary=0;\n\t\tfor(int i=0;i<N.length();i++) {\n\t\t\tsummary += Long.parseLong(N.substring(i,i+1));\n\t\t}\n\t\t\t\n\t\tif (summary%9==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}", "Main" ]
import java.util.Scanner; public class Main { static String N; public static void main(String args[]) { try (Scanner sc = new Scanner(System.in)) { N = sc.next(); } long summary=0; for(int i=0;i<N.length();i++) { summary += Long.parseLong(N.substring(i,i+1)); } if (summary%9==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, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 2, 4, 18, 13, 13, 17, 14, 2, 2, 13, 17, 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 ], [ 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 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 20, 30 ], [ 30, 31 ], [ 31, 32 ], [ 20, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 37, 42 ], [ 8, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 43, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 6, 61 ], [ 61, 62 ], [ 0, 63 ], [ 63, 64 ], [ 63, 65 ] ]
[ "\nimport java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String args[])\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString n=sc.next();\n\t//System.out.println(n.length());\n\t\tint sum=0;\n\t\tfor(int i=0;i<n.length();i++)\n\t\t{\n\t\t\tsum+=(int)n.charAt(i)-48;\n\t\t}\n\t\t\n\t\tif(sum%9==0) System.out.println(\"Yes\");\n\t\telse System.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{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString n=sc.next();\n\t//System.out.println(n.length());\n\t\tint sum=0;\n\t\tfor(int i=0;i<n.length();i++)\n\t\t{\n\t\t\tsum+=(int)n.charAt(i)-48;\n\t\t}\n\t\t\n\t\tif(sum%9==0) System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");\n\t\t\n\t}\n}", "Main", "public static void main(String args[])\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString n=sc.next();\n\t//System.out.println(n.length());\n\t\tint sum=0;\n\t\tfor(int i=0;i<n.length();i++)\n\t\t{\n\t\t\tsum+=(int)n.charAt(i)-48;\n\t\t}\n\t\t\n\t\tif(sum%9==0) System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");\n\t\t\n\t}", "main", "{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString n=sc.next();\n\t//System.out.println(n.length());\n\t\tint sum=0;\n\t\tfor(int i=0;i<n.length();i++)\n\t\t{\n\t\t\tsum+=(int)n.charAt(i)-48;\n\t\t}\n\t\t\n\t\tif(sum%9==0) System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");\n\t\t\n\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "String n=sc.next();", "n", "sc.next()", "sc.next", "sc", "int sum=0;", "sum", "0", "for(int i=0;i<n.length();i++)\n\t\t{\n\t\t\tsum+=(int)n.charAt(i)-48;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n.length()", "i", "n.length()", "n.length", "n", "i++", "i++", "i", "{\n\t\t\tsum+=(int)n.charAt(i)-48;\n\t\t}", "{\n\t\t\tsum+=(int)n.charAt(i)-48;\n\t\t}", "sum+=(int)n.charAt(i)-48", "sum", "(int)n.charAt(i)-48", "(int)n.charAt(i)", "n.charAt", "n", "i", "48", "if(sum%9==0) System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");", "sum%9==0", "sum%9", "sum", "9", "0", "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{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString n=sc.next();\n\t//System.out.println(n.length());\n\t\tint sum=0;\n\t\tfor(int i=0;i<n.length();i++)\n\t\t{\n\t\t\tsum+=(int)n.charAt(i)-48;\n\t\t}\n\t\t\n\t\tif(sum%9==0) System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");\n\t\t\n\t}\n}", "public class Main {\n\n\tpublic static void main(String args[])\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString n=sc.next();\n\t//System.out.println(n.length());\n\t\tint sum=0;\n\t\tfor(int i=0;i<n.length();i++)\n\t\t{\n\t\t\tsum+=(int)n.charAt(i)-48;\n\t\t}\n\t\t\n\t\tif(sum%9==0) System.out.println(\"Yes\");\n\t\telse System.out.println(\"No\");\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 n=sc.next(); //System.out.println(n.length()); int sum=0; for(int i=0;i<n.length();i++) { sum+=(int)n.charAt(i)-48; } if(sum%9==0) 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, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 13, 2, 13, 17, 0, 13, 4, 18, 13, 13, 0, 13, 2, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 92, 8 ], [ 92, 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 ], [ 11, 31 ], [ 31, 32 ], [ 31, 33 ], [ 11, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 34, 44 ], [ 44, 45 ], [ 45, 46 ], [ 34, 47 ], [ 48, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 51, 55 ], [ 55, 56 ], [ 55, 57 ], [ 48, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 48, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 11, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 69, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 69, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 9, 89 ], [ 89, 90 ], [ 0, 91 ], [ 91, 92 ], [ 91, 93 ] ]
[ "import java.util.Scanner;\nimport java.util.Arrays;\n\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n String n = sc.next();\n int s_length = n.length();\n String tmp2 = \"\";\n int tmp = 0;\n int sum = 0;\n for(int i=0; i<n.length(); i++){\n tmp2=n.substring(i,i+1);\n tmp=Integer.parseInt(tmp2);\n sum= sum+tmp;\n }\n if(sum%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n}\n}", "import java.util.Scanner;", "Scanner", "java.util", "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 n = sc.next();\n int s_length = n.length();\n String tmp2 = \"\";\n int tmp = 0;\n int sum = 0;\n for(int i=0; i<n.length(); i++){\n tmp2=n.substring(i,i+1);\n tmp=Integer.parseInt(tmp2);\n sum= sum+tmp;\n }\n if(sum%9==0){\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 n = sc.next();\n int s_length = n.length();\n String tmp2 = \"\";\n int tmp = 0;\n int sum = 0;\n for(int i=0; i<n.length(); i++){\n tmp2=n.substring(i,i+1);\n tmp=Integer.parseInt(tmp2);\n sum= sum+tmp;\n }\n if(sum%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n}", "main", "{\n Scanner sc =new Scanner(System.in);\n String n = sc.next();\n int s_length = n.length();\n String tmp2 = \"\";\n int tmp = 0;\n int sum = 0;\n for(int i=0; i<n.length(); i++){\n tmp2=n.substring(i,i+1);\n tmp=Integer.parseInt(tmp2);\n sum= sum+tmp;\n }\n if(sum%9==0){\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 n = sc.next();", "n", "sc.next()", "sc.next", "sc", "int s_length = n.length();", "s_length", "n.length()", "n.length", "n", "String tmp2 = \"\";", "tmp2", "\"\"", "int tmp = 0;", "tmp", "0", "int sum = 0;", "sum", "0", "for(int i=0; i<n.length(); i++){\n tmp2=n.substring(i,i+1);\n tmp=Integer.parseInt(tmp2);\n sum= sum+tmp;\n }", "int i=0;", "int i=0;", "i", "0", "i<n.length()", "i", "n.length()", "n.length", "n", "i++", "i++", "i", "{\n tmp2=n.substring(i,i+1);\n tmp=Integer.parseInt(tmp2);\n sum= sum+tmp;\n }", "{\n tmp2=n.substring(i,i+1);\n tmp=Integer.parseInt(tmp2);\n sum= sum+tmp;\n }", "tmp2=n.substring(i,i+1)", "tmp2", "n.substring(i,i+1)", "n.substring", "n", "i", "i+1", "i", "1", "tmp=Integer.parseInt(tmp2)", "tmp", "Integer.parseInt(tmp2)", "Integer.parseInt", "Integer", "tmp2", "sum= sum+tmp", "sum", "sum+tmp", "sum", "tmp", "if(sum%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }", "sum%9==0", "sum%9", "sum", "9", "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 public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n String n = sc.next();\n int s_length = n.length();\n String tmp2 = \"\";\n int tmp = 0;\n int sum = 0;\n for(int i=0; i<n.length(); i++){\n tmp2=n.substring(i,i+1);\n tmp=Integer.parseInt(tmp2);\n sum= sum+tmp;\n }\n if(sum%9==0){\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 n = sc.next();\n int s_length = n.length();\n String tmp2 = \"\";\n int tmp = 0;\n int sum = 0;\n for(int i=0; i<n.length(); i++){\n tmp2=n.substring(i,i+1);\n tmp=Integer.parseInt(tmp2);\n sum= sum+tmp;\n }\n if(sum%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n}\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 n = sc.next(); int s_length = n.length(); String tmp2 = ""; int tmp = 0; int sum = 0; for(int i=0; i<n.length(); i++){ tmp2=n.substring(i,i+1); tmp=Integer.parseInt(tmp2); sum= sum+tmp; } if(sum%9==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, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 13, 13, 17, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 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 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 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 ], [ 43, 45 ], [ 42, 46 ], [ 8, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 47, 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.Scanner;\npublic class Main{\n public static void main(String[] args) {\n Scanner in=new Scanner(System.in);\n String s=in.nextLine();\n long sum=0;\n char ch[]=s.toCharArray();\n for (int i = 0; i <s.length(); i++) {\n sum+=(int)ch[i]-48;\n }\n if(sum%9==0){\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 in=new Scanner(System.in);\n String s=in.nextLine();\n long sum=0;\n char ch[]=s.toCharArray();\n for (int i = 0; i <s.length(); i++) {\n sum+=(int)ch[i]-48;\n }\n if(sum%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n}\n}", "Main", "public static void main(String[] args) {\n Scanner in=new Scanner(System.in);\n String s=in.nextLine();\n long sum=0;\n char ch[]=s.toCharArray();\n for (int i = 0; i <s.length(); i++) {\n sum+=(int)ch[i]-48;\n }\n if(sum%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n}", "main", "{\n Scanner in=new Scanner(System.in);\n String s=in.nextLine();\n long sum=0;\n char ch[]=s.toCharArray();\n for (int i = 0; i <s.length(); i++) {\n sum+=(int)ch[i]-48;\n }\n if(sum%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n}", "Scanner in=new Scanner(System.in);", "in", "new Scanner(System.in)", "String s=in.nextLine();", "s", "in.nextLine()", "in.nextLine", "in", "long sum=0;", "sum", "0", "char ch[]=s.toCharArray();", "ch", "s.toCharArray()", "s.toCharArray", "s", "for (int i = 0; i <s.length(); i++) {\n sum+=(int)ch[i]-48;\n }", "int i = 0;", "int i = 0;", "i", "0", "i <s.length()", "i", "s.length()", "s.length", "s", "i++", "i++", "i", "{\n sum+=(int)ch[i]-48;\n }", "{\n sum+=(int)ch[i]-48;\n }", "sum+=(int)ch[i]-48", "sum", "(int)ch[i]-48", "(int)ch[i]", "ch", "i", "48", "if(sum%9==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }", "sum%9==0", "sum%9", "sum", "9", "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 public static void main(String[] args) {\n Scanner in=new Scanner(System.in);\n String s=in.nextLine();\n long sum=0;\n char ch[]=s.toCharArray();\n for (int i = 0; i <s.length(); i++) {\n sum+=(int)ch[i]-48;\n }\n if(sum%9==0){\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 in=new Scanner(System.in);\n String s=in.nextLine();\n long sum=0;\n char ch[]=s.toCharArray();\n for (int i = 0; i <s.length(); i++) {\n sum+=(int)ch[i]-48;\n }\n if(sum%9==0){\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 in=new Scanner(System.in); String s=in.nextLine(); long sum=0; char ch[]=s.toCharArray(); for (int i = 0; i <s.length(); i++) { sum+=(int)ch[i]-48; } if(sum%9==0){ System.out.println("Yes"); }else{ System.out.println("No"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 12, 13, 30, 41, 13, 4, 18, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 0, 13, 2, 18, 13, 13, 17, 14, 2, 2, 13, 17, 17, 4, 18, 13, 17, 4, 18, 13, 17, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 0, 13, 20, 4, 13, 4, 18, 13, 12, 13, 30, 0, 13, 20, 0, 13, 20, 4, 13, 4, 18, 13, 12, 13, 30, 4, 18, 20, 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, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 14, 2, 13, 17, 29, 17, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 14, 2, 13, 17, 29, 17, 0, 13, 20, 29, 17, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 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, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 23, 13, 12, 13, 30, 29, 20, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 346, 11 ], [ 346, 12 ], [ 12, 13 ], [ 346, 14 ], [ 14, 15 ], [ 346, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 18, 26 ], [ 26, 27 ], [ 26, 28 ], [ 18, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 36, 38 ], [ 29, 39 ], [ 39, 40 ], [ 40, 41 ], [ 29, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 18, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 50, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 50, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 346, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 67, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 78, 79 ], [ 78, 80 ], [ 74, 81 ], [ 81, 82 ], [ 74, 83 ], [ 83, 84 ], [ 84, 85 ], [ 346, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 92, 94 ], [ 88, 95 ], [ 95, 96 ], [ 88, 97 ], [ 97, 98 ], [ 98, 99 ], [ 346, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 100, 106 ], [ 106, 107 ], [ 346, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 108, 112 ], [ 112, 113 ], [ 108, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 117, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 114, 128 ], [ 128, 129 ], [ 108, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 130, 136 ], [ 136, 137 ], [ 108, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 141, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 154, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 164, 165 ], [ 165, 166 ], [ 150, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 167, 171 ], [ 171, 172 ], [ 150, 173 ], [ 173, 174 ], [ 173, 175 ], [ 140, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 108, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 184, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 183, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 192, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 196, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 206, 207 ], [ 207, 208 ], [ 192, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 209, 213 ], [ 213, 214 ], [ 192, 215 ], [ 215, 216 ], [ 215, 217 ], [ 182, 218 ], [ 218, 219 ], [ 108, 220 ], [ 220, 221 ], [ 220, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 224, 227 ], [ 227, 228 ], [ 108, 229 ], [ 229, 230 ], [ 229, 231 ], [ 231, 232 ], [ 232, 233 ], [ 232, 234 ], [ 231, 236 ], [ 236, 237 ], [ 237, 238 ], [ 238, 239 ], [ 238, 240 ], [ 236, 241 ], [ 241, 242 ], [ 241, 243 ], [ 236, 244 ], [ 244, 245 ], [ 245, 246 ], [ 236, 247 ], [ 248, 248 ], [ 248, 249 ], [ 249, 250 ], [ 250, 251 ], [ 250, 252 ], [ 249, 253 ], [ 253, 254 ], [ 254, 255 ], [ 231, 256 ], [ 256, 257 ], [ 229, 258 ], [ 258, 259 ], [ 108, 260 ], [ 260, 261 ], [ 260, 262 ], [ 262, 263 ], [ 263, 264 ], [ 264, 265 ], [ 265, 266 ], [ 264, 267 ], [ 267, 268 ], [ 108, 269 ], [ 269, 270 ], [ 269, 271 ], [ 271, 272 ], [ 272, 273 ], [ 272, 274 ], [ 271, 276 ], [ 276, 277 ], [ 277, 278 ], [ 278, 279 ], [ 278, 280 ], [ 276, 281 ], [ 281, 282 ], [ 281, 283 ], [ 276, 284 ], [ 284, 285 ], [ 285, 286 ], [ 276, 287 ], [ 288, 288 ], [ 288, 289 ], [ 289, 290 ], [ 290, 291 ], [ 290, 292 ], [ 289, 293 ], [ 293, 294 ], [ 294, 295 ], [ 271, 296 ], [ 296, 297 ], [ 269, 298 ], [ 298, 299 ], [ 108, 300 ], [ 300, 301 ], [ 300, 302 ], [ 302, 303 ], [ 303, 304 ], [ 108, 305 ], [ 305, 306 ], [ 305, 307 ], [ 307, 308 ], [ 308, 309 ], [ 309, 310 ], [ 310, 311 ], [ 309, 312 ], [ 312, 313 ], [ 108, 314 ], [ 314, 315 ], [ 314, 316 ], [ 316, 317 ], [ 317, 318 ], [ 317, 319 ], [ 316, 321 ], [ 321, 322 ], [ 322, 323 ], [ 323, 324 ], [ 323, 325 ], [ 321, 326 ], [ 326, 327 ], [ 326, 328 ], [ 321, 329 ], [ 329, 330 ], [ 330, 331 ], [ 321, 332 ], [ 333, 333 ], [ 333, 334 ], [ 334, 335 ], [ 335, 336 ], [ 335, 337 ], [ 334, 338 ], [ 338, 339 ], [ 339, 340 ], [ 316, 341 ], [ 341, 342 ], [ 314, 343 ], [ 343, 344 ], [ 0, 345 ], [ 345, 346 ], [ 345, 347 ] ]
[ "import java.io.*;\nimport java.math.*;\nimport java.util.*;\n\npublic class Main {\n FastScanner sc;\n PrintWriter p;\n\n void solve() {\n char s[] = sc.next().toCharArray();\n long sum = 0;\n for(int i = 0; i < s.length; i++)\n sum += s[i] - '0';\n\n if(sum % 9 == 0)\n p.println(\"Yes\");\n else\n p.println(\"No\");\n }\n\n void run() {\n try {\n sc = new FastScanner(new File(\"MultipleOf9.in\"));\n p = new PrintWriter(new File(\"MultipleOf9.out\"));\n\n solve();\n\n p.close();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }\n\n void runIO() {\n\n sc = new FastScanner(System.in);\n p = new PrintWriter(System.out);\n\n solve();\n\n p.close();\n }\n\n class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner(File f) {\n try {\n br = new BufferedReader(new FileReader(f));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }\n\n public FastScanner(InputStream f) {\n br = new BufferedReader(new InputStreamReader(f));\n }\n\n String next() {\n while (st == null || !st.hasMoreTokens()) {\n String s = null;\n try {\n s = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n }\n return st.nextToken();\n }\n\n boolean hasMoreTokens() {\n while (st == null || !st.hasMoreTokens()) {\n String s = null;\n try {\n s = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (s == null)\n return false;\n st = new StringTokenizer(s);\n }\n return true;\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] nextIntArray(int N) {\n int[] A = new int[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextInt();\n }\n return A;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n long[] nextLongArray(int N) {\n long[] A = new long[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextLong();\n }\n return A;\n }\n\n BigInteger nextBigInteger() {\n return new BigInteger(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n double[] nextDoubleArray(int N) {\n double[] A = new double[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextDouble();\n }\n return A;\n }\n\n }\n\n public static void main(String[] args) {\n new Main().runIO();\n }\n}\n\n", "import java.io.*;", "io.*", "java", "import java.math.*;", "math.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n FastScanner sc;\n PrintWriter p;\n\n void solve() {\n char s[] = sc.next().toCharArray();\n long sum = 0;\n for(int i = 0; i < s.length; i++)\n sum += s[i] - '0';\n\n if(sum % 9 == 0)\n p.println(\"Yes\");\n else\n p.println(\"No\");\n }\n\n void run() {\n try {\n sc = new FastScanner(new File(\"MultipleOf9.in\"));\n p = new PrintWriter(new File(\"MultipleOf9.out\"));\n\n solve();\n\n p.close();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }\n\n void runIO() {\n\n sc = new FastScanner(System.in);\n p = new PrintWriter(System.out);\n\n solve();\n\n p.close();\n }\n\n class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner(File f) {\n try {\n br = new BufferedReader(new FileReader(f));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }\n\n public FastScanner(InputStream f) {\n br = new BufferedReader(new InputStreamReader(f));\n }\n\n String next() {\n while (st == null || !st.hasMoreTokens()) {\n String s = null;\n try {\n s = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n }\n return st.nextToken();\n }\n\n boolean hasMoreTokens() {\n while (st == null || !st.hasMoreTokens()) {\n String s = null;\n try {\n s = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (s == null)\n return false;\n st = new StringTokenizer(s);\n }\n return true;\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] nextIntArray(int N) {\n int[] A = new int[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextInt();\n }\n return A;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n long[] nextLongArray(int N) {\n long[] A = new long[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextLong();\n }\n return A;\n }\n\n BigInteger nextBigInteger() {\n return new BigInteger(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n double[] nextDoubleArray(int N) {\n double[] A = new double[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextDouble();\n }\n return A;\n }\n\n }\n\n public static void main(String[] args) {\n new Main().runIO();\n }\n}", "Main", "FastScanner sc;", "sc", "PrintWriter p;", "p", "void solve() {\n char s[] = sc.next().toCharArray();\n long sum = 0;\n for(int i = 0; i < s.length; i++)\n sum += s[i] - '0';\n\n if(sum % 9 == 0)\n p.println(\"Yes\");\n else\n p.println(\"No\");\n }", "solve", "{\n char s[] = sc.next().toCharArray();\n long sum = 0;\n for(int i = 0; i < s.length; i++)\n sum += s[i] - '0';\n\n if(sum % 9 == 0)\n p.println(\"Yes\");\n else\n p.println(\"No\");\n }", "char s[] = sc.next().toCharArray();", "s", "sc.next().toCharArray()", "sc.next().toCharArray", "sc.next()", "sc.next", "sc", "long sum = 0;", "sum", "0", "for(int i = 0; i < s.length; i++)\n sum += s[i] - '0';", "int i = 0;", "int i = 0;", "i", "0", "i < s.length", "i", "s.length", "s", "s.length", "i++", "i++", "i", "sum += s[i] - '0';", "sum += s[i] - '0'", "sum", "s[i] - '0'", "s[i]", "s", "i", "'0'", "if(sum % 9 == 0)\n p.println(\"Yes\");\n else\n p.println(\"No\");", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "p.println(\"Yes\")", "p.println", "p", "\"Yes\"", "p.println(\"No\")", "p.println", "p", "\"No\"", "void run() {\n try {\n sc = new FastScanner(new File(\"MultipleOf9.in\"));\n p = new PrintWriter(new File(\"MultipleOf9.out\"));\n\n solve();\n\n p.close();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }", "run", "{\n try {\n sc = new FastScanner(new File(\"MultipleOf9.in\"));\n p = new PrintWriter(new File(\"MultipleOf9.out\"));\n\n solve();\n\n p.close();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }", "try {\n sc = new FastScanner(new File(\"MultipleOf9.in\"));\n p = new PrintWriter(new File(\"MultipleOf9.out\"));\n\n solve();\n\n p.close();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }", "catch (FileNotFoundException e) {\n e.printStackTrace();\n }", "FileNotFoundException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n sc = new FastScanner(new File(\"MultipleOf9.in\"));\n p = new PrintWriter(new File(\"MultipleOf9.out\"));\n\n solve();\n\n p.close();\n }", "sc = new FastScanner(new File(\"MultipleOf9.in\"))", "sc", "new FastScanner(new File(\"MultipleOf9.in\"))", "p = new PrintWriter(new File(\"MultipleOf9.out\"))", "p", "new PrintWriter(new File(\"MultipleOf9.out\"))", "solve()", "solve", "p.close()", "p.close", "p", "void runIO() {\n\n sc = new FastScanner(System.in);\n p = new PrintWriter(System.out);\n\n solve();\n\n p.close();\n }", "runIO", "{\n\n sc = new FastScanner(System.in);\n p = new PrintWriter(System.out);\n\n solve();\n\n p.close();\n }", "sc = new FastScanner(System.in)", "sc", "new FastScanner(System.in)", "p = new PrintWriter(System.out)", "p", "new PrintWriter(System.out)", "solve()", "solve", "p.close()", "p.close", "p", "public static void main(String[] args) {\n new Main().runIO();\n }", "main", "{\n new Main().runIO();\n }", "new Main().runIO()", "new Main().runIO", "new Main()", "String[] args", "args", "class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner(File f) {\n try {\n br = new BufferedReader(new FileReader(f));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }\n\n public FastScanner(InputStream f) {\n br = new BufferedReader(new InputStreamReader(f));\n }\n\n String next() {\n while (st == null || !st.hasMoreTokens()) {\n String s = null;\n try {\n s = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n }\n return st.nextToken();\n }\n\n boolean hasMoreTokens() {\n while (st == null || !st.hasMoreTokens()) {\n String s = null;\n try {\n s = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (s == null)\n return false;\n st = new StringTokenizer(s);\n }\n return true;\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] nextIntArray(int N) {\n int[] A = new int[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextInt();\n }\n return A;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n long[] nextLongArray(int N) {\n long[] A = new long[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextLong();\n }\n return A;\n }\n\n BigInteger nextBigInteger() {\n return new BigInteger(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n double[] nextDoubleArray(int N) {\n double[] A = new double[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextDouble();\n }\n return A;\n }\n\n }", "FastScanner", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastScanner(File f) {\n try {\n br = new BufferedReader(new FileReader(f));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }", "FastScanner", "{\n try {\n br = new BufferedReader(new FileReader(f));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }", "try {\n br = new BufferedReader(new FileReader(f));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }", "catch (FileNotFoundException e) {\n e.printStackTrace();\n }", "FileNotFoundException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n br = new BufferedReader(new FileReader(f));\n }", "br = new BufferedReader(new FileReader(f))", "br", "new BufferedReader(new FileReader(f))", "File f", "f", "public FastScanner(InputStream f) {\n br = new BufferedReader(new InputStreamReader(f));\n }", "FastScanner", "{\n br = new BufferedReader(new InputStreamReader(f));\n }", "br = new BufferedReader(new InputStreamReader(f))", "br", "new BufferedReader(new InputStreamReader(f))", "InputStream f", "f", "String next() {\n while (st == null || !st.hasMoreTokens()) {\n String s = null;\n try {\n s = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreTokens()) {\n String s = null;\n try {\n s = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreTokens()) {\n String s = null;\n try {\n s = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n String s = null;\n try {\n s = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n }", "String s = null;", "s", "null", "try {\n s = 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 s = br.readLine();\n }", "s = br.readLine()", "s", "br.readLine()", "br.readLine", "br", "if (s == null)\n return null;", "s == null", "s", "null", "return null;", "null", "st = new StringTokenizer(s)", "st", "new StringTokenizer(s)", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "boolean hasMoreTokens() {\n while (st == null || !st.hasMoreTokens()) {\n String s = null;\n try {\n s = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (s == null)\n return false;\n st = new StringTokenizer(s);\n }\n return true;\n }", "hasMoreTokens", "{\n while (st == null || !st.hasMoreTokens()) {\n String s = null;\n try {\n s = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (s == null)\n return false;\n st = new StringTokenizer(s);\n }\n return true;\n }", "while (st == null || !st.hasMoreTokens()) {\n String s = null;\n try {\n s = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (s == null)\n return false;\n st = new StringTokenizer(s);\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n String s = null;\n try {\n s = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (s == null)\n return false;\n st = new StringTokenizer(s);\n }", "String s = null;", "s", "null", "try {\n s = 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 s = br.readLine();\n }", "s = br.readLine()", "s", "br.readLine()", "br.readLine", "br", "if (s == null)\n return false;", "s == null", "s", "null", "return false;", "false", "st = new StringTokenizer(s)", "st", "new StringTokenizer(s)", "return true;", "true", "int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "int[] nextIntArray(int N) {\n int[] A = new int[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextInt();\n }\n return A;\n }", "nextIntArray", "{\n int[] A = new int[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextInt();\n }\n return A;\n }", "int[] A = new int[N];", "A", "new int[N]", "N", "for (int i = 0; i < N; i++) {\n A[i] = sc.nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n A[i] = sc.nextInt();\n }", "{\n A[i] = sc.nextInt();\n }", "A[i] = sc.nextInt()", "A[i]", "A", "i", "sc.nextInt()", "sc.nextInt", "sc", "return A;", "A", "int N", "N", "long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "long[] nextLongArray(int N) {\n long[] A = new long[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextLong();\n }\n return A;\n }", "nextLongArray", "{\n long[] A = new long[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextLong();\n }\n return A;\n }", "long[] A = new long[N];", "A", "new long[N]", "N", "for (int i = 0; i < N; i++) {\n A[i] = sc.nextLong();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n A[i] = sc.nextLong();\n }", "{\n A[i] = sc.nextLong();\n }", "A[i] = sc.nextLong()", "A[i]", "A", "i", "sc.nextLong()", "sc.nextLong", "sc", "return A;", "A", "int N", "N", "BigInteger nextBigInteger() {\n return new BigInteger(next());\n }", "nextBigInteger", "{\n return new BigInteger(next());\n }", "return new BigInteger(next());", "new BigInteger(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", "double[] nextDoubleArray(int N) {\n double[] A = new double[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextDouble();\n }\n return A;\n }", "nextDoubleArray", "{\n double[] A = new double[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextDouble();\n }\n return A;\n }", "double[] A = new double[N];", "A", "new double[N]", "N", "for (int i = 0; i < N; i++) {\n A[i] = sc.nextDouble();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n A[i] = sc.nextDouble();\n }", "{\n A[i] = sc.nextDouble();\n }", "A[i] = sc.nextDouble()", "A[i]", "A", "i", "sc.nextDouble()", "sc.nextDouble", "sc", "return A;", "A", "int N", "N", "public class Main {\n FastScanner sc;\n PrintWriter p;\n\n void solve() {\n char s[] = sc.next().toCharArray();\n long sum = 0;\n for(int i = 0; i < s.length; i++)\n sum += s[i] - '0';\n\n if(sum % 9 == 0)\n p.println(\"Yes\");\n else\n p.println(\"No\");\n }\n\n void run() {\n try {\n sc = new FastScanner(new File(\"MultipleOf9.in\"));\n p = new PrintWriter(new File(\"MultipleOf9.out\"));\n\n solve();\n\n p.close();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }\n\n void runIO() {\n\n sc = new FastScanner(System.in);\n p = new PrintWriter(System.out);\n\n solve();\n\n p.close();\n }\n\n class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner(File f) {\n try {\n br = new BufferedReader(new FileReader(f));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }\n\n public FastScanner(InputStream f) {\n br = new BufferedReader(new InputStreamReader(f));\n }\n\n String next() {\n while (st == null || !st.hasMoreTokens()) {\n String s = null;\n try {\n s = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n }\n return st.nextToken();\n }\n\n boolean hasMoreTokens() {\n while (st == null || !st.hasMoreTokens()) {\n String s = null;\n try {\n s = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (s == null)\n return false;\n st = new StringTokenizer(s);\n }\n return true;\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] nextIntArray(int N) {\n int[] A = new int[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextInt();\n }\n return A;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n long[] nextLongArray(int N) {\n long[] A = new long[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextLong();\n }\n return A;\n }\n\n BigInteger nextBigInteger() {\n return new BigInteger(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n double[] nextDoubleArray(int N) {\n double[] A = new double[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextDouble();\n }\n return A;\n }\n\n }\n\n public static void main(String[] args) {\n new Main().runIO();\n }\n}", "public class Main {\n FastScanner sc;\n PrintWriter p;\n\n void solve() {\n char s[] = sc.next().toCharArray();\n long sum = 0;\n for(int i = 0; i < s.length; i++)\n sum += s[i] - '0';\n\n if(sum % 9 == 0)\n p.println(\"Yes\");\n else\n p.println(\"No\");\n }\n\n void run() {\n try {\n sc = new FastScanner(new File(\"MultipleOf9.in\"));\n p = new PrintWriter(new File(\"MultipleOf9.out\"));\n\n solve();\n\n p.close();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }\n\n void runIO() {\n\n sc = new FastScanner(System.in);\n p = new PrintWriter(System.out);\n\n solve();\n\n p.close();\n }\n\n class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner(File f) {\n try {\n br = new BufferedReader(new FileReader(f));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }\n\n public FastScanner(InputStream f) {\n br = new BufferedReader(new InputStreamReader(f));\n }\n\n String next() {\n while (st == null || !st.hasMoreTokens()) {\n String s = null;\n try {\n s = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n }\n return st.nextToken();\n }\n\n boolean hasMoreTokens() {\n while (st == null || !st.hasMoreTokens()) {\n String s = null;\n try {\n s = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (s == null)\n return false;\n st = new StringTokenizer(s);\n }\n return true;\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] nextIntArray(int N) {\n int[] A = new int[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextInt();\n }\n return A;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n long[] nextLongArray(int N) {\n long[] A = new long[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextLong();\n }\n return A;\n }\n\n BigInteger nextBigInteger() {\n return new BigInteger(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n double[] nextDoubleArray(int N) {\n double[] A = new double[N];\n for (int i = 0; i < N; i++) {\n A[i] = sc.nextDouble();\n }\n return A;\n }\n\n }\n\n public static void main(String[] args) {\n new Main().runIO();\n }\n}", "Main" ]
import java.io.*; import java.math.*; import java.util.*; public class Main { FastScanner sc; PrintWriter p; void solve() { char s[] = sc.next().toCharArray(); long sum = 0; for(int i = 0; i < s.length; i++) sum += s[i] - '0'; if(sum % 9 == 0) p.println("Yes"); else p.println("No"); } void run() { try { sc = new FastScanner(new File("MultipleOf9.in")); p = new PrintWriter(new File("MultipleOf9.out")); solve(); p.close(); } catch (FileNotFoundException e) { e.printStackTrace(); } } void runIO() { sc = new FastScanner(System.in); p = new PrintWriter(System.out); solve(); p.close(); } class FastScanner { BufferedReader br; StringTokenizer st; public FastScanner(File f) { try { br = new BufferedReader(new FileReader(f)); } catch (FileNotFoundException e) { e.printStackTrace(); } } public FastScanner(InputStream f) { br = new BufferedReader(new InputStreamReader(f)); } String next() { while (st == null || !st.hasMoreTokens()) { String s = null; try { s = br.readLine(); } catch (IOException e) { e.printStackTrace(); } if (s == null) return null; st = new StringTokenizer(s); } return st.nextToken(); } boolean hasMoreTokens() { while (st == null || !st.hasMoreTokens()) { String s = null; try { s = br.readLine(); } catch (IOException e) { e.printStackTrace(); } if (s == null) return false; st = new StringTokenizer(s); } return true; } int nextInt() { return Integer.parseInt(next()); } int[] nextIntArray(int N) { int[] A = new int[N]; for (int i = 0; i < N; i++) { A[i] = sc.nextInt(); } return A; } long nextLong() { return Long.parseLong(next()); } long[] nextLongArray(int N) { long[] A = new long[N]; for (int i = 0; i < N; i++) { A[i] = sc.nextLong(); } return A; } BigInteger nextBigInteger() { return new BigInteger(next()); } double nextDouble() { return Double.parseDouble(next()); } double[] nextDoubleArray(int N) { double[] A = new double[N]; for (int i = 0; i < N; i++) { A[i] = sc.nextDouble(); } return A; } } public static void main(String[] args) { new Main().runIO(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 18, 13, 13, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 72, 5 ], [ 72, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 19, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 33, 35 ], [ 26, 36 ], [ 36, 37 ], [ 37, 38 ], [ 26, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 8, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 49, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 49, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 6, 69 ], [ 69, 70 ], [ 0, 71 ], [ 71, 72 ], [ 71, 73 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString n = scan.next();\n\t\tString[] s = n.split(\"\");\n\t\t\n\t\tint total = 0;\n\t\t\n\t\tfor(int i = 0; i < s.length; i++) {\n\t\t\ttotal += Integer.parseInt(s[i]);\n\t\t}\n\t\t\n\t\tif(total % 9 == 0) {\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.print(\"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\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString n = scan.next();\n\t\tString[] s = n.split(\"\");\n\t\t\n\t\tint total = 0;\n\t\t\n\t\tfor(int i = 0; i < s.length; i++) {\n\t\t\ttotal += Integer.parseInt(s[i]);\n\t\t}\n\t\t\n\t\tif(total % 9 == 0) {\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.print(\"No\");\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString n = scan.next();\n\t\tString[] s = n.split(\"\");\n\t\t\n\t\tint total = 0;\n\t\t\n\t\tfor(int i = 0; i < s.length; i++) {\n\t\t\ttotal += Integer.parseInt(s[i]);\n\t\t}\n\t\t\n\t\tif(total % 9 == 0) {\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.print(\"No\");\n\t\t}\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString n = scan.next();\n\t\tString[] s = n.split(\"\");\n\t\t\n\t\tint total = 0;\n\t\t\n\t\tfor(int i = 0; i < s.length; i++) {\n\t\t\ttotal += Integer.parseInt(s[i]);\n\t\t}\n\t\t\n\t\tif(total % 9 == 0) {\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.print(\"No\");\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "String n = scan.next();", "n", "scan.next()", "scan.next", "scan", "String[] s = n.split(\"\");", "s", "n.split(\"\")", "n.split", "n", "\"\"", "int total = 0;", "total", "0", "for(int i = 0; i < s.length; i++) {\n\t\t\ttotal += Integer.parseInt(s[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < s.length", "i", "s.length", "s", "s.length", "i++", "i++", "i", "{\n\t\t\ttotal += Integer.parseInt(s[i]);\n\t\t}", "{\n\t\t\ttotal += Integer.parseInt(s[i]);\n\t\t}", "total += Integer.parseInt(s[i])", "total", "Integer.parseInt(s[i])", "Integer.parseInt", "Integer", "s[i]", "s", "i", "if(total % 9 == 0) {\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.print(\"No\");\n\t\t}", "total % 9 == 0", "total % 9", "total", "9", "0", "{\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}", "System.out.print(\"Yes\")", "System.out.print", "System.out", "System", "System.out", "\"Yes\"", "{\n\t\t\tSystem.out.print(\"No\");\n\t\t}", "System.out.print(\"No\")", "System.out.print", "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 scan = new Scanner(System.in);\n\t\t\n\t\tString n = scan.next();\n\t\tString[] s = n.split(\"\");\n\t\t\n\t\tint total = 0;\n\t\t\n\t\tfor(int i = 0; i < s.length; i++) {\n\t\t\ttotal += Integer.parseInt(s[i]);\n\t\t}\n\t\t\n\t\tif(total % 9 == 0) {\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.print(\"No\");\n\t\t}\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString n = scan.next();\n\t\tString[] s = n.split(\"\");\n\t\t\n\t\tint total = 0;\n\t\t\n\t\tfor(int i = 0; i < s.length; i++) {\n\t\t\ttotal += Integer.parseInt(s[i]);\n\t\t}\n\t\t\n\t\tif(total % 9 == 0) {\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.print(\"No\");\n\t\t}\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner scan = new Scanner(System.in); String n = scan.next(); String[] s = n.split(""); int total = 0; for(int i = 0; i < s.length; i++) { total += Integer.parseInt(s[i]); } if(total % 9 == 0) { 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, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 8, 2, 2, 13, 17, 17, 17, 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 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 20, 30 ], [ 30, 31 ], [ 31, 32 ], [ 20, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 49, 55 ], [ 49, 56 ], [ 6, 57 ], [ 57, 58 ], [ 0, 59 ], [ 59, 60 ], [ 59, 61 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n String N = sc.nextLine();\n \n int num = 0;\n \n for(int i = 0; i < N.length(); ++i) {\n num += Character.getNumericValue(N.charAt(i));\n }\n \n System.out.println(num % 9 == 0 ? \"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 \n String N = sc.nextLine();\n \n int num = 0;\n \n for(int i = 0; i < N.length(); ++i) {\n num += Character.getNumericValue(N.charAt(i));\n }\n \n System.out.println(num % 9 == 0 ? \"Yes\" : \"No\");\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n String N = sc.nextLine();\n \n int num = 0;\n \n for(int i = 0; i < N.length(); ++i) {\n num += Character.getNumericValue(N.charAt(i));\n }\n \n System.out.println(num % 9 == 0 ? \"Yes\" : \"No\");\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n \n String N = sc.nextLine();\n \n int num = 0;\n \n for(int i = 0; i < N.length(); ++i) {\n num += Character.getNumericValue(N.charAt(i));\n }\n \n System.out.println(num % 9 == 0 ? \"Yes\" : \"No\");\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String N = sc.nextLine();", "N", "sc.nextLine()", "sc.nextLine", "sc", "int num = 0;", "num", "0", "for(int i = 0; i < N.length(); ++i) {\n num += Character.getNumericValue(N.charAt(i));\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N.length()", "i", "N.length()", "N.length", "N", "++i", "++i", "i", "{\n num += Character.getNumericValue(N.charAt(i));\n }", "{\n num += Character.getNumericValue(N.charAt(i));\n }", "num += Character.getNumericValue(N.charAt(i))", "num", "Character.getNumericValue(N.charAt(i))", "Character.getNumericValue", "Character", "N.charAt(i)", "N.charAt", "N", "i", "System.out.println(num % 9 == 0 ? \"Yes\" : \"No\")", "System.out.println", "System.out", "System", "System.out", "num % 9 == 0 ? \"Yes\" : \"No\"", "num % 9 == 0", "num % 9", "num", "9", "0", "\"Yes\"", "\"No\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n String N = sc.nextLine();\n \n int num = 0;\n \n for(int i = 0; i < N.length(); ++i) {\n num += Character.getNumericValue(N.charAt(i));\n }\n \n System.out.println(num % 9 == 0 ? \"Yes\" : \"No\");\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n String N = sc.nextLine();\n \n int num = 0;\n \n for(int i = 0; i < N.length(); ++i) {\n num += Character.getNumericValue(N.charAt(i));\n }\n \n System.out.println(num % 9 == 0 ? \"Yes\" : \"No\");\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String N = sc.nextLine(); int num = 0; for(int i = 0; i < N.length(); ++i) { num += Character.getNumericValue(N.charAt(i)); } System.out.println(num % 9 == 0 ? "Yes" : "No"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 30, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 41, 13, 17, 41, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 13, 13, 17, 41, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 74, 5 ], [ 74, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 9, 13 ], [ 13, 14 ], [ 14, 15 ], [ 14, 16 ], [ 13, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 13, 24 ], [ 24, 25 ], [ 24, 26 ], [ 13, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 13, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 13, 52 ], [ 52, 53 ], [ 52, 54 ], [ 13, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 55, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 13, 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\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tchar[] nums = sc.next().toCharArray();\n\t\t\tint sum = 0;\n\n\t\t\tint length = nums.length;\n\t\t\tfor (int i = 0; i <length; i++) {\n\t\t\t\tsum += nums[i] - '0';\n\t\t\t}\n\n\t\t\tString ans = \"No\";\n\t\t\tif (sum % 9 == 0) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tchar[] nums = sc.next().toCharArray();\n\t\t\tint sum = 0;\n\n\t\t\tint length = nums.length;\n\t\t\tfor (int i = 0; i <length; i++) {\n\t\t\t\tsum += nums[i] - '0';\n\t\t\t}\n\n\t\t\tString ans = \"No\";\n\t\t\tif (sum % 9 == 0) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tchar[] nums = sc.next().toCharArray();\n\t\t\tint sum = 0;\n\n\t\t\tint length = nums.length;\n\t\t\tfor (int i = 0; i <length; i++) {\n\t\t\t\tsum += nums[i] - '0';\n\t\t\t}\n\n\t\t\tString ans = \"No\";\n\t\t\tif (sum % 9 == 0) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tchar[] nums = sc.next().toCharArray();\n\t\t\tint sum = 0;\n\n\t\t\tint length = nums.length;\n\t\t\tfor (int i = 0; i <length; i++) {\n\t\t\t\tsum += nums[i] - '0';\n\t\t\t}\n\n\t\t\tString ans = \"No\";\n\t\t\tif (sum % 9 == 0) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}", "try (Scanner sc = new Scanner(System.in)) {\n\t\t\tchar[] nums = sc.next().toCharArray();\n\t\t\tint sum = 0;\n\n\t\t\tint length = nums.length;\n\t\t\tfor (int i = 0; i <length; i++) {\n\t\t\t\tsum += nums[i] - '0';\n\t\t\t}\n\n\t\t\tString ans = \"No\";\n\t\t\tif (sum % 9 == 0) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}", "catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}", "Exception e", "{\n\t\t\t// TODO: handle exception\n\t\t}", "{\n\t\t\tchar[] nums = sc.next().toCharArray();\n\t\t\tint sum = 0;\n\n\t\t\tint length = nums.length;\n\t\t\tfor (int i = 0; i <length; i++) {\n\t\t\t\tsum += nums[i] - '0';\n\t\t\t}\n\n\t\t\tString ans = \"No\";\n\t\t\tif (sum % 9 == 0) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\n\t\t}", "Scanner sc = new Scanner(System.in)", "Scanner sc = new Scanner(System.in)", "new Scanner(System.in)", "char[] nums = sc.next().toCharArray();", "nums", "sc.next().toCharArray()", "sc.next().toCharArray", "sc.next()", "sc.next", "sc", "int sum = 0;", "sum", "0", "int length = nums.length;", "length", "nums.length", "nums", "nums.length", "for (int i = 0; i <length; i++) {\n\t\t\t\tsum += nums[i] - '0';\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i <length", "i", "length", "i++", "i++", "i", "{\n\t\t\t\tsum += nums[i] - '0';\n\t\t\t}", "{\n\t\t\t\tsum += nums[i] - '0';\n\t\t\t}", "sum += nums[i] - '0'", "sum", "nums[i] - '0'", "nums[i]", "nums", "i", "'0'", "String ans = \"No\";", "ans", "\"No\"", "if (sum % 9 == 0) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "{\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\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tchar[] nums = sc.next().toCharArray();\n\t\t\tint sum = 0;\n\n\t\t\tint length = nums.length;\n\t\t\tfor (int i = 0; i <length; i++) {\n\t\t\t\tsum += nums[i] - '0';\n\t\t\t}\n\n\t\t\tString ans = \"No\";\n\t\t\tif (sum % 9 == 0) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tchar[] nums = sc.next().toCharArray();\n\t\t\tint sum = 0;\n\n\t\t\tint length = nums.length;\n\t\t\tfor (int i = 0; i <length; i++) {\n\t\t\t\tsum += nums[i] - '0';\n\t\t\t}\n\n\t\t\tString ans = \"No\";\n\t\t\tif (sum % 9 == 0) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub try (Scanner sc = new Scanner(System.in)) { char[] nums = sc.next().toCharArray(); int sum = 0; int length = nums.length; for (int i = 0; i <length; i++) { sum += nums[i] - '0'; } String ans = "No"; if (sum % 9 == 0) { ans = "Yes"; } System.out.println(ans); } catch (Exception e) { // TODO: handle exception } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 2, 4, 18, 13, 13, 17, 14, 2, 2, 13, 17, 17, 30, 4, 18, 13, 17, 30, 4, 18, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 71, 8 ], [ 71, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 11, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 26, 36 ], [ 36, 37 ], [ 37, 38 ], [ 26, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 43, 48 ], [ 11, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 49, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 49, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 11, 65 ], [ 65, 66 ], [ 66, 67 ], [ 9, 68 ], [ 68, 69 ], [ 0, 70 ], [ 70, 71 ], [ 70, 72 ] ]
[ "// package Contest#176;\nimport java.util.*;\nimport java.io.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n\n String str = br.readLine();\n int sum = 0;\n for(int i=0; i<str.length(); i++){\n sum += str.charAt(i)-'0';\n }\n\n if(sum % 9 == 0){\n out.println(\"Yes\");\n }else{\n out.println(\"No\");\n }\n out.close();\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n public static void main(String[] args) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n\n String str = br.readLine();\n int sum = 0;\n for(int i=0; i<str.length(); i++){\n sum += str.charAt(i)-'0';\n }\n\n if(sum % 9 == 0){\n out.println(\"Yes\");\n }else{\n out.println(\"No\");\n }\n out.close();\n }\n}", "Main", "public static void main(String[] args) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n\n String str = br.readLine();\n int sum = 0;\n for(int i=0; i<str.length(); i++){\n sum += str.charAt(i)-'0';\n }\n\n if(sum % 9 == 0){\n out.println(\"Yes\");\n }else{\n out.println(\"No\");\n }\n out.close();\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n\n String str = br.readLine();\n int sum = 0;\n for(int i=0; i<str.length(); i++){\n sum += str.charAt(i)-'0';\n }\n\n if(sum % 9 == 0){\n out.println(\"Yes\");\n }else{\n out.println(\"No\");\n }\n out.close();\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "String str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "int sum = 0;", "sum", "0", "for(int i=0; i<str.length(); i++){\n sum += str.charAt(i)-'0';\n }", "int i=0;", "int i=0;", "i", "0", "i<str.length()", "i", "str.length()", "str.length", "str", "i++", "i++", "i", "{\n sum += str.charAt(i)-'0';\n }", "{\n sum += str.charAt(i)-'0';\n }", "sum += str.charAt(i)-'0'", "sum", "str.charAt(i)-'0'", "str.charAt(i)", "str.charAt", "str", "i", "'0'", "if(sum % 9 == 0){\n out.println(\"Yes\");\n }else{\n out.println(\"No\");\n }", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "{\n out.println(\"Yes\");\n }", "out.println(\"Yes\")", "out.println", "out", "\"Yes\"", "{\n out.println(\"No\");\n }", "out.println(\"No\")", "out.println", "out", "\"No\"", "out.close()", "out.close", "out", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n\n String str = br.readLine();\n int sum = 0;\n for(int i=0; i<str.length(); i++){\n sum += str.charAt(i)-'0';\n }\n\n if(sum % 9 == 0){\n out.println(\"Yes\");\n }else{\n out.println(\"No\");\n }\n out.close();\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n\n String str = br.readLine();\n int sum = 0;\n for(int i=0; i<str.length(); i++){\n sum += str.charAt(i)-'0';\n }\n\n if(sum % 9 == 0){\n out.println(\"Yes\");\n }else{\n out.println(\"No\");\n }\n out.close();\n }\n}", "Main" ]
// package Contest#176; import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); PrintWriter out = new PrintWriter(System.out); String str = br.readLine(); int sum = 0; for(int i=0; i<str.length(); i++){ sum += str.charAt(i)-'0'; } if(sum % 9 == 0){ out.println("Yes"); }else{ out.println("No"); } out.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 41, 13, 4, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 2, 4, 18, 13, 13, 17, 4, 18, 13, 8, 2, 2, 13, 17, 17, 17, 17, 12, 13, 30, 29, 4, 13, 4, 13, 12, 13, 30, 29, 4, 13, 4, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 4, 13, 17, 30, 0, 13, 20, 0, 13, 20, 4, 13, 4, 18, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 147, 26 ], [ 147, 27 ], [ 27, 28 ], [ 147, 29 ], [ 29, 30 ], [ 147, 31 ], [ 31, 32 ], [ 147, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 43, 53 ], [ 53, 54 ], [ 54, 55 ], [ 43, 56 ], [ 57, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 63, 68 ], [ 35, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 72, 78 ], [ 72, 79 ], [ 147, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 147, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 147, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 99, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 98, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 147, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 122, 126 ], [ 126, 127 ], [ 126, 128 ], [ 119, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 133, 134 ], [ 133, 135 ], [ 129, 136 ], [ 136, 137 ], [ 129, 138 ], [ 138, 139 ], [ 139, 140 ], [ 129, 141 ], [ 141, 142 ], [ 142, 143 ], [ 116, 144 ], [ 144, 145 ], [ 0, 146 ], [ 146, 147 ], [ 146, 148 ] ]
[ "import static java.lang.Integer.*;\nimport static java.lang.Long.*;\nimport static java.lang.System.*;\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n static void solve() throws Exception {\n String n = scanString();\n long nn = 0;\n for (int i = 0; i < n.length(); i++) {\n nn += Long.valueOf(n.charAt(i)-48);\n }\n out.print(nn % 9 == 0 ? \"Yes\" : \"No\");\n }\n\n static int scanInt() throws IOException {\n return parseInt(scanString());\n }\n\n static long scanLong() throws IOException {\n return parseLong(scanString());\n }\n\n static String scanString() throws IOException {\n while (tok == null || !tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine());\n }\n return tok.nextToken();\n }\n\n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n\n public static void main(String[] args) {\n try {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }\n catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }\n }\n}", "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.System.*;", "import static java.lang.System.*;", "import static java.lang.System.*;", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n\n static void solve() throws Exception {\n String n = scanString();\n long nn = 0;\n for (int i = 0; i < n.length(); i++) {\n nn += Long.valueOf(n.charAt(i)-48);\n }\n out.print(nn % 9 == 0 ? \"Yes\" : \"No\");\n }\n\n static int scanInt() throws IOException {\n return parseInt(scanString());\n }\n\n static long scanLong() throws IOException {\n return parseLong(scanString());\n }\n\n static String scanString() throws IOException {\n while (tok == null || !tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine());\n }\n return tok.nextToken();\n }\n\n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n\n public static void main(String[] args) {\n try {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }\n catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }\n }\n}", "Main", "static BufferedReader in;", "in", "static PrintWriter out;", "out", "static StringTokenizer tok;", "tok", "static void solve() throws Exception {\n String n = scanString();\n long nn = 0;\n for (int i = 0; i < n.length(); i++) {\n nn += Long.valueOf(n.charAt(i)-48);\n }\n out.print(nn % 9 == 0 ? \"Yes\" : \"No\");\n }", "solve", "{\n String n = scanString();\n long nn = 0;\n for (int i = 0; i < n.length(); i++) {\n nn += Long.valueOf(n.charAt(i)-48);\n }\n out.print(nn % 9 == 0 ? \"Yes\" : \"No\");\n }", "String n = scanString();", "n", "scanString()", "scanString", "long nn = 0;", "nn", "0", "for (int i = 0; i < n.length(); i++) {\n nn += Long.valueOf(n.charAt(i)-48);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n.length()", "i", "n.length()", "n.length", "n", "i++", "i++", "i", "{\n nn += Long.valueOf(n.charAt(i)-48);\n }", "{\n nn += Long.valueOf(n.charAt(i)-48);\n }", "nn += Long.valueOf(n.charAt(i)-48)", "nn", "Long.valueOf(n.charAt(i)-48)", "Long.valueOf", "Long", "n.charAt(i)-48", "n.charAt(i)", "n.charAt", "n", "i", "48", "out.print(nn % 9 == 0 ? \"Yes\" : \"No\")", "out.print", "out", "nn % 9 == 0 ? \"Yes\" : \"No\"", "nn % 9 == 0", "nn % 9", "nn", "9", "0", "\"Yes\"", "\"No\"", "static int scanInt() throws IOException {\n return parseInt(scanString());\n }", "scanInt", "{\n return parseInt(scanString());\n }", "return parseInt(scanString());", "parseInt(scanString())", "parseInt", "scanString()", "scanString", "static long scanLong() throws IOException {\n return parseLong(scanString());\n }", "scanLong", "{\n return parseLong(scanString());\n }", "return parseLong(scanString());", "parseLong(scanString())", "parseLong", "scanString()", "scanString", "static String scanString() throws IOException {\n while (tok == null || !tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine());\n }\n return tok.nextToken();\n }", "scanString", "{\n while (tok == null || !tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine());\n }\n return tok.nextToken();\n }", "while (tok == null || !tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine());\n }", "tok == null || !tok.hasMoreTokens()", "tok == null", "tok", "null", "!tok.hasMoreTokens()", "tok.hasMoreTokens()", "tok.hasMoreTokens", "tok", "{\n tok = new StringTokenizer(in.readLine());\n }", "tok = new StringTokenizer(in.readLine())", "tok", "new StringTokenizer(in.readLine())", "return tok.nextToken();", "tok.nextToken()", "tok.nextToken", "tok", "public static void main(String[] args) {\n try {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }\n catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }\n }", "main", "{\n try {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }\n catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }\n }", "try {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }\n catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }", "catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }", "Throwable e", "{\n e.printStackTrace();\n exit(1);\n }", "e.printStackTrace()", "e.printStackTrace", "e", "exit(1)", "exit", "1", "{\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }", "in = new BufferedReader(new InputStreamReader(System.in))", "in", "new BufferedReader(new InputStreamReader(System.in))", "out = new PrintWriter(System.out)", "out", "new PrintWriter(System.out)", "solve()", "solve", "in.close()", "in.close", "in", "out.close()", "out.close", "out", "String[] args", "args", "public class Main {\n\n static void solve() throws Exception {\n String n = scanString();\n long nn = 0;\n for (int i = 0; i < n.length(); i++) {\n nn += Long.valueOf(n.charAt(i)-48);\n }\n out.print(nn % 9 == 0 ? \"Yes\" : \"No\");\n }\n\n static int scanInt() throws IOException {\n return parseInt(scanString());\n }\n\n static long scanLong() throws IOException {\n return parseLong(scanString());\n }\n\n static String scanString() throws IOException {\n while (tok == null || !tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine());\n }\n return tok.nextToken();\n }\n\n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n\n public static void main(String[] args) {\n try {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }\n catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }\n }\n}", "public class Main {\n\n static void solve() throws Exception {\n String n = scanString();\n long nn = 0;\n for (int i = 0; i < n.length(); i++) {\n nn += Long.valueOf(n.charAt(i)-48);\n }\n out.print(nn % 9 == 0 ? \"Yes\" : \"No\");\n }\n\n static int scanInt() throws IOException {\n return parseInt(scanString());\n }\n\n static long scanLong() throws IOException {\n return parseLong(scanString());\n }\n\n static String scanString() throws IOException {\n while (tok == null || !tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine());\n }\n return tok.nextToken();\n }\n\n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n\n public static void main(String[] args) {\n try {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }\n catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }\n }\n}", "Main" ]
import static java.lang.Integer.*; import static java.lang.Long.*; import static java.lang.System.*; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.StringTokenizer; public class Main { static void solve() throws Exception { String n = scanString(); long nn = 0; for (int i = 0; i < n.length(); i++) { nn += Long.valueOf(n.charAt(i)-48); } out.print(nn % 9 == 0 ? "Yes" : "No"); } static int scanInt() throws IOException { return parseInt(scanString()); } static long scanLong() throws IOException { return parseLong(scanString()); } static String scanString() throws IOException { while (tok == null || !tok.hasMoreTokens()) { tok = new StringTokenizer(in.readLine()); } return tok.nextToken(); } static BufferedReader in; static PrintWriter out; static StringTokenizer tok; public static void main(String[] args) { try { in = new BufferedReader(new InputStreamReader(System.in)); out = new PrintWriter(System.out); solve(); in.close(); out.close(); } catch (Throwable e) { e.printStackTrace(); exit(1); } } }
[ 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, 17, 28, 13, 4, 18, 13, 30, 30, 0, 13, 2, 2, 2, 13, 13, 17, 17, 4, 18, 18, 13, 13, 8, 2, 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 ], [ 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 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 26, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 35, 41 ], [ 14, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 47, 52 ], [ 12, 53 ], [ 53, 54 ], [ 0, 55 ], [ 55, 56 ], [ 55, 57 ] ]
[ "\n\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\npublic final class Main {\n\n public static void main(String[] args) {\n final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n final String line = in.nextLine();\n int digitsSum = 0;\n for (char c : line.toCharArray()) {\n digitsSum = (digitsSum + c - '0') % 9;\n }\n System.out.println(digitsSum == 0 ? \"Yes\" : \"No\");\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public final class Main {\n\n public static void main(String[] args) {\n final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n final String line = in.nextLine();\n int digitsSum = 0;\n for (char c : line.toCharArray()) {\n digitsSum = (digitsSum + c - '0') % 9;\n }\n System.out.println(digitsSum == 0 ? \"Yes\" : \"No\");\n }\n}", "Main", "public static void main(String[] args) {\n final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n final String line = in.nextLine();\n int digitsSum = 0;\n for (char c : line.toCharArray()) {\n digitsSum = (digitsSum + c - '0') % 9;\n }\n System.out.println(digitsSum == 0 ? \"Yes\" : \"No\");\n }", "main", "{\n final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n final String line = in.nextLine();\n int digitsSum = 0;\n for (char c : line.toCharArray()) {\n digitsSum = (digitsSum + c - '0') % 9;\n }\n System.out.println(digitsSum == 0 ? \"Yes\" : \"No\");\n }", "final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));", "in", "new Scanner(new BufferedReader(new InputStreamReader(System.in)))", "final String line = in.nextLine();", "line", "in.nextLine()", "in.nextLine", "in", "int digitsSum = 0;", "digitsSum", "0", "for (char c : line.toCharArray()) {\n digitsSum = (digitsSum + c - '0') % 9;\n }", "char c", "line.toCharArray()", "line.toCharArray", "line", "{\n digitsSum = (digitsSum + c - '0') % 9;\n }", "{\n digitsSum = (digitsSum + c - '0') % 9;\n }", "digitsSum = (digitsSum + c - '0') % 9", "digitsSum", "(digitsSum + c - '0') % 9", "(digitsSum + c - '0')", "digitsSum + c", "digitsSum", "c", "'0'", "9", "System.out.println(digitsSum == 0 ? \"Yes\" : \"No\")", "System.out.println", "System.out", "System", "System.out", "digitsSum == 0 ? \"Yes\" : \"No\"", "digitsSum == 0", "digitsSum", "0", "\"Yes\"", "\"No\"", "String[] args", "args", "public final class Main {\n\n public static void main(String[] args) {\n final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n final String line = in.nextLine();\n int digitsSum = 0;\n for (char c : line.toCharArray()) {\n digitsSum = (digitsSum + c - '0') % 9;\n }\n System.out.println(digitsSum == 0 ? \"Yes\" : \"No\");\n }\n}", "public final class Main {\n\n public static void main(String[] args) {\n final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n final String line = in.nextLine();\n int digitsSum = 0;\n for (char c : line.toCharArray()) {\n digitsSum = (digitsSum + c - '0') % 9;\n }\n System.out.println(digitsSum == 0 ? \"Yes\" : \"No\");\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; public final class Main { public static void main(String[] args) { final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in))); final String line = in.nextLine(); int digitsSum = 0; for (char c : line.toCharArray()) { digitsSum = (digitsSum + c - '0') % 9; } System.out.println(digitsSum == 0 ? "Yes" : "No"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 0, 13, 4, 18, 13, 13, 14, 2, 2, 13, 17, 17, 30, 0, 13, 17, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 83, 5 ], [ 83, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 20, 30 ], [ 30, 31 ], [ 31, 32 ], [ 20, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 34, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 34, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 50, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 8, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 60, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 60, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 6, 80 ], [ 80, 81 ], [ 0, 82 ], [ 82, 83 ], [ 82, 84 ] ]
[ "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 n = sc.nextLine();\n int sum = 0;\n \n for (int i = 0; i < n.length(); i++) {\n String ni = String.valueOf(n.charAt(i));\n sum += Integer.parseInt(ni);\n if (sum % 9 == 0) {\n sum = 0;\n }\n }\n if (sum % 9 == 0) {\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) throws Exception {\n Scanner sc = new Scanner(System.in);\n String n = sc.nextLine();\n int sum = 0;\n \n for (int i = 0; i < n.length(); i++) {\n String ni = String.valueOf(n.charAt(i));\n sum += Integer.parseInt(ni);\n if (sum % 9 == 0) {\n sum = 0;\n }\n }\n if (sum % 9 == 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String n = sc.nextLine();\n int sum = 0;\n \n for (int i = 0; i < n.length(); i++) {\n String ni = String.valueOf(n.charAt(i));\n sum += Integer.parseInt(ni);\n if (sum % 9 == 0) {\n sum = 0;\n }\n }\n if (sum % 9 == 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String n = sc.nextLine();\n int sum = 0;\n \n for (int i = 0; i < n.length(); i++) {\n String ni = String.valueOf(n.charAt(i));\n sum += Integer.parseInt(ni);\n if (sum % 9 == 0) {\n sum = 0;\n }\n }\n if (sum % 9 == 0) {\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 n = sc.nextLine();", "n", "sc.nextLine()", "sc.nextLine", "sc", "int sum = 0;", "sum", "0", "for (int i = 0; i < n.length(); i++) {\n String ni = String.valueOf(n.charAt(i));\n sum += Integer.parseInt(ni);\n if (sum % 9 == 0) {\n sum = 0;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n.length()", "i", "n.length()", "n.length", "n", "i++", "i++", "i", "{\n String ni = String.valueOf(n.charAt(i));\n sum += Integer.parseInt(ni);\n if (sum % 9 == 0) {\n sum = 0;\n }\n }", "{\n String ni = String.valueOf(n.charAt(i));\n sum += Integer.parseInt(ni);\n if (sum % 9 == 0) {\n sum = 0;\n }\n }", "String ni = String.valueOf(n.charAt(i));", "ni", "String.valueOf(n.charAt(i))", "String.valueOf", "String", "n.charAt(i)", "n.charAt", "n", "i", "sum += Integer.parseInt(ni)", "sum", "Integer.parseInt(ni)", "Integer.parseInt", "Integer", "ni", "if (sum % 9 == 0) {\n sum = 0;\n }", "sum % 9 == 0", "sum % 9", "sum", "9", "0", "{\n sum = 0;\n }", "sum = 0", "sum", "0", "if (sum % 9 == 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }", "sum % 9 == 0", "sum % 9", "sum", "9", "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 public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String n = sc.nextLine();\n int sum = 0;\n \n for (int i = 0; i < n.length(); i++) {\n String ni = String.valueOf(n.charAt(i));\n sum += Integer.parseInt(ni);\n if (sum % 9 == 0) {\n sum = 0;\n }\n }\n if (sum % 9 == 0) {\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 Exception {\n Scanner sc = new Scanner(System.in);\n String n = sc.nextLine();\n int sum = 0;\n \n for (int i = 0; i < n.length(); i++) {\n String ni = String.valueOf(n.charAt(i));\n sum += Integer.parseInt(ni);\n if (sum % 9 == 0) {\n sum = 0;\n }\n }\n if (sum % 9 == 0) {\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) throws Exception { Scanner sc = new Scanner(System.in); String n = sc.nextLine(); int sum = 0; for (int i = 0; i < n.length(); i++) { String ni = String.valueOf(n.charAt(i)); sum += Integer.parseInt(ni); if (sum % 9 == 0) { sum = 0; } } if (sum % 9 == 0) { System.out.println("Yes"); } else { System.out.println("No"); } } }