node_ids
listlengths 4
1.4k
| edge_index
listlengths 1
2.22k
| text
listlengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
41,
13,
4,
13,
41,
13,
4,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
30,
29,
4,
18,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
17,
23,
13,
12,
13,
30,
29,
4,
18,
13,
23,
13,
12,
13,
30,
29,
2,
13,
17,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
18,
13,
13,
29,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
283,
5
],
[
283,
6
],
[
6,
7
],
[
6,
8
],
[
283,
9
],
[
9,
10
],
[
9,
11
],
[
283,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
14,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
23,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
12,
41
],
[
41,
42
],
[
283,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
43,
50
],
[
50,
51
],
[
283,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
52,
59
],
[
59,
60
],
[
283,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
283,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
76,
77
],
[
283,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
86,
87
],
[
283,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
95,
96
],
[
96,
97
],
[
283,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
98,
106
],
[
106,
107
],
[
283,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
108,
115
],
[
115,
116
],
[
283,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
117,
124
],
[
124,
125
],
[
283,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
131,
133
],
[
128,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
136,
138
],
[
128,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
139,
144
],
[
144,
145
],
[
144,
146
],
[
139,
147
],
[
147,
148
],
[
148,
149
],
[
139,
150
],
[
151,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
154,
157
],
[
154,
158
],
[
158,
159
],
[
158,
160
],
[
128,
161
],
[
161,
162
],
[
126,
163
],
[
163,
164
],
[
283,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
170,
172
],
[
167,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
175,
177
],
[
167,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
178,
183
],
[
183,
184
],
[
183,
185
],
[
178,
186
],
[
186,
187
],
[
187,
188
],
[
178,
189
],
[
190,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
194,
195
],
[
193,
196
],
[
193,
197
],
[
197,
198
],
[
197,
199
],
[
167,
200
],
[
200,
201
],
[
165,
202
],
[
202,
203
],
[
283,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
209,
211
],
[
206,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
214,
216
],
[
206,
217
],
[
217,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
217,
222
],
[
222,
223
],
[
222,
224
],
[
217,
225
],
[
225,
226
],
[
226,
227
],
[
217,
228
],
[
229,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
233,
234
],
[
232,
235
],
[
232,
236
],
[
236,
237
],
[
236,
238
],
[
206,
239
],
[
239,
240
],
[
204,
241
],
[
241,
242
],
[
283,
243
],
[
243,
244
],
[
243,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
248,
250
],
[
245,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
253,
255
],
[
245,
256
],
[
256,
257
],
[
257,
258
],
[
258,
259
],
[
258,
260
],
[
256,
261
],
[
261,
262
],
[
261,
263
],
[
256,
264
],
[
264,
265
],
[
265,
266
],
[
256,
267
],
[
268,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
271,
272
],
[
272,
273
],
[
271,
274
],
[
271,
275
],
[
275,
276
],
[
275,
277
],
[
245,
278
],
[
278,
279
],
[
243,
280
],
[
280,
281
],
[
0,
282
],
[
282,
283
],
[
282,
284
]
] |
[
"import java.util.*;\n\n//update 2020/1/1 23:01\n\npublic class Main{\n\n static Scanner sc = new Scanner(System.in);\n static StringBuilder sb = new StringBuilder();\n\n public static void main(String[] args) {\n\n int S = nextInt();\n int W = nextInt();\n\n if(W>=S){\n System.out.println(\"unsafe\");\n }\n else{\n System.out.println(\"safe\");\n }\n //\n\n }\n /*\n static String toSmall(String s){\n char c = s.charAt(0);\n //if(Character.isUpperCase(c)){\n if(c<=90){\n c += 32;\n }\n return String.valueOf(c);\n }\n static String toBig(String s){\n char c = s.charAt(0);\n //if(Character.isLowerCase(c)){\n if(c>=97){\n c -= 32;\n }\n return String.valueOf(c);\n }\n */\n\n static String toSmall(String s){\n return s.toLowerCase();\n }\n\n static String toBig(String s){\n return s.toUpperCase();\n }\n\n static String next(){\n return sc.next();\n }\n\n static int nextInt(){\n return Integer.parseInt(sc.next());\n }\n\n static long nextLong(){\n return Long.parseLong(sc.next());\n }\n\n static double nextDouble(){\n return Double.parseDouble(sc.next());\n }\n\n static String[] splitString(String s){\n return s.split(\"\");\n }\n\n static char[] splitChar(String s){\n return s.toCharArray();\n }\n\n static int charToInt(char a){\n return a - 48;\n }\n\n////////////////////////////////////////////\n public static int max(int[] a){\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n public static long max(long[] a){\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n////////////////////////////////////////////\n\n////////////////////////////////////////////\n public static int min(int[] a){\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n public static long min(long[] a){\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n////////////////////////////////////////////\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\n static Scanner sc = new Scanner(System.in);\n static StringBuilder sb = new StringBuilder();\n\n public static void main(String[] args) {\n\n int S = nextInt();\n int W = nextInt();\n\n if(W>=S){\n System.out.println(\"unsafe\");\n }\n else{\n System.out.println(\"safe\");\n }\n //\n\n }\n /*\n static String toSmall(String s){\n char c = s.charAt(0);\n //if(Character.isUpperCase(c)){\n if(c<=90){\n c += 32;\n }\n return String.valueOf(c);\n }\n static String toBig(String s){\n char c = s.charAt(0);\n //if(Character.isLowerCase(c)){\n if(c>=97){\n c -= 32;\n }\n return String.valueOf(c);\n }\n */\n\n static String toSmall(String s){\n return s.toLowerCase();\n }\n\n static String toBig(String s){\n return s.toUpperCase();\n }\n\n static String next(){\n return sc.next();\n }\n\n static int nextInt(){\n return Integer.parseInt(sc.next());\n }\n\n static long nextLong(){\n return Long.parseLong(sc.next());\n }\n\n static double nextDouble(){\n return Double.parseDouble(sc.next());\n }\n\n static String[] splitString(String s){\n return s.split(\"\");\n }\n\n static char[] splitChar(String s){\n return s.toCharArray();\n }\n\n static int charToInt(char a){\n return a - 48;\n }\n\n////////////////////////////////////////////\n public static int max(int[] a){\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n public static long max(long[] a){\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n////////////////////////////////////////////\n\n////////////////////////////////////////////\n public static int min(int[] a){\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n public static long min(long[] a){\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n////////////////////////////////////////////\n\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"static StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"public static void main(String[] args) {\n\n int S = nextInt();\n int W = nextInt();\n\n if(W>=S){\n System.out.println(\"unsafe\");\n }\n else{\n System.out.println(\"safe\");\n }\n //\n\n }",
"main",
"{\n\n int S = nextInt();\n int W = nextInt();\n\n if(W>=S){\n System.out.println(\"unsafe\");\n }\n else{\n System.out.println(\"safe\");\n }\n //\n\n }",
"int S = nextInt();",
"S",
"nextInt()",
"nextInt",
"int W = nextInt();",
"W",
"nextInt()",
"nextInt",
"if(W>=S){\n System.out.println(\"unsafe\");\n }\n else{\n System.out.println(\"safe\");\n }",
"W>=S",
"W",
"S",
"{\n System.out.println(\"unsafe\");\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n System.out.println(\"safe\");\n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"static String toSmall(String s){\n return s.toLowerCase();\n }",
"toSmall",
"{\n return s.toLowerCase();\n }",
"return s.toLowerCase();",
"s.toLowerCase()",
"s.toLowerCase",
"s",
"String s",
"s",
"static String toBig(String s){\n return s.toUpperCase();\n }",
"toBig",
"{\n return s.toUpperCase();\n }",
"return s.toUpperCase();",
"s.toUpperCase()",
"s.toUpperCase",
"s",
"String s",
"s",
"static String next(){\n return sc.next();\n }",
"next",
"{\n return sc.next();\n }",
"return sc.next();",
"sc.next()",
"sc.next",
"sc",
"static int nextInt(){\n return Integer.parseInt(sc.next());\n }",
"nextInt",
"{\n return Integer.parseInt(sc.next());\n }",
"return Integer.parseInt(sc.next());",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"static long nextLong(){\n return Long.parseLong(sc.next());\n }",
"nextLong",
"{\n return Long.parseLong(sc.next());\n }",
"return Long.parseLong(sc.next());",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"static double nextDouble(){\n return Double.parseDouble(sc.next());\n }",
"nextDouble",
"{\n return Double.parseDouble(sc.next());\n }",
"return Double.parseDouble(sc.next());",
"Double.parseDouble(sc.next())",
"Double.parseDouble",
"Double",
"sc.next()",
"sc.next",
"sc",
"static String[] splitString(String s){\n return s.split(\"\");\n }",
"splitString",
"{\n return s.split(\"\");\n }",
"return s.split(\"\");",
"s.split(\"\")",
"s.split",
"s",
"\"\"",
"String s",
"s",
"static char[] splitChar(String s){\n return s.toCharArray();\n }",
"splitChar",
"{\n return s.toCharArray();\n }",
"return s.toCharArray();",
"s.toCharArray()",
"s.toCharArray",
"s",
"String s",
"s",
"static int charToInt(char a){\n return a - 48;\n }",
"charToInt",
"{\n return a - 48;\n }",
"return a - 48;",
"a - 48",
"a",
"48",
"char a",
"a",
"////////////////////////////////////////////\n public static int max(int[] a){\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }",
"max",
"{\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }",
"int lng = a.length;",
"lng",
"a.length",
"a",
"a.length",
"int max = a[0];",
"max",
"a[0]",
"a",
"0",
"for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<lng",
"i",
"lng",
"i++",
"i++",
"i",
"{\n max = Math.max(max,a[i]);\n }",
"{\n max = Math.max(max,a[i]);\n }",
"max = Math.max(max,a[i])",
"max",
"Math.max(max,a[i])",
"Math.max",
"Math",
"max",
"a[i]",
"a",
"i",
"return max;",
"max",
"int[] a",
"a",
"public static long max(long[] a){\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }",
"max",
"{\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }",
"int lng = a.length;",
"lng",
"a.length",
"a",
"a.length",
"long max = a[0];",
"max",
"a[0]",
"a",
"0",
"for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<lng",
"i",
"lng",
"i++",
"i++",
"i",
"{\n max = Math.max(max,a[i]);\n }",
"{\n max = Math.max(max,a[i]);\n }",
"max = Math.max(max,a[i])",
"max",
"Math.max(max,a[i])",
"Math.max",
"Math",
"max",
"a[i]",
"a",
"i",
"return max;",
"max",
"long[] a",
"a",
"////////////////////////////////////////////\n public static int min(int[] a){\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }",
"min",
"{\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }",
"int lng = a.length;",
"lng",
"a.length",
"a",
"a.length",
"int min = a[0];",
"min",
"a[0]",
"a",
"0",
"for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<lng",
"i",
"lng",
"i++",
"i++",
"i",
"{\n min = Math.min(min,a[i]);\n }",
"{\n min = Math.min(min,a[i]);\n }",
"min = Math.min(min,a[i])",
"min",
"Math.min(min,a[i])",
"Math.min",
"Math",
"min",
"a[i]",
"a",
"i",
"return min;",
"min",
"int[] a",
"a",
"public static long min(long[] a){\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }",
"min",
"{\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }",
"int lng = a.length;",
"lng",
"a.length",
"a",
"a.length",
"long min = a[0];",
"min",
"a[0]",
"a",
"0",
"for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<lng",
"i",
"lng",
"i++",
"i++",
"i",
"{\n min = Math.min(min,a[i]);\n }",
"{\n min = Math.min(min,a[i]);\n }",
"min = Math.min(min,a[i])",
"min",
"Math.min(min,a[i])",
"Math.min",
"Math",
"min",
"a[i]",
"a",
"i",
"return min;",
"min",
"long[] a",
"a",
"public class Main{\n\n static Scanner sc = new Scanner(System.in);\n static StringBuilder sb = new StringBuilder();\n\n public static void main(String[] args) {\n\n int S = nextInt();\n int W = nextInt();\n\n if(W>=S){\n System.out.println(\"unsafe\");\n }\n else{\n System.out.println(\"safe\");\n }\n //\n\n }\n /*\n static String toSmall(String s){\n char c = s.charAt(0);\n //if(Character.isUpperCase(c)){\n if(c<=90){\n c += 32;\n }\n return String.valueOf(c);\n }\n static String toBig(String s){\n char c = s.charAt(0);\n //if(Character.isLowerCase(c)){\n if(c>=97){\n c -= 32;\n }\n return String.valueOf(c);\n }\n */\n\n static String toSmall(String s){\n return s.toLowerCase();\n }\n\n static String toBig(String s){\n return s.toUpperCase();\n }\n\n static String next(){\n return sc.next();\n }\n\n static int nextInt(){\n return Integer.parseInt(sc.next());\n }\n\n static long nextLong(){\n return Long.parseLong(sc.next());\n }\n\n static double nextDouble(){\n return Double.parseDouble(sc.next());\n }\n\n static String[] splitString(String s){\n return s.split(\"\");\n }\n\n static char[] splitChar(String s){\n return s.toCharArray();\n }\n\n static int charToInt(char a){\n return a - 48;\n }\n\n////////////////////////////////////////////\n public static int max(int[] a){\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n public static long max(long[] a){\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n////////////////////////////////////////////\n\n////////////////////////////////////////////\n public static int min(int[] a){\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n public static long min(long[] a){\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n////////////////////////////////////////////\n\n}",
"public class Main{\n\n static Scanner sc = new Scanner(System.in);\n static StringBuilder sb = new StringBuilder();\n\n public static void main(String[] args) {\n\n int S = nextInt();\n int W = nextInt();\n\n if(W>=S){\n System.out.println(\"unsafe\");\n }\n else{\n System.out.println(\"safe\");\n }\n //\n\n }\n /*\n static String toSmall(String s){\n char c = s.charAt(0);\n //if(Character.isUpperCase(c)){\n if(c<=90){\n c += 32;\n }\n return String.valueOf(c);\n }\n static String toBig(String s){\n char c = s.charAt(0);\n //if(Character.isLowerCase(c)){\n if(c>=97){\n c -= 32;\n }\n return String.valueOf(c);\n }\n */\n\n static String toSmall(String s){\n return s.toLowerCase();\n }\n\n static String toBig(String s){\n return s.toUpperCase();\n }\n\n static String next(){\n return sc.next();\n }\n\n static int nextInt(){\n return Integer.parseInt(sc.next());\n }\n\n static long nextLong(){\n return Long.parseLong(sc.next());\n }\n\n static double nextDouble(){\n return Double.parseDouble(sc.next());\n }\n\n static String[] splitString(String s){\n return s.split(\"\");\n }\n\n static char[] splitChar(String s){\n return s.toCharArray();\n }\n\n static int charToInt(char a){\n return a - 48;\n }\n\n////////////////////////////////////////////\n public static int max(int[] a){\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n public static long max(long[] a){\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n////////////////////////////////////////////\n\n////////////////////////////////////////////\n public static int min(int[] a){\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n public static long min(long[] a){\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n////////////////////////////////////////////\n\n}",
"Main"
] |
import java.util.*;
//update 2020/1/1 23:01
public class Main{
static Scanner sc = new Scanner(System.in);
static StringBuilder sb = new StringBuilder();
public static void main(String[] args) {
int S = nextInt();
int W = nextInt();
if(W>=S){
System.out.println("unsafe");
}
else{
System.out.println("safe");
}
//
}
/*
static String toSmall(String s){
char c = s.charAt(0);
//if(Character.isUpperCase(c)){
if(c<=90){
c += 32;
}
return String.valueOf(c);
}
static String toBig(String s){
char c = s.charAt(0);
//if(Character.isLowerCase(c)){
if(c>=97){
c -= 32;
}
return String.valueOf(c);
}
*/
static String toSmall(String s){
return s.toLowerCase();
}
static String toBig(String s){
return s.toUpperCase();
}
static String next(){
return sc.next();
}
static int nextInt(){
return Integer.parseInt(sc.next());
}
static long nextLong(){
return Long.parseLong(sc.next());
}
static double nextDouble(){
return Double.parseDouble(sc.next());
}
static String[] splitString(String s){
return s.split("");
}
static char[] splitChar(String s){
return s.toCharArray();
}
static int charToInt(char a){
return a - 48;
}
////////////////////////////////////////////
public static int max(int[] a){
int lng = a.length;
int max = a[0];
for(int i=1;i<lng;i++){
max = Math.max(max,a[i]);
}
return max;
}
public static long max(long[] a){
int lng = a.length;
long max = a[0];
for(int i=1;i<lng;i++){
max = Math.max(max,a[i]);
}
return max;
}
////////////////////////////////////////////
////////////////////////////////////////////
public static int min(int[] a){
int lng = a.length;
int min = a[0];
for(int i=1;i<lng;i++){
min = Math.min(min,a[i]);
}
return min;
}
public static long min(long[] a){
int lng = a.length;
long min = a[0];
for(int i=1;i<lng;i++){
min = Math.min(min,a[i]);
}
return min;
}
////////////////////////////////////////////
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
13,
13,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
63,
8
],
[
63,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
11,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
11,
54
],
[
54,
55
],
[
55,
56
],
[
11,
57
],
[
57,
58
],
[
58,
59
],
[
9,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] |
[
"import java.util.*;\nimport java.io.*;\npublic class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n String str[]=br.readLine().split(\" \");\n int s=Integer.parseInt(str[0]);\n int w=Integer.parseInt(str[1]);\n if(s<=w)\n pw.println(\"unsafe\");\n else\n pw.println(\"safe\");\n pw.flush();\n pw.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n String str[]=br.readLine().split(\" \");\n int s=Integer.parseInt(str[0]);\n int w=Integer.parseInt(str[1]);\n if(s<=w)\n pw.println(\"unsafe\");\n else\n pw.println(\"safe\");\n pw.flush();\n pw.close();\n }\n}",
"Main",
"public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n String str[]=br.readLine().split(\" \");\n int s=Integer.parseInt(str[0]);\n int w=Integer.parseInt(str[1]);\n if(s<=w)\n pw.println(\"unsafe\");\n else\n pw.println(\"safe\");\n pw.flush();\n pw.close();\n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n String str[]=br.readLine().split(\" \");\n int s=Integer.parseInt(str[0]);\n int w=Integer.parseInt(str[1]);\n if(s<=w)\n pw.println(\"unsafe\");\n else\n pw.println(\"safe\");\n pw.flush();\n pw.close();\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"PrintWriter pw=new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"String str[]=br.readLine().split(\" \");",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int s=Integer.parseInt(str[0]);",
"s",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"int w=Integer.parseInt(str[1]);",
"w",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"if(s<=w)\n pw.println(\"unsafe\");\n else\n pw.println(\"safe\");",
"s<=w",
"s",
"w",
"pw.println(\"unsafe\")",
"pw.println",
"pw",
"\"unsafe\"",
"pw.println(\"safe\")",
"pw.println",
"pw",
"\"safe\"",
"pw.flush()",
"pw.flush",
"pw",
"pw.close()",
"pw.close",
"pw",
"String args[]",
"args",
"public class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n String str[]=br.readLine().split(\" \");\n int s=Integer.parseInt(str[0]);\n int w=Integer.parseInt(str[1]);\n if(s<=w)\n pw.println(\"unsafe\");\n else\n pw.println(\"safe\");\n pw.flush();\n pw.close();\n }\n}",
"public class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n String str[]=br.readLine().split(\" \");\n int s=Integer.parseInt(str[0]);\n int w=Integer.parseInt(str[1]);\n if(s<=w)\n pw.println(\"unsafe\");\n else\n pw.println(\"safe\");\n pw.flush();\n pw.close();\n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main
{
public static void main(String args[])throws Exception
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
PrintWriter pw=new PrintWriter(System.out);
String str[]=br.readLine().split(" ");
int s=Integer.parseInt(str[0]);
int w=Integer.parseInt(str[1]);
if(s<=w)
pw.println("unsafe");
else
pw.println("safe");
pw.flush();
pw.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
23,
13,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
30,
29,
18,
13,
40,
13,
30,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
40,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
37,
20,
29,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
38,
5,
13,
30,
30,
4,
18,
13,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
10,
15
],
[
15,
16
],
[
15,
17
],
[
10,
18
],
[
18,
19
],
[
18,
20
],
[
10,
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
],
[
23,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
37,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
23,
55
],
[
55,
56
],
[
56,
57
],
[
21,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
60,
67
],
[
67,
68
],
[
67,
69
],
[
60,
71
],
[
71,
72
],
[
71,
73
],
[
60,
74
],
[
74,
75
],
[
74,
76
],
[
60,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
85,
86
],
[
80,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
91,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
87,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
109,
110
],
[
110,
111
],
[
79,
112
],
[
112,
113
],
[
60,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
117,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
60,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
134,
138
],
[
138,
139
],
[
138,
140
],
[
130,
141
],
[
141,
142
],
[
60,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
147,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
153,
155
],
[
146,
156
],
[
156,
157
],
[
145,
158
],
[
158,
159
],
[
159,
160
],
[
60,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
164,
168
],
[
168,
169
],
[
163,
170
],
[
170,
171
],
[
170,
172
],
[
163,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
163,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
177,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
182,
185
],
[
181,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
163,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
60,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
197,
201
],
[
201,
202
],
[
196,
203
],
[
203,
204
],
[
203,
205
],
[
196,
206
],
[
206,
207
],
[
206,
208
],
[
196,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
196,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
213,
217
],
[
217,
218
],
[
218,
219
],
[
218,
220
],
[
217,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
196,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
226,
230
],
[
230,
231
],
[
230,
232
],
[
225,
233
],
[
233,
234
],
[
234,
235
],
[
196,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
240,
244
],
[
244,
245
],
[
244,
246
],
[
239,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
247,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
253,
255
],
[
239,
256
],
[
256,
257
],
[
257,
258
],
[
258,
259
],
[
258,
260
],
[
260,
261
],
[
257,
262
],
[
262,
263
],
[
263,
264
],
[
263,
265
],
[
256,
266
],
[
266,
267
],
[
267,
268
],
[
268,
269
],
[
268,
270
],
[
270,
271
],
[
268,
272
],
[
256,
273
],
[
273,
274
],
[
274,
275
],
[
238,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
60,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
282,
287
],
[
287,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
291,
293
],
[
288,
294
],
[
294,
295
],
[
294,
296
],
[
296,
297
],
[
296,
298
],
[
287,
299
],
[
299,
300
],
[
282,
301
],
[
301,
302
],
[
60,
303
],
[
303,
304
],
[
303,
305
],
[
305,
306
],
[
306,
307
],
[
307,
308
],
[
308,
309
],
[
307,
310
],
[
310,
311
],
[
60,
312
],
[
312,
313
],
[
312,
314
],
[
314,
315
],
[
315,
316
],
[
316,
317
],
[
316,
318
],
[
315,
319
],
[
319,
320
],
[
320,
321
],
[
321,
322
],
[
60,
323
]
] |
[
"import java.io.*;\nimport java.util.*;\nimport java.util.stream.*;\n\nclass Main{\n\tstatic final long MOD = 1_000_000_007; // 10^9+7\n static final int MAX = 2_147_483_646; // intMax \n static final int INF = 1_000_000_000; // 10^9 \n public static void main(String[] args) throws Exception {\n\t\thayami saori = new hayami();\n\t\tint a = saori.saori_hayami();\n\t\tint w = saori.saori_hayami();\n\t\tif(a > w){\n\t\t\tSystem.out.println(\"safe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t\tsaori.close();\n }\n}\n\nclass hayami implements Closeable {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] hayami = new byte[1024];\n\tprivate int Hayami = 0;\n\tprivate int saori = 0;\n\tprivate boolean HayamiSaori() {\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\tprivate int SaoriHayami() { \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}\n\tprivate static boolean hayami_saori(int hayami) { \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}\n\tpublic boolean hayamisaori() { \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}\n\tpublic String nextHayami() {\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}\n\tpublic long saorihayami() {//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}\n\tpublic int saori_hayami() {//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}\n\tpublic double Hayamin() { //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}\n\tpublic void close() {\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }\n \n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.util.stream.*;",
"stream.*",
"java.util",
"class Main{\n\tstatic final long MOD = 1_000_000_007; // 10^9+7\n static final int MAX = 2_147_483_646; // intMax \n static final int INF = 1_000_000_000; // 10^9 \n public static void main(String[] args) throws Exception {\n\t\thayami saori = new hayami();\n\t\tint a = saori.saori_hayami();\n\t\tint w = saori.saori_hayami();\n\t\tif(a > w){\n\t\t\tSystem.out.println(\"safe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t\tsaori.close();\n }\n}",
"Main",
"static final long MOD = 1_000_000_007; // 10^9+7",
"MOD",
"1_000_000_007",
"static final int MAX = 2_147_483_646; // intMax ",
"MAX",
"2_147_483_646",
"static final int INF = 1_000_000_000; // 10^9 ",
"INF",
"1_000_000_000",
"public static void main(String[] args) throws Exception {\n\t\thayami saori = new hayami();\n\t\tint a = saori.saori_hayami();\n\t\tint w = saori.saori_hayami();\n\t\tif(a > w){\n\t\t\tSystem.out.println(\"safe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t\tsaori.close();\n }",
"main",
"{\n\t\thayami saori = new hayami();\n\t\tint a = saori.saori_hayami();\n\t\tint w = saori.saori_hayami();\n\t\tif(a > w){\n\t\t\tSystem.out.println(\"safe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t\tsaori.close();\n }",
"hayami saori = new hayami();",
"saori",
"new hayami()",
"int a = saori.saori_hayami();",
"a",
"saori.saori_hayami()",
"saori.saori_hayami",
"saori",
"int w = saori.saori_hayami();",
"w",
"saori.saori_hayami()",
"saori.saori_hayami",
"saori",
"if(a > w){\n\t\t\tSystem.out.println(\"safe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}",
"a > w",
"a",
"w",
"{\n\t\t\tSystem.out.println(\"safe\");\n\t\t}",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"{\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"saori.close()",
"saori.close",
"saori",
"String[] args",
"args",
"class hayami implements Closeable {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] hayami = new byte[1024];\n\tprivate int Hayami = 0;\n\tprivate int saori = 0;\n\tprivate boolean HayamiSaori() {\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\tprivate int SaoriHayami() { \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}\n\tprivate static boolean hayami_saori(int hayami) { \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}\n\tpublic boolean hayamisaori() { \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}\n\tpublic String nextHayami() {\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}\n\tpublic long saorihayami() {//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}\n\tpublic int saori_hayami() {//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}\n\tpublic double Hayamin() { //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}\n\tpublic void close() {\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }\n \n}",
"hayami",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] hayami = new byte[1024];",
"hayami",
"new byte[1024]",
"1024",
"private int Hayami = 0;",
"Hayami",
"0",
"private int saori = 0;",
"saori",
"0",
"private boolean HayamiSaori() {\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"HayamiSaori",
"{\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"if (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}",
"Hayami < saori",
"Hayami",
"saori",
"{\n\t\t\treturn true;\n\t\t}",
"return true;",
"true",
"{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}",
"Hayami = 0",
"Hayami",
"0",
"try {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"IOException e",
"{\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t}",
"saori = in.read(hayami)",
"saori",
"in.read(hayami)",
"in.read",
"in",
"hayami",
"if (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}",
"saori <= 0",
"saori",
"0",
"{\n\t\t\t\treturn false;\n\t\t\t}",
"return false;",
"false",
"return true;",
"true",
"private int SaoriHayami() { \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}",
"SaoriHayami",
"{ \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}",
"if (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }",
"HayamiSaori()",
"HayamiSaori",
"{\n return hayami[Hayami++];\n }",
"return hayami[Hayami++];",
"hayami[Hayami++]",
"hayami",
"Hayami++",
"Hayami",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"private static boolean hayami_saori(int hayami) { \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}",
"hayami_saori",
"{ \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}",
"return 33 <= hayami && hayami <= 126;",
"33 <= hayami && hayami <= 126",
"33 <= hayami",
"33",
"hayami",
"hayami <= 126",
"hayami",
"126",
"int hayami",
"hayami",
"public boolean hayamisaori() { \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}",
"hayamisaori",
"{ \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}",
"while(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++;",
"HayamiSaori() && !hayami_saori(hayami[Hayami])",
"HayamiSaori()",
"HayamiSaori",
"!hayami_saori(hayami[Hayami])",
"hayami_saori(hayami[Hayami])",
"hayami_saori",
"hayami[Hayami]",
"hayami",
"Hayami",
"Hayami++",
"Hayami",
"return HayamiSaori();",
"HayamiSaori()",
"HayamiSaori",
"public String nextHayami() {\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}",
"nextHayami",
"{\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}",
"if (!hayamisaori()) throw new NoSuchElementException();",
"!hayamisaori()",
"hayamisaori()",
"hayamisaori",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder hayamin = new StringBuilder();",
"hayamin",
"new StringBuilder()",
"int saori = SaoriHayami();",
"saori",
"SaoriHayami()",
"SaoriHayami",
"while(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"hayami_saori(saori)",
"hayami_saori",
"saori",
"{\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"hayamin.appendCodePoint(saori)",
"hayamin.appendCodePoint",
"hayamin",
"saori",
"saori = SaoriHayami()",
"saori",
"SaoriHayami()",
"SaoriHayami",
"return hayamin.toString();",
"hayamin.toString()",
"hayamin.toString",
"hayamin",
"public long saorihayami() {//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}",
"saorihayami",
"{//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}",
"if (!hayamisaori()) throw new NoSuchElementException();",
"!hayamisaori()",
"hayamisaori()",
"hayamisaori",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long hayami = 0;",
"hayami",
"0",
"boolean misao = false;",
"misao",
"false",
"int saori = SaoriHayami();",
"saori",
"SaoriHayami()",
"SaoriHayami",
"if (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"saori == '-'",
"saori",
"'-'",
"{\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"misao = true",
"misao",
"true",
"saori = SaoriHayami()",
"saori",
"SaoriHayami()",
"SaoriHayami",
"if (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}",
"saori < '0' || '9' < saori",
"saori < '0'",
"saori",
"'0'",
"'9' < saori",
"'9'",
"saori",
"{\n\t\t\tthrow new NumberFormatException();\n\t\t}",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"true",
"{\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"if ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"'0' <= saori && saori <= '9'",
"'0' <= saori",
"'0'",
"saori",
"saori <= '9'",
"saori",
"'9'",
"{\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}",
"hayami *= 10",
"hayami",
"10",
"hayami += saori - '0'",
"hayami",
"saori - '0'",
"saori",
"'0'",
"if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"saori == -1 || !hayami_saori(saori)",
"saori == -1",
"saori",
"-1",
"1",
"!hayami_saori(saori)",
"hayami_saori(saori)",
"hayami_saori",
"saori",
"{\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}",
"return misao ? -hayami : hayami;",
"misao ? -hayami : hayami",
"misao",
"-hayami",
"hayami",
"hayami",
"{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"throw new NumberFormatException();",
"new NumberFormatException()",
"saori = SaoriHayami()",
"saori",
"SaoriHayami()",
"SaoriHayami",
"public int saori_hayami() {//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}",
"saori_hayami",
"{//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}",
"long hayami = saorihayami();",
"hayami",
"saorihayami()",
"saorihayami",
"if (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();",
"hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE",
"hayami < Integer.MIN_VALUE",
"hayami",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"hayami > Integer.MAX_VALUE",
"hayami",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"throw new NumberFormatException();",
"new NumberFormatException()",
"return (int) hayami;",
"(int) hayami",
"public double Hayamin() { //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}",
"Hayamin",
"{ //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}",
"return Double.parseDouble(nextHayami());",
"Double.parseDouble(nextHayami())",
"Double.parseDouble",
"Double",
"nextHayami()",
"nextHayami",
"public void close() {\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }",
"close",
"{\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }",
"try {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}",
"catch (IOException e) {\n\t\t}",
"IOException e",
"{\n\t\t}",
"{\n\t\t\tin.close();\n\t\t}",
"in.close()",
"in.close",
"in",
"Closeable"
] |
import java.io.*;
import java.util.*;
import java.util.stream.*;
class Main{
static final long MOD = 1_000_000_007; // 10^9+7
static final int MAX = 2_147_483_646; // intMax
static final int INF = 1_000_000_000; // 10^9
public static void main(String[] args) throws Exception {
hayami saori = new hayami();
int a = saori.saori_hayami();
int w = saori.saori_hayami();
if(a > w){
System.out.println("safe");
} else {
System.out.println("unsafe");
}
saori.close();
}
}
class hayami implements Closeable {
private final InputStream in = System.in;
private final byte[] hayami = new byte[1024];
private int Hayami = 0;
private int saori = 0;
private boolean HayamiSaori() {
if (Hayami < saori) {
return true;
}else{
Hayami = 0;
try {
saori = in.read(hayami);
} catch (IOException e) {
e.printStackTrace();
}
if (saori <= 0) {
return false;
}
}
return true;
}
private int SaoriHayami() {
if (HayamiSaori()) {
return hayami[Hayami++];
}else{
return -1;
}
}
private static boolean hayami_saori(int hayami) {
return 33 <= hayami && hayami <= 126;
}
public boolean hayamisaori() {
while(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();
}
public String nextHayami() {
if (!hayamisaori()) throw new NoSuchElementException();
StringBuilder hayamin = new StringBuilder();
int saori = SaoriHayami();
while(hayami_saori(saori)) {
hayamin.appendCodePoint(saori);
saori = SaoriHayami();
}
return hayamin.toString();
}
public long saorihayami() {//nextLong
if (!hayamisaori()) throw new NoSuchElementException();
long hayami = 0;
boolean misao = false;
int saori = SaoriHayami();
if (saori == '-') {
misao = true;
saori = SaoriHayami();
}
if (saori < '0' || '9' < saori) {
throw new NumberFormatException();
}
while(true){
if ('0' <= saori && saori <= '9') {
hayami *= 10;
hayami += saori - '0';
}else if(saori == -1 || !hayami_saori(saori)){
return misao ? -hayami : hayami;
}else{
throw new NumberFormatException();
}
saori = SaoriHayami();
}
}
public int saori_hayami() {//nextInt
long hayami = saorihayami();
if (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();
return (int) hayami;
}
public double Hayamin() { //nextDouble
return Double.parseDouble(nextHayami());
}
public void close() {
try {
in.close();
} catch (IOException e) {
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger S = sc.nextInt();\n\t\tInteger W = sc.nextInt();\n\t\t\n\t\tif(W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"safe\");\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\tInteger S = sc.nextInt();\n\t\tInteger W = sc.nextInt();\n\t\t\n\t\tif(W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger S = sc.nextInt();\n\t\tInteger W = sc.nextInt();\n\t\t\n\t\tif(W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger S = sc.nextInt();\n\t\tInteger W = sc.nextInt();\n\t\t\n\t\tif(W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Integer S = sc.nextInt();",
"S",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Integer W = sc.nextInt();",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}",
"W >= S",
"W",
"S",
"{\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n\t\t\tSystem.out.println(\"safe\");\n\t\t}",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger S = sc.nextInt();\n\t\tInteger W = sc.nextInt();\n\t\t\n\t\tif(W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"safe\");\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\tInteger S = sc.nextInt();\n\t\tInteger W = sc.nextInt();\n\t\t\n\t\tif(W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"safe\");\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);
Integer S = sc.nextInt();
Integer W = sc.nextInt();
if(W >= S) {
System.out.println("unsafe");
} else {
System.out.println("safe");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
4,
18,
13,
17,
17,
17,
41,
13,
20,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
12,
15
],
[
12,
16
],
[
11,
17
],
[
7,
18
],
[
18,
19
],
[
18,
20
],
[
7,
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
],
[
23,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
37,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
21,
55
],
[
55,
56
]
] |
[
"import java.util.*;\nimport java.util.Map.Entry;\n \n \n class Main {\n\t static int mod = (int) (Math.pow(10,9)+7);\n\t static List<ArrayList<Integer>> list = new ArrayList<ArrayList<Integer>>();\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \tint S = sc.nextInt();\n \tint W = sc.nextInt();\n \tif(S>W) {\n \t\tSystem.out.println(\"safe\");\n \t} else {\n \t\tSystem.out.println(\"unsafe\");\n \t}\n \t \n \t\n \t\n \t\n \t\n \t\t\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.Map.Entry;",
"Entry",
"java.util.Map",
"class Main {\n\t static int mod = (int) (Math.pow(10,9)+7);\n\t static List<ArrayList<Integer>> list = new ArrayList<ArrayList<Integer>>();\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \tint S = sc.nextInt();\n \tint W = sc.nextInt();\n \tif(S>W) {\n \t\tSystem.out.println(\"safe\");\n \t} else {\n \t\tSystem.out.println(\"unsafe\");\n \t}\n \t \n \t\n \t\n \t\n \t\n \t\t\n }\n}",
"Main",
"static int mod = (int) (Math.pow(10,9)+7);",
"mod",
"(int) (Math.pow(10,9)+7)",
"Math.pow(10,9)",
"Math.pow",
"Math",
"10",
"9",
"7",
"static List<ArrayList<Integer>> list = new ArrayList<ArrayList<Integer>>();",
"list",
"new ArrayList<ArrayList<Integer>>()",
"public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \tint S = sc.nextInt();\n \tint W = sc.nextInt();\n \tif(S>W) {\n \t\tSystem.out.println(\"safe\");\n \t} else {\n \t\tSystem.out.println(\"unsafe\");\n \t}\n \t \n \t\n \t\n \t\n \t\n \t\t\n }",
"main",
"{\n \n Scanner sc = new Scanner(System.in);\n \tint S = sc.nextInt();\n \tint W = sc.nextInt();\n \tif(S>W) {\n \t\tSystem.out.println(\"safe\");\n \t} else {\n \t\tSystem.out.println(\"unsafe\");\n \t}\n \t \n \t\n \t\n \t\n \t\n \t\t\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int S = sc.nextInt();",
"S",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int W = sc.nextInt();",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(S>W) {\n \t\tSystem.out.println(\"safe\");\n \t} else {\n \t\tSystem.out.println(\"unsafe\");\n \t}",
"S>W",
"S",
"W",
"{\n \t\tSystem.out.println(\"safe\");\n \t}",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"{\n \t\tSystem.out.println(\"unsafe\");\n \t}",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"String[] args",
"args"
] |
import java.util.*;
import java.util.Map.Entry;
class Main {
static int mod = (int) (Math.pow(10,9)+7);
static List<ArrayList<Integer>> list = new ArrayList<ArrayList<Integer>>();
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int S = sc.nextInt();
int W = sc.nextInt();
if(S>W) {
System.out.println("safe");
} else {
System.out.println("unsafe");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
13,
13,
17,
17,
23,
13,
6,
13,
41,
13,
20,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
68,
5
],
[
68,
6
],
[
6,
7
],
[
6,
8
],
[
68,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
11,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
27,
32
],
[
9,
33
],
[
33,
34
],
[
68,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
35,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
55,
56
],
[
35,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] |
[
"import java.util.Scanner;\n \npublic class Main {\n \n\tpublic static final MyScanner in = new MyScanner();\n\n\tpublic static void main(String[] args) {\n\n\t\tint S = in.nextInt();\n\t\tint W = in.nextInt();\n\n\t\tSystem.out.println(W >= S ? \"unsafe\" : \"safe\");\n\n\t}\n\n\n\n\tpublic static class MyScanner {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString next() { return sc.next();}\n\t\tint nextInt() { return Integer.valueOf(sc.next());}\n\t\tlong nextLong() { return Long.valueOf(sc.next()); }\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n \n\tpublic static final MyScanner in = new MyScanner();\n\n\tpublic static void main(String[] args) {\n\n\t\tint S = in.nextInt();\n\t\tint W = in.nextInt();\n\n\t\tSystem.out.println(W >= S ? \"unsafe\" : \"safe\");\n\n\t}\n\n\n\n\tpublic static class MyScanner {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString next() { return sc.next();}\n\t\tint nextInt() { return Integer.valueOf(sc.next());}\n\t\tlong nextLong() { return Long.valueOf(sc.next()); }\n\t}\n}",
"Main",
"public static final MyScanner in = new MyScanner();",
"in",
"new MyScanner()",
"public static void main(String[] args) {\n\n\t\tint S = in.nextInt();\n\t\tint W = in.nextInt();\n\n\t\tSystem.out.println(W >= S ? \"unsafe\" : \"safe\");\n\n\t}",
"main",
"{\n\n\t\tint S = in.nextInt();\n\t\tint W = in.nextInt();\n\n\t\tSystem.out.println(W >= S ? \"unsafe\" : \"safe\");\n\n\t}",
"int S = in.nextInt();",
"S",
"in.nextInt()",
"in.nextInt",
"in",
"int W = in.nextInt();",
"W",
"in.nextInt()",
"in.nextInt",
"in",
"System.out.println(W >= S ? \"unsafe\" : \"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"W >= S ? \"unsafe\" : \"safe\"",
"W >= S",
"W",
"S",
"\"unsafe\"",
"\"safe\"",
"String[] args",
"args",
"public static class MyScanner {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString next() { return sc.next();}\n\t\tint nextInt() { return Integer.valueOf(sc.next());}\n\t\tlong nextLong() { return Long.valueOf(sc.next()); }\n\t}",
"MyScanner",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String next() { return sc.next();}",
"next",
"{ return sc.next();}",
"return sc.next();",
"sc.next()",
"sc.next",
"sc",
"int nextInt() { return Integer.valueOf(sc.next());}",
"nextInt",
"{ return Integer.valueOf(sc.next());}",
"return Integer.valueOf(sc.next());",
"Integer.valueOf(sc.next())",
"Integer.valueOf",
"Integer",
"sc.next()",
"sc.next",
"sc",
"long nextLong() { return Long.valueOf(sc.next()); }",
"nextLong",
"{ return Long.valueOf(sc.next()); }",
"return Long.valueOf(sc.next());",
"Long.valueOf(sc.next())",
"Long.valueOf",
"Long",
"sc.next()",
"sc.next",
"sc",
"public class Main {\n \n\tpublic static final MyScanner in = new MyScanner();\n\n\tpublic static void main(String[] args) {\n\n\t\tint S = in.nextInt();\n\t\tint W = in.nextInt();\n\n\t\tSystem.out.println(W >= S ? \"unsafe\" : \"safe\");\n\n\t}\n\n\n\n\tpublic static class MyScanner {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString next() { return sc.next();}\n\t\tint nextInt() { return Integer.valueOf(sc.next());}\n\t\tlong nextLong() { return Long.valueOf(sc.next()); }\n\t}\n}",
"public class Main {\n \n\tpublic static final MyScanner in = new MyScanner();\n\n\tpublic static void main(String[] args) {\n\n\t\tint S = in.nextInt();\n\t\tint W = in.nextInt();\n\n\t\tSystem.out.println(W >= S ? \"unsafe\" : \"safe\");\n\n\t}\n\n\n\n\tpublic static class MyScanner {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString next() { return sc.next();}\n\t\tint nextInt() { return Integer.valueOf(sc.next());}\n\t\tlong nextLong() { return Long.valueOf(sc.next()); }\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static final MyScanner in = new MyScanner();
public static void main(String[] args) {
int S = in.nextInt();
int W = in.nextInt();
System.out.println(W >= S ? "unsafe" : "safe");
}
public static class MyScanner {
Scanner sc = new Scanner(System.in);
String next() { return sc.next();}
int nextInt() { return Integer.valueOf(sc.next());}
long nextLong() { return Long.valueOf(sc.next()); }
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
57,
5
],
[
57,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
36,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] |
[
"import java.util.*;\n\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] s = sc.nextLine().split(\" \");\n int hituji = Integer.parseInt(s[0]);\n int okami = Integer.parseInt(s[1]);\n if (hituji > okami) {\n System.out.println(\"safe\");\n } else {\n System.out.println(\"unsafe\");\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] s = sc.nextLine().split(\" \");\n int hituji = Integer.parseInt(s[0]);\n int okami = Integer.parseInt(s[1]);\n if (hituji > okami) {\n System.out.println(\"safe\");\n } else {\n System.out.println(\"unsafe\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] s = sc.nextLine().split(\" \");\n int hituji = Integer.parseInt(s[0]);\n int okami = Integer.parseInt(s[1]);\n if (hituji > okami) {\n System.out.println(\"safe\");\n } else {\n System.out.println(\"unsafe\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String[] s = sc.nextLine().split(\" \");\n int hituji = Integer.parseInt(s[0]);\n int okami = Integer.parseInt(s[1]);\n if (hituji > okami) {\n System.out.println(\"safe\");\n } else {\n System.out.println(\"unsafe\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String[] s = sc.nextLine().split(\" \");",
"s",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"int hituji = Integer.parseInt(s[0]);",
"hituji",
"Integer.parseInt(s[0])",
"Integer.parseInt",
"Integer",
"s[0]",
"s",
"0",
"int okami = Integer.parseInt(s[1]);",
"okami",
"Integer.parseInt(s[1])",
"Integer.parseInt",
"Integer",
"s[1]",
"s",
"1",
"if (hituji > okami) {\n System.out.println(\"safe\");\n } else {\n System.out.println(\"unsafe\");\n }",
"hituji > okami",
"hituji",
"okami",
"{\n System.out.println(\"safe\");\n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"{\n System.out.println(\"unsafe\");\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] s = sc.nextLine().split(\" \");\n int hituji = Integer.parseInt(s[0]);\n int okami = Integer.parseInt(s[1]);\n if (hituji > okami) {\n System.out.println(\"safe\");\n } else {\n System.out.println(\"unsafe\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] s = sc.nextLine().split(\" \");\n int hituji = Integer.parseInt(s[0]);\n int okami = Integer.parseInt(s[1]);\n if (hituji > okami) {\n System.out.println(\"safe\");\n } else {\n System.out.println(\"unsafe\");\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String[] s = sc.nextLine().split(" ");
int hituji = Integer.parseInt(s[0]);
int okami = Integer.parseInt(s[1]);
if (hituji > okami) {
System.out.println("safe");
} else {
System.out.println("unsafe");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
8,
2,
13,
13,
17,
17,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
41,
13,
17,
12,
13,
30,
4,
13,
20,
23,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
17,
13,
17,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
37,
20,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
29,
17,
0,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
29,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
207,
32
],
[
207,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
35,
46
],
[
46,
47
],
[
46,
48
],
[
35,
49
],
[
49,
50
],
[
49,
51
],
[
35,
52
],
[
52,
53
],
[
52,
54
],
[
35,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
55,
59
],
[
55,
60
],
[
35,
61
],
[
61,
62
],
[
62,
63
],
[
33,
64
],
[
64,
65
],
[
207,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
70,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
70,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
84,
89
],
[
68,
90
],
[
90,
91
],
[
68,
92
],
[
92,
93
],
[
68,
94
],
[
94,
95
],
[
207,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
96,
100
],
[
100,
101
],
[
96,
102
],
[
102,
103
],
[
102,
104
],
[
96,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
105,
111
],
[
111,
112
],
[
96,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
113,
119
],
[
119,
120
],
[
96,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
129,
134
],
[
135,
135
],
[
135,
136
],
[
135,
137
],
[
135,
138
],
[
123,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
140,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
139,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
152,
156
],
[
156,
157
],
[
149,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
158,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
168,
169
],
[
158,
170
],
[
170,
171
],
[
170,
172
],
[
123,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
123,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
178,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
183,
188
],
[
190,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
189,
193
],
[
190,
194
],
[
123,
195
],
[
195,
196
],
[
96,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
201,
204
],
[
204,
205
],
[
0,
206
],
[
206,
207
],
[
206,
208
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.io.PrintStream;\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 Eric\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ASheepAndWolves solver = new ASheepAndWolves();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ASheepAndWolves {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n long s = in.nextLong();\n long w = in.nextLong();\n out.println(w >= s ? \"unsafe\" : \"safe\");\n //out.print(\"Case #\"+ testNumber + \": \");\n }\n\n }\n\n static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.io.PrintStream;",
"PrintStream",
"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 FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ASheepAndWolves solver = new ASheepAndWolves();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ASheepAndWolves {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n long s = in.nextLong();\n long w = in.nextLong();\n out.println(w >= s ? \"unsafe\" : \"safe\");\n //out.print(\"Case #\"+ testNumber + \": \");\n }\n\n }\n\n static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ASheepAndWolves solver = new ASheepAndWolves();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ASheepAndWolves solver = new ASheepAndWolves();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"FastReader in = new FastReader(inputStream);",
"in",
"new FastReader(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"ASheepAndWolves solver = new ASheepAndWolves();",
"solver",
"new ASheepAndWolves()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class ASheepAndWolves {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n long s = in.nextLong();\n long w = in.nextLong();\n out.println(w >= s ? \"unsafe\" : \"safe\");\n //out.print(\"Case #\"+ testNumber + \": \");\n }\n\n }",
"ASheepAndWolves",
"public void solve(int testNumber, FastReader in, PrintWriter out) {\n long s = in.nextLong();\n long w = in.nextLong();\n out.println(w >= s ? \"unsafe\" : \"safe\");\n //out.print(\"Case #\"+ testNumber + \": \");\n }",
"solve",
"{\n long s = in.nextLong();\n long w = in.nextLong();\n out.println(w >= s ? \"unsafe\" : \"safe\");\n //out.print(\"Case #\"+ testNumber + \": \");\n }",
"long s = in.nextLong();",
"s",
"in.nextLong()",
"in.nextLong",
"in",
"long w = in.nextLong();",
"w",
"in.nextLong()",
"in.nextLong",
"in",
"out.println(w >= s ? \"unsafe\" : \"safe\")",
"out.println",
"out",
"w >= s ? \"unsafe\" : \"safe\"",
"w >= s",
"w",
"s",
"\"unsafe\"",
"\"safe\"",
"int testNumber",
"testNumber",
"FastReader in",
"in",
"PrintWriter out",
"out",
"static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n }",
"FastReader",
"public BufferedReader br;",
"br",
"public StringTokenizer st;",
"st",
"String context = null;",
"context",
"null",
"public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }",
"FastReader",
"{\n this(new InputStreamReader(in));\n }",
"this(new InputStreamReader(in))",
"this",
"new InputStreamReader(in)",
"InputStream in",
"in",
"public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }",
"FastReader",
"{\n br = new BufferedReader(input);\n }",
"br = new BufferedReader(input)",
"br",
"new BufferedReader(input)",
"InputStreamReader input",
"input",
"public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }",
"next",
"{\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }",
"if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }",
"context != null",
"context",
"null",
"{\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }",
"System.err.print(\"[\" + context + \"] Wait for input ...\")",
"System.err.print",
"System.err",
"System",
"System.err",
"\"[\" + context + \"] Wait for input ...\"",
"\"[\" + context + \"] Wait for input ...\"",
"\"[\"",
"context",
"\"] Wait for input ...\"",
"while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }",
"try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }",
"catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }",
"IOException e",
"{\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"throw new RuntimeException(\"Could not read\");",
"new RuntimeException(\"Could not read\")",
"{\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n }",
"String 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)",
"String res = st.nextToken();",
"res",
"st.nextToken()",
"st.nextToken",
"st",
"if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }",
"context != null",
"context",
"null",
"{\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }",
"System.err.println(\"[\" + context + \"] ... received : \" + res)",
"System.err.println",
"System.err",
"System",
"System.err",
"\"[\" + context + \"] ... received : \" + res",
"\"] ... received : \"",
"\"[\" + context + \"] ... received : \" + res",
"\"[\"",
"context",
"\"] ... received : \"",
"res",
"return res;",
"res",
"public long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ASheepAndWolves solver = new ASheepAndWolves();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ASheepAndWolves {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n long s = in.nextLong();\n long w = in.nextLong();\n out.println(w >= s ? \"unsafe\" : \"safe\");\n //out.print(\"Case #\"+ testNumber + \": \");\n }\n\n }\n\n static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ASheepAndWolves solver = new ASheepAndWolves();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ASheepAndWolves {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n long s = in.nextLong();\n long w = in.nextLong();\n out.println(w >= s ? \"unsafe\" : \"safe\");\n //out.print(\"Case #\"+ testNumber + \": \");\n }\n\n }\n\n static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.io.PrintStream;
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 Eric
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
FastReader in = new FastReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
ASheepAndWolves solver = new ASheepAndWolves();
solver.solve(1, in, out);
out.close();
}
static class ASheepAndWolves {
public void solve(int testNumber, FastReader in, PrintWriter out) {
long s = in.nextLong();
long w = in.nextLong();
out.println(w >= s ? "unsafe" : "safe");
//out.print("Case #"+ testNumber + ": ");
}
}
static class FastReader {
public BufferedReader br;
public StringTokenizer st;
String context = null;
public FastReader(InputStream in) {
this(new InputStreamReader(in));
}
public FastReader(InputStreamReader input) {
br = new BufferedReader(input);
}
public String next() {
if (context != null) {
System.err.print("[" + context + "] Wait for input ...");
}
while (st == null || !st.hasMoreElements()) {
try {
String s = br.readLine();
if (s == null)
return null;
st = new StringTokenizer(s);
} catch (IOException e) {
e.printStackTrace();
throw new RuntimeException("Could not read");
}
}
String res = st.nextToken();
if (context != null) {
System.err.println("[" + context + "] ... received : " + res);
}
return res;
}
public long nextLong() {
return Long.parseLong(next());
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
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,
14,
2,
18,
13,
17,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
76,
5
],
[
76,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
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
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
51,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
6,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner scan = new Scanner(System.in);\n \n\t\tString[] str = scan.nextLine().split(\" \");\n\t\tint[] x = new int[str.length];\n\t\t\n for(int i = 0; i < str.length; i++){\n x[i] = Integer.parseInt(str[i]);\n }\n \n if(x[0] > x[1]){\n System.out.println(\"safe\");\n }else{\n System.out.println(\"unsafe\");\n }\n \n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner scan = new Scanner(System.in);\n \n\t\tString[] str = scan.nextLine().split(\" \");\n\t\tint[] x = new int[str.length];\n\t\t\n for(int i = 0; i < str.length; i++){\n x[i] = Integer.parseInt(str[i]);\n }\n \n if(x[0] > x[1]){\n System.out.println(\"safe\");\n }else{\n System.out.println(\"unsafe\");\n }\n \n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\n Scanner scan = new Scanner(System.in);\n \n\t\tString[] str = scan.nextLine().split(\" \");\n\t\tint[] x = new int[str.length];\n\t\t\n for(int i = 0; i < str.length; i++){\n x[i] = Integer.parseInt(str[i]);\n }\n \n if(x[0] > x[1]){\n System.out.println(\"safe\");\n }else{\n System.out.println(\"unsafe\");\n }\n \n }",
"main",
"{\n\n Scanner scan = new Scanner(System.in);\n \n\t\tString[] str = scan.nextLine().split(\" \");\n\t\tint[] x = new int[str.length];\n\t\t\n for(int i = 0; i < str.length; i++){\n x[i] = Integer.parseInt(str[i]);\n }\n \n if(x[0] > x[1]){\n System.out.println(\"safe\");\n }else{\n System.out.println(\"unsafe\");\n }\n \n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String[] str = scan.nextLine().split(\" \");",
"str",
"scan.nextLine().split(\" \")",
"scan.nextLine().split",
"scan.nextLine()",
"scan.nextLine",
"scan",
"\" \"",
"int[] x = new int[str.length];",
"x",
"new int[str.length]",
"str.length",
"str",
"str.length",
"for(int i = 0; i < str.length; i++){\n x[i] = Integer.parseInt(str[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < str.length",
"i",
"str.length",
"str",
"str.length",
"i++",
"i++",
"i",
"{\n x[i] = Integer.parseInt(str[i]);\n }",
"{\n x[i] = Integer.parseInt(str[i]);\n }",
"x[i] = Integer.parseInt(str[i])",
"x[i]",
"x",
"i",
"Integer.parseInt(str[i])",
"Integer.parseInt",
"Integer",
"str[i]",
"str",
"i",
"if(x[0] > x[1]){\n System.out.println(\"safe\");\n }else{\n System.out.println(\"unsafe\");\n }",
"x[0] > x[1]",
"x[0]",
"x",
"0",
"x[1]",
"x",
"1",
"{\n System.out.println(\"safe\");\n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"{\n System.out.println(\"unsafe\");\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner scan = new Scanner(System.in);\n \n\t\tString[] str = scan.nextLine().split(\" \");\n\t\tint[] x = new int[str.length];\n\t\t\n for(int i = 0; i < str.length; i++){\n x[i] = Integer.parseInt(str[i]);\n }\n \n if(x[0] > x[1]){\n System.out.println(\"safe\");\n }else{\n System.out.println(\"unsafe\");\n }\n \n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner scan = new Scanner(System.in);\n \n\t\tString[] str = scan.nextLine().split(\" \");\n\t\tint[] x = new int[str.length];\n\t\t\n for(int i = 0; i < str.length; i++){\n x[i] = Integer.parseInt(str[i]);\n }\n \n if(x[0] > x[1]){\n System.out.println(\"safe\");\n }else{\n System.out.println(\"unsafe\");\n }\n \n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner scan = new Scanner(System.in);
String[] str = scan.nextLine().split(" ");
int[] x = new int[str.length];
for(int i = 0; i < str.length; i++){
x[i] = Integer.parseInt(str[i]);
}
if(x[0] > x[1]){
System.out.println("safe");
}else{
System.out.println("unsafe");
}
}
}
|
[
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,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
13,
13,
4,
18,
13,
17,
4,
18,
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
],
[
60,
14
],
[
60,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
23,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
17,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
17,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
15,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] |
[
"import java.io.*;\nimport java.util.*;\nimport static java.lang.System.*;\nimport static java.lang.Math.*;\n\npublic class Main\n{\t\n\tpublic static void main(String []args)throws IOException\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString []s=br.readLine().split(\" \");\n\t\t\n\t\tlong S=Long.parseLong(s[0]);\n\t\tlong W=Long.parseLong(s[1]);\n\t\t\n\t\t\n\t\tif(W>=S)\n\t\t\tout.println(\"unsafe\");\n\t\telse\n\t\t\tout.println(\"safe\");\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t}\n\t\n\t\n}\n\n",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import static java.lang.System.*;",
"import static java.lang.System.*;",
"import static java.lang.System.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"public class Main\n{\t\n\tpublic static void main(String []args)throws IOException\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString []s=br.readLine().split(\" \");\n\t\t\n\t\tlong S=Long.parseLong(s[0]);\n\t\tlong W=Long.parseLong(s[1]);\n\t\t\n\t\t\n\t\tif(W>=S)\n\t\t\tout.println(\"unsafe\");\n\t\telse\n\t\t\tout.println(\"safe\");\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t}\n\t\n\t\n}",
"Main",
"public static void main(String []args)throws IOException\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString []s=br.readLine().split(\" \");\n\t\t\n\t\tlong S=Long.parseLong(s[0]);\n\t\tlong W=Long.parseLong(s[1]);\n\t\t\n\t\t\n\t\tif(W>=S)\n\t\t\tout.println(\"unsafe\");\n\t\telse\n\t\t\tout.println(\"safe\");\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString []s=br.readLine().split(\" \");\n\t\t\n\t\tlong S=Long.parseLong(s[0]);\n\t\tlong W=Long.parseLong(s[1]);\n\t\t\n\t\t\n\t\tif(W>=S)\n\t\t\tout.println(\"unsafe\");\n\t\telse\n\t\t\tout.println(\"safe\");\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String []s=br.readLine().split(\" \");",
"s",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"long S=Long.parseLong(s[0]);",
"S",
"Long.parseLong(s[0])",
"Long.parseLong",
"Long",
"s[0]",
"s",
"0",
"long W=Long.parseLong(s[1]);",
"W",
"Long.parseLong(s[1])",
"Long.parseLong",
"Long",
"s[1]",
"s",
"1",
"if(W>=S)\n\t\t\tout.println(\"unsafe\");\n\t\telse\n\t\t\tout.println(\"safe\");",
"W>=S",
"W",
"S",
"out.println(\"unsafe\")",
"out.println",
"out",
"\"unsafe\"",
"out.println(\"safe\")",
"out.println",
"out",
"\"safe\"",
"String []args",
"args",
"public class Main\n{\t\n\tpublic static void main(String []args)throws IOException\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString []s=br.readLine().split(\" \");\n\t\t\n\t\tlong S=Long.parseLong(s[0]);\n\t\tlong W=Long.parseLong(s[1]);\n\t\t\n\t\t\n\t\tif(W>=S)\n\t\t\tout.println(\"unsafe\");\n\t\telse\n\t\t\tout.println(\"safe\");\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t}\n\t\n\t\n}",
"public class Main\n{\t\n\tpublic static void main(String []args)throws IOException\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString []s=br.readLine().split(\" \");\n\t\t\n\t\tlong S=Long.parseLong(s[0]);\n\t\tlong W=Long.parseLong(s[1]);\n\t\t\n\t\t\n\t\tif(W>=S)\n\t\t\tout.println(\"unsafe\");\n\t\telse\n\t\t\tout.println(\"safe\");\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t}\n\t\n\t\n}",
"Main"
] |
import java.io.*;
import java.util.*;
import static java.lang.System.*;
import static java.lang.Math.*;
public class Main
{
public static void main(String []args)throws IOException
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String []s=br.readLine().split(" ");
long S=Long.parseLong(s[0]);
long W=Long.parseLong(s[1]);
if(W>=S)
out.println("unsafe");
else
out.println("safe");
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
4,
13,
12,
13,
30,
14,
2,
13,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
62,
5
],
[
62,
6
],
[
6,
7
],
[
62,
8
],
[
8,
9
],
[
62,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
10,
19
],
[
19,
20
],
[
62,
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
],
[
23,
37
],
[
37,
38
],
[
38,
39
],
[
23,
40
],
[
40,
41
],
[
62,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
45,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.run();\n }\n \n // 変数一覧\n int s;\n int w;\n\n public void run() {\n // 入力情報取得\n Scanner sc = new Scanner(System.in);\n s = sc.nextInt();\n w = sc.nextInt();\n sc.close();\n\n // 解答処理\n solve();\n }\n \n private void solve() {\n if (s<=w) System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.run();\n }\n \n // 変数一覧\n int s;\n int w;\n\n public void run() {\n // 入力情報取得\n Scanner sc = new Scanner(System.in);\n s = sc.nextInt();\n w = sc.nextInt();\n sc.close();\n\n // 解答処理\n solve();\n }\n \n private void solve() {\n if (s<=w) System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }\n}",
"Main",
"// 変数一覧\n int s;",
"s",
"int w;",
"w",
"public static void main(String[] args) {\n Main main = new Main();\n main.run();\n }",
"main",
"{\n Main main = new Main();\n main.run();\n }",
"Main main = new Main();",
"main",
"new Main()",
"main.run()",
"main.run",
"main",
"String[] args",
"args",
"public void run() {\n // 入力情報取得\n Scanner sc = new Scanner(System.in);\n s = sc.nextInt();\n w = sc.nextInt();\n sc.close();\n\n // 解答処理\n solve();\n }",
"run",
"{\n // 入力情報取得\n Scanner sc = new Scanner(System.in);\n s = sc.nextInt();\n w = sc.nextInt();\n sc.close();\n\n // 解答処理\n solve();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"s = sc.nextInt()",
"s",
"sc.nextInt()",
"sc.nextInt",
"sc",
"w = sc.nextInt()",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.close()",
"sc.close",
"sc",
"solve()",
"solve",
"private void solve() {\n if (s<=w) System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }",
"solve",
"{\n if (s<=w) System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }",
"if (s<=w) System.out.println(\"unsafe\");\n else System.out.println(\"safe\");",
"s<=w",
"s",
"w",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.run();\n }\n \n // 変数一覧\n int s;\n int w;\n\n public void run() {\n // 入力情報取得\n Scanner sc = new Scanner(System.in);\n s = sc.nextInt();\n w = sc.nextInt();\n sc.close();\n\n // 解答処理\n solve();\n }\n \n private void solve() {\n if (s<=w) System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.run();\n }\n \n // 変数一覧\n int s;\n int w;\n\n public void run() {\n // 入力情報取得\n Scanner sc = new Scanner(System.in);\n s = sc.nextInt();\n w = sc.nextInt();\n sc.close();\n\n // 解答処理\n solve();\n }\n \n private void solve() {\n if (s<=w) System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Main main = new Main();
main.run();
}
// 変数一覧
int s;
int w;
public void run() {
// 入力情報取得
Scanner sc = new Scanner(System.in);
s = sc.nextInt();
w = sc.nextInt();
sc.close();
// 解答処理
solve();
}
private void solve() {
if (s<=w) System.out.println("unsafe");
else System.out.println("safe");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
28,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
6,
46
],
[
46,
47
]
] |
[
"import java.util.Scanner;\n\nclass Main {\n\t// ABC164 A\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint S = Integer.parseInt(sc.next());\n\t\tint W = Integer.parseInt(sc.next());\n\n\n\t\tif(S > W) {\n\t\t\tSystem.out.println(\"safe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\t// ABC164 A\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint S = Integer.parseInt(sc.next());\n\t\tint W = Integer.parseInt(sc.next());\n\n\n\t\tif(S > W) {\n\t\t\tSystem.out.println(\"safe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t}\n\n}",
"Main",
"// ABC164 A\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint S = Integer.parseInt(sc.next());\n\t\tint W = Integer.parseInt(sc.next());\n\n\n\t\tif(S > W) {\n\t\t\tSystem.out.println(\"safe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint S = Integer.parseInt(sc.next());\n\t\tint W = Integer.parseInt(sc.next());\n\n\n\t\tif(S > W) {\n\t\t\tSystem.out.println(\"safe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int S = Integer.parseInt(sc.next());",
"S",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int W = Integer.parseInt(sc.next());",
"W",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"if(S > W) {\n\t\t\tSystem.out.println(\"safe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}",
"S > W",
"S",
"W",
"{\n\t\t\tSystem.out.println(\"safe\");\n\t\t}",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"{\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"String[] args",
"args"
] |
import java.util.Scanner;
class Main {
// ABC164 A
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int S = Integer.parseInt(sc.next());
int W = Integer.parseInt(sc.next());
if(S > W) {
System.out.println("safe");
} else {
System.out.println("unsafe");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
41,
13,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
8,
2,
13,
13,
17,
17,
29,
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
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
45,
50
],
[
8,
51
],
[
6,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] |
[
"import java.io.*;\n\npublic class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n String[] arr = reader.readLine().split (\" \");\n int S, W;\n S = Integer.parseInt (arr[0]);\n W = Integer.parseInt (arr[1]);\n System.out.println (S <= W ? \"unsafe\" : \"safe\");\n return;\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n String[] arr = reader.readLine().split (\" \");\n int S, W;\n S = Integer.parseInt (arr[0]);\n W = Integer.parseInt (arr[1]);\n System.out.println (S <= W ? \"unsafe\" : \"safe\");\n return;\n }\n}",
"Main",
"public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n String[] arr = reader.readLine().split (\" \");\n int S, W;\n S = Integer.parseInt (arr[0]);\n W = Integer.parseInt (arr[1]);\n System.out.println (S <= W ? \"unsafe\" : \"safe\");\n return;\n }",
"main",
"{\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n String[] arr = reader.readLine().split (\" \");\n int S, W;\n S = Integer.parseInt (arr[0]);\n W = Integer.parseInt (arr[1]);\n System.out.println (S <= W ? \"unsafe\" : \"safe\");\n return;\n }",
"BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));",
"reader",
"new BufferedReader (new InputStreamReader (System.in))",
"String[] arr = reader.readLine().split (\" \");",
"arr",
"reader.readLine().split (\" \")",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\" \"",
"int S",
"S",
"W;",
"W",
"S = Integer.parseInt (arr[0])",
"S",
"Integer.parseInt (arr[0])",
"Integer.parseInt",
"Integer",
"arr[0]",
"arr",
"0",
"W = Integer.parseInt (arr[1])",
"W",
"Integer.parseInt (arr[1])",
"Integer.parseInt",
"Integer",
"arr[1]",
"arr",
"1",
"System.out.println (S <= W ? \"unsafe\" : \"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"S <= W ? \"unsafe\" : \"safe\"",
"S <= W",
"S",
"W",
"\"unsafe\"",
"\"safe\"",
"return;",
"String[] args",
"args",
"public class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n String[] arr = reader.readLine().split (\" \");\n int S, W;\n S = Integer.parseInt (arr[0]);\n W = Integer.parseInt (arr[1]);\n System.out.println (S <= W ? \"unsafe\" : \"safe\");\n return;\n }\n}",
"public class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n String[] arr = reader.readLine().split (\" \");\n int S, W;\n S = Integer.parseInt (arr[0]);\n W = Integer.parseInt (arr[1]);\n System.out.println (S <= W ? \"unsafe\" : \"safe\");\n return;\n }\n}",
"Main"
] |
import java.io.*;
public class Main {
public static void main (String[] args) throws Exception {
BufferedReader reader =
new BufferedReader (new InputStreamReader (System.in));
String[] arr = reader.readLine().split (" ");
int S, W;
S = Integer.parseInt (arr[0]);
W = Integer.parseInt (arr[1]);
System.out.println (S <= W ? "unsafe" : "safe");
return;
}
}
|
[
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,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
8,
2,
13,
13,
17,
17,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
2,
13,
17,
29,
4,
18,
13,
13,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
12,
13,
30,
29,
4,
13,
6,
13,
12,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
373,
26
],
[
373,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
29,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
29,
40
],
[
40,
41
],
[
40,
42
],
[
29,
43
],
[
43,
44
],
[
43,
45
],
[
29,
46
],
[
46,
47
],
[
46,
48
],
[
29,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
49,
53
],
[
49,
54
],
[
29,
55
],
[
55,
56
],
[
56,
57
],
[
27,
58
],
[
58,
59
],
[
373,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
64,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
64,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
78,
83
],
[
62,
84
],
[
84,
85
],
[
62,
86
],
[
86,
87
],
[
62,
88
],
[
88,
89
],
[
373,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
90,
94
],
[
94,
95
],
[
94,
96
],
[
90,
98
],
[
98,
99
],
[
90,
100
],
[
100,
101
],
[
90,
102
],
[
102,
103
],
[
90,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
104,
112
],
[
112,
113
],
[
90,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
117,
122
],
[
122,
123
],
[
116,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
132,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
141,
144
],
[
128,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
145,
149
],
[
149,
150
],
[
150,
151
],
[
116,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
90,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
159,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
159,
172
],
[
172,
173
],
[
172,
174
],
[
159,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
175,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
179,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
159,
188
],
[
188,
189
],
[
188,
190
],
[
159,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
191,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
198,
202
],
[
202,
203
],
[
202,
204
],
[
197,
205
],
[
205,
206
],
[
196,
207
],
[
207,
208
],
[
207,
209
],
[
196,
210
],
[
210,
211
],
[
210,
212
],
[
212,
213
],
[
212,
214
],
[
196,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
159,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
90,
223
],
[
223,
224
],
[
223,
225
],
[
225,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
225,
230
],
[
230,
231
],
[
231,
232
],
[
231,
233
],
[
230,
234
],
[
234,
235
],
[
234,
236
],
[
236,
237
],
[
225,
238
],
[
238,
239
],
[
238,
240
],
[
225,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
241,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
245,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
225,
254
],
[
254,
255
],
[
254,
256
],
[
225,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
257,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
264,
268
],
[
268,
269
],
[
268,
270
],
[
263,
271
],
[
271,
272
],
[
262,
273
],
[
273,
274
],
[
273,
275
],
[
262,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
278,
280
],
[
262,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
225,
285
],
[
285,
286
],
[
286,
287
],
[
286,
288
],
[
90,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
291,
296
],
[
296,
297
],
[
297,
298
],
[
297,
299
],
[
296,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
291,
304
],
[
304,
305
],
[
304,
306
],
[
291,
307
],
[
307,
308
],
[
308,
309
],
[
309,
310
],
[
309,
311
],
[
307,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
313,
316
],
[
312,
317
],
[
317,
318
],
[
317,
319
],
[
319,
320
],
[
291,
321
],
[
321,
322
],
[
322,
323
],
[
323,
324
],
[
90,
325
],
[
325,
326
],
[
325,
327
],
[
327,
328
],
[
328,
329
],
[
329,
330
],
[
329,
331
],
[
328,
332
],
[
332,
333
],
[
333,
334
],
[
334,
335
],
[
333,
336
],
[
327,
337
],
[
337,
338
],
[
341,
339
],
[
351,
340
],
[
348,
341
],
[
341,
342
],
[
342,
343
],
[
342,
344
],
[
341,
345
],
[
345,
346
],
[
345,
347
],
[
348,
348
],
[
348,
349
],
[
348,
350
],
[
351,
351
],
[
351,
352
],
[
351,
353
],
[
341,
354
],
[
354,
355
],
[
354,
356
],
[
356,
357
],
[
325,
358
],
[
358,
359
],
[
90,
360
],
[
360,
361
],
[
360,
362
],
[
362,
363
],
[
363,
364
],
[
364,
365
],
[
90,
366
],
[
366,
367
],
[
366,
368
],
[
368,
369
],
[
368,
370
],
[
370,
371
],
[
0,
372
],
[
372,
373
],
[
372,
374
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.util.*;\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author Manan Patel\n */\npublic class Main{\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader sc = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n solution solver = new solution();\n //int t = sc.nextInt();\n //for(int i = 1 ; i <= t ; i++)\n solver.solve(1 , sc , w);\n\n w.close();\n }\n\n static class solution {\n public void solve(int tc, InputReader sc, PrintWriter w) {\n int s = sc.nextInt() , p = sc.nextInt();\n w.println(p >= s ? \"unsafe\" : \"safe\" );\n\n }\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\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 }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader sc = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n solution solver = new solution();\n //int t = sc.nextInt();\n //for(int i = 1 ; i <= t ; i++)\n solver.solve(1 , sc , w);\n\n w.close();\n }\n\n static class solution {\n public void solve(int tc, InputReader sc, PrintWriter w) {\n int s = sc.nextInt() , p = sc.nextInt();\n w.println(p >= s ? \"unsafe\" : \"safe\" );\n\n }\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\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 }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader sc = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n solution solver = new solution();\n //int t = sc.nextInt();\n //for(int i = 1 ; i <= t ; i++)\n solver.solve(1 , sc , w);\n\n w.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader sc = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n solution solver = new solution();\n //int t = sc.nextInt();\n //for(int i = 1 ; i <= t ; i++)\n solver.solve(1 , sc , w);\n\n w.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"InputReader sc = new InputReader(inputStream);",
"sc",
"new InputReader(inputStream)",
"PrintWriter w = new PrintWriter(outputStream);",
"w",
"new PrintWriter(outputStream)",
"solution solver = new solution();",
"solver",
"new solution()",
"solver.solve(1 , sc , w)",
"solver.solve",
"solver",
"1",
"sc",
"w",
"w.close()",
"w.close",
"w",
"String[] args",
"args",
"static class solution {\n public void solve(int tc, InputReader sc, PrintWriter w) {\n int s = sc.nextInt() , p = sc.nextInt();\n w.println(p >= s ? \"unsafe\" : \"safe\" );\n\n }\n }",
"solution",
"public void solve(int tc, InputReader sc, PrintWriter w) {\n int s = sc.nextInt() , p = sc.nextInt();\n w.println(p >= s ? \"unsafe\" : \"safe\" );\n\n }",
"solve",
"{\n int s = sc.nextInt() , p = sc.nextInt();\n w.println(p >= s ? \"unsafe\" : \"safe\" );\n\n }",
"int s = sc.nextInt()",
"s",
"sc.nextInt()",
"sc.nextInt",
"sc",
"p = sc.nextInt();",
"p",
"sc.nextInt()",
"sc.nextInt",
"sc",
"w.println(p >= s ? \"unsafe\" : \"safe\" )",
"w.println",
"w",
"p >= s ? \"unsafe\" : \"safe\"",
"p >= s",
"p",
"s",
"\"unsafe\"",
"\"safe\"",
"int tc",
"tc",
"InputReader sc",
"sc",
"PrintWriter w",
"w",
"static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\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 }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }",
"InputReader",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"private InputReader.SpaceCharFilter filter;",
"filter",
"public InputReader(InputStream stream) {\n this.stream = stream;\n }",
"InputReader",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\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\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\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 int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }",
"nextInt",
"{\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"int res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9')\n throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextLong",
"{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"long res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9')\n throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public String readString() {\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 }\n while (!isSpaceChar(c));\n\n return res.toString();\n }",
"readString",
"{\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 }\n while (!isSpaceChar(c));\n\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 }\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 boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"if (filter != null)\n return filter.isSpaceChar(c);",
"filter != null",
"filter",
"null",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public String next() {\n return readString();\n }",
"next",
"{\n return readString();\n }",
"return readString();",
"readString()",
"readString",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"public class Main{\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader sc = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n solution solver = new solution();\n //int t = sc.nextInt();\n //for(int i = 1 ; i <= t ; i++)\n solver.solve(1 , sc , w);\n\n w.close();\n }\n\n static class solution {\n public void solve(int tc, InputReader sc, PrintWriter w) {\n int s = sc.nextInt() , p = sc.nextInt();\n w.println(p >= s ? \"unsafe\" : \"safe\" );\n\n }\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\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 }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"public class Main{\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader sc = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n solution solver = new solution();\n //int t = sc.nextInt();\n //for(int i = 1 ; i <= t ; i++)\n solver.solve(1 , sc , w);\n\n w.close();\n }\n\n static class solution {\n public void solve(int tc, InputReader sc, PrintWriter w) {\n int s = sc.nextInt() , p = sc.nextInt();\n w.println(p >= s ? \"unsafe\" : \"safe\" );\n\n }\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\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 }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.InputMismatchException;
import java.io.IOException;
import java.io.InputStream;
import java.util.*;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author Manan Patel
*/
public class Main{
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader sc = new InputReader(inputStream);
PrintWriter w = new PrintWriter(outputStream);
solution solver = new solution();
//int t = sc.nextInt();
//for(int i = 1 ; i <= t ; i++)
solver.solve(1 , sc , w);
w.close();
}
static class solution {
public void solve(int tc, InputReader sc, PrintWriter w) {
int s = sc.nextInt() , p = sc.nextInt();
w.println(p >= s ? "unsafe" : "safe" );
}
}
static class InputReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private InputReader.SpaceCharFilter filter;
public InputReader(InputStream stream) {
this.stream = stream;
}
public int read() {
if (numChars == -1)
throw new InputMismatchException();
if (curChar >= numChars) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (numChars <= 0)
return -1;
}
return buf[curChar++];
}
public int nextInt() {
int c = read();
while (isSpaceChar(c))
c = read();
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
int res = 0;
do {
if (c < '0' || c > '9')
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = read();
}
while (!isSpaceChar(c));
return res * sgn;
}
public long nextLong() {
int c = read();
while (isSpaceChar(c))
c = read();
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
long res = 0;
do {
if (c < '0' || c > '9')
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = read();
}
while (!isSpaceChar(c));
return res * sgn;
}
public String readString() {
int c = read();
while (isSpaceChar(c))
c = read();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
}
while (!isSpaceChar(c));
return res.toString();
}
public boolean isSpaceChar(int c) {
if (filter != null)
return filter.isSpaceChar(c);
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public String next() {
return readString();
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
14,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
51,
5
],
[
51,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
21,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
20,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
20,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
6,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString[] list = scanner.nextLine().split(\" \");\n\n\t\tif(Integer.parseInt(list[0]) <= Integer.parseInt(list[1])) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString[] list = scanner.nextLine().split(\" \");\n\n\t\tif(Integer.parseInt(list[0]) <= Integer.parseInt(list[1])) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString[] list = scanner.nextLine().split(\" \");\n\n\t\tif(Integer.parseInt(list[0]) <= Integer.parseInt(list[1])) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString[] list = scanner.nextLine().split(\" \");\n\n\t\tif(Integer.parseInt(list[0]) <= Integer.parseInt(list[1])) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String[] list = scanner.nextLine().split(\" \");",
"list",
"scanner.nextLine().split(\" \")",
"scanner.nextLine().split",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"\" \"",
"if(Integer.parseInt(list[0]) <= Integer.parseInt(list[1])) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}",
"Integer.parseInt(list[0]) <= Integer.parseInt(list[1])",
"Integer.parseInt(list[0])",
"Integer.parseInt",
"Integer",
"list[0]",
"list",
"0",
"Integer.parseInt(list[1])",
"Integer.parseInt",
"Integer",
"list[1]",
"list",
"1",
"{\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n\t\t\tSystem.out.println(\"safe\");\n\t\t}",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString[] list = scanner.nextLine().split(\" \");\n\n\t\tif(Integer.parseInt(list[0]) <= Integer.parseInt(list[1])) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString[] list = scanner.nextLine().split(\" \");\n\n\t\tif(Integer.parseInt(list[0]) <= Integer.parseInt(list[1])) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String[] list = scanner.nextLine().split(" ");
if(Integer.parseInt(list[0]) <= Integer.parseInt(list[1])) {
System.out.println("unsafe");
}else {
System.out.println("safe");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
41,
5
],
[
41,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
22,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
6,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
] |
[
"import java.util.Scanner;\n\n/**\n * Main\n */\npublic class Main {\n\n public static void main(String[] args) {\n Scanner cin = new Scanner(System.in);\n int a = cin.nextInt();\n int b = cin.nextInt();\n if(a > b) System.out.println(\"safe\");\n else System.out.println(\"unsafe\"); \n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner cin = new Scanner(System.in);\n int a = cin.nextInt();\n int b = cin.nextInt();\n if(a > b) System.out.println(\"safe\");\n else System.out.println(\"unsafe\"); \n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner cin = new Scanner(System.in);\n int a = cin.nextInt();\n int b = cin.nextInt();\n if(a > b) System.out.println(\"safe\");\n else System.out.println(\"unsafe\"); \n }",
"main",
"{\n Scanner cin = new Scanner(System.in);\n int a = cin.nextInt();\n int b = cin.nextInt();\n if(a > b) System.out.println(\"safe\");\n else System.out.println(\"unsafe\"); \n }",
"Scanner cin = new Scanner(System.in);",
"cin",
"new Scanner(System.in)",
"int a = cin.nextInt();",
"a",
"cin.nextInt()",
"cin.nextInt",
"cin",
"int b = cin.nextInt();",
"b",
"cin.nextInt()",
"cin.nextInt",
"cin",
"if(a > b) System.out.println(\"safe\");\n else System.out.println(\"unsafe\");",
"a > b",
"a",
"b",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner cin = new Scanner(System.in);\n int a = cin.nextInt();\n int b = cin.nextInt();\n if(a > b) System.out.println(\"safe\");\n else System.out.println(\"unsafe\"); \n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner cin = new Scanner(System.in);\n int a = cin.nextInt();\n int b = cin.nextInt();\n if(a > b) System.out.println(\"safe\");\n else System.out.println(\"unsafe\"); \n }\n}",
"Main"
] |
import java.util.Scanner;
/**
* Main
*/
public class Main {
public static void main(String[] args) {
Scanner cin = new Scanner(System.in);
int a = cin.nextInt();
int b = cin.nextInt();
if(a > b) System.out.println("safe");
else System.out.println("unsafe");
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
4,
18,
4,
18,
13,
8,
2,
4,
18,
13,
4,
18,
13,
17,
17,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
4,
13,
20,
23,
13,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
13,
0,
13,
17,
29,
36,
23,
13,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
13,
17,
4,
18,
13,
0,
13,
17,
29,
36,
23,
13,
12,
13,
30,
14,
40,
13,
30,
4,
13,
17,
29,
4,
13,
13,
23,
13,
12,
13,
30,
4,
13,
4,
18,
13,
0,
13,
17,
14,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
29,
36,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
13,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
18,
36,
13,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
],
[
0,
43
],
[
303,
44
],
[
303,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
47,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
47,
58
],
[
58,
59
],
[
58,
60
],
[
47,
61
],
[
61,
62
],
[
61,
63
],
[
47,
64
],
[
64,
65
],
[
64,
66
],
[
47,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
67,
71
],
[
67,
72
],
[
47,
73
],
[
73,
74
],
[
74,
75
],
[
45,
76
],
[
76,
77
],
[
303,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
89,
93
],
[
93,
94
],
[
94,
95
],
[
88,
96
],
[
88,
97
],
[
80,
98
],
[
98,
99
],
[
80,
100
],
[
100,
101
],
[
80,
102
],
[
102,
103
],
[
303,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
104,
108
],
[
108,
109
],
[
108,
110
],
[
104,
111
],
[
111,
112
],
[
111,
113
],
[
104,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
114,
122
],
[
122,
123
],
[
104,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
124,
130
],
[
130,
131
],
[
104,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
135,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
141,
146
],
[
146,
147
],
[
146,
148
],
[
134,
149
],
[
149,
150
],
[
132,
151
],
[
151,
152
],
[
104,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
156,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
163,
166
],
[
163,
167
],
[
163,
168
],
[
168,
169
],
[
169,
170
],
[
162,
171
],
[
171,
172
],
[
171,
173
],
[
155,
174
],
[
174,
175
],
[
153,
176
],
[
176,
177
],
[
104,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
181,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
180,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
178,
192
],
[
192,
193
],
[
104,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
200,
201
],
[
196,
202
],
[
202,
203
],
[
202,
204
],
[
196,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
212,
213
],
[
208,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
196,
218
],
[
218,
219
],
[
104,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
227,
228
],
[
223,
229
],
[
229,
230
],
[
230,
231
],
[
231,
232
],
[
104,
233
],
[
303,
234
],
[
234,
235
],
[
234,
236
],
[
236,
237
],
[
236,
238
],
[
234,
239
],
[
239,
240
],
[
239,
241
],
[
234,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
242,
248
],
[
248,
249
],
[
234,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
255,
257
],
[
254,
258
],
[
258,
259
],
[
259,
260
],
[
260,
261
],
[
253,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
266,
267
],
[
267,
268
],
[
263,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
252,
273
],
[
273,
274
],
[
274,
275
],
[
275,
276
],
[
234,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
282,
283
],
[
281,
284
],
[
284,
285
],
[
234,
286
],
[
286,
287
],
[
286,
288
],
[
288,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
293,
294
],
[
289,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
234,
301
],
[
0,
302
],
[
302,
303
],
[
302,
304
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.BufferedOutputStream;\nimport java.io.UncheckedIOException;\nimport java.nio.charset.Charset;\nimport java.util.StringTokenizer;\nimport java.io.Writer;\nimport java.io.OutputStreamWriter;\nimport java.io.BufferedReader;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author mikit\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n ASheepAndWolves solver = new ASheepAndWolves();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ASheepAndWolves {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n out.ans(in.ints() > in.ints() ? \"safe\" : \"unsafe\").ln();\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int ints() {\n return Integer.parseInt(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.BufferedOutputStream;",
"BufferedOutputStream",
"java.io",
"import java.io.UncheckedIOException;",
"UncheckedIOException",
"java.io",
"import java.nio.charset.Charset;",
"Charset",
"java.nio.charset",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.io.Writer;",
"Writer",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n ASheepAndWolves solver = new ASheepAndWolves();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ASheepAndWolves {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n out.ans(in.ints() > in.ints() ? \"safe\" : \"unsafe\").ln();\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int ints() {\n return Integer.parseInt(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n ASheepAndWolves solver = new ASheepAndWolves();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n ASheepAndWolves solver = new ASheepAndWolves();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"LightScanner in = new LightScanner(inputStream);",
"in",
"new LightScanner(inputStream)",
"LightWriter out = new LightWriter(outputStream);",
"out",
"new LightWriter(outputStream)",
"ASheepAndWolves solver = new ASheepAndWolves();",
"solver",
"new ASheepAndWolves()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class ASheepAndWolves {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n out.ans(in.ints() > in.ints() ? \"safe\" : \"unsafe\").ln();\n }\n\n }",
"ASheepAndWolves",
"public void solve(int testNumber, LightScanner in, LightWriter out) {\n out.ans(in.ints() > in.ints() ? \"safe\" : \"unsafe\").ln();\n }",
"solve",
"{\n out.ans(in.ints() > in.ints() ? \"safe\" : \"unsafe\").ln();\n }",
"out.ans(in.ints() > in.ints() ? \"safe\" : \"unsafe\").ln()",
"out.ans(in.ints() > in.ints() ? \"safe\" : \"unsafe\").ln",
"out.ans(in.ints() > in.ints() ? \"safe\" : \"unsafe\")",
"out.ans",
"out",
"in.ints() > in.ints() ? \"safe\" : \"unsafe\"",
"in.ints() > in.ints()",
"in.ints()",
"in.ints",
"in",
"in.ints()",
"in.ints",
"in",
"\"safe\"",
"\"unsafe\"",
"int testNumber",
"testNumber",
"LightScanner in",
"in",
"LightWriter out",
"out",
"static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }",
"LightWriter",
"private final Writer out;",
"out",
"private boolean autoflush = false;",
"autoflush",
"false",
"private boolean breaked = true;",
"breaked",
"true",
"public LightWriter(Writer out) {\n this.out = out;\n }",
"LightWriter",
"{\n this.out = out;\n }",
"this.out = out",
"this.out",
"this",
"this.out",
"out",
"Writer out",
"out",
"public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }",
"LightWriter",
"{\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }",
"this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()))",
"this",
"new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset())",
"OutputStream out",
"out",
"public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"print",
"{\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n out.write(c);\n breaked = false;\n }",
"out.write(c)",
"out.write",
"out",
"c",
"breaked = false",
"breaked",
"false",
"return this;",
"this",
"char c",
"c",
"public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"print",
"{\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n out.write(s, 0, s.length());\n breaked = false;\n }",
"out.write(s, 0, s.length())",
"out.write",
"out",
"s",
"0",
"s.length()",
"s.length",
"s",
"breaked = false",
"breaked",
"false",
"return this;",
"this",
"String s",
"s",
"public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }",
"ans",
"{\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }",
"if (!breaked) {\n print(' ');\n }",
"!breaked",
"breaked",
"{\n print(' ');\n }",
"print(' ')",
"print",
"' '",
"return print(s);",
"print(s)",
"print",
"s",
"String s",
"s",
"public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }",
"ln",
"{\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }",
"print(System.lineSeparator())",
"print",
"System.lineSeparator()",
"System.lineSeparator",
"System",
"breaked = true",
"breaked",
"true",
"if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"autoflush",
"{\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n out.flush();\n }",
"out.flush()",
"out.flush",
"out",
"return this;",
"this",
"public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"close",
"{\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n out.close();\n }",
"out.close()",
"out.close",
"out",
"AutoCloseable",
"static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int ints() {\n return Integer.parseInt(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }",
"LightScanner",
"private BufferedReader reader = null;",
"reader",
"null",
"private StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }",
"LightScanner",
"{\n reader = new BufferedReader(new InputStreamReader(in));\n }",
"reader = new BufferedReader(new InputStreamReader(in))",
"reader",
"new BufferedReader(new InputStreamReader(in))",
"InputStream in",
"in",
"public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"string",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }",
"try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }",
"catch (IOException e) {\n throw new UncheckedIOException(e);\n }",
"IOException e",
"{\n throw new UncheckedIOException(e);\n }",
"throw new UncheckedIOException(e);",
"new UncheckedIOException(e)",
"{\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public int ints() {\n return Integer.parseInt(string());\n }",
"ints",
"{\n return Integer.parseInt(string());\n }",
"return Integer.parseInt(string());",
"Integer.parseInt(string())",
"Integer.parseInt",
"Integer",
"string()",
"string",
"public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"close",
"{\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n this.reader.close();\n }",
"this.reader.close()",
"this.reader.close",
"this.reader",
"this",
"this.reader",
"AutoCloseable",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n ASheepAndWolves solver = new ASheepAndWolves();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ASheepAndWolves {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n out.ans(in.ints() > in.ints() ? \"safe\" : \"unsafe\").ln();\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int ints() {\n return Integer.parseInt(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n ASheepAndWolves solver = new ASheepAndWolves();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ASheepAndWolves {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n out.ans(in.ints() > in.ints() ? \"safe\" : \"unsafe\").ln();\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int ints() {\n return Integer.parseInt(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.BufferedOutputStream;
import java.io.UncheckedIOException;
import java.nio.charset.Charset;
import java.util.StringTokenizer;
import java.io.Writer;
import java.io.OutputStreamWriter;
import java.io.BufferedReader;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author mikit
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
LightScanner in = new LightScanner(inputStream);
LightWriter out = new LightWriter(outputStream);
ASheepAndWolves solver = new ASheepAndWolves();
solver.solve(1, in, out);
out.close();
}
static class ASheepAndWolves {
public void solve(int testNumber, LightScanner in, LightWriter out) {
out.ans(in.ints() > in.ints() ? "safe" : "unsafe").ln();
}
}
static class LightWriter implements AutoCloseable {
private final Writer out;
private boolean autoflush = false;
private boolean breaked = true;
public LightWriter(Writer out) {
this.out = out;
}
public LightWriter(OutputStream out) {
this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));
}
public LightWriter print(char c) {
try {
out.write(c);
breaked = false;
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
return this;
}
public LightWriter print(String s) {
try {
out.write(s, 0, s.length());
breaked = false;
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
return this;
}
public LightWriter ans(String s) {
if (!breaked) {
print(' ');
}
return print(s);
}
public LightWriter ln() {
print(System.lineSeparator());
breaked = true;
if (autoflush) {
try {
out.flush();
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
}
return this;
}
public void close() {
try {
out.close();
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
}
}
static class LightScanner implements AutoCloseable {
private BufferedReader reader = null;
private StringTokenizer tokenizer = null;
public LightScanner(InputStream in) {
reader = new BufferedReader(new InputStreamReader(in));
}
public String string() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new UncheckedIOException(e);
}
}
return tokenizer.nextToken();
}
public int ints() {
return Integer.parseInt(string());
}
public void close() {
try {
this.reader.close();
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
6,
13,
41,
13,
12,
13,
30,
41,
13,
20,
0,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
13,
17,
30,
4,
18,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
7,
11
],
[
11,
12
],
[
7,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
7,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
22,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
32,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
21,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
7,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
7,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
7,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
72,
73
],
[
7,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
80,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
76,
93
],
[
93,
94
],
[
0,
95
],
[
138,
96
],
[
138,
97
],
[
97,
98
],
[
138,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
105,
106
],
[
105,
107
],
[
101,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
101,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
101,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
118,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
123,
126
],
[
118,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
128,
131
],
[
101,
132
],
[
132,
133
],
[
133,
134
],
[
99,
135
],
[
135,
136
],
[
0,
137
],
[
137,
138
],
[
137,
139
]
] |
[
"import java.io.*;\nimport java.util.*;\n\nclass MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\n}\n\n\n\npublic class Main {\n\n public static PrintWriter out;\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n\n int s = sc.nextInt();\n int w = sc.nextInt();\n if (w>=s){\n out.println(\"unsafe\");\n }else {\n out.println(\"safe\");\n }\n out.close();\n }\n\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\n}",
"MyScanner",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"MyScanner",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n\n public static PrintWriter out;\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n\n int s = sc.nextInt();\n int w = sc.nextInt();\n if (w>=s){\n out.println(\"unsafe\");\n }else {\n out.println(\"safe\");\n }\n out.close();\n }\n\n}",
"Main",
"public static PrintWriter out;",
"out",
"public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n\n int s = sc.nextInt();\n int w = sc.nextInt();\n if (w>=s){\n out.println(\"unsafe\");\n }else {\n out.println(\"safe\");\n }\n out.close();\n }",
"main",
"{\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n\n int s = sc.nextInt();\n int w = sc.nextInt();\n if (w>=s){\n out.println(\"unsafe\");\n }else {\n out.println(\"safe\");\n }\n out.close();\n }",
"MyScanner sc = new MyScanner();",
"sc",
"new MyScanner()",
"out = new PrintWriter(new BufferedOutputStream(System.out))",
"out",
"new PrintWriter(new BufferedOutputStream(System.out))",
"int s = sc.nextInt();",
"s",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int w = sc.nextInt();",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (w>=s){\n out.println(\"unsafe\");\n }else {\n out.println(\"safe\");\n }",
"w>=s",
"w",
"s",
"{\n out.println(\"unsafe\");\n }",
"out.println(\"unsafe\")",
"out.println",
"out",
"\"unsafe\"",
"{\n out.println(\"safe\");\n }",
"out.println(\"safe\")",
"out.println",
"out",
"\"safe\"",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"public class Main {\n\n public static PrintWriter out;\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n\n int s = sc.nextInt();\n int w = sc.nextInt();\n if (w>=s){\n out.println(\"unsafe\");\n }else {\n out.println(\"safe\");\n }\n out.close();\n }\n\n}",
"public class Main {\n\n public static PrintWriter out;\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n\n int s = sc.nextInt();\n int w = sc.nextInt();\n if (w>=s){\n out.println(\"unsafe\");\n }else {\n out.println(\"safe\");\n }\n out.close();\n }\n\n}",
"Main"
] |
import java.io.*;
import java.util.*;
class MyScanner {
BufferedReader br;
StringTokenizer st;
public MyScanner() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine(){
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
public class Main {
public static PrintWriter out;
public static void main(String[] args) {
MyScanner sc = new MyScanner();
out = new PrintWriter(new BufferedOutputStream(System.out));
int s = sc.nextInt();
int w = sc.nextInt();
if (w>=s){
out.println("unsafe");
}else {
out.println("safe");
}
out.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
41,
5
],
[
41,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
22,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
6,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n Integer S = input.nextInt();\n Integer W = input.nextInt();\n\n if (S <= W) System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n Integer S = input.nextInt();\n Integer W = input.nextInt();\n\n if (S <= W) System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n Integer S = input.nextInt();\n Integer W = input.nextInt();\n\n if (S <= W) System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }",
"main",
"{\n Scanner input = new Scanner(System.in);\n Integer S = input.nextInt();\n Integer W = input.nextInt();\n\n if (S <= W) System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"Integer S = input.nextInt();",
"S",
"input.nextInt()",
"input.nextInt",
"input",
"Integer W = input.nextInt();",
"W",
"input.nextInt()",
"input.nextInt",
"input",
"if (S <= W) System.out.println(\"unsafe\");\n else System.out.println(\"safe\");",
"S <= W",
"S",
"W",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n Integer S = input.nextInt();\n Integer W = input.nextInt();\n\n if (S <= W) System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n Integer S = input.nextInt();\n Integer W = input.nextInt();\n\n if (S <= W) System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
Integer S = input.nextInt();
Integer W = input.nextInt();
if (S <= W) System.out.println("unsafe");
else System.out.println("safe");
}
}
|
[
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,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
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
],
[
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
],
[
66,
26
],
[
66,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
29,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
29,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
43,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
27,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] |
[
"import java.util.*;\nimport java.util.HashSet;\nimport java.util.Map;\nimport java.util.HashMap;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Arrays;\nimport java.util.Scanner;\n\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n\n if (w - s >= 0){\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n }\n}\n\n\n\n",
"import java.util.*;",
"util.*",
"java",
"import java.util.HashSet;",
"HashSet",
"java.util",
"import java.util.Map;",
"Map",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n\n if (w - s >= 0){\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n\n if (w - s >= 0){\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n\n if (w - s >= 0){\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int s = sc.nextInt();",
"s",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int w = sc.nextInt();",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (w - s >= 0){\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }",
"w - s >= 0",
"w - s",
"w",
"s",
"0",
"{\n System.out.println(\"unsafe\");\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n System.out.println(\"safe\");\n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n\n if (w - s >= 0){\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n\n if (w - s >= 0){\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n }\n}",
"Main"
] |
import java.util.*;
import java.util.HashSet;
import java.util.Map;
import java.util.HashMap;
import java.util.ArrayList;
import java.util.List;
import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int s = sc.nextInt();
int w = sc.nextInt();
if (w - s >= 0){
System.out.println("unsafe");
} else {
System.out.println("safe");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] |
[
"import java.util.Scanner;\npublic class Main{\n public static void main(String[] args) {\n Scanner kbd = new Scanner(System.in);\n int n=kbd.nextInt();\n int w=kbd.nextInt();\n if(n>w){\n System.out.println(\"safe\");\n }else{\n System.out.println(\"unsafe\");\n }\n}\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args) {\n Scanner kbd = new Scanner(System.in);\n int n=kbd.nextInt();\n int w=kbd.nextInt();\n if(n>w){\n System.out.println(\"safe\");\n }else{\n System.out.println(\"unsafe\");\n }\n}\n}",
"Main",
"public static void main(String[] args) {\n Scanner kbd = new Scanner(System.in);\n int n=kbd.nextInt();\n int w=kbd.nextInt();\n if(n>w){\n System.out.println(\"safe\");\n }else{\n System.out.println(\"unsafe\");\n }\n}",
"main",
"{\n Scanner kbd = new Scanner(System.in);\n int n=kbd.nextInt();\n int w=kbd.nextInt();\n if(n>w){\n System.out.println(\"safe\");\n }else{\n System.out.println(\"unsafe\");\n }\n}",
"Scanner kbd = new Scanner(System.in);",
"kbd",
"new Scanner(System.in)",
"int n=kbd.nextInt();",
"n",
"kbd.nextInt()",
"kbd.nextInt",
"kbd",
"int w=kbd.nextInt();",
"w",
"kbd.nextInt()",
"kbd.nextInt",
"kbd",
"if(n>w){\n System.out.println(\"safe\");\n }else{\n System.out.println(\"unsafe\");\n }",
"n>w",
"n",
"w",
"{\n System.out.println(\"safe\");\n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"{\n System.out.println(\"unsafe\");\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) {\n Scanner kbd = new Scanner(System.in);\n int n=kbd.nextInt();\n int w=kbd.nextInt();\n if(n>w){\n System.out.println(\"safe\");\n }else{\n System.out.println(\"unsafe\");\n }\n}\n}",
"public class Main{\n public static void main(String[] args) {\n Scanner kbd = new Scanner(System.in);\n int n=kbd.nextInt();\n int w=kbd.nextInt();\n if(n>w){\n System.out.println(\"safe\");\n }else{\n System.out.println(\"unsafe\");\n }\n}\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner kbd = new Scanner(System.in);
int n=kbd.nextInt();
int w=kbd.nextInt();
if(n>w){
System.out.println("safe");
}else{
System.out.println("unsafe");
}
}
}
|
[
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,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
17,
14,
2,
13,
13,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
59,
5
],
[
59,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
39,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
6,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] |
[
"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 data = sc.nextLine();\n \n String[] array = data.split(\" \");\n int s = Integer.parseInt(array[0]);\n int w = Integer.parseInt(array[1]);\n \n String result = \"safe\";\n \n if(w >= s)\n {\n result = \"unsafe\";\n }\n \n System.out.println(result);\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 data = sc.nextLine();\n \n String[] array = data.split(\" \");\n int s = Integer.parseInt(array[0]);\n int w = Integer.parseInt(array[1]);\n \n String result = \"safe\";\n \n if(w >= s)\n {\n result = \"unsafe\";\n }\n \n System.out.println(result);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String data = sc.nextLine();\n \n String[] array = data.split(\" \");\n int s = Integer.parseInt(array[0]);\n int w = Integer.parseInt(array[1]);\n \n String result = \"safe\";\n \n if(w >= s)\n {\n result = \"unsafe\";\n }\n \n System.out.println(result);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String data = sc.nextLine();\n \n String[] array = data.split(\" \");\n int s = Integer.parseInt(array[0]);\n int w = Integer.parseInt(array[1]);\n \n String result = \"safe\";\n \n if(w >= s)\n {\n result = \"unsafe\";\n }\n \n System.out.println(result);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String data = sc.nextLine();",
"data",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] array = data.split(\" \");",
"array",
"data.split(\" \")",
"data.split",
"data",
"\" \"",
"int s = Integer.parseInt(array[0]);",
"s",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"int w = Integer.parseInt(array[1]);",
"w",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"String result = \"safe\";",
"result",
"\"safe\"",
"if(w >= s)\n {\n result = \"unsafe\";\n }",
"w >= s",
"w",
"s",
"{\n result = \"unsafe\";\n }",
"result = \"unsafe\"",
"result",
"\"unsafe\"",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String data = sc.nextLine();\n \n String[] array = data.split(\" \");\n int s = Integer.parseInt(array[0]);\n int w = Integer.parseInt(array[1]);\n \n String result = \"safe\";\n \n if(w >= s)\n {\n result = \"unsafe\";\n }\n \n System.out.println(result);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String data = sc.nextLine();\n \n String[] array = data.split(\" \");\n int s = Integer.parseInt(array[0]);\n int w = Integer.parseInt(array[1]);\n \n String result = \"safe\";\n \n if(w >= s)\n {\n result = \"unsafe\";\n }\n \n System.out.println(result);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
String data = sc.nextLine();
String[] array = data.split(" ");
int s = Integer.parseInt(array[0]);
int w = Integer.parseInt(array[1]);
String result = "safe";
if(w >= s)
{
result = "unsafe";
}
System.out.println(result);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
60,
5
],
[
60,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
39,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
6,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] |
[
"\n\nimport java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tString[] lines = line.split(\" \");\n\t\tDouble S = Double.parseDouble(lines[0]);\n\t\tDouble W = Double.parseDouble(lines[1]);\n\n\t\tif(W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"safe\");\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\tString line = sc.nextLine();\n\t\tString[] lines = line.split(\" \");\n\t\tDouble S = Double.parseDouble(lines[0]);\n\t\tDouble W = Double.parseDouble(lines[1]);\n\n\t\tif(W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"safe\");\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\tString line = sc.nextLine();\n\t\tString[] lines = line.split(\" \");\n\t\tDouble S = Double.parseDouble(lines[0]);\n\t\tDouble W = Double.parseDouble(lines[1]);\n\n\t\tif(W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tString[] lines = line.split(\" \");\n\t\tDouble S = Double.parseDouble(lines[0]);\n\t\tDouble W = Double.parseDouble(lines[1]);\n\n\t\tif(W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] lines = line.split(\" \");",
"lines",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"Double S = Double.parseDouble(lines[0]);",
"S",
"Double.parseDouble(lines[0])",
"Double.parseDouble",
"Double",
"lines[0]",
"lines",
"0",
"Double W = Double.parseDouble(lines[1]);",
"W",
"Double.parseDouble(lines[1])",
"Double.parseDouble",
"Double",
"lines[1]",
"lines",
"1",
"if(W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}",
"W >= S",
"W",
"S",
"{\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n\t\t\tSystem.out.println(\"safe\");\n\t\t}",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tString[] lines = line.split(\" \");\n\t\tDouble S = Double.parseDouble(lines[0]);\n\t\tDouble W = Double.parseDouble(lines[1]);\n\n\t\tif(W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"safe\");\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\tString line = sc.nextLine();\n\t\tString[] lines = line.split(\" \");\n\t\tDouble S = Double.parseDouble(lines[0]);\n\t\tDouble W = Double.parseDouble(lines[1]);\n\n\t\tif(W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"safe\");\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 line = sc.nextLine();
String[] lines = line.split(" ");
Double S = Double.parseDouble(lines[0]);
Double W = Double.parseDouble(lines[1]);
if(W >= S) {
System.out.println("unsafe");
}
else {
System.out.println("safe");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
13,
13,
13,
12,
13,
30,
4,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
62,
8
],
[
62,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
12,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
9,
30
],
[
30,
31
],
[
9,
32
],
[
32,
33
],
[
62,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
36,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
36,
50
],
[
50,
51
],
[
50,
52
],
[
50,
53
],
[
62,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
54,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] |
[
"import java.util.*;\nimport java.lang.*;\n\npublic class Main{\n\n public static void solve(long s , long w){\n if(w >= s){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n }\n\n public static void gora(){\n Scanner scn = new Scanner(System.in);\n\n // long test = scn.nextLong();\n\n long s = scn.nextLong();\n\n long w = scn.nextLong();\n\n // long arr[] = new long[n];\n\n // for(int i = 0 ; i < arr.length ; i++){\n // arr[i] = scn.nextLong();\n // }\n\n solve(s, w);\n }\n\n public static void main(String args[]){\n gora();\n }\n}\n\n",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main{\n\n public static void solve(long s , long w){\n if(w >= s){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n }\n\n public static void gora(){\n Scanner scn = new Scanner(System.in);\n\n // long test = scn.nextLong();\n\n long s = scn.nextLong();\n\n long w = scn.nextLong();\n\n // long arr[] = new long[n];\n\n // for(int i = 0 ; i < arr.length ; i++){\n // arr[i] = scn.nextLong();\n // }\n\n solve(s, w);\n }\n\n public static void main(String args[]){\n gora();\n }\n}",
"Main",
"public static void solve(long s , long w){\n if(w >= s){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n }",
"solve",
"{\n if(w >= s){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n }",
"if(w >= s){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }",
"w >= s",
"w",
"s",
"{\n System.out.println(\"unsafe\");\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n System.out.println(\"safe\");\n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"long s",
"s",
"long w",
"w",
"public static void gora(){\n Scanner scn = new Scanner(System.in);\n\n // long test = scn.nextLong();\n\n long s = scn.nextLong();\n\n long w = scn.nextLong();\n\n // long arr[] = new long[n];\n\n // for(int i = 0 ; i < arr.length ; i++){\n // arr[i] = scn.nextLong();\n // }\n\n solve(s, w);\n }",
"gora",
"{\n Scanner scn = new Scanner(System.in);\n\n // long test = scn.nextLong();\n\n long s = scn.nextLong();\n\n long w = scn.nextLong();\n\n // long arr[] = new long[n];\n\n // for(int i = 0 ; i < arr.length ; i++){\n // arr[i] = scn.nextLong();\n // }\n\n solve(s, w);\n }",
"Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"long s = scn.nextLong();",
"s",
"scn.nextLong()",
"scn.nextLong",
"scn",
"long w = scn.nextLong();",
"w",
"scn.nextLong()",
"scn.nextLong",
"scn",
"solve(s, w)",
"solve",
"s",
"w",
"public static void main(String args[]){\n gora();\n }",
"main",
"{\n gora();\n }",
"gora()",
"gora",
"String args[]",
"args",
"public class Main{\n\n public static void solve(long s , long w){\n if(w >= s){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n }\n\n public static void gora(){\n Scanner scn = new Scanner(System.in);\n\n // long test = scn.nextLong();\n\n long s = scn.nextLong();\n\n long w = scn.nextLong();\n\n // long arr[] = new long[n];\n\n // for(int i = 0 ; i < arr.length ; i++){\n // arr[i] = scn.nextLong();\n // }\n\n solve(s, w);\n }\n\n public static void main(String args[]){\n gora();\n }\n}",
"public class Main{\n\n public static void solve(long s , long w){\n if(w >= s){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n }\n\n public static void gora(){\n Scanner scn = new Scanner(System.in);\n\n // long test = scn.nextLong();\n\n long s = scn.nextLong();\n\n long w = scn.nextLong();\n\n // long arr[] = new long[n];\n\n // for(int i = 0 ; i < arr.length ; i++){\n // arr[i] = scn.nextLong();\n // }\n\n solve(s, w);\n }\n\n public static void main(String args[]){\n gora();\n }\n}",
"Main"
] |
import java.util.*;
import java.lang.*;
public class Main{
public static void solve(long s , long w){
if(w >= s){
System.out.println("unsafe");
}else{
System.out.println("safe");
}
}
public static void gora(){
Scanner scn = new Scanner(System.in);
// long test = scn.nextLong();
long s = scn.nextLong();
long w = scn.nextLong();
// long arr[] = new long[n];
// for(int i = 0 ; i < arr.length ; i++){
// arr[i] = scn.nextLong();
// }
solve(s, w);
}
public static void main(String args[]){
gora();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
4,
18,
20,
4,
18,
13,
4,
18,
13,
17,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
138,
8
],
[
138,
9
],
[
9,
10
],
[
9,
11
],
[
138,
12
],
[
12,
13
],
[
12,
14
],
[
138,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
17,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
15,
28
],
[
28,
29
],
[
138,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
138,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
59,
63
],
[
63,
64
],
[
59,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
65,
74
],
[
74,
75
],
[
59,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
79,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
89,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
78,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
59,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
110,
111
],
[
59,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
119,
120
],
[
59,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
125,
128
],
[
128,
129
],
[
59,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
0,
137
],
[
137,
138
],
[
137,
139
]
] |
[
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n\n public static InputReader in = new InputReader( System.in );\n public static PrintWriter out = new PrintWriter( System.out );\n public static void main( String[] atgs ) {\n\n new Main().solve();\n out.close();\n System.exit(0);\n }\n\n\n private void solve() {\n int s = in.nextInt();\n int w = in.nextInt();\n if(s<=w)\n System.out.print(\"unsafe\");\n else\n System.out.print(\"safe\");\n }\n\n //Solution ends\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader( InputStream stream ) {\n reader = new BufferedReader( new InputStreamReader( stream ), 32768 );\n tokenizer = null;\n }\n\n public String next() {\n while ( tokenizer == null || !tokenizer.hasMoreTokens( ) ) {\n try {\n tokenizer = new StringTokenizer( reader.readLine( ) );\n } catch ( IOException e ) {\n throw new RuntimeException( e );\n }\n }\n return tokenizer.nextToken( );\n }\n\n public int nextInt() {\n return Integer.parseInt( next( ) );\n }\n\n public long nextLong() {\n return Long.parseLong( next( ) );\n }\n\n public double nextDouble() {\n return Double.parseDouble( next( ) );\n }\n\n public String nextLine() throws IOException {\n return reader.readLine( );\n }\n }\n\n\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\n public static InputReader in = new InputReader( System.in );\n public static PrintWriter out = new PrintWriter( System.out );\n public static void main( String[] atgs ) {\n\n new Main().solve();\n out.close();\n System.exit(0);\n }\n\n\n private void solve() {\n int s = in.nextInt();\n int w = in.nextInt();\n if(s<=w)\n System.out.print(\"unsafe\");\n else\n System.out.print(\"safe\");\n }\n\n //Solution ends\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader( InputStream stream ) {\n reader = new BufferedReader( new InputStreamReader( stream ), 32768 );\n tokenizer = null;\n }\n\n public String next() {\n while ( tokenizer == null || !tokenizer.hasMoreTokens( ) ) {\n try {\n tokenizer = new StringTokenizer( reader.readLine( ) );\n } catch ( IOException e ) {\n throw new RuntimeException( e );\n }\n }\n return tokenizer.nextToken( );\n }\n\n public int nextInt() {\n return Integer.parseInt( next( ) );\n }\n\n public long nextLong() {\n return Long.parseLong( next( ) );\n }\n\n public double nextDouble() {\n return Double.parseDouble( next( ) );\n }\n\n public String nextLine() throws IOException {\n return reader.readLine( );\n }\n }\n\n\n}",
"Main",
"public static InputReader in = new InputReader( System.in );",
"in",
"new InputReader( System.in )",
"public static PrintWriter out = new PrintWriter( System.out );",
"out",
"new PrintWriter( System.out )",
"public static void main( String[] atgs ) {\n\n new Main().solve();\n out.close();\n System.exit(0);\n }",
"main",
"{\n\n new Main().solve();\n out.close();\n System.exit(0);\n }",
"new Main().solve()",
"new Main().solve",
"new Main()",
"out.close()",
"out.close",
"out",
"System.exit(0)",
"System.exit",
"System",
"0",
"String[] atgs",
"atgs",
"private void solve() {\n int s = in.nextInt();\n int w = in.nextInt();\n if(s<=w)\n System.out.print(\"unsafe\");\n else\n System.out.print(\"safe\");\n }",
"solve",
"{\n int s = in.nextInt();\n int w = in.nextInt();\n if(s<=w)\n System.out.print(\"unsafe\");\n else\n System.out.print(\"safe\");\n }",
"int s = in.nextInt();",
"s",
"in.nextInt()",
"in.nextInt",
"in",
"int w = in.nextInt();",
"w",
"in.nextInt()",
"in.nextInt",
"in",
"if(s<=w)\n System.out.print(\"unsafe\");\n else\n System.out.print(\"safe\");",
"s<=w",
"s",
"w",
"System.out.print(\"unsafe\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"System.out.print(\"safe\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"safe\"",
"static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader( InputStream stream ) {\n reader = new BufferedReader( new InputStreamReader( stream ), 32768 );\n tokenizer = null;\n }\n\n public String next() {\n while ( tokenizer == null || !tokenizer.hasMoreTokens( ) ) {\n try {\n tokenizer = new StringTokenizer( reader.readLine( ) );\n } catch ( IOException e ) {\n throw new RuntimeException( e );\n }\n }\n return tokenizer.nextToken( );\n }\n\n public int nextInt() {\n return Integer.parseInt( next( ) );\n }\n\n public long nextLong() {\n return Long.parseLong( next( ) );\n }\n\n public double nextDouble() {\n return Double.parseDouble( next( ) );\n }\n\n public String nextLine() throws IOException {\n return reader.readLine( );\n }\n }",
"InputReader",
"public BufferedReader reader;",
"reader",
"public StringTokenizer tokenizer;",
"tokenizer",
"public InputReader( InputStream stream ) {\n reader = new BufferedReader( new InputStreamReader( stream ), 32768 );\n tokenizer = null;\n }",
"InputReader",
"{\n reader = new BufferedReader( new InputStreamReader( stream ), 32768 );\n tokenizer = null;\n }",
"reader = new BufferedReader( new InputStreamReader( stream ), 32768 )",
"reader",
"new BufferedReader( new InputStreamReader( stream ), 32768 )",
"tokenizer = null",
"tokenizer",
"null",
"InputStream stream",
"stream",
"public String next() {\n while ( tokenizer == null || !tokenizer.hasMoreTokens( ) ) {\n try {\n tokenizer = new StringTokenizer( reader.readLine( ) );\n } catch ( IOException e ) {\n throw new RuntimeException( e );\n }\n }\n return tokenizer.nextToken( );\n }",
"next",
"{\n while ( tokenizer == null || !tokenizer.hasMoreTokens( ) ) {\n try {\n tokenizer = new StringTokenizer( reader.readLine( ) );\n } catch ( IOException e ) {\n throw new RuntimeException( e );\n }\n }\n return tokenizer.nextToken( );\n }",
"while ( tokenizer == null || !tokenizer.hasMoreTokens( ) ) {\n try {\n tokenizer = new StringTokenizer( reader.readLine( ) );\n } catch ( IOException e ) {\n throw new RuntimeException( e );\n }\n }",
"tokenizer == null || !tokenizer.hasMoreTokens( )",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens( )",
"tokenizer.hasMoreTokens( )",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n try {\n tokenizer = new StringTokenizer( reader.readLine( ) );\n } catch ( IOException e ) {\n throw new RuntimeException( e );\n }\n }",
"try {\n tokenizer = new StringTokenizer( reader.readLine( ) );\n } catch ( IOException e ) {\n throw new RuntimeException( e );\n }",
"catch ( IOException e ) {\n throw new RuntimeException( e );\n }",
"IOException e",
"{\n throw new RuntimeException( e );\n }",
"throw new RuntimeException( e );",
"new RuntimeException( e )",
"{\n tokenizer = new StringTokenizer( reader.readLine( ) );\n }",
"tokenizer = new StringTokenizer( reader.readLine( ) )",
"tokenizer",
"new StringTokenizer( reader.readLine( ) )",
"return tokenizer.nextToken( );",
"tokenizer.nextToken( )",
"tokenizer.nextToken",
"tokenizer",
"public int nextInt() {\n return Integer.parseInt( next( ) );\n }",
"nextInt",
"{\n return Integer.parseInt( next( ) );\n }",
"return Integer.parseInt( next( ) );",
"Integer.parseInt( next( ) )",
"Integer.parseInt",
"Integer",
"next( )",
"next",
"public long nextLong() {\n return Long.parseLong( next( ) );\n }",
"nextLong",
"{\n return Long.parseLong( next( ) );\n }",
"return Long.parseLong( next( ) );",
"Long.parseLong( next( ) )",
"Long.parseLong",
"Long",
"next( )",
"next",
"public double nextDouble() {\n return Double.parseDouble( next( ) );\n }",
"nextDouble",
"{\n return Double.parseDouble( next( ) );\n }",
"return Double.parseDouble( next( ) );",
"Double.parseDouble( next( ) )",
"Double.parseDouble",
"Double",
"next( )",
"next",
"public String nextLine() throws IOException {\n return reader.readLine( );\n }",
"nextLine",
"{\n return reader.readLine( );\n }",
"return reader.readLine( );",
"reader.readLine( )",
"reader.readLine",
"reader",
"public class Main {\n\n\n public static InputReader in = new InputReader( System.in );\n public static PrintWriter out = new PrintWriter( System.out );\n public static void main( String[] atgs ) {\n\n new Main().solve();\n out.close();\n System.exit(0);\n }\n\n\n private void solve() {\n int s = in.nextInt();\n int w = in.nextInt();\n if(s<=w)\n System.out.print(\"unsafe\");\n else\n System.out.print(\"safe\");\n }\n\n //Solution ends\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader( InputStream stream ) {\n reader = new BufferedReader( new InputStreamReader( stream ), 32768 );\n tokenizer = null;\n }\n\n public String next() {\n while ( tokenizer == null || !tokenizer.hasMoreTokens( ) ) {\n try {\n tokenizer = new StringTokenizer( reader.readLine( ) );\n } catch ( IOException e ) {\n throw new RuntimeException( e );\n }\n }\n return tokenizer.nextToken( );\n }\n\n public int nextInt() {\n return Integer.parseInt( next( ) );\n }\n\n public long nextLong() {\n return Long.parseLong( next( ) );\n }\n\n public double nextDouble() {\n return Double.parseDouble( next( ) );\n }\n\n public String nextLine() throws IOException {\n return reader.readLine( );\n }\n }\n\n\n}",
"public class Main {\n\n\n public static InputReader in = new InputReader( System.in );\n public static PrintWriter out = new PrintWriter( System.out );\n public static void main( String[] atgs ) {\n\n new Main().solve();\n out.close();\n System.exit(0);\n }\n\n\n private void solve() {\n int s = in.nextInt();\n int w = in.nextInt();\n if(s<=w)\n System.out.print(\"unsafe\");\n else\n System.out.print(\"safe\");\n }\n\n //Solution ends\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader( InputStream stream ) {\n reader = new BufferedReader( new InputStreamReader( stream ), 32768 );\n tokenizer = null;\n }\n\n public String next() {\n while ( tokenizer == null || !tokenizer.hasMoreTokens( ) ) {\n try {\n tokenizer = new StringTokenizer( reader.readLine( ) );\n } catch ( IOException e ) {\n throw new RuntimeException( e );\n }\n }\n return tokenizer.nextToken( );\n }\n\n public int nextInt() {\n return Integer.parseInt( next( ) );\n }\n\n public long nextLong() {\n return Long.parseLong( next( ) );\n }\n\n public double nextDouble() {\n return Double.parseDouble( next( ) );\n }\n\n public String nextLine() throws IOException {\n return reader.readLine( );\n }\n }\n\n\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main {
public static InputReader in = new InputReader( System.in );
public static PrintWriter out = new PrintWriter( System.out );
public static void main( String[] atgs ) {
new Main().solve();
out.close();
System.exit(0);
}
private void solve() {
int s = in.nextInt();
int w = in.nextInt();
if(s<=w)
System.out.print("unsafe");
else
System.out.print("safe");
}
//Solution ends
static class InputReader {
public BufferedReader reader;
public StringTokenizer tokenizer;
public InputReader( InputStream stream ) {
reader = new BufferedReader( new InputStreamReader( stream ), 32768 );
tokenizer = null;
}
public String next() {
while ( tokenizer == null || !tokenizer.hasMoreTokens( ) ) {
try {
tokenizer = new StringTokenizer( reader.readLine( ) );
} catch ( IOException e ) {
throw new RuntimeException( e );
}
}
return tokenizer.nextToken( );
}
public int nextInt() {
return Integer.parseInt( next( ) );
}
public long nextLong() {
return Long.parseLong( next( ) );
}
public double nextDouble() {
return Double.parseDouble( next( ) );
}
public String nextLine() throws IOException {
return reader.readLine( );
}
}
}
|
[
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,
14,
2,
13,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
30,
29,
18,
13,
40,
13,
30,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
30,
40,
13,
12,
13,
30,
4,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
30,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
30,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
14,
40,
4,
13,
30,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
362,
11
],
[
362,
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
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
14,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
12,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
46,
53
],
[
53,
54
],
[
53,
55
],
[
46,
57
],
[
57,
58
],
[
57,
59
],
[
46,
60
],
[
60,
61
],
[
60,
62
],
[
46,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
66,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
77,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
73,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
96,
97
],
[
65,
98
],
[
98,
99
],
[
46,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
103,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
46,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
124,
125
],
[
124,
126
],
[
116,
127
],
[
127,
128
],
[
46,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
133,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
139,
141
],
[
132,
142
],
[
142,
143
],
[
143,
144
],
[
46,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
147,
150
],
[
150,
151
],
[
151,
152
],
[
46,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
156,
160
],
[
160,
161
],
[
161,
162
],
[
155,
163
],
[
163,
164
],
[
163,
165
],
[
155,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
155,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
170,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
175,
178
],
[
174,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
155,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
46,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
190,
194
],
[
194,
195
],
[
195,
196
],
[
189,
197
],
[
197,
198
],
[
197,
199
],
[
189,
200
],
[
200,
201
],
[
200,
202
],
[
189,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
189,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
211,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
189,
219
],
[
219,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
220,
224
],
[
224,
225
],
[
224,
226
],
[
219,
227
],
[
227,
228
],
[
228,
229
],
[
189,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
234,
238
],
[
238,
239
],
[
238,
240
],
[
233,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
241,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
247,
249
],
[
233,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
254,
255
],
[
251,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
250,
260
],
[
260,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
264,
265
],
[
262,
266
],
[
250,
267
],
[
267,
268
],
[
268,
269
],
[
232,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
46,
274
],
[
274,
275
],
[
274,
276
],
[
276,
277
],
[
277,
278
],
[
278,
279
],
[
279,
280
],
[
277,
281
],
[
281,
282
],
[
282,
283
],
[
276,
284
],
[
284,
285
],
[
284,
286
],
[
276,
287
],
[
287,
288
],
[
287,
289
],
[
276,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
276,
294
],
[
294,
295
],
[
295,
296
],
[
295,
297
],
[
294,
298
],
[
298,
299
],
[
299,
300
],
[
299,
301
],
[
298,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
276,
306
],
[
306,
307
],
[
307,
308
],
[
308,
309
],
[
308,
310
],
[
307,
311
],
[
311,
312
],
[
311,
313
],
[
306,
314
],
[
314,
315
],
[
315,
316
],
[
276,
317
],
[
317,
318
],
[
317,
319
],
[
319,
320
],
[
320,
321
],
[
321,
322
],
[
322,
323
],
[
322,
324
],
[
321,
325
],
[
325,
326
],
[
325,
327
],
[
320,
328
],
[
328,
329
],
[
329,
330
],
[
329,
331
],
[
328,
332
],
[
332,
333
],
[
332,
334
],
[
334,
335
],
[
334,
336
],
[
320,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
339,
341
],
[
341,
342
],
[
338,
343
],
[
343,
344
],
[
344,
345
],
[
344,
346
],
[
337,
347
],
[
347,
348
],
[
348,
349
],
[
349,
350
],
[
349,
351
],
[
351,
352
],
[
349,
353
],
[
337,
354
],
[
354,
355
],
[
355,
356
],
[
319,
357
],
[
357,
358
],
[
357,
359
],
[
359,
360
],
[
0,
361
],
[
361,
362
],
[
361,
363
]
] |
[
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.util.NoSuchElementException;\n\npublic class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n\n int S = sc.nextInt();\n int W = sc.nextInt();\n\n String ans = \"safe\";\n if (S <= W)\n ans = \"unsafe\";\n System.out.println(ans);\n\n }\n}\n\nclass FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }\n\n private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n private void skipUnprintable() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n }\n\n public boolean hasNext() {\n skipUnprintable();\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public int nextInt() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n int n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n\n int S = sc.nextInt();\n int W = sc.nextInt();\n\n String ans = \"safe\";\n if (S <= W)\n ans = \"unsafe\";\n System.out.println(ans);\n\n }\n}",
"Main",
"public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n\n int S = sc.nextInt();\n int W = sc.nextInt();\n\n String ans = \"safe\";\n if (S <= W)\n ans = \"unsafe\";\n System.out.println(ans);\n\n }",
"main",
"{\n FastScanner sc = new FastScanner();\n\n int S = sc.nextInt();\n int W = sc.nextInt();\n\n String ans = \"safe\";\n if (S <= W)\n ans = \"unsafe\";\n System.out.println(ans);\n\n }",
"FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"int S = sc.nextInt();",
"S",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int W = sc.nextInt();",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String ans = \"safe\";",
"ans",
"\"safe\"",
"if (S <= W)\n ans = \"unsafe\";",
"S <= W",
"S",
"W",
"ans = \"unsafe\"",
"ans",
"\"unsafe\"",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"class FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }\n\n private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n private void skipUnprintable() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n }\n\n public boolean hasNext() {\n skipUnprintable();\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public int nextInt() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n int n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n}",
"FastScanner",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int ptr = 0;",
"ptr",
"0",
"private int buflen = 0;",
"buflen",
"0",
"private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"hasNextByte",
"{\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr < buflen",
"ptr",
"buflen",
"{\n return true;\n }",
"return true;",
"true",
"{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr = 0",
"ptr",
"0",
"try {\n buflen = in.read(buffer);\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 buflen = in.read(buffer);\n }",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n return false;\n }",
"buflen <= 0",
"buflen",
"0",
"{\n return false;\n }",
"return false;",
"false",
"return true;",
"true",
"private int readByte() {\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }",
"readByte",
"{\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }",
"if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }",
"hasNextByte()",
"hasNextByte",
"{\n return buffer[ptr++];\n }",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }",
"isPrintableChar",
"{\n return 33 <= c && c <= 126;\n }",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"private void skipUnprintable() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n }",
"skipUnprintable",
"{\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n }",
"while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }",
"hasNextByte() && !isPrintableChar(buffer[ptr])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[ptr])",
"isPrintableChar(buffer[ptr])",
"isPrintableChar",
"buffer[ptr]",
"buffer",
"ptr",
"{\n ptr++;\n }",
"ptr++",
"ptr",
"public boolean hasNext() {\n skipUnprintable();\n return hasNextByte();\n }",
"hasNext",
"{\n skipUnprintable();\n return hasNextByte();\n }",
"skipUnprintable()",
"skipUnprintable",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"next",
"{\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"if (!hasNext()) {\n throw new NoSuchElementException();\n }",
"!hasNext()",
"hasNext()",
"hasNext",
"{\n throw new NoSuchElementException();\n }",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n sb.appendCodePoint(b);\n b = readByte();\n }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public int nextInt() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n int n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"nextInt",
"{\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n int n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"if (!hasNext()) {\n throw new NoSuchElementException();\n }",
"!hasNext()",
"hasNext()",
"hasNext",
"{\n throw new NoSuchElementException();\n }",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"int n = 0;",
"n",
"0",
"boolean minus = false;",
"minus",
"false",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"if (b == '-') {\n minus = true;\n b = readByte();\n }",
"b == '-'",
"b",
"'-'",
"{\n minus = true;\n b = readByte();\n }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"true",
"{\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n n *= 10;\n n += b - '0';\n }",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n return minus ? -n : n;\n }",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"nextLong",
"{\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"if (!hasNext()) {\n throw new NoSuchElementException();\n }",
"!hasNext()",
"hasNext()",
"hasNext",
"{\n throw new NoSuchElementException();\n }",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long n = 0;",
"n",
"0",
"boolean minus = false;",
"minus",
"false",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"if (b == '-') {\n minus = true;\n b = readByte();\n }",
"b == '-'",
"b",
"'-'",
"{\n minus = true;\n b = readByte();\n }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"true",
"{\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n n *= 10;\n n += b - '0';\n }",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n return minus ? -n : n;\n }",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n\n int S = sc.nextInt();\n int W = sc.nextInt();\n\n String ans = \"safe\";\n if (S <= W)\n ans = \"unsafe\";\n System.out.println(ans);\n\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n\n int S = sc.nextInt();\n int W = sc.nextInt();\n\n String ans = \"safe\";\n if (S <= W)\n ans = \"unsafe\";\n System.out.println(ans);\n\n }\n}",
"Main"
] |
import java.io.IOException;
import java.io.InputStream;
import java.util.NoSuchElementException;
public class Main {
public static void main(String[] args) {
FastScanner sc = new FastScanner();
int S = sc.nextInt();
int W = sc.nextInt();
String ans = "safe";
if (S <= W)
ans = "unsafe";
System.out.println(ans);
}
}
class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
private boolean hasNextByte() {
if (ptr < buflen) {
return true;
} else {
ptr = 0;
try {
buflen = in.read(buffer);
} catch (IOException e) {
e.printStackTrace();
}
if (buflen <= 0) {
return false;
}
}
return true;
}
private int readByte() {
if (hasNextByte()) {
return buffer[ptr++];
} else {
return -1;
}
}
private static boolean isPrintableChar(int c) {
return 33 <= c && c <= 126;
}
private void skipUnprintable() {
while (hasNextByte() && !isPrintableChar(buffer[ptr])) {
ptr++;
}
}
public boolean hasNext() {
skipUnprintable();
return hasNextByte();
}
public String next() {
if (!hasNext()) {
throw new NoSuchElementException();
}
StringBuilder sb = new StringBuilder();
int b = readByte();
while (isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
public int nextInt() {
if (!hasNext()) {
throw new NoSuchElementException();
}
int n = 0;
boolean minus = false;
int b = readByte();
if (b == '-') {
minus = true;
b = readByte();
}
if (b < '0' || '9' < b) {
throw new NumberFormatException();
}
while (true) {
if ('0' <= b && b <= '9') {
n *= 10;
n += b - '0';
} else if (b == -1 || !isPrintableChar(b)) {
return minus ? -n : n;
} else {
throw new NumberFormatException();
}
b = readByte();
}
}
public long nextLong() {
if (!hasNext()) {
throw new NoSuchElementException();
}
long n = 0;
boolean minus = false;
int b = readByte();
if (b == '-') {
minus = true;
b = readByte();
}
if (b < '0' || '9' < b) {
throw new NumberFormatException();
}
while (true) {
if ('0' <= b && b <= '9') {
n *= 10;
n += b - '0';
} else if (b == -1 || !isPrintableChar(b)) {
return minus ? -n : n;
} else {
throw new NumberFormatException();
}
b = readByte();
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
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
],
[
48,
5
],
[
48,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
27,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\t public static void main(String args[]){\n\t Scanner scanner = new Scanner(System.in);\n\nint a=scanner.nextInt();\nint b=scanner.nextInt();\nint c=a-b;\n\tif(c>0) {\n\t\tSystem.out.println(\"safe\");\n\t}\n\telse{\n\t\tSystem.out.println(\"unsafe\");\n\t}\n}\n\t }",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t public static void main(String args[]){\n\t Scanner scanner = new Scanner(System.in);\n\nint a=scanner.nextInt();\nint b=scanner.nextInt();\nint c=a-b;\n\tif(c>0) {\n\t\tSystem.out.println(\"safe\");\n\t}\n\telse{\n\t\tSystem.out.println(\"unsafe\");\n\t}\n}\n\t }",
"Main",
"public static void main(String args[]){\n\t Scanner scanner = new Scanner(System.in);\n\nint a=scanner.nextInt();\nint b=scanner.nextInt();\nint c=a-b;\n\tif(c>0) {\n\t\tSystem.out.println(\"safe\");\n\t}\n\telse{\n\t\tSystem.out.println(\"unsafe\");\n\t}\n}",
"main",
"{\n\t Scanner scanner = new Scanner(System.in);\n\nint a=scanner.nextInt();\nint b=scanner.nextInt();\nint c=a-b;\n\tif(c>0) {\n\t\tSystem.out.println(\"safe\");\n\t}\n\telse{\n\t\tSystem.out.println(\"unsafe\");\n\t}\n}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int a=scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int b=scanner.nextInt();",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int c=a-b;",
"c",
"a-b",
"a",
"b",
"if(c>0) {\n\t\tSystem.out.println(\"safe\");\n\t}\n\telse{\n\t\tSystem.out.println(\"unsafe\");\n\t}",
"c>0",
"c",
"0",
"{\n\t\tSystem.out.println(\"safe\");\n\t}",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"{\n\t\tSystem.out.println(\"unsafe\");\n\t}",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"String args[]",
"args",
"public class Main {\n\t public static void main(String args[]){\n\t Scanner scanner = new Scanner(System.in);\n\nint a=scanner.nextInt();\nint b=scanner.nextInt();\nint c=a-b;\n\tif(c>0) {\n\t\tSystem.out.println(\"safe\");\n\t}\n\telse{\n\t\tSystem.out.println(\"unsafe\");\n\t}\n}\n\t }",
"public class Main {\n\t public static void main(String args[]){\n\t Scanner scanner = new Scanner(System.in);\n\nint a=scanner.nextInt();\nint b=scanner.nextInt();\nint c=a-b;\n\tif(c>0) {\n\t\tSystem.out.println(\"safe\");\n\t}\n\telse{\n\t\tSystem.out.println(\"unsafe\");\n\t}\n}\n\t }",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String args[]){
Scanner scanner = new Scanner(System.in);
int a=scanner.nextInt();
int b=scanner.nextInt();
int c=a-b;
if(c>0) {
System.out.println("safe");
}
else{
System.out.println("unsafe");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
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,
14,
2,
4,
18,
13,
4,
18,
13,
30,
4,
18,
13,
17,
4,
18,
13,
17,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
153,
32
],
[
153,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
35,
46
],
[
46,
47
],
[
46,
48
],
[
35,
49
],
[
49,
50
],
[
49,
51
],
[
35,
52
],
[
52,
53
],
[
52,
54
],
[
35,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
55,
59
],
[
55,
60
],
[
35,
61
],
[
61,
62
],
[
62,
63
],
[
33,
64
],
[
64,
65
],
[
153,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
72,
76
],
[
76,
77
],
[
77,
78
],
[
71,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
71,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
68,
88
],
[
88,
89
],
[
68,
90
],
[
90,
91
],
[
68,
92
],
[
92,
93
],
[
153,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
94,
98
],
[
98,
99
],
[
94,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
100,
106
],
[
106,
107
],
[
94,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
108,
114
],
[
114,
115
],
[
94,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
119,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
129,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
118,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
94,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
147,
150
],
[
150,
151
],
[
0,
152
],
[
152,
153
],
[
152,
154
]
] |
[
"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.FileReader;\nimport java.io.InputStreamReader;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ASheepAndWolves solver = new ASheepAndWolves();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ASheepAndWolves {\n public void solve(int testNumber, Scanner sc, PrintWriter pw) {\n if (sc.nextInt() <= sc.nextInt()) {\n pw.println(\"unsafe\");\n } else\n pw.println(\"safe\");\n }\n\n }\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.FileReader;",
"FileReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ASheepAndWolves solver = new ASheepAndWolves();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ASheepAndWolves {\n public void solve(int testNumber, Scanner sc, PrintWriter pw) {\n if (sc.nextInt() <= sc.nextInt()) {\n pw.println(\"unsafe\");\n } else\n pw.println(\"safe\");\n }\n\n }\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ASheepAndWolves solver = new ASheepAndWolves();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ASheepAndWolves solver = new ASheepAndWolves();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"Scanner in = new Scanner(inputStream);",
"in",
"new Scanner(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"ASheepAndWolves solver = new ASheepAndWolves();",
"solver",
"new ASheepAndWolves()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class ASheepAndWolves {\n public void solve(int testNumber, Scanner sc, PrintWriter pw) {\n if (sc.nextInt() <= sc.nextInt()) {\n pw.println(\"unsafe\");\n } else\n pw.println(\"safe\");\n }\n\n }",
"ASheepAndWolves",
"public void solve(int testNumber, Scanner sc, PrintWriter pw) {\n if (sc.nextInt() <= sc.nextInt()) {\n pw.println(\"unsafe\");\n } else\n pw.println(\"safe\");\n }",
"solve",
"{\n if (sc.nextInt() <= sc.nextInt()) {\n pw.println(\"unsafe\");\n } else\n pw.println(\"safe\");\n }",
"if (sc.nextInt() <= sc.nextInt()) {\n pw.println(\"unsafe\");\n } else\n pw.println(\"safe\");",
"sc.nextInt() <= sc.nextInt()",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"{\n pw.println(\"unsafe\");\n }",
"pw.println(\"unsafe\")",
"pw.println",
"pw",
"\"unsafe\"",
"pw.println(\"safe\")",
"pw.println",
"pw",
"\"safe\"",
"int testNumber",
"testNumber",
"Scanner sc",
"sc",
"PrintWriter pw",
"pw",
"static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }",
"Scanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }",
"Scanner",
"{\n br = new BufferedReader(r);\n }",
"br = new BufferedReader(r)",
"br",
"new BufferedReader(r)",
"FileReader r",
"r",
"public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }",
"Scanner",
"{\n br = new BufferedReader(new InputStreamReader(s));\n }",
"br = new BufferedReader(new InputStreamReader(s))",
"br",
"new BufferedReader(new InputStreamReader(s))",
"InputStream s",
"s",
"public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }",
"catch (IOException e) {\n throw new RuntimeException(e);\n }",
"IOException e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ASheepAndWolves solver = new ASheepAndWolves();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ASheepAndWolves {\n public void solve(int testNumber, Scanner sc, PrintWriter pw) {\n if (sc.nextInt() <= sc.nextInt()) {\n pw.println(\"unsafe\");\n } else\n pw.println(\"safe\");\n }\n\n }\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ASheepAndWolves solver = new ASheepAndWolves();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ASheepAndWolves {\n public void solve(int testNumber, Scanner sc, PrintWriter pw) {\n if (sc.nextInt() <= sc.nextInt()) {\n pw.println(\"unsafe\");\n } else\n pw.println(\"safe\");\n }\n\n }\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.StringTokenizer;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.InputStreamReader;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
Scanner in = new Scanner(inputStream);
PrintWriter out = new PrintWriter(outputStream);
ASheepAndWolves solver = new ASheepAndWolves();
solver.solve(1, in, out);
out.close();
}
static class ASheepAndWolves {
public void solve(int testNumber, Scanner sc, PrintWriter pw) {
if (sc.nextInt() <= sc.nextInt()) {
pw.println("unsafe");
} else
pw.println("safe");
}
}
static class Scanner {
StringTokenizer st;
BufferedReader br;
public Scanner(FileReader r) {
br = new BufferedReader(r);
}
public Scanner(InputStream s) {
br = new BufferedReader(new InputStreamReader(s));
}
public String next() {
while (st == null || !st.hasMoreTokens()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return st.nextToken();
}
public int nextInt() {
return Integer.parseInt(next());
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
6,
40
],
[
40,
41
]
] |
[
"import java.util.*;\nclass Main{\n public static void main(String[]args){\n Scanner s=new Scanner(System.in);\n int n=s.nextInt();\n int a=s.nextInt();\n if(n<=a){\n \tSystem.out.println(\"unsafe\");\n }else{\n \tSystem.out.println(\"safe\");\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[]args){\n Scanner s=new Scanner(System.in);\n int n=s.nextInt();\n int a=s.nextInt();\n if(n<=a){\n \tSystem.out.println(\"unsafe\");\n }else{\n \tSystem.out.println(\"safe\");\n }\n }\n}",
"Main",
"public static void main(String[]args){\n Scanner s=new Scanner(System.in);\n int n=s.nextInt();\n int a=s.nextInt();\n if(n<=a){\n \tSystem.out.println(\"unsafe\");\n }else{\n \tSystem.out.println(\"safe\");\n }\n }",
"main",
"{\n Scanner s=new Scanner(System.in);\n int n=s.nextInt();\n int a=s.nextInt();\n if(n<=a){\n \tSystem.out.println(\"unsafe\");\n }else{\n \tSystem.out.println(\"safe\");\n }\n }",
"Scanner s=new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int n=s.nextInt();",
"n",
"s.nextInt()",
"s.nextInt",
"s",
"int a=s.nextInt();",
"a",
"s.nextInt()",
"s.nextInt",
"s",
"if(n<=a){\n \tSystem.out.println(\"unsafe\");\n }else{\n \tSystem.out.println(\"safe\");\n }",
"n<=a",
"n",
"a",
"{\n \tSystem.out.println(\"unsafe\");\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n \tSystem.out.println(\"safe\");\n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[]args",
"args"
] |
import java.util.*;
class Main{
public static void main(String[]args){
Scanner s=new Scanner(System.in);
int n=s.nextInt();
int a=s.nextInt();
if(n<=a){
System.out.println("unsafe");
}else{
System.out.println("safe");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
14,
2,
13,
13,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
45,
5
],
[
45,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] |
[
"import java.util.Scanner;\n\npublic class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = sc.nextInt();\n\t\tint w = sc.nextInt();\n\n\t\tsc.close();\n\t\tString ans = \"safe\";\n\t\tif (w >= s ) {\n\t\t\tans = \"unsafe\";\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = sc.nextInt();\n\t\tint w = sc.nextInt();\n\n\t\tsc.close();\n\t\tString ans = \"safe\";\n\t\tif (w >= s ) {\n\t\t\tans = \"unsafe\";\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = sc.nextInt();\n\t\tint w = sc.nextInt();\n\n\t\tsc.close();\n\t\tString ans = \"safe\";\n\t\tif (w >= s ) {\n\t\t\tans = \"unsafe\";\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = sc.nextInt();\n\t\tint w = sc.nextInt();\n\n\t\tsc.close();\n\t\tString ans = \"safe\";\n\t\tif (w >= s ) {\n\t\t\tans = \"unsafe\";\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int s = sc.nextInt();",
"s",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int w = sc.nextInt();",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.close()",
"sc.close",
"sc",
"String ans = \"safe\";",
"ans",
"\"safe\"",
"if (w >= s ) {\n\t\t\tans = \"unsafe\";\n\t\t}",
"w >= s",
"w",
"s",
"{\n\t\t\tans = \"unsafe\";\n\t\t}",
"ans = \"unsafe\"",
"ans",
"\"unsafe\"",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = sc.nextInt();\n\t\tint w = sc.nextInt();\n\n\t\tsc.close();\n\t\tString ans = \"safe\";\n\t\tif (w >= s ) {\n\t\t\tans = \"unsafe\";\n\t\t}\n\n\t\tSystem.out.println(ans);\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\tint s = sc.nextInt();\n\t\tint w = sc.nextInt();\n\n\t\tsc.close();\n\t\tString ans = \"safe\";\n\t\tif (w >= s ) {\n\t\t\tans = \"unsafe\";\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
int s = sc.nextInt();
int w = sc.nextInt();
sc.close();
String ans = "safe";
if (w >= s ) {
ans = "unsafe";
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
13,
13,
17,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
36,
5
],
[
36,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
27,
32
],
[
6,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\n\t\tSystem.out.println(n<=m ? \"unsafe\":\"safe\");\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\n\t\tSystem.out.println(n<=m ? \"unsafe\":\"safe\");\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\n\t\tSystem.out.println(n<=m ? \"unsafe\":\"safe\");\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\n\t\tSystem.out.println(n<=m ? \"unsafe\":\"safe\");\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int m = sc.nextInt();",
"m",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(n<=m ? \"unsafe\":\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"n<=m ? \"unsafe\":\"safe\"",
"n<=m",
"n",
"m",
"\"unsafe\"",
"\"safe\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\n\t\tSystem.out.println(n<=m ? \"unsafe\":\"safe\");\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\n\t\tSystem.out.println(n<=m ? \"unsafe\":\"safe\");\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int m = sc.nextInt();
System.out.println(n<=m ? "unsafe":"safe");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
14,
2,
13,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
41,
5
],
[
41,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
6,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = sc.nextInt();\n\t\tint w = sc.nextInt();\n\t\tString result = \"unsafe\";\n\t\tif(s > w) result = \"safe\";\n\t\tSystem.out.println(result);\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = sc.nextInt();\n\t\tint w = sc.nextInt();\n\t\tString result = \"unsafe\";\n\t\tif(s > w) result = \"safe\";\n\t\tSystem.out.println(result);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = sc.nextInt();\n\t\tint w = sc.nextInt();\n\t\tString result = \"unsafe\";\n\t\tif(s > w) result = \"safe\";\n\t\tSystem.out.println(result);\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = sc.nextInt();\n\t\tint w = sc.nextInt();\n\t\tString result = \"unsafe\";\n\t\tif(s > w) result = \"safe\";\n\t\tSystem.out.println(result);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int s = sc.nextInt();",
"s",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int w = sc.nextInt();",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String result = \"unsafe\";",
"result",
"\"unsafe\"",
"if(s > w) result = \"safe\";",
"s > w",
"s",
"w",
"result = \"safe\"",
"result",
"\"safe\"",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = sc.nextInt();\n\t\tint w = sc.nextInt();\n\t\tString result = \"unsafe\";\n\t\tif(s > w) result = \"safe\";\n\t\tSystem.out.println(result);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = sc.nextInt();\n\t\tint w = sc.nextInt();\n\t\tString result = \"unsafe\";\n\t\tif(s > w) result = \"safe\";\n\t\tSystem.out.println(result);\n\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int s = sc.nextInt();
int w = sc.nextInt();
String result = "unsafe";
if(s > w) result = "safe";
System.out.println(result);
}
}
|
[
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,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
66,
8
],
[
66,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
11,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
42,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
11,
60
],
[
60,
61
],
[
61,
62
],
[
9,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] |
[
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader bw = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = bw.readLine();\n\t\tString[] w = s.split(\"\\\\s+\");\n\t\tint S = Integer.parseInt(w[0]);\n\t\tint W = Integer.parseInt(w[1]);\n\t\t\n\t\tif (W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t\tbw.close();\n\t}\n\t\n\t\n}\t\n",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader bw = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = bw.readLine();\n\t\tString[] w = s.split(\"\\\\s+\");\n\t\tint S = Integer.parseInt(w[0]);\n\t\tint W = Integer.parseInt(w[1]);\n\t\t\n\t\tif (W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t\tbw.close();\n\t}\n\t\n\t\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tBufferedReader bw = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = bw.readLine();\n\t\tString[] w = s.split(\"\\\\s+\");\n\t\tint S = Integer.parseInt(w[0]);\n\t\tint W = Integer.parseInt(w[1]);\n\t\t\n\t\tif (W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t\tbw.close();\n\t}",
"main",
"{\n\t\tBufferedReader bw = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = bw.readLine();\n\t\tString[] w = s.split(\"\\\\s+\");\n\t\tint S = Integer.parseInt(w[0]);\n\t\tint W = Integer.parseInt(w[1]);\n\t\t\n\t\tif (W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t\tbw.close();\n\t}",
"BufferedReader bw = new BufferedReader(new InputStreamReader(System.in));",
"bw",
"new BufferedReader(new InputStreamReader(System.in))",
"String s = bw.readLine();",
"s",
"bw.readLine()",
"bw.readLine",
"bw",
"String[] w = s.split(\"\\\\s+\");",
"w",
"s.split(\"\\\\s+\")",
"s.split",
"s",
"\"\\\\s+\"",
"int S = Integer.parseInt(w[0]);",
"S",
"Integer.parseInt(w[0])",
"Integer.parseInt",
"Integer",
"w[0]",
"w",
"0",
"int W = Integer.parseInt(w[1]);",
"W",
"Integer.parseInt(w[1])",
"Integer.parseInt",
"Integer",
"w[1]",
"w",
"1",
"if (W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}",
"W >= S",
"W",
"S",
"{\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n\t\t\tSystem.out.println(\"safe\");\n\t\t}",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"bw.close()",
"bw.close",
"bw",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader bw = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = bw.readLine();\n\t\tString[] w = s.split(\"\\\\s+\");\n\t\tint S = Integer.parseInt(w[0]);\n\t\tint W = Integer.parseInt(w[1]);\n\t\t\n\t\tif (W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t\tbw.close();\n\t}\n\t\n\t\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader bw = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = bw.readLine();\n\t\tString[] w = s.split(\"\\\\s+\");\n\t\tint S = Integer.parseInt(w[0]);\n\t\tint W = Integer.parseInt(w[1]);\n\t\t\n\t\tif (W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t\tbw.close();\n\t}\n\t\n\t\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader bw = new BufferedReader(new InputStreamReader(System.in));
String s = bw.readLine();
String[] w = s.split("\\s+");
int S = Integer.parseInt(w[0]);
int W = Integer.parseInt(w[1]);
if (W >= S) {
System.out.println("unsafe");
}else {
System.out.println("safe");
}
bw.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
41,
5
],
[
41,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
22,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
6,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int M = sc.nextInt();\n \n if (N <= M)\n \tSystem.out.println(\"unsafe\");\n else\n \tSystem.out.println(\"safe\");\n \t\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int M = sc.nextInt();\n \n if (N <= M)\n \tSystem.out.println(\"unsafe\");\n else\n \tSystem.out.println(\"safe\");\n \t\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int M = sc.nextInt();\n \n if (N <= M)\n \tSystem.out.println(\"unsafe\");\n else\n \tSystem.out.println(\"safe\");\n \t\n\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int M = sc.nextInt();\n \n if (N <= M)\n \tSystem.out.println(\"unsafe\");\n else\n \tSystem.out.println(\"safe\");\n \t\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int M = sc.nextInt();",
"M",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (N <= M)\n \tSystem.out.println(\"unsafe\");\n else\n \tSystem.out.println(\"safe\");",
"N <= M",
"N",
"M",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int M = sc.nextInt();\n \n if (N <= M)\n \tSystem.out.println(\"unsafe\");\n else\n \tSystem.out.println(\"safe\");\n \t\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int M = sc.nextInt();\n \n if (N <= M)\n \tSystem.out.println(\"unsafe\");\n else\n \tSystem.out.println(\"safe\");\n \t\n\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int M = sc.nextInt();
if (N <= M)
System.out.println("unsafe");
else
System.out.println("safe");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\n\t//変数の読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tint S = sc.nextInt();\n\t\tint W = sc.nextInt();\n\n\t//SがWよりも多い場合と、SがW以下の場合で分ける\n\t\tif(S > W) {\n\t\t\tSystem.out.print(\"safe\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.print(\"unsafe\");\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\n\t//変数の読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tint S = sc.nextInt();\n\t\tint W = sc.nextInt();\n\n\t//SがWよりも多い場合と、SがW以下の場合で分ける\n\t\tif(S > W) {\n\t\t\tSystem.out.print(\"safe\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t//変数の読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tint S = sc.nextInt();\n\t\tint W = sc.nextInt();\n\n\t//SがWよりも多い場合と、SがW以下の場合で分ける\n\t\tif(S > W) {\n\t\t\tSystem.out.print(\"safe\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}\n\t}",
"main",
"{\n\n\t//変数の読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tint S = sc.nextInt();\n\t\tint W = sc.nextInt();\n\n\t//SがWよりも多い場合と、SがW以下の場合で分ける\n\t\tif(S > W) {\n\t\t\tSystem.out.print(\"safe\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int S = sc.nextInt();",
"S",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int W = sc.nextInt();",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(S > W) {\n\t\t\tSystem.out.print(\"safe\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}",
"S > W",
"S",
"W",
"{\n\t\t\tSystem.out.print(\"safe\");\n\t\t}",
"System.out.print(\"safe\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"safe\"",
"{\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}",
"System.out.print(\"unsafe\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t//変数の読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tint S = sc.nextInt();\n\t\tint W = sc.nextInt();\n\n\t//SがWよりも多い場合と、SがW以下の場合で分ける\n\t\tif(S > W) {\n\t\t\tSystem.out.print(\"safe\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t//変数の読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tint S = sc.nextInt();\n\t\tint W = sc.nextInt();\n\n\t//SがWよりも多い場合と、SがW以下の場合で分ける\n\t\tif(S > W) {\n\t\t\tSystem.out.print(\"safe\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
//変数の読み込み
Scanner sc = new Scanner(System.in);
int S = sc.nextInt();
int W = sc.nextInt();
//SがWよりも多い場合と、SがW以下の場合で分ける
if(S > W) {
System.out.print("safe");
}
else {
System.out.print("unsafe");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
42,
5
],
[
42,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = sc.nextInt();\n\t\tint w = sc.nextInt();\n\t\tif(s <= w){\n\t\t\tSystem.out.print(\"un\");\n\t\t}\n\t\tSystem.out.println(\"safe\");\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = sc.nextInt();\n\t\tint w = sc.nextInt();\n\t\tif(s <= w){\n\t\t\tSystem.out.print(\"un\");\n\t\t}\n\t\tSystem.out.println(\"safe\");\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = sc.nextInt();\n\t\tint w = sc.nextInt();\n\t\tif(s <= w){\n\t\t\tSystem.out.print(\"un\");\n\t\t}\n\t\tSystem.out.println(\"safe\");\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = sc.nextInt();\n\t\tint w = sc.nextInt();\n\t\tif(s <= w){\n\t\t\tSystem.out.print(\"un\");\n\t\t}\n\t\tSystem.out.println(\"safe\");\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int s = sc.nextInt();",
"s",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int w = sc.nextInt();",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(s <= w){\n\t\t\tSystem.out.print(\"un\");\n\t\t}",
"s <= w",
"s",
"w",
"{\n\t\t\tSystem.out.print(\"un\");\n\t\t}",
"System.out.print(\"un\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"un\"",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = sc.nextInt();\n\t\tint w = sc.nextInt();\n\t\tif(s <= w){\n\t\t\tSystem.out.print(\"un\");\n\t\t}\n\t\tSystem.out.println(\"safe\");\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = sc.nextInt();\n\t\tint w = sc.nextInt();\n\t\tif(s <= w){\n\t\t\tSystem.out.print(\"un\");\n\t\t}\n\t\tSystem.out.println(\"safe\");\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int s = sc.nextInt();
int w = sc.nextInt();
if(s <= w){
System.out.print("un");
}
System.out.println("safe");
}
}
|
[
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,
4,
13,
4,
18,
13,
8,
2,
13,
13,
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
],
[
120,
26
],
[
120,
27
],
[
27,
28
],
[
120,
29
],
[
29,
30
],
[
120,
31
],
[
31,
32
],
[
120,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
35,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
47,
52
],
[
120,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
120,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
120,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
72,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
71,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
120,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
95,
99
],
[
99,
100
],
[
99,
101
],
[
92,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
106,
107
],
[
106,
108
],
[
102,
109
],
[
109,
110
],
[
102,
111
],
[
111,
112
],
[
112,
113
],
[
102,
114
],
[
114,
115
],
[
115,
116
],
[
89,
117
],
[
117,
118
],
[
0,
119
],
[
119,
120
],
[
119,
121
]
] |
[
"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 int s = scanInt(), w = scanInt();\n out.print(w >= s ? \"unsafe\" : \"safe\");\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 int s = scanInt(), w = scanInt();\n out.print(w >= s ? \"unsafe\" : \"safe\");\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 int s = scanInt(), w = scanInt();\n out.print(w >= s ? \"unsafe\" : \"safe\");\n }",
"solve",
"{\n int s = scanInt(), w = scanInt();\n out.print(w >= s ? \"unsafe\" : \"safe\");\n }",
"int s = scanInt()",
"s",
"scanInt()",
"scanInt",
"w = scanInt();",
"w",
"scanInt()",
"scanInt",
"out.print(w >= s ? \"unsafe\" : \"safe\")",
"out.print",
"out",
"w >= s ? \"unsafe\" : \"safe\"",
"w >= s",
"w",
"s",
"\"unsafe\"",
"\"safe\"",
"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 int s = scanInt(), w = scanInt();\n out.print(w >= s ? \"unsafe\" : \"safe\");\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 int s = scanInt(), w = scanInt();\n out.print(w >= s ? \"unsafe\" : \"safe\");\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 {
int s = scanInt(), w = scanInt();
out.print(w >= s ? "unsafe" : "safe");
}
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,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
65,
8
],
[
65,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
13,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
13,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
13,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
13,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
44,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
9,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] |
[
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(final String[] args) throws Exception {\n try (BufferedReader r = new BufferedReader(new InputStreamReader(System.in))) {\n String s = r.readLine();\n String[] a = s.split(\" \");\n int sheeps = Integer.parseInt(a[0]);\n int wolves = Integer.parseInt(a[1]);\n if (wolves >= sheeps) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(final String[] args) throws Exception {\n try (BufferedReader r = new BufferedReader(new InputStreamReader(System.in))) {\n String s = r.readLine();\n String[] a = s.split(\" \");\n int sheeps = Integer.parseInt(a[0]);\n int wolves = Integer.parseInt(a[1]);\n if (wolves >= sheeps) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n }\n }\n}",
"Main",
"public static void main(final String[] args) throws Exception {\n try (BufferedReader r = new BufferedReader(new InputStreamReader(System.in))) {\n String s = r.readLine();\n String[] a = s.split(\" \");\n int sheeps = Integer.parseInt(a[0]);\n int wolves = Integer.parseInt(a[1]);\n if (wolves >= sheeps) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n }\n }",
"main",
"{\n try (BufferedReader r = new BufferedReader(new InputStreamReader(System.in))) {\n String s = r.readLine();\n String[] a = s.split(\" \");\n int sheeps = Integer.parseInt(a[0]);\n int wolves = Integer.parseInt(a[1]);\n if (wolves >= sheeps) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n }\n }",
"try (BufferedReader r = new BufferedReader(new InputStreamReader(System.in))) {\n String s = r.readLine();\n String[] a = s.split(\" \");\n int sheeps = Integer.parseInt(a[0]);\n int wolves = Integer.parseInt(a[1]);\n if (wolves >= sheeps) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n }",
"{\n String s = r.readLine();\n String[] a = s.split(\" \");\n int sheeps = Integer.parseInt(a[0]);\n int wolves = Integer.parseInt(a[1]);\n if (wolves >= sheeps) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n }",
"BufferedReader r = new BufferedReader(new InputStreamReader(System.in))",
"BufferedReader r = new BufferedReader(new InputStreamReader(System.in))",
"new BufferedReader(new InputStreamReader(System.in))",
"String s = r.readLine();",
"s",
"r.readLine()",
"r.readLine",
"r",
"String[] a = s.split(\" \");",
"a",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"int sheeps = Integer.parseInt(a[0]);",
"sheeps",
"Integer.parseInt(a[0])",
"Integer.parseInt",
"Integer",
"a[0]",
"a",
"0",
"int wolves = Integer.parseInt(a[1]);",
"wolves",
"Integer.parseInt(a[1])",
"Integer.parseInt",
"Integer",
"a[1]",
"a",
"1",
"if (wolves >= sheeps) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }",
"wolves >= sheeps",
"wolves",
"sheeps",
"{\n System.out.println(\"unsafe\");\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n System.out.println(\"safe\");\n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"final String[] args",
"args",
"public class Main {\n public static void main(final String[] args) throws Exception {\n try (BufferedReader r = new BufferedReader(new InputStreamReader(System.in))) {\n String s = r.readLine();\n String[] a = s.split(\" \");\n int sheeps = Integer.parseInt(a[0]);\n int wolves = Integer.parseInt(a[1]);\n if (wolves >= sheeps) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n }\n }\n}",
"public class Main {\n public static void main(final String[] args) throws Exception {\n try (BufferedReader r = new BufferedReader(new InputStreamReader(System.in))) {\n String s = r.readLine();\n String[] a = s.split(\" \");\n int sheeps = Integer.parseInt(a[0]);\n int wolves = Integer.parseInt(a[1]);\n if (wolves >= sheeps) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n }\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(final String[] args) throws Exception {
try (BufferedReader r = new BufferedReader(new InputStreamReader(System.in))) {
String s = r.readLine();
String[] a = s.split(" ");
int sheeps = Integer.parseInt(a[0]);
int wolves = Integer.parseInt(a[1]);
if (wolves >= sheeps) {
System.out.println("unsafe");
} else {
System.out.println("safe");
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
8,
2,
13,
13,
17,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
55,
8
],
[
55,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
19,
24
],
[
13,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
13,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
13,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
46,
51
],
[
9,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] |
[
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString[] sw = br.readLine().split(\" \");\n\t\t\tint s = Integer.parseInt(sw[0]);\n\t\t\tint w = Integer.parseInt(sw[1]);\n\t\t\tSystem.out.println((w >= s) ? \"unsafe\" : \"safe\");\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString[] sw = br.readLine().split(\" \");\n\t\t\tint s = Integer.parseInt(sw[0]);\n\t\t\tint w = Integer.parseInt(sw[1]);\n\t\t\tSystem.out.println((w >= s) ? \"unsafe\" : \"safe\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString[] sw = br.readLine().split(\" \");\n\t\t\tint s = Integer.parseInt(sw[0]);\n\t\t\tint w = Integer.parseInt(sw[1]);\n\t\t\tSystem.out.println((w >= s) ? \"unsafe\" : \"safe\");\n\t\t}\n\t}",
"main",
"{\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString[] sw = br.readLine().split(\" \");\n\t\t\tint s = Integer.parseInt(sw[0]);\n\t\t\tint w = Integer.parseInt(sw[1]);\n\t\t\tSystem.out.println((w >= s) ? \"unsafe\" : \"safe\");\n\t\t}\n\t}",
"try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString[] sw = br.readLine().split(\" \");\n\t\t\tint s = Integer.parseInt(sw[0]);\n\t\t\tint w = Integer.parseInt(sw[1]);\n\t\t\tSystem.out.println((w >= s) ? \"unsafe\" : \"safe\");\n\t\t}",
"{\n\t\t\tString[] sw = br.readLine().split(\" \");\n\t\t\tint s = Integer.parseInt(sw[0]);\n\t\t\tint w = Integer.parseInt(sw[1]);\n\t\t\tSystem.out.println((w >= s) ? \"unsafe\" : \"safe\");\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] sw = br.readLine().split(\" \");",
"sw",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int s = Integer.parseInt(sw[0]);",
"s",
"Integer.parseInt(sw[0])",
"Integer.parseInt",
"Integer",
"sw[0]",
"sw",
"0",
"int w = Integer.parseInt(sw[1]);",
"w",
"Integer.parseInt(sw[1])",
"Integer.parseInt",
"Integer",
"sw[1]",
"sw",
"1",
"System.out.println((w >= s) ? \"unsafe\" : \"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"(w >= s) ? \"unsafe\" : \"safe\"",
"(w >= s)",
"w",
"s",
"\"unsafe\"",
"\"safe\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString[] sw = br.readLine().split(\" \");\n\t\t\tint s = Integer.parseInt(sw[0]);\n\t\t\tint w = Integer.parseInt(sw[1]);\n\t\t\tSystem.out.println((w >= s) ? \"unsafe\" : \"safe\");\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString[] sw = br.readLine().split(\" \");\n\t\t\tint s = Integer.parseInt(sw[0]);\n\t\t\tint w = Integer.parseInt(sw[1]);\n\t\t\tSystem.out.println((w >= s) ? \"unsafe\" : \"safe\");\n\t\t}\n\t}\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
String[] sw = br.readLine().split(" ");
int s = Integer.parseInt(sw[0]);
int w = Integer.parseInt(sw[1]);
System.out.println((w >= s) ? "unsafe" : "safe");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int s,w;\n String ans = \"safe\";\n \n s = sc.nextInt();\n w = sc.nextInt();\n \n if(s <= w){\n ans = \"unsafe\";\n }\n \n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int s,w;\n String ans = \"safe\";\n \n s = sc.nextInt();\n w = sc.nextInt();\n \n if(s <= w){\n ans = \"unsafe\";\n }\n \n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int s,w;\n String ans = \"safe\";\n \n s = sc.nextInt();\n w = sc.nextInt();\n \n if(s <= w){\n ans = \"unsafe\";\n }\n \n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int s,w;\n String ans = \"safe\";\n \n s = sc.nextInt();\n w = sc.nextInt();\n \n if(s <= w){\n ans = \"unsafe\";\n }\n \n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int s",
"s",
"w;",
"w",
"String ans = \"safe\";",
"ans",
"\"safe\"",
"s = sc.nextInt()",
"s",
"sc.nextInt()",
"sc.nextInt",
"sc",
"w = sc.nextInt()",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(s <= w){\n ans = \"unsafe\";\n }",
"s <= w",
"s",
"w",
"{\n ans = \"unsafe\";\n }",
"ans = \"unsafe\"",
"ans",
"\"unsafe\"",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int s,w;\n String ans = \"safe\";\n \n s = sc.nextInt();\n w = sc.nextInt();\n \n if(s <= w){\n ans = \"unsafe\";\n }\n \n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int s,w;\n String ans = \"safe\";\n \n s = sc.nextInt();\n w = sc.nextInt();\n \n if(s <= w){\n ans = \"unsafe\";\n }\n \n System.out.println(ans);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int s,w;
String ans = "safe";
s = sc.nextInt();
w = sc.nextInt();
if(s <= w){
ans = "unsafe";
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
13,
17,
30,
4,
18,
13,
17,
4,
18,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
29,
4,
18,
13,
29,
17,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
29,
17,
0,
13,
20,
29,
17,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
152,
8
],
[
152,
9
],
[
9,
10
],
[
9,
11
],
[
152,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
28,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
14,
42
],
[
42,
43
],
[
43,
44
],
[
12,
45
],
[
45,
46
],
[
152,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
58,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
64,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
57,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
47,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
86,
87
],
[
47,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
95,
96
],
[
47,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
104,
105
],
[
47,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
109,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
108,
121
],
[
121,
122
],
[
47,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
125,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
139,
143
],
[
143,
144
],
[
144,
145
],
[
125,
146
],
[
146,
147
],
[
146,
148
],
[
125,
149
],
[
149,
150
],
[
0,
151
],
[
151,
152
],
[
151,
153
]
] |
[
"import java.io.*;\nimport java.util.*;\npublic class Main\n{\n static PrintWriter out=new PrintWriter((System.out));\n public static void main(String args[])throws IOException\n {\n Reader sc=new Reader();\n int n=sc.nextInt();\n int s=sc.nextInt();\n if(n<=s)\n {\n out.println(\"unsafe\");\n }\n else\n {\n out.println(\"safe\");\n }\n out.close();\n }\n\n\n static class Reader\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n public String next()\n {\n while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n public int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n public long nextLong()\n {\n return Long.parseLong(next());\n }\n\n public double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }\n\n public boolean hasNext()\n {\n String next=null;\n try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }\n if(next==null)\n {\n return false;\n }\n st=new StringTokenizer(next);\n return true;\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n static PrintWriter out=new PrintWriter((System.out));\n public static void main(String args[])throws IOException\n {\n Reader sc=new Reader();\n int n=sc.nextInt();\n int s=sc.nextInt();\n if(n<=s)\n {\n out.println(\"unsafe\");\n }\n else\n {\n out.println(\"safe\");\n }\n out.close();\n }\n\n\n static class Reader\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n public String next()\n {\n while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n public int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n public long nextLong()\n {\n return Long.parseLong(next());\n }\n\n public double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }\n\n public boolean hasNext()\n {\n String next=null;\n try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }\n if(next==null)\n {\n return false;\n }\n st=new StringTokenizer(next);\n return true;\n }\n }\n}",
"Main",
"static PrintWriter out=new PrintWriter((System.out));",
"out",
"new PrintWriter((System.out))",
"public static void main(String args[])throws IOException\n {\n Reader sc=new Reader();\n int n=sc.nextInt();\n int s=sc.nextInt();\n if(n<=s)\n {\n out.println(\"unsafe\");\n }\n else\n {\n out.println(\"safe\");\n }\n out.close();\n }",
"main",
"{\n Reader sc=new Reader();\n int n=sc.nextInt();\n int s=sc.nextInt();\n if(n<=s)\n {\n out.println(\"unsafe\");\n }\n else\n {\n out.println(\"safe\");\n }\n out.close();\n }",
"Reader sc=new Reader();",
"sc",
"new Reader()",
"int n=sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int s=sc.nextInt();",
"s",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(n<=s)\n {\n out.println(\"unsafe\");\n }\n else\n {\n out.println(\"safe\");\n }",
"n<=s",
"n",
"s",
"{\n out.println(\"unsafe\");\n }",
"out.println(\"unsafe\")",
"out.println",
"out",
"\"unsafe\"",
"{\n out.println(\"safe\");\n }",
"out.println(\"safe\")",
"out.println",
"out",
"\"safe\"",
"out.close()",
"out.close",
"out",
"String args[]",
"args",
"static class Reader\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n public String next()\n {\n while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n public int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n public long nextLong()\n {\n return Long.parseLong(next());\n }\n\n public double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }\n\n public boolean hasNext()\n {\n String next=null;\n try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }\n if(next==null)\n {\n return false;\n }\n st=new StringTokenizer(next);\n return true;\n }\n }",
"Reader",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"public String next()\n {\n while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }",
"try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }",
"catch(Exception e)\n {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st=new StringTokenizer(br.readLine());\n }",
"st=new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int nextInt()\n {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong()\n {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public double nextDouble()\n {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }",
"nextLine",
"{\n try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }",
"try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }",
"catch(Exception e)\n {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n return br.readLine();\n }",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"return null;",
"null",
"public boolean hasNext()\n {\n String next=null;\n try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }\n if(next==null)\n {\n return false;\n }\n st=new StringTokenizer(next);\n return true;\n }",
"hasNext",
"{\n String next=null;\n try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }\n if(next==null)\n {\n return false;\n }\n st=new StringTokenizer(next);\n return true;\n }",
"String next=null;",
"next",
"null",
"try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }",
"catch(Exception e)\n {\n }",
"Exception e",
"{\n }",
"{\n next=br.readLine();\n }",
"next=br.readLine()",
"next",
"br.readLine()",
"br.readLine",
"br",
"if(next==null)\n {\n return false;\n }",
"next==null",
"next",
"null",
"{\n return false;\n }",
"return false;",
"false",
"st=new StringTokenizer(next)",
"st",
"new StringTokenizer(next)",
"return true;",
"true",
"public class Main\n{\n static PrintWriter out=new PrintWriter((System.out));\n public static void main(String args[])throws IOException\n {\n Reader sc=new Reader();\n int n=sc.nextInt();\n int s=sc.nextInt();\n if(n<=s)\n {\n out.println(\"unsafe\");\n }\n else\n {\n out.println(\"safe\");\n }\n out.close();\n }\n\n\n static class Reader\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n public String next()\n {\n while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n public int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n public long nextLong()\n {\n return Long.parseLong(next());\n }\n\n public double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }\n\n public boolean hasNext()\n {\n String next=null;\n try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }\n if(next==null)\n {\n return false;\n }\n st=new StringTokenizer(next);\n return true;\n }\n }\n}",
"public class Main\n{\n static PrintWriter out=new PrintWriter((System.out));\n public static void main(String args[])throws IOException\n {\n Reader sc=new Reader();\n int n=sc.nextInt();\n int s=sc.nextInt();\n if(n<=s)\n {\n out.println(\"unsafe\");\n }\n else\n {\n out.println(\"safe\");\n }\n out.close();\n }\n\n\n static class Reader\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n public String next()\n {\n while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n public int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n public long nextLong()\n {\n return Long.parseLong(next());\n }\n\n public double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }\n\n public boolean hasNext()\n {\n String next=null;\n try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }\n if(next==null)\n {\n return false;\n }\n st=new StringTokenizer(next);\n return true;\n }\n }\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main
{
static PrintWriter out=new PrintWriter((System.out));
public static void main(String args[])throws IOException
{
Reader sc=new Reader();
int n=sc.nextInt();
int s=sc.nextInt();
if(n<=s)
{
out.println("unsafe");
}
else
{
out.println("safe");
}
out.close();
}
static class Reader
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer("");
public String next()
{
while(!st.hasMoreTokens())
{
try
{
st=new StringTokenizer(br.readLine());
}
catch(Exception e)
{
e.printStackTrace();
}
}
return st.nextToken();
}
public int nextInt()
{
return Integer.parseInt(next());
}
public long nextLong()
{
return Long.parseLong(next());
}
public double nextDouble()
{
return Double.parseDouble(next());
}
public String nextLine()
{
try
{
return br.readLine();
}
catch(Exception e)
{
e.printStackTrace();
}
return null;
}
public boolean hasNext()
{
String next=null;
try
{
next=br.readLine();
}
catch(Exception e)
{
}
if(next==null)
{
return false;
}
st=new StringTokenizer(next);
return true;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
14,
2,
13,
13,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
42,
5
],
[
42,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner sc = new Scanner(System.in);\n int n1 = sc.nextInt();\n int n2 = sc.nextInt();\n String ans = \"unsafe\";\n \n if(n1>n2){\n ans = \"safe\";\n }\n \n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner sc = new Scanner(System.in);\n int n1 = sc.nextInt();\n int n2 = sc.nextInt();\n String ans = \"unsafe\";\n \n if(n1>n2){\n ans = \"safe\";\n }\n \n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n \n Scanner sc = new Scanner(System.in);\n int n1 = sc.nextInt();\n int n2 = sc.nextInt();\n String ans = \"unsafe\";\n \n if(n1>n2){\n ans = \"safe\";\n }\n \n System.out.println(ans);\n }",
"main",
"{\n \n Scanner sc = new Scanner(System.in);\n int n1 = sc.nextInt();\n int n2 = sc.nextInt();\n String ans = \"unsafe\";\n \n if(n1>n2){\n ans = \"safe\";\n }\n \n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n1 = sc.nextInt();",
"n1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int n2 = sc.nextInt();",
"n2",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String ans = \"unsafe\";",
"ans",
"\"unsafe\"",
"if(n1>n2){\n ans = \"safe\";\n }",
"n1>n2",
"n1",
"n2",
"{\n ans = \"safe\";\n }",
"ans = \"safe\"",
"ans",
"\"safe\"",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner sc = new Scanner(System.in);\n int n1 = sc.nextInt();\n int n2 = sc.nextInt();\n String ans = \"unsafe\";\n \n if(n1>n2){\n ans = \"safe\";\n }\n \n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner sc = new Scanner(System.in);\n int n1 = sc.nextInt();\n int n2 = sc.nextInt();\n String ans = \"unsafe\";\n \n if(n1>n2){\n ans = \"safe\";\n }\n \n System.out.println(ans);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int n1 = sc.nextInt();
int n2 = sc.nextInt();
String ans = "unsafe";
if(n1>n2){
ans = "safe";
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
13,
13,
17,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
36,
5
],
[
36,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
27,
32
],
[
6,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
] |
[
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tint seep = sc.nextInt();\n\t\tint wolf = sc.nextInt();\n\t\t// 出力\n\t\tSystem.out.println(wolf >= seep ? \"unsafe\" : \"safe \");\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tint seep = sc.nextInt();\n\t\tint wolf = sc.nextInt();\n\t\t// 出力\n\t\tSystem.out.println(wolf >= seep ? \"unsafe\" : \"safe \");\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tint seep = sc.nextInt();\n\t\tint wolf = sc.nextInt();\n\t\t// 出力\n\t\tSystem.out.println(wolf >= seep ? \"unsafe\" : \"safe \");\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tint seep = sc.nextInt();\n\t\tint wolf = sc.nextInt();\n\t\t// 出力\n\t\tSystem.out.println(wolf >= seep ? \"unsafe\" : \"safe \");\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int seep = sc.nextInt();",
"seep",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int wolf = sc.nextInt();",
"wolf",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(wolf >= seep ? \"unsafe\" : \"safe \")",
"System.out.println",
"System.out",
"System",
"System.out",
"wolf >= seep ? \"unsafe\" : \"safe \"",
"wolf >= seep",
"wolf",
"seep",
"\"unsafe\"",
"\"safe \"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tint seep = sc.nextInt();\n\t\tint wolf = sc.nextInt();\n\t\t// 出力\n\t\tSystem.out.println(wolf >= seep ? \"unsafe\" : \"safe \");\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tint seep = sc.nextInt();\n\t\tint wolf = sc.nextInt();\n\t\t// 出力\n\t\tSystem.out.println(wolf >= seep ? \"unsafe\" : \"safe \");\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
// スペース区切りの整数の入力
int seep = sc.nextInt();
int wolf = sc.nextInt();
// 出力
System.out.println(wolf >= seep ? "unsafe" : "safe ");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
25,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] |
[
"import java.util.*;\n\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n// String s = sc.nextLine();\n// int k = sc.nextInt();\n// int a = sc.nextInt();\n// int b = sc.nextInt(); \n int s = sc.nextInt();\n int w = sc.nextInt();\n sc.close();\n if(s <= w){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n// System.out.println(s);\n// if(s.contains(\"RRR\")){\n// System.out.println(3);\n// }else if(s.contains(\"RR\")){\n// System.out.println(2); \n// }else if(s.contains(\"R\")){\n// System.out.println(1);\n// }else{\n// System.out.println(0);\n// }\n// String s = sc.nextLine();\n// String t = sc.next();\n// String[] arr = s.split(\" \");\n// sc.close();\n// System.out.println(\"input: \"+ s);\n// System.out.println(\"k:\" + k);\n// System.out.println(\"a:\" + a);\n// System.out.println(\"b:\" + b);\n// String ans = \"NG\";\n// for(int x = a; x<=b; x++){\n// if(x%k == 0){\n// ans = \"OK\";\n// }\n// }\n// System.out.println(ans);\n// \\\n// System.out.println(\"arr[1]:\" + arr[1]);\n//\n// if(s.equals(\"ABC\")){\n// System.out.println(\"ARC\");\n// }else{\n// System.out.println(\"ABC\");\n// }\n// String[] arr1 = s.split(\"\");\n// String[] arr2 = t.split(\"\");\n//// List<String> list1 = Arrays.asList(s.split(\"\"));\n// List list1 = new LinkedList(Arrays.asList(s.split(\"\")));\n//// List<String> list2 = Arrays.asList(t.split(\"\"));\n// List list2 = new LinkedList(Arrays.asList(t.split(\"\")));\n//// int num = Integer.parseInt(arr[arr.length - 1]);\n// list2.remove(arr2.length - 1);\n//// System.out.println(list1);\n//// System.out.println(list2);\n// if(list1.toString().contentEquals(list2.toString())){\n// System.out.println(\"Yes\");\n// }else{\n// System.out.println(\"No\");\n// }\n// switch(num){\n// case 3:\n// System.out.println(\"bon\");\n// break;\n// case 0:\n// case 1:\n// case 6:\n// case 8:\n// System.out.println(\"pon\");\n// break;\n// default:\n// System.out.println(\"hon\");\n// break;\n// }\n// String[] array = str.split(\" \");\n// int sum = 0;\n// for(int i=0; i<array.length; i++) {\n// int num = Integer.parseInt(array[i]);\n// sum += num;\n// }\n// System.out.println(15-sum);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n// String s = sc.nextLine();\n// int k = sc.nextInt();\n// int a = sc.nextInt();\n// int b = sc.nextInt(); \n int s = sc.nextInt();\n int w = sc.nextInt();\n sc.close();\n if(s <= w){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n// System.out.println(s);\n// if(s.contains(\"RRR\")){\n// System.out.println(3);\n// }else if(s.contains(\"RR\")){\n// System.out.println(2); \n// }else if(s.contains(\"R\")){\n// System.out.println(1);\n// }else{\n// System.out.println(0);\n// }\n// String s = sc.nextLine();\n// String t = sc.next();\n// String[] arr = s.split(\" \");\n// sc.close();\n// System.out.println(\"input: \"+ s);\n// System.out.println(\"k:\" + k);\n// System.out.println(\"a:\" + a);\n// System.out.println(\"b:\" + b);\n// String ans = \"NG\";\n// for(int x = a; x<=b; x++){\n// if(x%k == 0){\n// ans = \"OK\";\n// }\n// }\n// System.out.println(ans);\n// \\\n// System.out.println(\"arr[1]:\" + arr[1]);\n//\n// if(s.equals(\"ABC\")){\n// System.out.println(\"ARC\");\n// }else{\n// System.out.println(\"ABC\");\n// }\n// String[] arr1 = s.split(\"\");\n// String[] arr2 = t.split(\"\");\n//// List<String> list1 = Arrays.asList(s.split(\"\"));\n// List list1 = new LinkedList(Arrays.asList(s.split(\"\")));\n//// List<String> list2 = Arrays.asList(t.split(\"\"));\n// List list2 = new LinkedList(Arrays.asList(t.split(\"\")));\n//// int num = Integer.parseInt(arr[arr.length - 1]);\n// list2.remove(arr2.length - 1);\n//// System.out.println(list1);\n//// System.out.println(list2);\n// if(list1.toString().contentEquals(list2.toString())){\n// System.out.println(\"Yes\");\n// }else{\n// System.out.println(\"No\");\n// }\n// switch(num){\n// case 3:\n// System.out.println(\"bon\");\n// break;\n// case 0:\n// case 1:\n// case 6:\n// case 8:\n// System.out.println(\"pon\");\n// break;\n// default:\n// System.out.println(\"hon\");\n// break;\n// }\n// String[] array = str.split(\" \");\n// int sum = 0;\n// for(int i=0; i<array.length; i++) {\n// int num = Integer.parseInt(array[i]);\n// sum += num;\n// }\n// System.out.println(15-sum);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n// String s = sc.nextLine();\n// int k = sc.nextInt();\n// int a = sc.nextInt();\n// int b = sc.nextInt(); \n int s = sc.nextInt();\n int w = sc.nextInt();\n sc.close();\n if(s <= w){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n// System.out.println(s);\n// if(s.contains(\"RRR\")){\n// System.out.println(3);\n// }else if(s.contains(\"RR\")){\n// System.out.println(2); \n// }else if(s.contains(\"R\")){\n// System.out.println(1);\n// }else{\n// System.out.println(0);\n// }\n// String s = sc.nextLine();\n// String t = sc.next();\n// String[] arr = s.split(\" \");\n// sc.close();\n// System.out.println(\"input: \"+ s);\n// System.out.println(\"k:\" + k);\n// System.out.println(\"a:\" + a);\n// System.out.println(\"b:\" + b);\n// String ans = \"NG\";\n// for(int x = a; x<=b; x++){\n// if(x%k == 0){\n// ans = \"OK\";\n// }\n// }\n// System.out.println(ans);\n// \\\n// System.out.println(\"arr[1]:\" + arr[1]);\n//\n// if(s.equals(\"ABC\")){\n// System.out.println(\"ARC\");\n// }else{\n// System.out.println(\"ABC\");\n// }\n// String[] arr1 = s.split(\"\");\n// String[] arr2 = t.split(\"\");\n//// List<String> list1 = Arrays.asList(s.split(\"\"));\n// List list1 = new LinkedList(Arrays.asList(s.split(\"\")));\n//// List<String> list2 = Arrays.asList(t.split(\"\"));\n// List list2 = new LinkedList(Arrays.asList(t.split(\"\")));\n//// int num = Integer.parseInt(arr[arr.length - 1]);\n// list2.remove(arr2.length - 1);\n//// System.out.println(list1);\n//// System.out.println(list2);\n// if(list1.toString().contentEquals(list2.toString())){\n// System.out.println(\"Yes\");\n// }else{\n// System.out.println(\"No\");\n// }\n// switch(num){\n// case 3:\n// System.out.println(\"bon\");\n// break;\n// case 0:\n// case 1:\n// case 6:\n// case 8:\n// System.out.println(\"pon\");\n// break;\n// default:\n// System.out.println(\"hon\");\n// break;\n// }\n// String[] array = str.split(\" \");\n// int sum = 0;\n// for(int i=0; i<array.length; i++) {\n// int num = Integer.parseInt(array[i]);\n// sum += num;\n// }\n// System.out.println(15-sum);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n// String s = sc.nextLine();\n// int k = sc.nextInt();\n// int a = sc.nextInt();\n// int b = sc.nextInt(); \n int s = sc.nextInt();\n int w = sc.nextInt();\n sc.close();\n if(s <= w){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n// System.out.println(s);\n// if(s.contains(\"RRR\")){\n// System.out.println(3);\n// }else if(s.contains(\"RR\")){\n// System.out.println(2); \n// }else if(s.contains(\"R\")){\n// System.out.println(1);\n// }else{\n// System.out.println(0);\n// }\n// String s = sc.nextLine();\n// String t = sc.next();\n// String[] arr = s.split(\" \");\n// sc.close();\n// System.out.println(\"input: \"+ s);\n// System.out.println(\"k:\" + k);\n// System.out.println(\"a:\" + a);\n// System.out.println(\"b:\" + b);\n// String ans = \"NG\";\n// for(int x = a; x<=b; x++){\n// if(x%k == 0){\n// ans = \"OK\";\n// }\n// }\n// System.out.println(ans);\n// \\\n// System.out.println(\"arr[1]:\" + arr[1]);\n//\n// if(s.equals(\"ABC\")){\n// System.out.println(\"ARC\");\n// }else{\n// System.out.println(\"ABC\");\n// }\n// String[] arr1 = s.split(\"\");\n// String[] arr2 = t.split(\"\");\n//// List<String> list1 = Arrays.asList(s.split(\"\"));\n// List list1 = new LinkedList(Arrays.asList(s.split(\"\")));\n//// List<String> list2 = Arrays.asList(t.split(\"\"));\n// List list2 = new LinkedList(Arrays.asList(t.split(\"\")));\n//// int num = Integer.parseInt(arr[arr.length - 1]);\n// list2.remove(arr2.length - 1);\n//// System.out.println(list1);\n//// System.out.println(list2);\n// if(list1.toString().contentEquals(list2.toString())){\n// System.out.println(\"Yes\");\n// }else{\n// System.out.println(\"No\");\n// }\n// switch(num){\n// case 3:\n// System.out.println(\"bon\");\n// break;\n// case 0:\n// case 1:\n// case 6:\n// case 8:\n// System.out.println(\"pon\");\n// break;\n// default:\n// System.out.println(\"hon\");\n// break;\n// }\n// String[] array = str.split(\" \");\n// int sum = 0;\n// for(int i=0; i<array.length; i++) {\n// int num = Integer.parseInt(array[i]);\n// sum += num;\n// }\n// System.out.println(15-sum);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int s = sc.nextInt();",
"s",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int w = sc.nextInt();",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.close()",
"sc.close",
"sc",
"if(s <= w){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }",
"s <= w",
"s",
"w",
"{\n System.out.println(\"unsafe\");\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n System.out.println(\"safe\");\n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n// String s = sc.nextLine();\n// int k = sc.nextInt();\n// int a = sc.nextInt();\n// int b = sc.nextInt(); \n int s = sc.nextInt();\n int w = sc.nextInt();\n sc.close();\n if(s <= w){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n// System.out.println(s);\n// if(s.contains(\"RRR\")){\n// System.out.println(3);\n// }else if(s.contains(\"RR\")){\n// System.out.println(2); \n// }else if(s.contains(\"R\")){\n// System.out.println(1);\n// }else{\n// System.out.println(0);\n// }\n// String s = sc.nextLine();\n// String t = sc.next();\n// String[] arr = s.split(\" \");\n// sc.close();\n// System.out.println(\"input: \"+ s);\n// System.out.println(\"k:\" + k);\n// System.out.println(\"a:\" + a);\n// System.out.println(\"b:\" + b);\n// String ans = \"NG\";\n// for(int x = a; x<=b; x++){\n// if(x%k == 0){\n// ans = \"OK\";\n// }\n// }\n// System.out.println(ans);\n// \\\n// System.out.println(\"arr[1]:\" + arr[1]);\n//\n// if(s.equals(\"ABC\")){\n// System.out.println(\"ARC\");\n// }else{\n// System.out.println(\"ABC\");\n// }\n// String[] arr1 = s.split(\"\");\n// String[] arr2 = t.split(\"\");\n//// List<String> list1 = Arrays.asList(s.split(\"\"));\n// List list1 = new LinkedList(Arrays.asList(s.split(\"\")));\n//// List<String> list2 = Arrays.asList(t.split(\"\"));\n// List list2 = new LinkedList(Arrays.asList(t.split(\"\")));\n//// int num = Integer.parseInt(arr[arr.length - 1]);\n// list2.remove(arr2.length - 1);\n//// System.out.println(list1);\n//// System.out.println(list2);\n// if(list1.toString().contentEquals(list2.toString())){\n// System.out.println(\"Yes\");\n// }else{\n// System.out.println(\"No\");\n// }\n// switch(num){\n// case 3:\n// System.out.println(\"bon\");\n// break;\n// case 0:\n// case 1:\n// case 6:\n// case 8:\n// System.out.println(\"pon\");\n// break;\n// default:\n// System.out.println(\"hon\");\n// break;\n// }\n// String[] array = str.split(\" \");\n// int sum = 0;\n// for(int i=0; i<array.length; i++) {\n// int num = Integer.parseInt(array[i]);\n// sum += num;\n// }\n// System.out.println(15-sum);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n// String s = sc.nextLine();\n// int k = sc.nextInt();\n// int a = sc.nextInt();\n// int b = sc.nextInt(); \n int s = sc.nextInt();\n int w = sc.nextInt();\n sc.close();\n if(s <= w){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n// System.out.println(s);\n// if(s.contains(\"RRR\")){\n// System.out.println(3);\n// }else if(s.contains(\"RR\")){\n// System.out.println(2); \n// }else if(s.contains(\"R\")){\n// System.out.println(1);\n// }else{\n// System.out.println(0);\n// }\n// String s = sc.nextLine();\n// String t = sc.next();\n// String[] arr = s.split(\" \");\n// sc.close();\n// System.out.println(\"input: \"+ s);\n// System.out.println(\"k:\" + k);\n// System.out.println(\"a:\" + a);\n// System.out.println(\"b:\" + b);\n// String ans = \"NG\";\n// for(int x = a; x<=b; x++){\n// if(x%k == 0){\n// ans = \"OK\";\n// }\n// }\n// System.out.println(ans);\n// \\\n// System.out.println(\"arr[1]:\" + arr[1]);\n//\n// if(s.equals(\"ABC\")){\n// System.out.println(\"ARC\");\n// }else{\n// System.out.println(\"ABC\");\n// }\n// String[] arr1 = s.split(\"\");\n// String[] arr2 = t.split(\"\");\n//// List<String> list1 = Arrays.asList(s.split(\"\"));\n// List list1 = new LinkedList(Arrays.asList(s.split(\"\")));\n//// List<String> list2 = Arrays.asList(t.split(\"\"));\n// List list2 = new LinkedList(Arrays.asList(t.split(\"\")));\n//// int num = Integer.parseInt(arr[arr.length - 1]);\n// list2.remove(arr2.length - 1);\n//// System.out.println(list1);\n//// System.out.println(list2);\n// if(list1.toString().contentEquals(list2.toString())){\n// System.out.println(\"Yes\");\n// }else{\n// System.out.println(\"No\");\n// }\n// switch(num){\n// case 3:\n// System.out.println(\"bon\");\n// break;\n// case 0:\n// case 1:\n// case 6:\n// case 8:\n// System.out.println(\"pon\");\n// break;\n// default:\n// System.out.println(\"hon\");\n// break;\n// }\n// String[] array = str.split(\" \");\n// int sum = 0;\n// for(int i=0; i<array.length; i++) {\n// int num = Integer.parseInt(array[i]);\n// sum += num;\n// }\n// System.out.println(15-sum);\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();
// int k = sc.nextInt();
// int a = sc.nextInt();
// int b = sc.nextInt();
int s = sc.nextInt();
int w = sc.nextInt();
sc.close();
if(s <= w){
System.out.println("unsafe");
}else{
System.out.println("safe");
}
// System.out.println(s);
// if(s.contains("RRR")){
// System.out.println(3);
// }else if(s.contains("RR")){
// System.out.println(2);
// }else if(s.contains("R")){
// System.out.println(1);
// }else{
// System.out.println(0);
// }
// String s = sc.nextLine();
// String t = sc.next();
// String[] arr = s.split(" ");
// sc.close();
// System.out.println("input: "+ s);
// System.out.println("k:" + k);
// System.out.println("a:" + a);
// System.out.println("b:" + b);
// String ans = "NG";
// for(int x = a; x<=b; x++){
// if(x%k == 0){
// ans = "OK";
// }
// }
// System.out.println(ans);
// \
// System.out.println("arr[1]:" + arr[1]);
//
// if(s.equals("ABC")){
// System.out.println("ARC");
// }else{
// System.out.println("ABC");
// }
// String[] arr1 = s.split("");
// String[] arr2 = t.split("");
//// List<String> list1 = Arrays.asList(s.split(""));
// List list1 = new LinkedList(Arrays.asList(s.split("")));
//// List<String> list2 = Arrays.asList(t.split(""));
// List list2 = new LinkedList(Arrays.asList(t.split("")));
//// int num = Integer.parseInt(arr[arr.length - 1]);
// list2.remove(arr2.length - 1);
//// System.out.println(list1);
//// System.out.println(list2);
// if(list1.toString().contentEquals(list2.toString())){
// System.out.println("Yes");
// }else{
// System.out.println("No");
// }
// switch(num){
// case 3:
// System.out.println("bon");
// break;
// case 0:
// case 1:
// case 6:
// case 8:
// System.out.println("pon");
// break;
// default:
// System.out.println("hon");
// break;
// }
// String[] array = str.split(" ");
// int sum = 0;
// for(int i=0; i<array.length; i++) {
// int num = Integer.parseInt(array[i]);
// sum += num;
// }
// System.out.println(15-sum);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] |
[
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n if (b>=a){\n System.out.println(\"unsafe\");\n }\n else{\n System.out.println(\"safe\");\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n if (b>=a){\n System.out.println(\"unsafe\");\n }\n else{\n System.out.println(\"safe\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n if (b>=a){\n System.out.println(\"unsafe\");\n }\n else{\n System.out.println(\"safe\");\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n if (b>=a){\n System.out.println(\"unsafe\");\n }\n else{\n System.out.println(\"safe\");\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int b = scan.nextInt();",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (b>=a){\n System.out.println(\"unsafe\");\n }\n else{\n System.out.println(\"safe\");\n }",
"b>=a",
"b",
"a",
"{\n System.out.println(\"unsafe\");\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n System.out.println(\"safe\");\n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n if (b>=a){\n System.out.println(\"unsafe\");\n }\n else{\n System.out.println(\"safe\");\n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n if (b>=a){\n System.out.println(\"unsafe\");\n }\n else{\n System.out.println(\"safe\");\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
if (b>=a){
System.out.println("unsafe");
}
else{
System.out.println("safe");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int sheep = scan.nextInt();\n int wolf = scan.nextInt();\n\n if (sheep <= wolf) {\n \tSystem.out.println(\"unsafe\");\n } else {\n \tSystem.out.println(\"safe\");\n }\n\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int sheep = scan.nextInt();\n int wolf = scan.nextInt();\n\n if (sheep <= wolf) {\n \tSystem.out.println(\"unsafe\");\n } else {\n \tSystem.out.println(\"safe\");\n }\n\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int sheep = scan.nextInt();\n int wolf = scan.nextInt();\n\n if (sheep <= wolf) {\n \tSystem.out.println(\"unsafe\");\n } else {\n \tSystem.out.println(\"safe\");\n }\n\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n\n int sheep = scan.nextInt();\n int wolf = scan.nextInt();\n\n if (sheep <= wolf) {\n \tSystem.out.println(\"unsafe\");\n } else {\n \tSystem.out.println(\"safe\");\n }\n\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int sheep = scan.nextInt();",
"sheep",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int wolf = scan.nextInt();",
"wolf",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (sheep <= wolf) {\n \tSystem.out.println(\"unsafe\");\n } else {\n \tSystem.out.println(\"safe\");\n }",
"sheep <= wolf",
"sheep",
"wolf",
"{\n \tSystem.out.println(\"unsafe\");\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n \tSystem.out.println(\"safe\");\n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int sheep = scan.nextInt();\n int wolf = scan.nextInt();\n\n if (sheep <= wolf) {\n \tSystem.out.println(\"unsafe\");\n } else {\n \tSystem.out.println(\"safe\");\n }\n\n }\n\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int sheep = scan.nextInt();\n int wolf = scan.nextInt();\n\n if (sheep <= wolf) {\n \tSystem.out.println(\"unsafe\");\n } else {\n \tSystem.out.println(\"safe\");\n }\n\n }\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int sheep = scan.nextInt();
int wolf = scan.nextInt();
if (sheep <= wolf) {
System.out.println("unsafe");
} else {
System.out.println("safe");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
13,
13,
17,
17,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
29,
18,
13,
40,
13,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
40,
13,
12,
13,
30,
4,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
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
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
300,
20
],
[
300,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
27,
28
],
[
300,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
31,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
31,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
50,
55
],
[
300,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
56,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
74,
76
],
[
70,
77
],
[
77,
78
],
[
77,
79
],
[
70,
81
],
[
81,
82
],
[
81,
83
],
[
70,
84
],
[
84,
85
],
[
84,
86
],
[
70,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
94,
95
],
[
95,
96
],
[
90,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
101,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
97,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
119,
120
],
[
120,
121
],
[
89,
122
],
[
122,
123
],
[
70,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
127,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
127,
135
],
[
135,
136
],
[
136,
137
],
[
70,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
142,
146
],
[
146,
147
],
[
146,
148
],
[
138,
149
],
[
149,
150
],
[
70,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
155,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
161,
163
],
[
154,
164
],
[
164,
165
],
[
70,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
168,
171
],
[
171,
172
],
[
172,
173
],
[
70,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
177,
181
],
[
181,
182
],
[
176,
183
],
[
183,
184
],
[
183,
185
],
[
176,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
176,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
190,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
195,
198
],
[
194,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
176,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
70,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
210,
214
],
[
214,
215
],
[
209,
216
],
[
216,
217
],
[
216,
218
],
[
209,
219
],
[
219,
220
],
[
219,
221
],
[
209,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
209,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
226,
230
],
[
230,
231
],
[
231,
232
],
[
231,
233
],
[
230,
234
],
[
234,
235
],
[
234,
236
],
[
236,
237
],
[
209,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
239,
243
],
[
243,
244
],
[
243,
245
],
[
238,
246
],
[
246,
247
],
[
247,
248
],
[
209,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
253,
257
],
[
257,
258
],
[
257,
259
],
[
252,
260
],
[
260,
261
],
[
261,
262
],
[
261,
263
],
[
260,
264
],
[
264,
265
],
[
264,
266
],
[
266,
267
],
[
266,
268
],
[
252,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
273,
274
],
[
270,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
269,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
281,
285
],
[
269,
286
],
[
286,
287
],
[
287,
288
],
[
251,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
70,
293
],
[
293,
294
],
[
293,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
0,
299
],
[
299,
300
],
[
299,
301
]
] |
[
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.math.BigInteger;\nimport java.util.Arrays;\nimport java.util.Comparator;\nimport java.util.NoSuchElementException;\n\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\t\n\tvoid run() {\n\t\tFastScanner sc=new FastScanner();\n\t\tint S=sc.nextInt();\n\t\tint W=sc.nextInt();\n\t\tSystem.out.println(W>=S?\"unsafe\":\"safe\");\n\t}\n\t\n\tvoid tr(Object...objects) {System.out.println(Arrays.deepToString(objects));}\n}\n\n\n\n\nclass FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n private void skipUnprintable() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;}\n public boolean hasNext() { skipUnprintable(); return hasNextByte();}\n public String next() {\n if (!hasNext()) throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while(isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n public long nextLong() {\n if (!hasNext()) throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while(true){\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n }else if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n public int nextInt() {\n \treturn (int)nextLong();\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Comparator;",
"Comparator",
"java.util",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\t\n\tvoid run() {\n\t\tFastScanner sc=new FastScanner();\n\t\tint S=sc.nextInt();\n\t\tint W=sc.nextInt();\n\t\tSystem.out.println(W>=S?\"unsafe\":\"safe\");\n\t}\n\t\n\tvoid tr(Object...objects) {System.out.println(Arrays.deepToString(objects));}\n}",
"Main",
"public static void main(String[] args) {\n\t\tnew Main().run();\n\t}",
"main",
"{\n\t\tnew Main().run();\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"void run() {\n\t\tFastScanner sc=new FastScanner();\n\t\tint S=sc.nextInt();\n\t\tint W=sc.nextInt();\n\t\tSystem.out.println(W>=S?\"unsafe\":\"safe\");\n\t}",
"run",
"{\n\t\tFastScanner sc=new FastScanner();\n\t\tint S=sc.nextInt();\n\t\tint W=sc.nextInt();\n\t\tSystem.out.println(W>=S?\"unsafe\":\"safe\");\n\t}",
"FastScanner sc=new FastScanner();",
"sc",
"new FastScanner()",
"int S=sc.nextInt();",
"S",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int W=sc.nextInt();",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(W>=S?\"unsafe\":\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"W>=S?\"unsafe\":\"safe\"",
"W>=S",
"W",
"S",
"\"unsafe\"",
"\"safe\"",
"void tr(Object...objects) {System.out.println(Arrays.deepToString(objects));}",
"tr",
"{System.out.println(Arrays.deepToString(objects));}",
"System.out.println(Arrays.deepToString(objects))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.deepToString(objects)",
"Arrays.deepToString",
"Arrays",
"objects",
"Object...objects",
"objects",
"class FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n private void skipUnprintable() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;}\n public boolean hasNext() { skipUnprintable(); return hasNextByte();}\n public String next() {\n if (!hasNext()) throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while(isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n public long nextLong() {\n if (!hasNext()) throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while(true){\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n }else if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n public int nextInt() {\n \treturn (int)nextLong();\n }\n}",
"FastScanner",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int ptr = 0;",
"ptr",
"0",
"private int buflen = 0;",
"buflen",
"0",
"private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"hasNextByte",
"{\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr < buflen",
"ptr",
"buflen",
"{\n return true;\n }",
"return true;",
"true",
"{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr = 0",
"ptr",
"0",
"try {\n buflen = in.read(buffer);\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 buflen = in.read(buffer);\n }",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n return false;\n }",
"buflen <= 0",
"buflen",
"0",
"{\n return false;\n }",
"return false;",
"false",
"return true;",
"true",
"private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}",
"readByte",
"{ if (hasNextByte()) return buffer[ptr++]; else return -1;}",
"if (hasNextByte()) return buffer[ptr++]; else return -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}",
"isPrintableChar",
"{ return 33 <= c && c <= 126;}",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"private void skipUnprintable() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;}",
"skipUnprintable",
"{ while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;}",
"while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;",
"hasNextByte() && !isPrintableChar(buffer[ptr])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[ptr])",
"isPrintableChar(buffer[ptr])",
"isPrintableChar",
"buffer[ptr]",
"buffer",
"ptr",
"ptr++",
"ptr",
"public boolean hasNext() { skipUnprintable(); return hasNextByte();}",
"hasNext",
"{ skipUnprintable(); return hasNextByte();}",
"skipUnprintable()",
"skipUnprintable",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n if (!hasNext()) throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while(isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"next",
"{\n if (!hasNext()) throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while(isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"if (!hasNext()) throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while(isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n sb.appendCodePoint(b);\n b = readByte();\n }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public long nextLong() {\n if (!hasNext()) throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while(true){\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n }else if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"nextLong",
"{\n if (!hasNext()) throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while(true){\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n }else if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"if (!hasNext()) throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long n = 0;",
"n",
"0",
"boolean minus = false;",
"minus",
"false",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"if (b == '-') {\n minus = true;\n b = readByte();\n }",
"b == '-'",
"b",
"'-'",
"{\n minus = true;\n b = readByte();\n }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while(true){\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n }else if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"true",
"{\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n }else if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n }else if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n n *= 10;\n n += b - '0';\n }",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n return minus ? -n : n;\n }",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public int nextInt() {\n \treturn (int)nextLong();\n }",
"nextInt",
"{\n \treturn (int)nextLong();\n }",
"return (int)nextLong();",
"(int)nextLong()",
"nextLong",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\t\n\tvoid run() {\n\t\tFastScanner sc=new FastScanner();\n\t\tint S=sc.nextInt();\n\t\tint W=sc.nextInt();\n\t\tSystem.out.println(W>=S?\"unsafe\":\"safe\");\n\t}\n\t\n\tvoid tr(Object...objects) {System.out.println(Arrays.deepToString(objects));}\n}",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\t\n\tvoid run() {\n\t\tFastScanner sc=new FastScanner();\n\t\tint S=sc.nextInt();\n\t\tint W=sc.nextInt();\n\t\tSystem.out.println(W>=S?\"unsafe\":\"safe\");\n\t}\n\t\n\tvoid tr(Object...objects) {System.out.println(Arrays.deepToString(objects));}\n}",
"Main"
] |
import java.io.IOException;
import java.io.InputStream;
import java.math.BigInteger;
import java.util.Arrays;
import java.util.Comparator;
import java.util.NoSuchElementException;
public class Main {
public static void main(String[] args) {
new Main().run();
}
void run() {
FastScanner sc=new FastScanner();
int S=sc.nextInt();
int W=sc.nextInt();
System.out.println(W>=S?"unsafe":"safe");
}
void tr(Object...objects) {System.out.println(Arrays.deepToString(objects));}
}
class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
private boolean hasNextByte() {
if (ptr < buflen) {
return true;
}else{
ptr = 0;
try {
buflen = in.read(buffer);
} catch (IOException e) {
e.printStackTrace();
}
if (buflen <= 0) {
return false;
}
}
return true;
}
private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}
private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}
private void skipUnprintable() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;}
public boolean hasNext() { skipUnprintable(); return hasNextByte();}
public String next() {
if (!hasNext()) throw new NoSuchElementException();
StringBuilder sb = new StringBuilder();
int b = readByte();
while(isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
public long nextLong() {
if (!hasNext()) throw new NoSuchElementException();
long n = 0;
boolean minus = false;
int b = readByte();
if (b == '-') {
minus = true;
b = readByte();
}
if (b < '0' || '9' < b) {
throw new NumberFormatException();
}
while(true){
if ('0' <= b && b <= '9') {
n *= 10;
n += b - '0';
}else if(b == -1 || !isPrintableChar(b)){
return minus ? -n : n;
}else{
throw new NumberFormatException();
}
b = readByte();
}
}
public int nextInt() {
return (int)nextLong();
}
}
|
[
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,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
6,
13,
41,
13,
20,
41,
13,
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,
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
],
[
381,
8
],
[
381,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
11,
13
],
[
381,
14
],
[
14,
15
],
[
14,
16
],
[
381,
17
],
[
17,
18
],
[
17,
19
],
[
381,
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
],
[
33,
34
],
[
34,
35
],
[
22,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
36,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
20,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
67,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
72,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
66,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
56,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
98,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
107,
109
],
[
104,
110
],
[
110,
111
],
[
98,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
115,
117
],
[
112,
118
],
[
118,
119
],
[
118,
120
],
[
89,
121
],
[
121,
122
],
[
87,
123
],
[
123,
124
],
[
87,
125
],
[
125,
126
],
[
56,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
134,
135
],
[
135,
136
],
[
129,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
138,
141
],
[
141,
142
],
[
141,
143
],
[
127,
144
],
[
144,
145
],
[
127,
146
],
[
146,
147
],
[
56,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
151,
155
],
[
155,
156
],
[
156,
157
],
[
150,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
159,
162
],
[
162,
163
],
[
162,
164
],
[
148,
165
],
[
165,
166
],
[
148,
167
],
[
167,
168
],
[
56,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
171,
175
],
[
175,
176
],
[
175,
177
],
[
175,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
179,
182
],
[
171,
183
],
[
183,
184
],
[
184,
185
],
[
183,
186
],
[
171,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
187,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
194,
196
],
[
187,
197
],
[
197,
198
],
[
198,
199
],
[
187,
200
],
[
201,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
202,
206
],
[
206,
207
],
[
207,
208
],
[
206,
209
],
[
171,
210
],
[
210,
211
],
[
169,
212
],
[
212,
213
],
[
56,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
216,
220
],
[
220,
221
],
[
220,
222
],
[
220,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
224,
227
],
[
216,
228
],
[
228,
229
],
[
229,
230
],
[
228,
231
],
[
216,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
232,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
240,
241
],
[
232,
242
],
[
242,
243
],
[
243,
244
],
[
232,
245
],
[
246,
246
],
[
246,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
247,
251
],
[
251,
252
],
[
252,
253
],
[
251,
254
],
[
216,
255
],
[
255,
256
],
[
214,
257
],
[
257,
258
],
[
56,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
261,
265
],
[
265,
266
],
[
265,
267
],
[
265,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
269,
272
],
[
261,
273
],
[
273,
274
],
[
274,
275
],
[
273,
276
],
[
261,
277
],
[
277,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
277,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
284,
286
],
[
277,
287
],
[
287,
288
],
[
288,
289
],
[
277,
290
],
[
291,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
292,
296
],
[
296,
297
],
[
297,
298
],
[
296,
299
],
[
261,
300
],
[
300,
301
],
[
259,
302
],
[
302,
303
],
[
56,
304
],
[
304,
305
],
[
304,
306
],
[
306,
307
],
[
307,
308
],
[
308,
309
],
[
309,
310
],
[
308,
311
],
[
311,
312
],
[
56,
313
],
[
313,
314
],
[
313,
315
],
[
315,
316
],
[
316,
317
],
[
316,
318
],
[
315,
320
],
[
320,
321
],
[
321,
322
],
[
322,
323
],
[
322,
324
],
[
320,
325
],
[
325,
326
],
[
325,
327
],
[
320,
328
],
[
328,
329
],
[
329,
330
],
[
320,
331
],
[
331,
332
],
[
332,
333
],
[
333,
334
],
[
333,
335
],
[
332,
336
],
[
336,
337
],
[
315,
338
],
[
338,
339
],
[
313,
340
],
[
340,
341
],
[
56,
342
],
[
342,
343
],
[
342,
344
],
[
344,
345
],
[
345,
346
],
[
346,
347
],
[
347,
348
],
[
346,
349
],
[
349,
350
],
[
56,
351
],
[
351,
352
],
[
351,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
353,
358
],
[
358,
359
],
[
359,
360
],
[
360,
361
],
[
360,
362
],
[
358,
363
],
[
363,
364
],
[
363,
365
],
[
358,
366
],
[
366,
367
],
[
367,
368
],
[
358,
369
],
[
369,
370
],
[
370,
371
],
[
371,
372
],
[
371,
373
],
[
370,
374
],
[
374,
375
],
[
353,
376
],
[
376,
377
],
[
351,
378
],
[
378,
379
],
[
0,
380
],
[
380,
381
],
[
380,
382
]
] |
[
"//package Atcoder;\nimport 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\tint s=fs.nextInt();\n\t\tint w=fs.nextInt();\n\t\tif(w>=s)\n\t\t{\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"safe\");\n\t\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\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\tint s=fs.nextInt();\n\t\tint w=fs.nextInt();\n\t\tif(w>=s)\n\t\t{\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"safe\");\n\t\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\tint s=fs.nextInt();\n\t\tint w=fs.nextInt();\n\t\tif(w>=s)\n\t\t{\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}",
"main",
"{\n\t\tFastScanner fs=new FastScanner();\n\t\tint s=fs.nextInt();\n\t\tint w=fs.nextInt();\n\t\tif(w>=s)\n\t\t{\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}",
"FastScanner fs=new FastScanner();",
"fs",
"new FastScanner()",
"int s=fs.nextInt();",
"s",
"fs.nextInt()",
"fs.nextInt",
"fs",
"int w=fs.nextInt();",
"w",
"fs.nextInt()",
"fs.nextInt",
"fs",
"if(w>=s)\n\t\t{\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"safe\");\n\t\t}",
"w>=s",
"w",
"s",
"{\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n\t\t\tSystem.out.println(\"safe\");\n\t\t}",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"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\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",
"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\tint s=fs.nextInt();\n\t\tint w=fs.nextInt();\n\t\tif(w>=s)\n\t\t{\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"safe\");\n\t\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\tint s=fs.nextInt();\n\t\tint w=fs.nextInt();\n\t\tif(w>=s)\n\t\t{\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}\n}",
"Main"
] |
//package Atcoder;
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();
int s=fs.nextInt();
int w=fs.nextInt();
if(w>=s)
{
System.out.println("unsafe");
}
else
{
System.out.println("safe");
}
}
}
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();
}
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,
4,
18,
13,
14,
2,
13,
13,
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
],
[
44,
5
],
[
44,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
8,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint sheep = sc.nextInt();\n\t\tint wolves = sc.nextInt();\n\n\t\tif(sheep > wolves){\n\t\t\tSystem.out.print(\"safe\");\n\t\t}else{\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}\n\n\treturn;\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint sheep = sc.nextInt();\n\t\tint wolves = sc.nextInt();\n\n\t\tif(sheep > wolves){\n\t\t\tSystem.out.print(\"safe\");\n\t\t}else{\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}\n\n\treturn;\n\n\t}\n}",
"Main",
"public static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint sheep = sc.nextInt();\n\t\tint wolves = sc.nextInt();\n\n\t\tif(sheep > wolves){\n\t\t\tSystem.out.print(\"safe\");\n\t\t}else{\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}\n\n\treturn;\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint sheep = sc.nextInt();\n\t\tint wolves = sc.nextInt();\n\n\t\tif(sheep > wolves){\n\t\t\tSystem.out.print(\"safe\");\n\t\t}else{\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}\n\n\treturn;\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int sheep = sc.nextInt();",
"sheep",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int wolves = sc.nextInt();",
"wolves",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(sheep > wolves){\n\t\t\tSystem.out.print(\"safe\");\n\t\t}else{\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}",
"sheep > wolves",
"sheep",
"wolves",
"{\n\t\t\tSystem.out.print(\"safe\");\n\t\t}",
"System.out.print(\"safe\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"safe\"",
"{\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}",
"System.out.print(\"unsafe\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"return;",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint sheep = sc.nextInt();\n\t\tint wolves = sc.nextInt();\n\n\t\tif(sheep > wolves){\n\t\t\tSystem.out.print(\"safe\");\n\t\t}else{\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}\n\n\treturn;\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint sheep = sc.nextInt();\n\t\tint wolves = sc.nextInt();\n\n\t\tif(sheep > wolves){\n\t\t\tSystem.out.print(\"safe\");\n\t\t}else{\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}\n\n\treturn;\n\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int sheep = sc.nextInt();
int wolves = sc.nextInt();
if(sheep > wolves){
System.out.print("safe");
}else{
System.out.print("unsafe");
}
return;
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
57,
5
],
[
57,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
36,
47
],
[
47,
48
],
[
48,
49
],
[
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\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n String[] in = s.nextLine().split(\" \");\n int S = Integer.parseInt(in[0]);\n int W = Integer.parseInt(in[1]);\n\n if (W >= S) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n String[] in = s.nextLine().split(\" \");\n int S = Integer.parseInt(in[0]);\n int W = Integer.parseInt(in[1]);\n\n if (W >= S) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n String[] in = s.nextLine().split(\" \");\n int S = Integer.parseInt(in[0]);\n int W = Integer.parseInt(in[1]);\n\n if (W >= S) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n String[] in = s.nextLine().split(\" \");\n int S = Integer.parseInt(in[0]);\n int W = Integer.parseInt(in[1]);\n\n if (W >= S) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"String[] in = s.nextLine().split(\" \");",
"in",
"s.nextLine().split(\" \")",
"s.nextLine().split",
"s.nextLine()",
"s.nextLine",
"s",
"\" \"",
"int S = Integer.parseInt(in[0]);",
"S",
"Integer.parseInt(in[0])",
"Integer.parseInt",
"Integer",
"in[0]",
"in",
"0",
"int W = Integer.parseInt(in[1]);",
"W",
"Integer.parseInt(in[1])",
"Integer.parseInt",
"Integer",
"in[1]",
"in",
"1",
"if (W >= S) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }",
"W >= S",
"W",
"S",
"{\n System.out.println(\"unsafe\");\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n System.out.println(\"safe\");\n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n String[] in = s.nextLine().split(\" \");\n int S = Integer.parseInt(in[0]);\n int W = Integer.parseInt(in[1]);\n\n if (W >= S) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n String[] in = s.nextLine().split(\" \");\n int S = Integer.parseInt(in[0]);\n int W = Integer.parseInt(in[1]);\n\n if (W >= S) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
String[] in = s.nextLine().split(" ");
int S = Integer.parseInt(in[0]);
int W = Integer.parseInt(in[1]);
if (W >= S) {
System.out.println("unsafe");
} else {
System.out.println("safe");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
13,
13,
17,
17,
23,
13,
12,
13,
30,
41,
13,
41,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
30,
0,
13,
13,
0,
13,
13,
41,
13,
42,
2,
0,
13,
2,
13,
13,
17,
30,
0,
13,
13,
0,
13,
13,
29,
13,
23,
13,
23,
13,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
29,
2,
13,
17,
12,
13,
30,
14,
4,
13,
30,
29,
18,
13,
40,
13,
30,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
30,
40,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
30,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
30,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
30,
37,
20,
29,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
338,
8
],
[
338,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
30,
35
],
[
9,
36
],
[
36,
37
],
[
338,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
45,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
40,
63
],
[
63,
64
],
[
40,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
66,
72
],
[
65,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
40,
80
],
[
80,
81
],
[
38,
82
],
[
82,
83
],
[
38,
84
],
[
84,
85
],
[
338,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
86,
93
],
[
93,
94
],
[
93,
95
],
[
86,
97
],
[
97,
98
],
[
97,
99
],
[
86,
100
],
[
100,
101
],
[
100,
102
],
[
86,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
110,
111
],
[
111,
112
],
[
106,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
117,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
127,
130
],
[
113,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
86,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
138,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
138,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
86,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
155,
159
],
[
159,
160
],
[
159,
161
],
[
151,
162
],
[
162,
163
],
[
86,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
168,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
174,
176
],
[
167,
177
],
[
177,
178
],
[
178,
179
],
[
166,
180
],
[
180,
181
],
[
181,
182
],
[
86,
183
],
[
183,
184
],
[
183,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
186,
190
],
[
190,
191
],
[
191,
192
],
[
185,
193
],
[
193,
194
],
[
193,
195
],
[
185,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
185,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
200,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
205,
208
],
[
204,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
185,
213
],
[
213,
214
],
[
214,
215
],
[
215,
216
],
[
86,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
220,
221
],
[
221,
222
],
[
222,
223
],
[
220,
224
],
[
224,
225
],
[
225,
226
],
[
219,
227
],
[
227,
228
],
[
227,
229
],
[
219,
230
],
[
230,
231
],
[
230,
232
],
[
219,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
219,
237
],
[
237,
238
],
[
238,
239
],
[
238,
240
],
[
237,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
241,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
219,
249
],
[
249,
250
],
[
250,
251
],
[
251,
252
],
[
251,
253
],
[
250,
254
],
[
254,
255
],
[
254,
256
],
[
249,
257
],
[
257,
258
],
[
258,
259
],
[
219,
260
],
[
260,
261
],
[
260,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
264,
268
],
[
268,
269
],
[
268,
270
],
[
263,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
271,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
277,
279
],
[
263,
280
],
[
280,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
281,
286
],
[
286,
287
],
[
287,
288
],
[
287,
289
],
[
280,
290
],
[
290,
291
],
[
291,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
292,
296
],
[
280,
297
],
[
297,
298
],
[
298,
299
],
[
262,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
86,
304
],
[
304,
305
],
[
304,
306
],
[
306,
307
],
[
307,
308
],
[
307,
309
],
[
309,
310
],
[
306,
311
],
[
311,
312
],
[
312,
313
],
[
313,
314
],
[
313,
315
],
[
315,
316
],
[
315,
317
],
[
312,
318
],
[
318,
319
],
[
318,
320
],
[
320,
321
],
[
320,
322
],
[
311,
323
],
[
323,
324
],
[
324,
325
],
[
306,
326
],
[
326,
327
],
[
86,
328
],
[
328,
329
],
[
328,
330
],
[
330,
331
],
[
331,
332
],
[
332,
333
],
[
333,
334
],
[
332,
335
],
[
335,
336
],
[
0,
337
],
[
337,
338
],
[
337,
339
]
] |
[
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n FastScanner fs = new FastScanner();\n\n int s = fs.nextInt();\n int w = fs.nextInt();\n\n System.out.println( s <= w ? \"unsafe\" : \"safe\");\n\n\n }\n\n static class FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int bufferLength = 0;\n\n private boolean hasNextByte() {\n if (ptr < bufferLength) {\n return true;\n } else {\n ptr = 0;\n try {\n bufferLength = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n return bufferLength > 0;\n }\n }\n\n private int readByte() {\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }\n\n private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }\n\n String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n }\n\n private static int gcd( int a , int b ){\n int x;\n int y;\n if (a > b) {\n x = a;\n y = b;\n } else {\n x = b;\n y = a;\n }\n int tmp;\n while ((tmp = x % y) != 0) {\n x = y;\n y = tmp;\n }\n return y;\n }\n\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n\n FastScanner fs = new FastScanner();\n\n int s = fs.nextInt();\n int w = fs.nextInt();\n\n System.out.println( s <= w ? \"unsafe\" : \"safe\");\n\n\n }\n\n static class FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int bufferLength = 0;\n\n private boolean hasNextByte() {\n if (ptr < bufferLength) {\n return true;\n } else {\n ptr = 0;\n try {\n bufferLength = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n return bufferLength > 0;\n }\n }\n\n private int readByte() {\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }\n\n private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }\n\n String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n }\n\n private static int gcd( int a , int b ){\n int x;\n int y;\n if (a > b) {\n x = a;\n y = b;\n } else {\n x = b;\n y = a;\n }\n int tmp;\n while ((tmp = x % y) != 0) {\n x = y;\n y = tmp;\n }\n return y;\n }\n\n}",
"Main",
"public static void main(String[] args) {\n\n FastScanner fs = new FastScanner();\n\n int s = fs.nextInt();\n int w = fs.nextInt();\n\n System.out.println( s <= w ? \"unsafe\" : \"safe\");\n\n\n }",
"main",
"{\n\n FastScanner fs = new FastScanner();\n\n int s = fs.nextInt();\n int w = fs.nextInt();\n\n System.out.println( s <= w ? \"unsafe\" : \"safe\");\n\n\n }",
"FastScanner fs = new FastScanner();",
"fs",
"new FastScanner()",
"int s = fs.nextInt();",
"s",
"fs.nextInt()",
"fs.nextInt",
"fs",
"int w = fs.nextInt();",
"w",
"fs.nextInt()",
"fs.nextInt",
"fs",
"System.out.println( s <= w ? \"unsafe\" : \"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"s <= w ? \"unsafe\" : \"safe\"",
"s <= w",
"s",
"w",
"\"unsafe\"",
"\"safe\"",
"String[] args",
"args",
"private static int gcd( int a , int b ){\n int x;\n int y;\n if (a > b) {\n x = a;\n y = b;\n } else {\n x = b;\n y = a;\n }\n int tmp;\n while ((tmp = x % y) != 0) {\n x = y;\n y = tmp;\n }\n return y;\n }",
"gcd",
"{\n int x;\n int y;\n if (a > b) {\n x = a;\n y = b;\n } else {\n x = b;\n y = a;\n }\n int tmp;\n while ((tmp = x % y) != 0) {\n x = y;\n y = tmp;\n }\n return y;\n }",
"int x;",
"x",
"int y;",
"y",
"if (a > b) {\n x = a;\n y = b;\n } else {\n x = b;\n y = a;\n }",
"a > b",
"a",
"b",
"{\n x = a;\n y = b;\n }",
"x = a",
"x",
"a",
"y = b",
"y",
"b",
"{\n x = b;\n y = a;\n }",
"x = b",
"x",
"b",
"y = a",
"y",
"a",
"int tmp;",
"tmp",
"while ((tmp = x % y) != 0) {\n x = y;\n y = tmp;\n }",
"(tmp = x % y) != 0",
"(tmp = x % y)",
"tmp",
"x % y",
"x",
"y",
"0",
"{\n x = y;\n y = tmp;\n }",
"x = y",
"x",
"y",
"y = tmp",
"y",
"tmp",
"return y;",
"y",
"int a",
"a",
"int b",
"b",
"static class FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int bufferLength = 0;\n\n private boolean hasNextByte() {\n if (ptr < bufferLength) {\n return true;\n } else {\n ptr = 0;\n try {\n bufferLength = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n return bufferLength > 0;\n }\n }\n\n private int readByte() {\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }\n\n private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }\n\n String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n }",
"FastScanner",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int ptr = 0;",
"ptr",
"0",
"private int bufferLength = 0;",
"bufferLength",
"0",
"private boolean hasNextByte() {\n if (ptr < bufferLength) {\n return true;\n } else {\n ptr = 0;\n try {\n bufferLength = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n return bufferLength > 0;\n }\n }",
"hasNextByte",
"{\n if (ptr < bufferLength) {\n return true;\n } else {\n ptr = 0;\n try {\n bufferLength = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n return bufferLength > 0;\n }\n }",
"if (ptr < bufferLength) {\n return true;\n } else {\n ptr = 0;\n try {\n bufferLength = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n return bufferLength > 0;\n }",
"ptr < bufferLength",
"ptr",
"bufferLength",
"{\n return true;\n }",
"return true;",
"true",
"{\n ptr = 0;\n try {\n bufferLength = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n return bufferLength > 0;\n }",
"ptr = 0",
"ptr",
"0",
"try {\n bufferLength = in.read(buffer);\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 bufferLength = in.read(buffer);\n }",
"bufferLength = in.read(buffer)",
"bufferLength",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"return bufferLength > 0;",
"bufferLength > 0",
"bufferLength",
"0",
"private int readByte() {\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }",
"readByte",
"{\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }",
"if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }",
"hasNextByte()",
"hasNextByte",
"{\n return buffer[ptr++];\n }",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }",
"isPrintableChar",
"{\n return 33 <= c && c <= 126;\n }",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }",
"hasNext",
"{\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }",
"while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }",
"hasNextByte() && !isPrintableChar(buffer[ptr])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[ptr])",
"isPrintableChar(buffer[ptr])",
"isPrintableChar",
"buffer[ptr]",
"buffer",
"ptr",
"{\n ptr++;\n }",
"ptr++",
"ptr",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"next",
"{\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"if (!hasNext()) {\n throw new NoSuchElementException();\n }",
"!hasNext()",
"hasNext()",
"hasNext",
"{\n throw new NoSuchElementException();\n }",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n sb.appendCodePoint(b);\n b = readByte();\n }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"nextLong",
"{\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"if (!hasNext()) {\n throw new NoSuchElementException();\n }",
"!hasNext()",
"hasNext()",
"hasNext",
"{\n throw new NoSuchElementException();\n }",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long n = 0;",
"n",
"0",
"boolean minus = false;",
"minus",
"false",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"if (b == '-') {\n minus = true;\n b = readByte();\n }",
"b == '-'",
"b",
"'-'",
"{\n minus = true;\n b = readByte();\n }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"true",
"{\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n n *= 10;\n n += b - '0';\n }",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n return minus ? -n : n;\n }",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }",
"nextInt",
"{\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }",
"long nl = nextLong();",
"nl",
"nextLong()",
"nextLong",
"if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }",
"nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE",
"nl < Integer.MIN_VALUE",
"nl",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"nl > Integer.MAX_VALUE",
"nl",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"return (int) nl;",
"(int) nl",
"public double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public class Main {\n\n public static void main(String[] args) {\n\n FastScanner fs = new FastScanner();\n\n int s = fs.nextInt();\n int w = fs.nextInt();\n\n System.out.println( s <= w ? \"unsafe\" : \"safe\");\n\n\n }\n\n static class FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int bufferLength = 0;\n\n private boolean hasNextByte() {\n if (ptr < bufferLength) {\n return true;\n } else {\n ptr = 0;\n try {\n bufferLength = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n return bufferLength > 0;\n }\n }\n\n private int readByte() {\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }\n\n private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }\n\n String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n }\n\n private static int gcd( int a , int b ){\n int x;\n int y;\n if (a > b) {\n x = a;\n y = b;\n } else {\n x = b;\n y = a;\n }\n int tmp;\n while ((tmp = x % y) != 0) {\n x = y;\n y = tmp;\n }\n return y;\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n\n FastScanner fs = new FastScanner();\n\n int s = fs.nextInt();\n int w = fs.nextInt();\n\n System.out.println( s <= w ? \"unsafe\" : \"safe\");\n\n\n }\n\n static class FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int bufferLength = 0;\n\n private boolean hasNextByte() {\n if (ptr < bufferLength) {\n return true;\n } else {\n ptr = 0;\n try {\n bufferLength = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n return bufferLength > 0;\n }\n }\n\n private int readByte() {\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }\n\n private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }\n\n String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n }\n\n private static int gcd( int a , int b ){\n int x;\n int y;\n if (a > b) {\n x = a;\n y = b;\n } else {\n x = b;\n y = a;\n }\n int tmp;\n while ((tmp = x % y) != 0) {\n x = y;\n y = tmp;\n }\n return y;\n }\n\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
FastScanner fs = new FastScanner();
int s = fs.nextInt();
int w = fs.nextInt();
System.out.println( s <= w ? "unsafe" : "safe");
}
static class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int bufferLength = 0;
private boolean hasNextByte() {
if (ptr < bufferLength) {
return true;
} else {
ptr = 0;
try {
bufferLength = in.read(buffer);
} catch (IOException e) {
e.printStackTrace();
}
return bufferLength > 0;
}
}
private int readByte() {
if (hasNextByte()) {
return buffer[ptr++];
} else {
return -1;
}
}
private static boolean isPrintableChar(int c) {
return 33 <= c && c <= 126;
}
boolean hasNext() {
while (hasNextByte() && !isPrintableChar(buffer[ptr])) {
ptr++;
}
return hasNextByte();
}
String next() {
if (!hasNext()) {
throw new NoSuchElementException();
}
StringBuilder sb = new StringBuilder();
int b = readByte();
while (isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
long nextLong() {
if (!hasNext()) {
throw new NoSuchElementException();
}
long n = 0;
boolean minus = false;
int b = readByte();
if (b == '-') {
minus = true;
b = readByte();
}
if (b < '0' || '9' < b) {
throw new NumberFormatException();
}
while (true) {
if ('0' <= b && b <= '9') {
n *= 10;
n += b - '0';
} else if (b == -1 || !isPrintableChar(b)) {
return minus ? -n : n;
} else {
throw new NumberFormatException();
}
b = readByte();
}
}
public int nextInt() {
long nl = nextLong();
if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {
throw new NumberFormatException();
}
return (int) nl;
}
public double nextDouble() {
return Double.parseDouble(next());
}
}
private static int gcd( int a , int b ){
int x;
int y;
if (a > b) {
x = a;
y = b;
} else {
x = b;
y = a;
}
int tmp;
while ((tmp = x % y) != 0) {
x = y;
y = tmp;
}
return y;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
30,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
2,
40,
4,
13,
13,
2,
13,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
29,
2,
13,
4,
18,
13,
17,
4,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
29,
2,
13,
4,
18,
13,
17,
4,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
37,
20,
0,
13,
17,
0,
13,
2,
2,
13,
17,
13,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
4,
18,
13,
13,
29,
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,
4,
13,
6,
13,
12,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
509,
8
],
[
509,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
14,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
11,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
39,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
50,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
11,
62
],
[
62,
63
],
[
63,
64
],
[
9,
65
],
[
65,
66
],
[
509,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
67,
75
],
[
75,
76
],
[
67,
77
],
[
77,
78
],
[
67,
79
],
[
79,
80
],
[
67,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
81,
89
],
[
89,
90
],
[
67,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
94,
99
],
[
99,
100
],
[
100,
101
],
[
93,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
110,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
106,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
93,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
67,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
138,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
138,
152
],
[
152,
153
],
[
152,
154
],
[
138,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
155,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
159,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
138,
168
],
[
168,
169
],
[
168,
170
],
[
138,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
171,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
178,
182
],
[
182,
183
],
[
182,
184
],
[
177,
185
],
[
185,
186
],
[
186,
187
],
[
176,
188
],
[
188,
189
],
[
188,
190
],
[
176,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
193,
195
],
[
176,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
138,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
67,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
206,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
211,
215
],
[
215,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
206,
220
],
[
220,
221
],
[
220,
222
],
[
206,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
223,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
229,
232
],
[
228,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
206,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
67,
241
],
[
241,
242
],
[
241,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
243,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
248,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
255,
256
],
[
243,
257
],
[
257,
258
],
[
257,
259
],
[
243,
260
],
[
260,
261
],
[
261,
262
],
[
261,
263
],
[
260,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
267,
268
],
[
264,
269
],
[
269,
270
],
[
269,
271
],
[
271,
272
],
[
243,
273
],
[
273,
274
],
[
273,
275
],
[
243,
276
],
[
276,
277
],
[
277,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
277,
282
],
[
282,
283
],
[
282,
284
],
[
276,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
287,
291
],
[
291,
292
],
[
291,
293
],
[
286,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
296,
298
],
[
298,
299
],
[
299,
300
],
[
298,
301
],
[
298,
302
],
[
302,
303
],
[
285,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
305,
309
],
[
309,
310
],
[
309,
311
],
[
304,
312
],
[
312,
313
],
[
313,
314
],
[
285,
315
],
[
315,
316
],
[
315,
317
],
[
285,
318
],
[
318,
319
],
[
318,
320
],
[
320,
321
],
[
320,
322
],
[
285,
323
],
[
323,
324
],
[
323,
325
],
[
325,
326
],
[
243,
327
],
[
327,
328
],
[
328,
329
],
[
328,
330
],
[
327,
331
],
[
331,
332
],
[
332,
333
],
[
332,
334
],
[
334,
335
],
[
331,
336
],
[
336,
337
],
[
336,
338
],
[
331,
339
],
[
339,
340
],
[
340,
341
],
[
341,
342
],
[
341,
343
],
[
339,
344
],
[
344,
345
],
[
345,
346
],
[
346,
347
],
[
347,
348
],
[
347,
349
],
[
346,
350
],
[
350,
351
],
[
350,
352
],
[
345,
353
],
[
353,
354
],
[
354,
355
],
[
355,
356
],
[
355,
357
],
[
357,
358
],
[
358,
359
],
[
357,
360
],
[
357,
361
],
[
361,
362
],
[
344,
363
],
[
363,
364
],
[
364,
365
],
[
365,
366
],
[
365,
367
],
[
364,
368
],
[
368,
369
],
[
368,
370
],
[
363,
371
],
[
371,
372
],
[
372,
373
],
[
344,
374
],
[
374,
375
],
[
374,
376
],
[
344,
377
],
[
377,
378
],
[
377,
379
],
[
379,
380
],
[
380,
381
],
[
380,
382
],
[
379,
383
],
[
344,
384
],
[
384,
385
],
[
384,
386
],
[
386,
387
],
[
243,
388
],
[
388,
389
],
[
389,
390
],
[
389,
391
],
[
67,
392
],
[
392,
393
],
[
392,
394
],
[
394,
395
],
[
395,
396
],
[
395,
397
],
[
397,
398
],
[
394,
399
],
[
399,
400
],
[
400,
401
],
[
400,
402
],
[
399,
403
],
[
403,
404
],
[
404,
405
],
[
404,
406
],
[
406,
407
],
[
394,
408
],
[
408,
409
],
[
408,
410
],
[
394,
411
],
[
411,
412
],
[
412,
413
],
[
412,
414
],
[
411,
415
],
[
415,
416
],
[
416,
417
],
[
416,
418
],
[
418,
419
],
[
415,
420
],
[
420,
421
],
[
420,
422
],
[
422,
423
],
[
394,
424
],
[
424,
425
],
[
424,
426
],
[
394,
427
],
[
427,
428
],
[
428,
429
],
[
429,
430
],
[
429,
431
],
[
427,
432
],
[
432,
433
],
[
433,
434
],
[
434,
435
],
[
435,
436
],
[
435,
437
],
[
434,
438
],
[
438,
439
],
[
438,
440
],
[
433,
441
],
[
441,
442
],
[
442,
443
],
[
432,
444
],
[
444,
445
],
[
444,
446
],
[
432,
447
],
[
447,
448
],
[
447,
449
],
[
449,
450
],
[
449,
451
],
[
432,
452
],
[
452,
453
],
[
452,
454
],
[
454,
455
],
[
394,
456
],
[
456,
457
],
[
457,
458
],
[
457,
459
],
[
67,
460
],
[
460,
461
],
[
460,
462
],
[
462,
463
],
[
463,
464
],
[
464,
465
],
[
464,
466
],
[
463,
467
],
[
467,
468
],
[
468,
469
],
[
469,
470
],
[
470,
471
],
[
469,
472
],
[
462,
473
],
[
473,
474
],
[
477,
475
],
[
487,
476
],
[
484,
477
],
[
477,
478
],
[
478,
479
],
[
478,
480
],
[
477,
481
],
[
481,
482
],
[
481,
483
],
[
484,
484
],
[
484,
485
],
[
484,
486
],
[
487,
487
],
[
487,
488
],
[
487,
489
],
[
477,
490
],
[
490,
491
],
[
490,
492
],
[
492,
493
],
[
460,
494
],
[
494,
495
],
[
67,
496
],
[
496,
497
],
[
496,
498
],
[
498,
499
],
[
499,
500
],
[
500,
501
],
[
67,
502
],
[
502,
503
],
[
502,
504
],
[
504,
505
],
[
504,
506
],
[
506,
507
],
[
0,
508
],
[
508,
509
],
[
508,
510
]
] |
[
"import java.io.*;\nimport java.util.InputMismatchException;\n\npublic class Main {\n public static void main(String[] xps){\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n StringBuilder sb = new StringBuilder();\n\n int t = 1;\n while (t-->0){\n int n = in.Int();\n int m = in.Int();\n if (m >= n)\n out.println(\"unsafe\");\n else\n out.println(\"safe\");\n }\n out.close();\n }\n\n private static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int Int() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String String() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public double Double() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }\n\n public long Long() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return String();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"public class Main {\n public static void main(String[] xps){\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n StringBuilder sb = new StringBuilder();\n\n int t = 1;\n while (t-->0){\n int n = in.Int();\n int m = in.Int();\n if (m >= n)\n out.println(\"unsafe\");\n else\n out.println(\"safe\");\n }\n out.close();\n }\n\n private static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int Int() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String String() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public double Double() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }\n\n public long Long() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return String();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"Main",
"public static void main(String[] xps){\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n StringBuilder sb = new StringBuilder();\n\n int t = 1;\n while (t-->0){\n int n = in.Int();\n int m = in.Int();\n if (m >= n)\n out.println(\"unsafe\");\n else\n out.println(\"safe\");\n }\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n StringBuilder sb = new StringBuilder();\n\n int t = 1;\n while (t-->0){\n int n = in.Int();\n int m = in.Int();\n if (m >= n)\n out.println(\"unsafe\");\n else\n out.println(\"safe\");\n }\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"InputReader in = new InputReader(inputStream);",
"in",
"new InputReader(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int t = 1;",
"t",
"1",
"while (t-->0){\n int n = in.Int();\n int m = in.Int();\n if (m >= n)\n out.println(\"unsafe\");\n else\n out.println(\"safe\");\n }",
"t-->0",
"t--",
"t",
"0",
"{\n int n = in.Int();\n int m = in.Int();\n if (m >= n)\n out.println(\"unsafe\");\n else\n out.println(\"safe\");\n }",
"int n = in.Int();",
"n",
"in.Int()",
"in.Int",
"in",
"int m = in.Int();",
"m",
"in.Int()",
"in.Int",
"in",
"if (m >= n)\n out.println(\"unsafe\");\n else\n out.println(\"safe\");",
"m >= n",
"m",
"n",
"out.println(\"unsafe\")",
"out.println",
"out",
"\"unsafe\"",
"out.println(\"safe\")",
"out.println",
"out",
"\"safe\"",
"out.close()",
"out.close",
"out",
"String[] xps",
"xps",
"private static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int Int() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String String() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public double Double() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }\n\n public long Long() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return String();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }",
"InputReader",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"private SpaceCharFilter filter;",
"filter",
"public InputReader(InputStream stream) {\n this.stream = stream;\n }",
"InputReader",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"if (numChars == -1) {\n throw new InputMismatchException();\n }",
"numChars == -1",
"numChars",
"-1",
"1",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = stream.read(buf);\n }",
"numChars = stream.read(buf)",
"numChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (numChars <= 0) {\n return -1;\n }",
"numChars <= 0",
"numChars",
"0",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public int Int() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"Int",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"int res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public String String() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"String",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res.appendCodePoint(c);\n c = read();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public double Double() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }",
"Double",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"double res = 0;",
"res",
"0",
"while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }",
"!isSpaceChar(c) && c != '.'",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c != '.'",
"c",
"'.'",
"{\n if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }",
"c == 'e' || c == 'E'",
"c == 'e'",
"c",
"'e'",
"c == 'E'",
"c",
"'E'",
"{\n return res * Math.pow(10, Int());\n }",
"return res * Math.pow(10, Int());",
"res * Math.pow(10, Int())",
"res",
"Math.pow(10, Int())",
"Math.pow",
"Math",
"10",
"Int()",
"Int",
"if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }",
"c == '.'",
"c",
"'.'",
"{\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }",
"c = read()",
"c",
"read()",
"read",
"double m = 1;",
"m",
"1",
"while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }",
"if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }",
"c == 'e' || c == 'E'",
"c == 'e'",
"c",
"'e'",
"c == 'E'",
"c",
"'E'",
"{\n return res * Math.pow(10, Int());\n }",
"return res * Math.pow(10, Int());",
"res * Math.pow(10, Int())",
"res",
"Math.pow(10, Int())",
"Math.pow",
"Math",
"10",
"Int()",
"Int",
"if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"m /= 10",
"m",
"10",
"res += (c - '0') * m",
"res",
"(c - '0') * m",
"(c - '0')",
"c",
"'0'",
"m",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public long Long() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"Long",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"long res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"if (filter != null) {\n return filter.isSpaceChar(c);\n }",
"filter != null",
"filter",
"null",
"{\n return filter.isSpaceChar(c);\n }",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"return 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 String next() {\n return String();\n }",
"next",
"{\n return String();\n }",
"return String();",
"String()",
"String",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"public class Main {\n public static void main(String[] xps){\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n StringBuilder sb = new StringBuilder();\n\n int t = 1;\n while (t-->0){\n int n = in.Int();\n int m = in.Int();\n if (m >= n)\n out.println(\"unsafe\");\n else\n out.println(\"safe\");\n }\n out.close();\n }\n\n private static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int Int() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String String() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public double Double() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }\n\n public long Long() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return String();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"public class Main {\n public static void main(String[] xps){\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n StringBuilder sb = new StringBuilder();\n\n int t = 1;\n while (t-->0){\n int n = in.Int();\n int m = in.Int();\n if (m >= n)\n out.println(\"unsafe\");\n else\n out.println(\"safe\");\n }\n out.close();\n }\n\n private static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int Int() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String String() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public double Double() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E') {\n return res * Math.pow(10, Int());\n }\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }\n\n public long Long() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return String();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"Main"
] |
import java.io.*;
import java.util.InputMismatchException;
public class Main {
public static void main(String[] xps){
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
StringBuilder sb = new StringBuilder();
int t = 1;
while (t-->0){
int n = in.Int();
int m = in.Int();
if (m >= n)
out.println("unsafe");
else
out.println("safe");
}
out.close();
}
private static class InputReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private SpaceCharFilter filter;
public InputReader(InputStream stream) {
this.stream = stream;
}
public int read() {
if (numChars == -1) {
throw new InputMismatchException();
}
if (curChar >= numChars) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (numChars <= 0) {
return -1;
}
}
return buf[curChar++];
}
public int Int() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
int res = 0;
do {
if (c < '0' || c > '9') {
throw new InputMismatchException();
}
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public String String() {
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 double Double() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
double res = 0;
while (!isSpaceChar(c) && c != '.') {
if (c == 'e' || c == 'E') {
return res * Math.pow(10, Int());
}
if (c < '0' || c > '9') {
throw new InputMismatchException();
}
res *= 10;
res += c - '0';
c = read();
}
if (c == '.') {
c = read();
double m = 1;
while (!isSpaceChar(c)) {
if (c == 'e' || c == 'E') {
return res * Math.pow(10, Int());
}
if (c < '0' || c > '9') {
throw new InputMismatchException();
}
m /= 10;
res += (c - '0') * m;
c = read();
}
}
return res * sgn;
}
public long Long() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
long res = 0;
do {
if (c < '0' || c > '9') {
throw new InputMismatchException();
}
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public boolean isSpaceChar(int c) {
if (filter != null) {
return filter.isSpaceChar(c);
}
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public String next() {
return String();
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
50,
14
],
[
50,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
15,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] |
[
"import java.io.File;\nimport java.io.FileInputStream;\nimport java.io.FileNotFoundException;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n\n if (w >= s) System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }\n}",
"import java.io.File;",
"File",
"java.io",
"import java.io.FileInputStream;",
"FileInputStream",
"java.io",
"import java.io.FileNotFoundException;",
"FileNotFoundException",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n\n if (w >= s) System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n\n if (w >= s) System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n\n if (w >= s) System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int s = sc.nextInt();",
"s",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int w = sc.nextInt();",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (w >= s) System.out.println(\"unsafe\");\n else System.out.println(\"safe\");",
"w >= s",
"w",
"s",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n\n if (w >= s) System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n\n if (w >= s) System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }\n}",
"Main"
] |
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int s = sc.nextInt();
int w = sc.nextInt();
if (w >= s) System.out.println("unsafe");
else System.out.println("safe");
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
49,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
9,
15
],
[
15,
16
],
[
49,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
30,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] |
[
"import java.util.*;\n\npublic class Main {\n\n Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n void run() {\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n if (n <= m) {\n System.out.println(\"unsafe\\n\");\n } else {\n System.out.println(\"safe\\n\");\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n void run() {\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n if (n <= m) {\n System.out.println(\"unsafe\\n\");\n } else {\n System.out.println(\"safe\\n\");\n }\n }\n}",
"Main",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) {\n new Main().run();\n }",
"main",
"{\n new Main().run();\n }",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"void run() {\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n if (n <= m) {\n System.out.println(\"unsafe\\n\");\n } else {\n System.out.println(\"safe\\n\");\n }\n }",
"run",
"{\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n if (n <= m) {\n System.out.println(\"unsafe\\n\");\n } else {\n System.out.println(\"safe\\n\");\n }\n }",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int m = sc.nextInt();",
"m",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (n <= m) {\n System.out.println(\"unsafe\\n\");\n } else {\n System.out.println(\"safe\\n\");\n }",
"n <= m",
"n",
"m",
"{\n System.out.println(\"unsafe\\n\");\n }",
"System.out.println(\"unsafe\\n\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\\n\"",
"{\n System.out.println(\"safe\\n\");\n }",
"System.out.println(\"safe\\n\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\\n\"",
"public class Main {\n\n Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n void run() {\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n if (n <= m) {\n System.out.println(\"unsafe\\n\");\n } else {\n System.out.println(\"safe\\n\");\n }\n }\n}",
"public class Main {\n\n Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n void run() {\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n if (n <= m) {\n System.out.println(\"unsafe\\n\");\n } else {\n System.out.println(\"safe\\n\");\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
new Main().run();
}
void run() {
int n = sc.nextInt();
int m = sc.nextInt();
if (n <= m) {
System.out.println("unsafe\n");
} else {
System.out.println("safe\n");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
8,
2,
13,
13,
17,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
61,
11
],
[
61,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
16,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
16,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
16,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
16,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
52,
57
],
[
12,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\ttry (BufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))) {\n\n\t\t\tString in = br.readLine();\n\t\t\tString chr[] = in.split(\" \");\n\t\t\tint s = Integer.parseInt(chr[0]);\n\t\t\tint w = Integer.parseInt(chr[1]);\n\t\t\tSystem.out.println(s > w ? \"safe\" : \"unsafe\");\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",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\ttry (BufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))) {\n\n\t\t\tString in = br.readLine();\n\t\t\tString chr[] = in.split(\" \");\n\t\t\tint s = Integer.parseInt(chr[0]);\n\t\t\tint w = Integer.parseInt(chr[1]);\n\t\t\tSystem.out.println(s > w ? \"safe\" : \"unsafe\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\ttry (BufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))) {\n\n\t\t\tString in = br.readLine();\n\t\t\tString chr[] = in.split(\" \");\n\t\t\tint s = Integer.parseInt(chr[0]);\n\t\t\tint w = Integer.parseInt(chr[1]);\n\t\t\tSystem.out.println(s > w ? \"safe\" : \"unsafe\");\n\t\t}\n\t}",
"main",
"{\n\t\ttry (BufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))) {\n\n\t\t\tString in = br.readLine();\n\t\t\tString chr[] = in.split(\" \");\n\t\t\tint s = Integer.parseInt(chr[0]);\n\t\t\tint w = Integer.parseInt(chr[1]);\n\t\t\tSystem.out.println(s > w ? \"safe\" : \"unsafe\");\n\t\t}\n\t}",
"try (BufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))) {\n\n\t\t\tString in = br.readLine();\n\t\t\tString chr[] = in.split(\" \");\n\t\t\tint s = Integer.parseInt(chr[0]);\n\t\t\tint w = Integer.parseInt(chr[1]);\n\t\t\tSystem.out.println(s > w ? \"safe\" : \"unsafe\");\n\t\t}",
"{\n\n\t\t\tString in = br.readLine();\n\t\t\tString chr[] = in.split(\" \");\n\t\t\tint s = Integer.parseInt(chr[0]);\n\t\t\tint w = Integer.parseInt(chr[1]);\n\t\t\tSystem.out.println(s > w ? \"safe\" : \"unsafe\");\n\t\t}",
"BufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))",
"BufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))",
"new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))",
"String in = br.readLine();",
"in",
"br.readLine()",
"br.readLine",
"br",
"String chr[] = in.split(\" \");",
"chr",
"in.split(\" \")",
"in.split",
"in",
"\" \"",
"int s = Integer.parseInt(chr[0]);",
"s",
"Integer.parseInt(chr[0])",
"Integer.parseInt",
"Integer",
"chr[0]",
"chr",
"0",
"int w = Integer.parseInt(chr[1]);",
"w",
"Integer.parseInt(chr[1])",
"Integer.parseInt",
"Integer",
"chr[1]",
"chr",
"1",
"System.out.println(s > w ? \"safe\" : \"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"s > w ? \"safe\" : \"unsafe\"",
"s > w",
"s",
"w",
"\"safe\"",
"\"unsafe\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\ttry (BufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))) {\n\n\t\t\tString in = br.readLine();\n\t\t\tString chr[] = in.split(\" \");\n\t\t\tint s = Integer.parseInt(chr[0]);\n\t\t\tint w = Integer.parseInt(chr[1]);\n\t\t\tSystem.out.println(s > w ? \"safe\" : \"unsafe\");\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\ttry (BufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))) {\n\n\t\t\tString in = br.readLine();\n\t\t\tString chr[] = in.split(\" \");\n\t\t\tint s = Integer.parseInt(chr[0]);\n\t\t\tint w = Integer.parseInt(chr[1]);\n\t\t\tSystem.out.println(s > w ? \"safe\" : \"unsafe\");\n\t\t}\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 {
try (BufferedReader br = new BufferedReader(
new InputStreamReader(System.in))) {
String in = br.readLine();
String chr[] = in.split(" ");
int s = Integer.parseInt(chr[0]);
int w = Integer.parseInt(chr[1]);
System.out.println(s > w ? "safe" : "unsafe");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
4,
18,
13,
17,
17,
41,
13,
17,
41,
13,
39,
39,
17,
17,
39,
17,
40,
17,
39,
17,
17,
39,
40,
17,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
13,
17,
30,
4,
13,
17,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
29,
17,
41,
13,
2,
13,
13,
14,
2,
13,
2,
13,
13,
30,
29,
17,
29,
17,
23,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
42,
2,
13,
13,
30,
4,
13,
13,
13,
13,
40,
13,
40,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
18,
13,
13,
17,
30,
29,
17,
41,
13,
2,
18,
13,
13,
17,
42,
2,
13,
17,
30,
14,
2,
18,
13,
13,
18,
13,
2,
13,
17,
30,
3,
40,
13,
14,
2,
13,
17,
30,
29,
17,
41,
13,
2,
18,
13,
13,
17,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
13,
13,
3,
4,
13,
13,
13,
13,
4,
13,
13,
2,
13,
17,
2,
18,
13,
13,
17,
29,
17,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
13,
17,
29,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
2,
13,
17,
4,
13,
17,
23,
13,
12,
13,
30,
29,
2,
4,
18,
13,
13,
4,
18,
13,
17,
23,
13,
12,
13,
30,
14,
2,
13,
13,
30,
29,
4,
13,
13,
13,
14,
2,
2,
13,
13,
17,
30,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
457,
14
],
[
457,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
17,
21
],
[
457,
22
],
[
22,
23
],
[
22,
24
],
[
457,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
27,
35
],
[
35,
36
],
[
35,
37
],
[
27,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
457,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
44,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
44,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
42,
70
],
[
70,
71
],
[
457,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
74,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
88,
90
],
[
74,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
94,
96
],
[
91,
97
],
[
97,
98
],
[
98,
99
],
[
74,
100
],
[
100,
101
],
[
72,
102
],
[
102,
103
],
[
72,
104
],
[
104,
105
],
[
457,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
111,
113
],
[
108,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
118,
119
],
[
118,
120
],
[
108,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
106,
126
],
[
126,
127
],
[
106,
128
],
[
128,
129
],
[
106,
130
],
[
130,
131
],
[
457,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
140,
143
],
[
140,
144
],
[
139,
145
],
[
145,
146
],
[
139,
147
],
[
147,
148
],
[
132,
149
],
[
149,
150
],
[
132,
151
],
[
151,
152
],
[
132,
153
],
[
153,
154
],
[
457,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
159,
163
],
[
158,
164
],
[
164,
165
],
[
165,
166
],
[
157,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
169,
173
],
[
157,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
174,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
180,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
186,
188
],
[
179,
189
],
[
189,
190
],
[
178,
191
],
[
191,
192
],
[
157,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
193,
197
],
[
197,
198
],
[
198,
199
],
[
157,
200
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
202,
206
],
[
157,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
211,
215
],
[
207,
216
],
[
216,
217
],
[
216,
218
],
[
207,
219
],
[
219,
220
],
[
220,
221
],
[
207,
222
],
[
223,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
226,
227
],
[
226,
228
],
[
225,
229
],
[
229,
230
],
[
229,
231
],
[
224,
232
],
[
232,
233
],
[
233,
234
],
[
233,
235
],
[
232,
236
],
[
157,
237
],
[
237,
238
],
[
237,
239
],
[
237,
240
],
[
237,
241
],
[
157,
242
],
[
242,
243
],
[
242,
244
],
[
242,
245
],
[
245,
246
],
[
245,
247
],
[
242,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
248,
252
],
[
157,
253
],
[
253,
254
],
[
155,
255
],
[
255,
256
],
[
457,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
259,
264
],
[
264,
265
],
[
265,
266
],
[
266,
267
],
[
266,
268
],
[
264,
269
],
[
269,
270
],
[
269,
271
],
[
264,
272
],
[
272,
273
],
[
273,
274
],
[
264,
275
],
[
276,
276
],
[
276,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
277,
281
],
[
281,
282
],
[
281,
283
],
[
259,
284
],
[
284,
285
],
[
257,
286
],
[
286,
287
],
[
457,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
291,
296
],
[
288,
297
],
[
297,
298
],
[
457,
299
],
[
299,
300
],
[
299,
301
],
[
301,
302
],
[
302,
303
],
[
302,
304
],
[
302,
305
],
[
306,
306
],
[
306,
307
],
[
307,
308
],
[
308,
309
],
[
309,
310
],
[
309,
311
],
[
307,
312
],
[
312,
313
],
[
312,
314
],
[
301,
315
],
[
315,
316
],
[
315,
317
],
[
299,
318
],
[
318,
319
],
[
457,
320
],
[
320,
321
],
[
320,
322
],
[
322,
323
],
[
323,
324
],
[
324,
325
],
[
325,
326
],
[
326,
327
],
[
325,
328
],
[
324,
329
],
[
329,
330
],
[
330,
331
],
[
329,
332
],
[
320,
333
],
[
333,
334
],
[
457,
335
],
[
335,
336
],
[
335,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
339,
341
],
[
338,
342
],
[
342,
343
],
[
343,
344
],
[
344,
345
],
[
344,
346
],
[
344,
347
],
[
337,
348
],
[
348,
349
],
[
349,
350
],
[
350,
351
],
[
350,
352
],
[
349,
353
],
[
348,
354
],
[
354,
355
],
[
355,
356
],
[
337,
357
],
[
357,
358
],
[
358,
359
],
[
358,
360
],
[
358,
361
],
[
361,
362
],
[
361,
363
],
[
335,
364
],
[
364,
365
],
[
335,
366
],
[
366,
367
],
[
457,
368
],
[
368,
369
],
[
368,
370
],
[
370,
371
],
[
368,
372
],
[
372,
373
],
[
368,
374
],
[
374,
375
],
[
374,
376
],
[
376,
377
],
[
377,
378
],
[
377,
379
],
[
368,
380
],
[
380,
381
],
[
380,
382
],
[
382,
383
],
[
383,
384
],
[
384,
385
],
[
385,
386
],
[
385,
387
],
[
384,
388
],
[
388,
389
],
[
389,
390
],
[
390,
391
],
[
383,
392
],
[
392,
393
],
[
393,
394
],
[
394,
395
],
[
394,
396
],
[
396,
397
],
[
397,
398
],
[
398,
399
],
[
393,
400
],
[
400,
401
],
[
401,
402
],
[
401,
403
],
[
382,
404
],
[
404,
405
],
[
405,
406
],
[
406,
407
],
[
368,
408
],
[
408,
409
],
[
408,
410
],
[
410,
411
],
[
411,
412
],
[
412,
413
],
[
413,
414
],
[
412,
415
],
[
415,
416
],
[
368,
417
],
[
417,
418
],
[
417,
419
],
[
419,
420
],
[
420,
421
],
[
421,
422
],
[
422,
423
],
[
421,
424
],
[
424,
425
],
[
368,
426
],
[
426,
427
],
[
426,
428
],
[
428,
429
],
[
429,
430
],
[
430,
431
],
[
431,
432
],
[
430,
433
],
[
433,
434
],
[
368,
435
],
[
435,
436
],
[
435,
437
],
[
437,
438
],
[
438,
439
],
[
438,
440
],
[
437,
441
],
[
441,
442
],
[
442,
443
],
[
442,
444
],
[
444,
445
],
[
445,
446
],
[
446,
447
],
[
441,
448
],
[
448,
449
],
[
449,
450
],
[
449,
451
],
[
451,
452
],
[
452,
453
],
[
437,
454
],
[
454,
455
],
[
0,
456
],
[
456,
457
],
[
456,
458
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.*;\n\npublic class Main {\n private static final int MOD = (int) Math.pow(10, 9);\n private static final long EIGHT = (long) 1e18;\n private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n int s = sc.nextInt();\n int w = sc.nextInt();\n if (w >= s) {\n print(\"unsafe\");\n } else {\n print(\"safe\");\n }\n // print(\"\" + Math.PI * 2 * r);\n }\n\n /*\n * Check if a * b is overflow or not\n */\n static Boolean isOverflowByMul(long a, long b) {\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }\n\n static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }\n\n static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }\n\n static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }\n\n static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }\n\n static private void print(String s) {\n System.out.println(s);\n }\n\n static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }\n\n static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }\n\n static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n private static final int MOD = (int) Math.pow(10, 9);\n private static final long EIGHT = (long) 1e18;\n private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n int s = sc.nextInt();\n int w = sc.nextInt();\n if (w >= s) {\n print(\"unsafe\");\n } else {\n print(\"safe\");\n }\n // print(\"\" + Math.PI * 2 * r);\n }\n\n /*\n * Check if a * b is overflow or not\n */\n static Boolean isOverflowByMul(long a, long b) {\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }\n\n static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }\n\n static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }\n\n static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }\n\n static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }\n\n static private void print(String s) {\n System.out.println(s);\n }\n\n static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }\n\n static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }\n\n static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"Main",
"private static final int MOD = (int) Math.pow(10, 9);",
"MOD",
"(int) Math.pow(10, 9)",
"Math.pow",
"Math",
"10",
"9",
"private static final long EIGHT = (long) 1e18;",
"EIGHT",
"(long) 1e18",
"private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};",
"DIRS",
"{{0, 1}, {0, -1}, {1, 0}, {-1, 0}}",
"{0, 1}",
"0",
"1",
"{0, -1}",
"0",
"-1",
"1",
"{1, 0}",
"1",
"0",
"{-1, 0}",
"-1",
"1",
"0",
"public static void main(String[] args) {\n FastReader sc = new FastReader();\n int s = sc.nextInt();\n int w = sc.nextInt();\n if (w >= s) {\n print(\"unsafe\");\n } else {\n print(\"safe\");\n }\n // print(\"\" + Math.PI * 2 * r);\n }",
"main",
"{\n FastReader sc = new FastReader();\n int s = sc.nextInt();\n int w = sc.nextInt();\n if (w >= s) {\n print(\"unsafe\");\n } else {\n print(\"safe\");\n }\n // print(\"\" + Math.PI * 2 * r);\n }",
"FastReader sc = new FastReader();",
"sc",
"new FastReader()",
"int s = sc.nextInt();",
"s",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int w = sc.nextInt();",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (w >= s) {\n print(\"unsafe\");\n } else {\n print(\"safe\");\n }",
"w >= s",
"w",
"s",
"{\n print(\"unsafe\");\n }",
"print(\"unsafe\")",
"print",
"\"unsafe\"",
"{\n print(\"safe\");\n }",
"print(\"safe\")",
"print",
"\"safe\"",
"String[] args",
"args",
"/*\n * Check if a * b is overflow or not\n */\n static Boolean isOverflowByMul(long a, long b) {\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }",
"isOverflowByMul",
"{\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }",
"if (a == 0 || b == 0) {\n return false;\n }",
"a == 0 || b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n return false;\n }",
"return false;",
"false",
"long result = a * b;",
"result",
"a * b",
"a",
"b",
"if (a == result / b) {\n return false;\n }",
"a == result / b",
"a",
"result / b",
"result",
"b",
"{\n return false;\n }",
"return false;",
"false",
"return true;",
"true",
"long a",
"a",
"long b",
"b",
"static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }",
"swap",
"{\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }",
"int tmp = nums[x];",
"tmp",
"nums[x]",
"nums",
"x",
"nums[x] = nums[y]",
"nums[x]",
"nums",
"x",
"nums[y]",
"nums",
"y",
"nums[y] = tmp",
"nums[y]",
"nums",
"y",
"tmp",
"int[] nums",
"nums",
"int x",
"x",
"int y",
"y",
"static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }",
"reverse",
"{\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }",
"while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }",
"left < right",
"left",
"right",
"{\n swap(nums, left, right);\n left++;\n right--;\n }",
"swap(nums, left, right)",
"swap",
"nums",
"left",
"right",
"left++",
"left",
"right--",
"right",
"int[] nums",
"nums",
"int left",
"left",
"int right",
"right",
"static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }",
"findNextPermutation",
"{\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }",
"if (nums.length <= 1) {\n return false;\n }",
"nums.length <= 1",
"nums.length",
"nums",
"nums.length",
"1",
"{\n return false;\n }",
"return false;",
"false",
"int last = nums.length - 2;",
"last",
"nums.length - 2",
"nums.length",
"nums",
"nums.length",
"2",
"while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }",
"last >= 0",
"last",
"0",
"{\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }",
"if (nums[last] < nums[last + 1]){\n break;\n }",
"nums[last] < nums[last + 1]",
"nums[last]",
"nums",
"last",
"nums[last + 1]",
"nums",
"last + 1",
"last",
"1",
"{\n break;\n }",
"break;",
"last--",
"last",
"if (last < 0) { return false; }",
"last < 0",
"last",
"0",
"{ return false; }",
"return false;",
"false",
"int nextGenerater = nums.length - 1;",
"nextGenerater",
"nums.length - 1",
"nums.length",
"nums",
"nums.length",
"1",
"for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }",
"int i = nums.length - 1;",
"int i = nums.length - 1;",
"i",
"nums.length - 1",
"nums.length",
"nums",
"nums.length",
"1",
"i > last",
"i",
"last",
"i--",
"i--",
"i",
"{\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }",
"{\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }",
"if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }",
"nums[i] > nums[last]",
"nums[i]",
"nums",
"i",
"nums[last]",
"nums",
"last",
"{\n nextGenerater = i;\n break;\n }",
"nextGenerater = i",
"nextGenerater",
"i",
"break;",
"swap(nums, nextGenerater, last)",
"swap",
"nums",
"nextGenerater",
"last",
"reverse(nums, last + 1, nums.length - 1)",
"reverse",
"nums",
"last + 1",
"last",
"1",
"nums.length - 1",
"nums.length",
"nums",
"nums.length",
"1",
"return true;",
"true",
"int[] nums",
"nums",
"static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }",
"generateNArray",
"{\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }",
"int[] res = new int[n];",
"res",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res[i] = i + 1;\n }",
"{\n res[i] = i + 1;\n }",
"res[i] = i + 1",
"res[i]",
"res",
"i",
"i + 1",
"i",
"1",
"return res;",
"res",
"int n",
"n",
"static private void print(String s) {\n System.out.println(s);\n }",
"print",
"{\n System.out.println(s);\n }",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String s",
"s",
"static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }",
"printArray",
"{\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }",
"for (int s: e) {\n System.out.print(s + \" \");\n }",
"int s",
"e",
"{\n System.out.print(s + \" \");\n }",
"{\n System.out.print(s + \" \");\n }",
"System.out.print(s + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"s + \" \"",
"s",
"\" \"",
"print(\"\")",
"print",
"\"\"",
"int[] e",
"e",
"static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }",
"log2",
"{\n return (int)(Math.log(x) / Math.log(2));\n }",
"return (int)(Math.log(x) / Math.log(2));",
"(int)(Math.log(x) / Math.log(2))",
"Math.log(x)",
"Math.log",
"Math",
"x",
"Math.log(2)",
"Math.log",
"Math",
"2",
"int x",
"x",
"static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }",
"gcd",
"{\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }",
"if (m < n) { return gcd(n, m); }",
"m < n",
"m",
"n",
"{ return gcd(n, m); }",
"return gcd(n, m);",
"gcd(n, m)",
"gcd",
"n",
"m",
"if (m % n == 0) { return n; }",
"m % n == 0",
"m % n",
"m",
"n",
"0",
"{ return n; }",
"return n;",
"n",
"return gcd(n, m%n);",
"gcd(n, m%n)",
"gcd",
"n",
"m%n",
"m",
"n",
"long m",
"m",
"long n",
"n",
"static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"FastReader",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n private static final int MOD = (int) Math.pow(10, 9);\n private static final long EIGHT = (long) 1e18;\n private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n int s = sc.nextInt();\n int w = sc.nextInt();\n if (w >= s) {\n print(\"unsafe\");\n } else {\n print(\"safe\");\n }\n // print(\"\" + Math.PI * 2 * r);\n }\n\n /*\n * Check if a * b is overflow or not\n */\n static Boolean isOverflowByMul(long a, long b) {\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }\n\n static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }\n\n static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }\n\n static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }\n\n static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }\n\n static private void print(String s) {\n System.out.println(s);\n }\n\n static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }\n\n static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }\n\n static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"public class Main {\n private static final int MOD = (int) Math.pow(10, 9);\n private static final long EIGHT = (long) 1e18;\n private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n int s = sc.nextInt();\n int w = sc.nextInt();\n if (w >= s) {\n print(\"unsafe\");\n } else {\n print(\"safe\");\n }\n // print(\"\" + Math.PI * 2 * r);\n }\n\n /*\n * Check if a * b is overflow or not\n */\n static Boolean isOverflowByMul(long a, long b) {\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }\n\n static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }\n\n static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }\n\n static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }\n\n static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }\n\n static private void print(String s) {\n System.out.println(s);\n }\n\n static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }\n\n static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }\n\n static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.*;
public class Main {
private static final int MOD = (int) Math.pow(10, 9);
private static final long EIGHT = (long) 1e18;
private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};
public static void main(String[] args) {
FastReader sc = new FastReader();
int s = sc.nextInt();
int w = sc.nextInt();
if (w >= s) {
print("unsafe");
} else {
print("safe");
}
// print("" + Math.PI * 2 * r);
}
/*
* Check if a * b is overflow or not
*/
static Boolean isOverflowByMul(long a, long b) {
if (a == 0 || b == 0) {
return false;
}
long result = a * b;
if (a == result / b) {
return false;
}
return true;
}
static private void swap(int[] nums, int x, int y) {
int tmp = nums[x];
nums[x] = nums[y];
nums[y] = tmp;
}
static private void reverse(int[] nums, int left, int right) {
while (left < right) {
swap(nums, left, right);
left++;
right--;
}
}
static private boolean findNextPermutation(int[] nums) {
if (nums.length <= 1) {
return false;
}
int last = nums.length - 2;
while (last >= 0) {
if (nums[last] < nums[last + 1]){
break;
}
last--;
}
if (last < 0) { return false; }
int nextGenerater = nums.length - 1;
for (int i = nums.length - 1; i > last; i--) {
if (nums[i] > nums[last]) {
nextGenerater = i;
break;
}
}
swap(nums, nextGenerater, last);
reverse(nums, last + 1, nums.length - 1);
return true;
}
static private int[] generateNArray(int n) {
int[] res = new int[n];
for (int i = 0; i < n; i++) {
res[i] = i + 1;
}
return res;
}
static private void print(String s) {
System.out.println(s);
}
static private void printArray(int[] e) {
for (int s: e) {
System.out.print(s + " ");
}
print("");
}
static private int log2(int x) {
return (int)(Math.log(x) / Math.log(2));
}
static private long gcd(long m, long n) {
if (m < n) { return gcd(n, m); }
if (m % n == 0) { return n; }
return gcd(n, m%n);
}
static class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine() {
String str = "";
try{
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
6,
40
],
[
40,
41
]
] |
[
"import java.util.Scanner;\n\nclass Main {\n\n public static void main(String[] args) {\n Scanner stdIn=new Scanner(System.in);\n\n int x=stdIn.nextInt(); //羊\n int y=stdIn.nextInt(); //狼\n\n if(x>y){\n System.out.println(\"safe\");\n \n }\n else{\n System.out.println(\"unsafe\");\n \n }\n \n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n public static void main(String[] args) {\n Scanner stdIn=new Scanner(System.in);\n\n int x=stdIn.nextInt(); //羊\n int y=stdIn.nextInt(); //狼\n\n if(x>y){\n System.out.println(\"safe\");\n \n }\n else{\n System.out.println(\"unsafe\");\n \n }\n \n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner stdIn=new Scanner(System.in);\n\n int x=stdIn.nextInt(); //羊\n int y=stdIn.nextInt(); //狼\n\n if(x>y){\n System.out.println(\"safe\");\n \n }\n else{\n System.out.println(\"unsafe\");\n \n }\n \n }",
"main",
"{\n Scanner stdIn=new Scanner(System.in);\n\n int x=stdIn.nextInt(); //羊\n int y=stdIn.nextInt(); //狼\n\n if(x>y){\n System.out.println(\"safe\");\n \n }\n else{\n System.out.println(\"unsafe\");\n \n }\n \n }",
"Scanner stdIn=new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"int x=stdIn.nextInt();",
"x",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int y=stdIn.nextInt();",
"y",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"if(x>y){\n System.out.println(\"safe\");\n \n }\n else{\n System.out.println(\"unsafe\");\n \n }",
"x>y",
"x",
"y",
"{\n System.out.println(\"safe\");\n \n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"{\n System.out.println(\"unsafe\");\n \n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"String[] args",
"args"
] |
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner stdIn=new Scanner(System.in);
int x=stdIn.nextInt(); //羊
int y=stdIn.nextInt(); //狼
if(x>y){
System.out.println("safe");
}
else{
System.out.println("unsafe");
}
}
}
|
[
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,
14,
2,
13,
13,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
45,
8
],
[
45,
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
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
11,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
9,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] |
[
"import java.util.*;\nimport javax.lang.model.util.ElementScanner6;\n//import java.lang.Math;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n // 入力\n int s = sc.nextInt();\n int w = sc.nextInt();\n //String s = sc.next();\n\n // 処理\n String out = \"safe\";\n if (w >= s) {\n out = \"unsafe\";\n }\n\n // 出力\n System.out.println(out);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import javax.lang.model.util.ElementScanner6;",
"ElementScanner6",
"javax.lang.model.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n // 入力\n int s = sc.nextInt();\n int w = sc.nextInt();\n //String s = sc.next();\n\n // 処理\n String out = \"safe\";\n if (w >= s) {\n out = \"unsafe\";\n }\n\n // 出力\n System.out.println(out);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n // 入力\n int s = sc.nextInt();\n int w = sc.nextInt();\n //String s = sc.next();\n\n // 処理\n String out = \"safe\";\n if (w >= s) {\n out = \"unsafe\";\n }\n\n // 出力\n System.out.println(out);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n // 入力\n int s = sc.nextInt();\n int w = sc.nextInt();\n //String s = sc.next();\n\n // 処理\n String out = \"safe\";\n if (w >= s) {\n out = \"unsafe\";\n }\n\n // 出力\n System.out.println(out);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int s = sc.nextInt();",
"s",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int w = sc.nextInt();",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String out = \"safe\";",
"out",
"\"safe\"",
"if (w >= s) {\n out = \"unsafe\";\n }",
"w >= s",
"w",
"s",
"{\n out = \"unsafe\";\n }",
"out = \"unsafe\"",
"out",
"\"unsafe\"",
"System.out.println(out)",
"System.out.println",
"System.out",
"System",
"System.out",
"out",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n // 入力\n int s = sc.nextInt();\n int w = sc.nextInt();\n //String s = sc.next();\n\n // 処理\n String out = \"safe\";\n if (w >= s) {\n out = \"unsafe\";\n }\n\n // 出力\n System.out.println(out);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n // 入力\n int s = sc.nextInt();\n int w = sc.nextInt();\n //String s = sc.next();\n\n // 処理\n String out = \"safe\";\n if (w >= s) {\n out = \"unsafe\";\n }\n\n // 出力\n System.out.println(out);\n }\n}",
"Main"
] |
import java.util.*;
import javax.lang.model.util.ElementScanner6;
//import java.lang.Math;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
// 入力
int s = sc.nextInt();
int w = sc.nextInt();
//String s = sc.next();
// 処理
String out = "safe";
if (w >= s) {
out = "unsafe";
}
// 出力
System.out.println(out);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
46,
8
],
[
46,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
25,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
9,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] |
[
"import java.io.FileNotFoundException;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tint S = sc.nextInt();\n \tint W = sc.nextInt();\n\n \tif(W>=S) {\n \t\tSystem.out.println(\"unsafe\");\n \t} else {\n \t\tSystem.out.println(\"safe\");\n \t}\n\n }\n\n}",
"import java.io.FileNotFoundException;",
"FileNotFoundException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tint S = sc.nextInt();\n \tint W = sc.nextInt();\n\n \tif(W>=S) {\n \t\tSystem.out.println(\"unsafe\");\n \t} else {\n \t\tSystem.out.println(\"safe\");\n \t}\n\n }\n\n}",
"Main",
"public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tint S = sc.nextInt();\n \tint W = sc.nextInt();\n\n \tif(W>=S) {\n \t\tSystem.out.println(\"unsafe\");\n \t} else {\n \t\tSystem.out.println(\"safe\");\n \t}\n\n }",
"main",
"{\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tint S = sc.nextInt();\n \tint W = sc.nextInt();\n\n \tif(W>=S) {\n \t\tSystem.out.println(\"unsafe\");\n \t} else {\n \t\tSystem.out.println(\"safe\");\n \t}\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int S = sc.nextInt();",
"S",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int W = sc.nextInt();",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(W>=S) {\n \t\tSystem.out.println(\"unsafe\");\n \t} else {\n \t\tSystem.out.println(\"safe\");\n \t}",
"W>=S",
"W",
"S",
"{\n \t\tSystem.out.println(\"unsafe\");\n \t}",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n \t\tSystem.out.println(\"safe\");\n \t}",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tint S = sc.nextInt();\n \tint W = sc.nextInt();\n\n \tif(W>=S) {\n \t\tSystem.out.println(\"unsafe\");\n \t} else {\n \t\tSystem.out.println(\"safe\");\n \t}\n\n }\n\n}",
"public class Main {\n public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tint S = sc.nextInt();\n \tint W = sc.nextInt();\n\n \tif(W>=S) {\n \t\tSystem.out.println(\"unsafe\");\n \t} else {\n \t\tSystem.out.println(\"safe\");\n \t}\n\n }\n\n}",
"Main"
] |
import java.io.FileNotFoundException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws FileNotFoundException {
// File file = new File("src/in.txt");
//コード
// Scanner sc = new Scanner(file);
Scanner sc = new Scanner(System.in);
int S = sc.nextInt();
int W = sc.nextInt();
if(W>=S) {
System.out.println("unsafe");
} else {
System.out.println("safe");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
2,
17,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
13,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
13,
0,
13,
20,
13,
0,
18,
13,
13,
17,
0,
18,
13,
13,
17,
42,
40,
4,
18,
13,
30,
41,
13,
4,
18,
13,
28,
13,
18,
13,
13,
30,
14,
40,
18,
13,
13,
30,
0,
18,
13,
13,
17,
4,
18,
13,
13,
0,
18,
13,
13,
2,
18,
13,
13,
17,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
29,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
0,
13,
13,
0,
13,
13,
0,
13,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
2,
13,
13,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
13,
18,
13,
13,
23,
13,
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,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
23,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
349,
17
],
[
349,
18
],
[
18,
19
],
[
349,
20
],
[
20,
21
],
[
349,
22
],
[
22,
23
],
[
22,
24
],
[
349,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
349,
30
],
[
30,
31
],
[
349,
32
],
[
32,
33
],
[
349,
34
],
[
34,
35
],
[
349,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
38,
45
],
[
45,
46
],
[
45,
47
],
[
38,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
54,
55
],
[
38,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
62,
63
],
[
38,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
38,
76
],
[
76,
77
],
[
77,
78
],
[
36,
79
],
[
79,
80
],
[
349,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
83,
91
],
[
91,
92
],
[
91,
93
],
[
83,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
83,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
83,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
105,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
110,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
122,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
127,
133
],
[
133,
134
],
[
134,
135
],
[
133,
136
],
[
127,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
137,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
81,
146
],
[
146,
147
],
[
81,
148
],
[
148,
149
],
[
349,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
156,
157
],
[
156,
158
],
[
159,
160
],
[
160,
161
],
[
152,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
162,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
169,
171
],
[
162,
172
],
[
172,
173
],
[
173,
174
],
[
162,
175
],
[
176,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
177,
181
],
[
181,
182
],
[
182,
183
],
[
181,
184
],
[
184,
185
],
[
185,
186
],
[
152,
187
],
[
187,
188
],
[
349,
189
],
[
189,
190
],
[
189,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
191,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
195,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
201,
205
],
[
200,
206
],
[
206,
207
],
[
206,
208
],
[
199,
209
],
[
209,
210
],
[
209,
211
],
[
199,
212
],
[
212,
213
],
[
212,
214
],
[
191,
215
],
[
215,
216
],
[
189,
217
],
[
217,
218
],
[
189,
219
],
[
219,
220
],
[
349,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
224,
228
],
[
228,
229
],
[
223,
230
],
[
230,
231
],
[
231,
232
],
[
231,
233
],
[
233,
234
],
[
233,
235
],
[
231,
236
],
[
221,
237
],
[
237,
238
],
[
221,
239
],
[
239,
240
],
[
349,
241
],
[
241,
242
],
[
241,
243
],
[
243,
244
],
[
241,
245
],
[
245,
246
],
[
241,
247
],
[
247,
248
],
[
241,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
251,
255
],
[
255,
256
],
[
255,
257
],
[
251,
258
],
[
258,
259
],
[
258,
260
],
[
249,
261
],
[
261,
262
],
[
249,
263
],
[
263,
264
],
[
249,
265
],
[
265,
266
],
[
241,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
273,
274
],
[
273,
275
],
[
267,
276
],
[
276,
277
],
[
241,
278
],
[
349,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
279,
283
],
[
283,
284
],
[
279,
285
],
[
285,
286
],
[
285,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
287,
291
],
[
291,
292
],
[
291,
293
],
[
285,
294
],
[
294,
295
],
[
285,
296
],
[
296,
297
],
[
279,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
301,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
304,
306
],
[
298,
307
],
[
307,
308
],
[
279,
309
],
[
349,
310
],
[
310,
311
],
[
310,
312
],
[
312,
313
],
[
310,
314
],
[
314,
315
],
[
310,
316
],
[
316,
317
],
[
310,
318
],
[
318,
319
],
[
318,
320
],
[
320,
321
],
[
321,
322
],
[
321,
323
],
[
320,
324
],
[
324,
325
],
[
324,
326
],
[
320,
327
],
[
327,
328
],
[
327,
329
],
[
318,
330
],
[
330,
331
],
[
318,
332
],
[
332,
333
],
[
318,
334
],
[
334,
335
],
[
310,
336
],
[
336,
337
],
[
336,
338
],
[
338,
339
],
[
339,
340
],
[
340,
341
],
[
340,
342
],
[
342,
343
],
[
342,
344
],
[
336,
345
],
[
345,
346
],
[
310,
347
],
[
0,
348
],
[
348,
349
],
[
348,
350
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.*;\n\npublic class Main {\n\tstatic BufferedReader br;\n\tstatic PrintWriter pw;\n\tstatic int inf = (int) 1e9;\n\tstatic long mod = (long) 1e9 + 7;\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException, InterruptedException {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tpw = new PrintWriter(System.out);\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint s = Integer.parseInt(st.nextToken());\n\t\tint w = Integer.parseInt(st.nextToken());\n\t\tif(w>=s)\n\t\t\tpw.println(\"unsafe\");\n\t\telse\n\t\t\tpw.println(\"safe\");\n\t\tpw.flush();\n\n\t}\n\n\tstatic int n;\n\tstatic boolean[] visited;\n\tstatic ArrayList<Integer>[] g;\n\n\tstatic void bfs(int s, int[] arr) {\n\t\tQueue<Integer> q = new LinkedList<Integer>();\n\t\tq.add(s);\n\t\tvisited = new boolean[n];\n\t\tvisited[s] = true;\n\t\tarr[s] = 0;\n\t\twhile (!q.isEmpty()) {\n\t\t\tint u = q.remove();\n\n\t\t\tfor (int v : g[u])\n\t\t\t\tif (!visited[v]) {\n\t\t\t\t\tvisited[v] = true;\n\t\t\t\t\tq.add(v);\n\t\t\t\t\tarr[v] = arr[u] + 1;\n\t\t\t\t}\n\t\t}\n\t}\n\n\tstatic class Edge implements Comparable<Edge> {\n\t\tint node, cost, con;\n\n\t\tEdge(int a, int b, int c) {\n\t\t\tnode = a;\n\t\t\tcost = b;\n\t\t\tcon = c;\n\t\t}\n\n\t\tpublic int compareTo(Edge e) {\n\t\t\treturn cost - e.cost;\n\t\t}\n\t}\n\n\tstatic class pair implements Comparable<pair> {\n\t\tint x;\n\t\tint y;\n\n\t\tpublic pair(int d, int u) {\n\t\t\tx = d;\n\t\t\ty = u;\n\t\t}\n\n\t\tpublic int compareTo(pair o) {\n\t\t\treturn y - o.y;\n\t\t}\n\n\t}\n\n\tstatic class triple implements Comparable<triple> {\n\t\tint x;\n\t\tint y;\n\t\tint z;\n\n\t\tpublic triple(int a, int b, int c) {\n\t\t\tx = a;\n\t\t\ty = b;\n\t\t\tz = c;\n\t\t}\n\n\t\tpublic int compareTo(triple o) {\n\t\t\treturn x - o.x;\n\t\t}\n\t}\n\n\tstatic int[] nxtarr() throws IOException {\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint[] a = new int[st.countTokens()];\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\ta[i] = Integer.parseInt(st.nextToken());\n\t\t}\n\t\treturn a;\n\t}\n\n\tstatic long pow(long a, long e) // O(log e)\n\t{\n\t\tlong res = 1;\n\t\twhile (e > 0) {\n\t\t\tif ((e & 1) == 1)\n\t\t\t\tres *= a;\n\t\t\ta *= a;\n\t\t\te >>= 1;\n\t\t}\n\t\treturn res;\n\t}\n\n\tstatic int gcd(int a, int b) {\n\t\tif (a == 0)\n\t\t\treturn b;\n\t\treturn gcd(b % a, a);\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.*;",
"util.*",
"java",
"public class Main {\n\tstatic BufferedReader br;\n\tstatic PrintWriter pw;\n\tstatic int inf = (int) 1e9;\n\tstatic long mod = (long) 1e9 + 7;\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException, InterruptedException {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tpw = new PrintWriter(System.out);\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint s = Integer.parseInt(st.nextToken());\n\t\tint w = Integer.parseInt(st.nextToken());\n\t\tif(w>=s)\n\t\t\tpw.println(\"unsafe\");\n\t\telse\n\t\t\tpw.println(\"safe\");\n\t\tpw.flush();\n\n\t}\n\n\tstatic int n;\n\tstatic boolean[] visited;\n\tstatic ArrayList<Integer>[] g;\n\n\tstatic void bfs(int s, int[] arr) {\n\t\tQueue<Integer> q = new LinkedList<Integer>();\n\t\tq.add(s);\n\t\tvisited = new boolean[n];\n\t\tvisited[s] = true;\n\t\tarr[s] = 0;\n\t\twhile (!q.isEmpty()) {\n\t\t\tint u = q.remove();\n\n\t\t\tfor (int v : g[u])\n\t\t\t\tif (!visited[v]) {\n\t\t\t\t\tvisited[v] = true;\n\t\t\t\t\tq.add(v);\n\t\t\t\t\tarr[v] = arr[u] + 1;\n\t\t\t\t}\n\t\t}\n\t}\n\n\tstatic class Edge implements Comparable<Edge> {\n\t\tint node, cost, con;\n\n\t\tEdge(int a, int b, int c) {\n\t\t\tnode = a;\n\t\t\tcost = b;\n\t\t\tcon = c;\n\t\t}\n\n\t\tpublic int compareTo(Edge e) {\n\t\t\treturn cost - e.cost;\n\t\t}\n\t}\n\n\tstatic class pair implements Comparable<pair> {\n\t\tint x;\n\t\tint y;\n\n\t\tpublic pair(int d, int u) {\n\t\t\tx = d;\n\t\t\ty = u;\n\t\t}\n\n\t\tpublic int compareTo(pair o) {\n\t\t\treturn y - o.y;\n\t\t}\n\n\t}\n\n\tstatic class triple implements Comparable<triple> {\n\t\tint x;\n\t\tint y;\n\t\tint z;\n\n\t\tpublic triple(int a, int b, int c) {\n\t\t\tx = a;\n\t\t\ty = b;\n\t\t\tz = c;\n\t\t}\n\n\t\tpublic int compareTo(triple o) {\n\t\t\treturn x - o.x;\n\t\t}\n\t}\n\n\tstatic int[] nxtarr() throws IOException {\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint[] a = new int[st.countTokens()];\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\ta[i] = Integer.parseInt(st.nextToken());\n\t\t}\n\t\treturn a;\n\t}\n\n\tstatic long pow(long a, long e) // O(log e)\n\t{\n\t\tlong res = 1;\n\t\twhile (e > 0) {\n\t\t\tif ((e & 1) == 1)\n\t\t\t\tres *= a;\n\t\t\ta *= a;\n\t\t\te >>= 1;\n\t\t}\n\t\treturn res;\n\t}\n\n\tstatic int gcd(int a, int b) {\n\t\tif (a == 0)\n\t\t\treturn b;\n\t\treturn gcd(b % a, a);\n\t}\n}",
"Main",
"static BufferedReader br;",
"br",
"static PrintWriter pw;",
"pw",
"static int inf = (int) 1e9;",
"inf",
"(int) 1e9",
"static long mod = (long) 1e9 + 7;",
"mod",
"(long) 1e9 + 7",
"(long) 1e9",
"7",
"static int n;",
"n",
"static boolean[] visited;",
"visited",
"static ArrayList<Integer>[] g;",
"g",
"public static void main(String[] args) throws NumberFormatException, IOException, InterruptedException {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tpw = new PrintWriter(System.out);\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint s = Integer.parseInt(st.nextToken());\n\t\tint w = Integer.parseInt(st.nextToken());\n\t\tif(w>=s)\n\t\t\tpw.println(\"unsafe\");\n\t\telse\n\t\t\tpw.println(\"safe\");\n\t\tpw.flush();\n\n\t}",
"main",
"{\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tpw = new PrintWriter(System.out);\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint s = Integer.parseInt(st.nextToken());\n\t\tint w = Integer.parseInt(st.nextToken());\n\t\tif(w>=s)\n\t\t\tpw.println(\"unsafe\");\n\t\telse\n\t\t\tpw.println(\"safe\");\n\t\tpw.flush();\n\n\t}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"pw = new PrintWriter(System.out)",
"pw",
"new PrintWriter(System.out)",
"StringTokenizer st = new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"int s = Integer.parseInt(st.nextToken());",
"s",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int w = Integer.parseInt(st.nextToken());",
"w",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"if(w>=s)\n\t\t\tpw.println(\"unsafe\");\n\t\telse\n\t\t\tpw.println(\"safe\");",
"w>=s",
"w",
"s",
"pw.println(\"unsafe\")",
"pw.println",
"pw",
"\"unsafe\"",
"pw.println(\"safe\")",
"pw.println",
"pw",
"\"safe\"",
"pw.flush()",
"pw.flush",
"pw",
"String[] args",
"args",
"static void bfs(int s, int[] arr) {\n\t\tQueue<Integer> q = new LinkedList<Integer>();\n\t\tq.add(s);\n\t\tvisited = new boolean[n];\n\t\tvisited[s] = true;\n\t\tarr[s] = 0;\n\t\twhile (!q.isEmpty()) {\n\t\t\tint u = q.remove();\n\n\t\t\tfor (int v : g[u])\n\t\t\t\tif (!visited[v]) {\n\t\t\t\t\tvisited[v] = true;\n\t\t\t\t\tq.add(v);\n\t\t\t\t\tarr[v] = arr[u] + 1;\n\t\t\t\t}\n\t\t}\n\t}",
"bfs",
"{\n\t\tQueue<Integer> q = new LinkedList<Integer>();\n\t\tq.add(s);\n\t\tvisited = new boolean[n];\n\t\tvisited[s] = true;\n\t\tarr[s] = 0;\n\t\twhile (!q.isEmpty()) {\n\t\t\tint u = q.remove();\n\n\t\t\tfor (int v : g[u])\n\t\t\t\tif (!visited[v]) {\n\t\t\t\t\tvisited[v] = true;\n\t\t\t\t\tq.add(v);\n\t\t\t\t\tarr[v] = arr[u] + 1;\n\t\t\t\t}\n\t\t}\n\t}",
"Queue<Integer> q = new LinkedList<Integer>();",
"q",
"new LinkedList<Integer>()",
"q.add(s)",
"q.add",
"q",
"s",
"visited = new boolean[n]",
"visited",
"new boolean[n]",
"n",
"visited[s] = true",
"visited[s]",
"visited",
"s",
"true",
"arr[s] = 0",
"arr[s]",
"arr",
"s",
"0",
"while (!q.isEmpty()) {\n\t\t\tint u = q.remove();\n\n\t\t\tfor (int v : g[u])\n\t\t\t\tif (!visited[v]) {\n\t\t\t\t\tvisited[v] = true;\n\t\t\t\t\tq.add(v);\n\t\t\t\t\tarr[v] = arr[u] + 1;\n\t\t\t\t}\n\t\t}",
"!q.isEmpty()",
"q.isEmpty()",
"q.isEmpty",
"q",
"{\n\t\t\tint u = q.remove();\n\n\t\t\tfor (int v : g[u])\n\t\t\t\tif (!visited[v]) {\n\t\t\t\t\tvisited[v] = true;\n\t\t\t\t\tq.add(v);\n\t\t\t\t\tarr[v] = arr[u] + 1;\n\t\t\t\t}\n\t\t}",
"int u = q.remove();",
"u",
"q.remove()",
"q.remove",
"q",
"for (int v : g[u])\n\t\t\t\tif (!visited[v]) {\n\t\t\t\t\tvisited[v] = true;\n\t\t\t\t\tq.add(v);\n\t\t\t\t\tarr[v] = arr[u] + 1;\n\t\t\t\t}",
"int v",
"g[u]",
"g",
"u",
"if (!visited[v]) {\n\t\t\t\t\tvisited[v] = true;\n\t\t\t\t\tq.add(v);\n\t\t\t\t\tarr[v] = arr[u] + 1;\n\t\t\t\t}",
"if (!visited[v]) {\n\t\t\t\t\tvisited[v] = true;\n\t\t\t\t\tq.add(v);\n\t\t\t\t\tarr[v] = arr[u] + 1;\n\t\t\t\t}",
"!visited[v]",
"visited[v]",
"visited",
"v",
"{\n\t\t\t\t\tvisited[v] = true;\n\t\t\t\t\tq.add(v);\n\t\t\t\t\tarr[v] = arr[u] + 1;\n\t\t\t\t}",
"visited[v] = true",
"visited[v]",
"visited",
"v",
"true",
"q.add(v)",
"q.add",
"q",
"v",
"arr[v] = arr[u] + 1",
"arr[v]",
"arr",
"v",
"arr[u] + 1",
"arr[u]",
"arr",
"u",
"1",
"int s",
"s",
"int[] arr",
"arr",
"static int[] nxtarr() throws IOException {\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint[] a = new int[st.countTokens()];\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\ta[i] = Integer.parseInt(st.nextToken());\n\t\t}\n\t\treturn a;\n\t}",
"nxtarr",
"{\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint[] a = new int[st.countTokens()];\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\ta[i] = Integer.parseInt(st.nextToken());\n\t\t}\n\t\treturn a;\n\t}",
"StringTokenizer st = new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"int[] a = new int[st.countTokens()];",
"a",
"new int[st.countTokens()]",
"st.countTokens()",
"st.countTokens",
"st",
"for (int i = 0; i < a.length; i++) {\n\t\t\ta[i] = Integer.parseInt(st.nextToken());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n\t\t\ta[i] = Integer.parseInt(st.nextToken());\n\t\t}",
"{\n\t\t\ta[i] = Integer.parseInt(st.nextToken());\n\t\t}",
"a[i] = Integer.parseInt(st.nextToken())",
"a[i]",
"a",
"i",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"return a;",
"a",
"static long pow(long a, long e) // O(log e)\n\t{\n\t\tlong res = 1;\n\t\twhile (e > 0) {\n\t\t\tif ((e & 1) == 1)\n\t\t\t\tres *= a;\n\t\t\ta *= a;\n\t\t\te >>= 1;\n\t\t}\n\t\treturn res;\n\t}",
"pow",
"{\n\t\tlong res = 1;\n\t\twhile (e > 0) {\n\t\t\tif ((e & 1) == 1)\n\t\t\t\tres *= a;\n\t\t\ta *= a;\n\t\t\te >>= 1;\n\t\t}\n\t\treturn res;\n\t}",
"long res = 1;",
"res",
"1",
"while (e > 0) {\n\t\t\tif ((e & 1) == 1)\n\t\t\t\tres *= a;\n\t\t\ta *= a;\n\t\t\te >>= 1;\n\t\t}",
"e > 0",
"e",
"0",
"{\n\t\t\tif ((e & 1) == 1)\n\t\t\t\tres *= a;\n\t\t\ta *= a;\n\t\t\te >>= 1;\n\t\t}",
"if ((e & 1) == 1)\n\t\t\t\tres *= a;",
"(e & 1) == 1",
"(e & 1)",
"e",
"1",
"1",
"res *= a",
"res",
"a",
"a *= a",
"a",
"a",
"e >>= 1",
"e",
"1",
"return res;",
"res",
"long a",
"a",
"long e",
"e",
"static int gcd(int a, int b) {\n\t\tif (a == 0)\n\t\t\treturn b;\n\t\treturn gcd(b % a, a);\n\t}",
"gcd",
"{\n\t\tif (a == 0)\n\t\t\treturn b;\n\t\treturn gcd(b % a, a);\n\t}",
"if (a == 0)\n\t\t\treturn b;",
"a == 0",
"a",
"0",
"return b;",
"b",
"return gcd(b % a, a);",
"gcd(b % a, a)",
"gcd",
"b % a",
"b",
"a",
"a",
"int a",
"a",
"int b",
"b",
"static class Edge implements Comparable<Edge> {\n\t\tint node, cost, con;\n\n\t\tEdge(int a, int b, int c) {\n\t\t\tnode = a;\n\t\t\tcost = b;\n\t\t\tcon = c;\n\t\t}\n\n\t\tpublic int compareTo(Edge e) {\n\t\t\treturn cost - e.cost;\n\t\t}\n\t}",
"Edge",
"int node",
"node",
"cost",
"cost",
"con;",
"con",
"Edge(int a, int b, int c) {\n\t\t\tnode = a;\n\t\t\tcost = b;\n\t\t\tcon = c;\n\t\t}",
"Edge",
"{\n\t\t\tnode = a;\n\t\t\tcost = b;\n\t\t\tcon = c;\n\t\t}",
"node = a",
"node",
"a",
"cost = b",
"cost",
"b",
"con = c",
"con",
"c",
"int a",
"a",
"int b",
"b",
"int c",
"c",
"public int compareTo(Edge e) {\n\t\t\treturn cost - e.cost;\n\t\t}",
"compareTo",
"{\n\t\t\treturn cost - e.cost;\n\t\t}",
"return cost - e.cost;",
"cost - e.cost",
"cost",
"e.cost",
"e",
"e.cost",
"Edge e",
"e",
"Comparable",
"static class pair implements Comparable<pair> {\n\t\tint x;\n\t\tint y;\n\n\t\tpublic pair(int d, int u) {\n\t\t\tx = d;\n\t\t\ty = u;\n\t\t}\n\n\t\tpublic int compareTo(pair o) {\n\t\t\treturn y - o.y;\n\t\t}\n\n\t}",
"pair",
"int x;",
"x",
"int y;",
"y",
"public pair(int d, int u) {\n\t\t\tx = d;\n\t\t\ty = u;\n\t\t}",
"pair",
"{\n\t\t\tx = d;\n\t\t\ty = u;\n\t\t}",
"x = d",
"x",
"d",
"y = u",
"y",
"u",
"int d",
"d",
"int u",
"u",
"public int compareTo(pair o) {\n\t\t\treturn y - o.y;\n\t\t}",
"compareTo",
"{\n\t\t\treturn y - o.y;\n\t\t}",
"return y - o.y;",
"y - o.y",
"y",
"o.y",
"o",
"o.y",
"pair o",
"o",
"Comparable",
"static class triple implements Comparable<triple> {\n\t\tint x;\n\t\tint y;\n\t\tint z;\n\n\t\tpublic triple(int a, int b, int c) {\n\t\t\tx = a;\n\t\t\ty = b;\n\t\t\tz = c;\n\t\t}\n\n\t\tpublic int compareTo(triple o) {\n\t\t\treturn x - o.x;\n\t\t}\n\t}",
"triple",
"int x;",
"x",
"int y;",
"y",
"int z;",
"z",
"public triple(int a, int b, int c) {\n\t\t\tx = a;\n\t\t\ty = b;\n\t\t\tz = c;\n\t\t}",
"triple",
"{\n\t\t\tx = a;\n\t\t\ty = b;\n\t\t\tz = c;\n\t\t}",
"x = a",
"x",
"a",
"y = b",
"y",
"b",
"z = c",
"z",
"c",
"int a",
"a",
"int b",
"b",
"int c",
"c",
"public int compareTo(triple o) {\n\t\t\treturn x - o.x;\n\t\t}",
"compareTo",
"{\n\t\t\treturn x - o.x;\n\t\t}",
"return x - o.x;",
"x - o.x",
"x",
"o.x",
"o",
"o.x",
"triple o",
"o",
"Comparable",
"public class Main {\n\tstatic BufferedReader br;\n\tstatic PrintWriter pw;\n\tstatic int inf = (int) 1e9;\n\tstatic long mod = (long) 1e9 + 7;\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException, InterruptedException {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tpw = new PrintWriter(System.out);\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint s = Integer.parseInt(st.nextToken());\n\t\tint w = Integer.parseInt(st.nextToken());\n\t\tif(w>=s)\n\t\t\tpw.println(\"unsafe\");\n\t\telse\n\t\t\tpw.println(\"safe\");\n\t\tpw.flush();\n\n\t}\n\n\tstatic int n;\n\tstatic boolean[] visited;\n\tstatic ArrayList<Integer>[] g;\n\n\tstatic void bfs(int s, int[] arr) {\n\t\tQueue<Integer> q = new LinkedList<Integer>();\n\t\tq.add(s);\n\t\tvisited = new boolean[n];\n\t\tvisited[s] = true;\n\t\tarr[s] = 0;\n\t\twhile (!q.isEmpty()) {\n\t\t\tint u = q.remove();\n\n\t\t\tfor (int v : g[u])\n\t\t\t\tif (!visited[v]) {\n\t\t\t\t\tvisited[v] = true;\n\t\t\t\t\tq.add(v);\n\t\t\t\t\tarr[v] = arr[u] + 1;\n\t\t\t\t}\n\t\t}\n\t}\n\n\tstatic class Edge implements Comparable<Edge> {\n\t\tint node, cost, con;\n\n\t\tEdge(int a, int b, int c) {\n\t\t\tnode = a;\n\t\t\tcost = b;\n\t\t\tcon = c;\n\t\t}\n\n\t\tpublic int compareTo(Edge e) {\n\t\t\treturn cost - e.cost;\n\t\t}\n\t}\n\n\tstatic class pair implements Comparable<pair> {\n\t\tint x;\n\t\tint y;\n\n\t\tpublic pair(int d, int u) {\n\t\t\tx = d;\n\t\t\ty = u;\n\t\t}\n\n\t\tpublic int compareTo(pair o) {\n\t\t\treturn y - o.y;\n\t\t}\n\n\t}\n\n\tstatic class triple implements Comparable<triple> {\n\t\tint x;\n\t\tint y;\n\t\tint z;\n\n\t\tpublic triple(int a, int b, int c) {\n\t\t\tx = a;\n\t\t\ty = b;\n\t\t\tz = c;\n\t\t}\n\n\t\tpublic int compareTo(triple o) {\n\t\t\treturn x - o.x;\n\t\t}\n\t}\n\n\tstatic int[] nxtarr() throws IOException {\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint[] a = new int[st.countTokens()];\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\ta[i] = Integer.parseInt(st.nextToken());\n\t\t}\n\t\treturn a;\n\t}\n\n\tstatic long pow(long a, long e) // O(log e)\n\t{\n\t\tlong res = 1;\n\t\twhile (e > 0) {\n\t\t\tif ((e & 1) == 1)\n\t\t\t\tres *= a;\n\t\t\ta *= a;\n\t\t\te >>= 1;\n\t\t}\n\t\treturn res;\n\t}\n\n\tstatic int gcd(int a, int b) {\n\t\tif (a == 0)\n\t\t\treturn b;\n\t\treturn gcd(b % a, a);\n\t}\n}",
"public class Main {\n\tstatic BufferedReader br;\n\tstatic PrintWriter pw;\n\tstatic int inf = (int) 1e9;\n\tstatic long mod = (long) 1e9 + 7;\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException, InterruptedException {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tpw = new PrintWriter(System.out);\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint s = Integer.parseInt(st.nextToken());\n\t\tint w = Integer.parseInt(st.nextToken());\n\t\tif(w>=s)\n\t\t\tpw.println(\"unsafe\");\n\t\telse\n\t\t\tpw.println(\"safe\");\n\t\tpw.flush();\n\n\t}\n\n\tstatic int n;\n\tstatic boolean[] visited;\n\tstatic ArrayList<Integer>[] g;\n\n\tstatic void bfs(int s, int[] arr) {\n\t\tQueue<Integer> q = new LinkedList<Integer>();\n\t\tq.add(s);\n\t\tvisited = new boolean[n];\n\t\tvisited[s] = true;\n\t\tarr[s] = 0;\n\t\twhile (!q.isEmpty()) {\n\t\t\tint u = q.remove();\n\n\t\t\tfor (int v : g[u])\n\t\t\t\tif (!visited[v]) {\n\t\t\t\t\tvisited[v] = true;\n\t\t\t\t\tq.add(v);\n\t\t\t\t\tarr[v] = arr[u] + 1;\n\t\t\t\t}\n\t\t}\n\t}\n\n\tstatic class Edge implements Comparable<Edge> {\n\t\tint node, cost, con;\n\n\t\tEdge(int a, int b, int c) {\n\t\t\tnode = a;\n\t\t\tcost = b;\n\t\t\tcon = c;\n\t\t}\n\n\t\tpublic int compareTo(Edge e) {\n\t\t\treturn cost - e.cost;\n\t\t}\n\t}\n\n\tstatic class pair implements Comparable<pair> {\n\t\tint x;\n\t\tint y;\n\n\t\tpublic pair(int d, int u) {\n\t\t\tx = d;\n\t\t\ty = u;\n\t\t}\n\n\t\tpublic int compareTo(pair o) {\n\t\t\treturn y - o.y;\n\t\t}\n\n\t}\n\n\tstatic class triple implements Comparable<triple> {\n\t\tint x;\n\t\tint y;\n\t\tint z;\n\n\t\tpublic triple(int a, int b, int c) {\n\t\t\tx = a;\n\t\t\ty = b;\n\t\t\tz = c;\n\t\t}\n\n\t\tpublic int compareTo(triple o) {\n\t\t\treturn x - o.x;\n\t\t}\n\t}\n\n\tstatic int[] nxtarr() throws IOException {\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint[] a = new int[st.countTokens()];\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\ta[i] = Integer.parseInt(st.nextToken());\n\t\t}\n\t\treturn a;\n\t}\n\n\tstatic long pow(long a, long e) // O(log e)\n\t{\n\t\tlong res = 1;\n\t\twhile (e > 0) {\n\t\t\tif ((e & 1) == 1)\n\t\t\t\tres *= a;\n\t\t\ta *= a;\n\t\t\te >>= 1;\n\t\t}\n\t\treturn res;\n\t}\n\n\tstatic int gcd(int a, int b) {\n\t\tif (a == 0)\n\t\t\treturn b;\n\t\treturn gcd(b % a, a);\n\t}\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.*;
public class Main {
static BufferedReader br;
static PrintWriter pw;
static int inf = (int) 1e9;
static long mod = (long) 1e9 + 7;
public static void main(String[] args) throws NumberFormatException, IOException, InterruptedException {
br = new BufferedReader(new InputStreamReader(System.in));
pw = new PrintWriter(System.out);
StringTokenizer st = new StringTokenizer(br.readLine());
int s = Integer.parseInt(st.nextToken());
int w = Integer.parseInt(st.nextToken());
if(w>=s)
pw.println("unsafe");
else
pw.println("safe");
pw.flush();
}
static int n;
static boolean[] visited;
static ArrayList<Integer>[] g;
static void bfs(int s, int[] arr) {
Queue<Integer> q = new LinkedList<Integer>();
q.add(s);
visited = new boolean[n];
visited[s] = true;
arr[s] = 0;
while (!q.isEmpty()) {
int u = q.remove();
for (int v : g[u])
if (!visited[v]) {
visited[v] = true;
q.add(v);
arr[v] = arr[u] + 1;
}
}
}
static class Edge implements Comparable<Edge> {
int node, cost, con;
Edge(int a, int b, int c) {
node = a;
cost = b;
con = c;
}
public int compareTo(Edge e) {
return cost - e.cost;
}
}
static class pair implements Comparable<pair> {
int x;
int y;
public pair(int d, int u) {
x = d;
y = u;
}
public int compareTo(pair o) {
return y - o.y;
}
}
static class triple implements Comparable<triple> {
int x;
int y;
int z;
public triple(int a, int b, int c) {
x = a;
y = b;
z = c;
}
public int compareTo(triple o) {
return x - o.x;
}
}
static int[] nxtarr() throws IOException {
StringTokenizer st = new StringTokenizer(br.readLine());
int[] a = new int[st.countTokens()];
for (int i = 0; i < a.length; i++) {
a[i] = Integer.parseInt(st.nextToken());
}
return a;
}
static long pow(long a, long e) // O(log e)
{
long res = 1;
while (e > 0) {
if ((e & 1) == 1)
res *= a;
a *= a;
e >>= 1;
}
return res;
}
static int gcd(int a, int b) {
if (a == 0)
return b;
return gcd(b % a, a);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
52,
11
],
[
52,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
29,
30
],
[
14,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
31,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
12,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] |
[
"import java.util.HashMap;\nimport java.util.Map;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n sc.close();\n if(s<=w){\n System.out.println(\"unsafe\");\n\n }else{\n System.out.println(\"safe\");\n }\n }\n}",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.Map;",
"Map",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n sc.close();\n if(s<=w){\n System.out.println(\"unsafe\");\n\n }else{\n System.out.println(\"safe\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n sc.close();\n if(s<=w){\n System.out.println(\"unsafe\");\n\n }else{\n System.out.println(\"safe\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n sc.close();\n if(s<=w){\n System.out.println(\"unsafe\");\n\n }else{\n System.out.println(\"safe\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int s = sc.nextInt();",
"s",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int w = sc.nextInt();",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.close()",
"sc.close",
"sc",
"if(s<=w){\n System.out.println(\"unsafe\");\n\n }else{\n System.out.println(\"safe\");\n }",
"s<=w",
"s",
"w",
"{\n System.out.println(\"unsafe\");\n\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n System.out.println(\"safe\");\n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n sc.close();\n if(s<=w){\n System.out.println(\"unsafe\");\n\n }else{\n System.out.println(\"safe\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n sc.close();\n if(s<=w){\n System.out.println(\"unsafe\");\n\n }else{\n System.out.println(\"safe\");\n }\n }\n}",
"Main"
] |
import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int s = sc.nextInt();
int w = sc.nextInt();
sc.close();
if(s<=w){
System.out.println("unsafe");
}else{
System.out.println("safe");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] |
[
"import java.util.*;\npublic class Main{\n\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong s =sc.nextLong();\n\t\tlong w =sc.nextLong();\n\t\t\tif(w>=s) {\n\t\t\t\tSystem.out.println(\"unsafe\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"safe\");\n\n\t\t\t}\n\t\t\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong s =sc.nextLong();\n\t\tlong w =sc.nextLong();\n\t\t\tif(w>=s) {\n\t\t\t\tSystem.out.println(\"unsafe\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"safe\");\n\n\t\t\t}\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong s =sc.nextLong();\n\t\tlong w =sc.nextLong();\n\t\t\tif(w>=s) {\n\t\t\t\tSystem.out.println(\"unsafe\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"safe\");\n\n\t\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong s =sc.nextLong();\n\t\tlong w =sc.nextLong();\n\t\t\tif(w>=s) {\n\t\t\t\tSystem.out.println(\"unsafe\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"safe\");\n\n\t\t\t}\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long s =sc.nextLong();",
"s",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long w =sc.nextLong();",
"w",
"sc.nextLong()",
"sc.nextLong",
"sc",
"if(w>=s) {\n\t\t\t\tSystem.out.println(\"unsafe\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"safe\");\n\n\t\t\t}",
"w>=s",
"w",
"s",
"{\n\t\t\t\tSystem.out.println(\"unsafe\");\n\t\t\t}",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n\t\t\t\tSystem.out.println(\"safe\");\n\n\t\t\t}",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"public class Main{\n\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong s =sc.nextLong();\n\t\tlong w =sc.nextLong();\n\t\t\tif(w>=s) {\n\t\t\t\tSystem.out.println(\"unsafe\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"safe\");\n\n\t\t\t}\n\t\t\n\t}\n\n}",
"public class Main{\n\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong s =sc.nextLong();\n\t\tlong w =sc.nextLong();\n\t\t\tif(w>=s) {\n\t\t\t\tSystem.out.println(\"unsafe\");\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"safe\");\n\n\t\t\t}\n\t\t\n\t}\n\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
long s =sc.nextLong();
long w =sc.nextLong();
if(w>=s) {
System.out.println("unsafe");
}else {
System.out.println("safe");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
29,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
8,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int s = scan.nextInt(), w = scan.nextInt();\n\n if(w >= s) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n scan.close();\n return;\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int s = scan.nextInt(), w = scan.nextInt();\n\n if(w >= s) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n scan.close();\n return;\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int s = scan.nextInt(), w = scan.nextInt();\n\n if(w >= s) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n scan.close();\n return;\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n\n int s = scan.nextInt(), w = scan.nextInt();\n\n if(w >= s) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n scan.close();\n return;\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int s = scan.nextInt()",
"s",
"scan.nextInt()",
"scan.nextInt",
"scan",
"w = scan.nextInt();",
"w",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(w >= s) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }",
"w >= s",
"w",
"s",
"{\n System.out.println(\"unsafe\");\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n System.out.println(\"safe\");\n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"scan.close()",
"scan.close",
"scan",
"return;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int s = scan.nextInt(), w = scan.nextInt();\n\n if(w >= s) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n scan.close();\n return;\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int s = scan.nextInt(), w = scan.nextInt();\n\n if(w >= s) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n scan.close();\n return;\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int s = scan.nextInt(), w = scan.nextInt();
if(w >= s) {
System.out.println("unsafe");
} else {
System.out.println("safe");
}
scan.close();
return;
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
38,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
12,
13,
30,
0,
13,
8,
2,
13,
13,
17,
17,
12,
13,
30,
4,
18,
18,
13,
13,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
69,
5
],
[
69,
6
],
[
6,
7
],
[
69,
8
],
[
8,
9
],
[
69,
10
],
[
10,
11
],
[
69,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
12,
24
],
[
24,
25
],
[
69,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
32,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
37,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
69,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
53,
58
],
[
69,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n main.show();\n }\n\n int s;\n int w;\n String ans;\n\n public Main() {\n Scanner sc = new Scanner(System.in);\n try {\n s = sc.nextInt();\n w = sc.nextInt();\n } finally {\n sc.close();\n }\n }\n \n void solve() {\n ans = s <= w ? \"unsafe\" : \"safe\";\n }\n\n void show() {\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n main.show();\n }\n\n int s;\n int w;\n String ans;\n\n public Main() {\n Scanner sc = new Scanner(System.in);\n try {\n s = sc.nextInt();\n w = sc.nextInt();\n } finally {\n sc.close();\n }\n }\n \n void solve() {\n ans = s <= w ? \"unsafe\" : \"safe\";\n }\n\n void show() {\n System.out.println(ans);\n }\n}",
"Main",
"int s;",
"s",
"int w;",
"w",
"String ans;",
"ans",
"public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n main.show();\n }",
"main",
"{\n Main main = new Main();\n main.solve();\n main.show();\n }",
"Main main = new Main();",
"main",
"new Main()",
"main.solve()",
"main.solve",
"main",
"main.show()",
"main.show",
"main",
"String[] args",
"args",
"public Main() {\n Scanner sc = new Scanner(System.in);\n try {\n s = sc.nextInt();\n w = sc.nextInt();\n } finally {\n sc.close();\n }\n }",
"Main",
"{\n Scanner sc = new Scanner(System.in);\n try {\n s = sc.nextInt();\n w = sc.nextInt();\n } finally {\n sc.close();\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"try {\n s = sc.nextInt();\n w = sc.nextInt();\n } finally {\n sc.close();\n }",
"{\n sc.close();\n }",
"sc.close()",
"sc.close",
"sc",
"{\n s = sc.nextInt();\n w = sc.nextInt();\n }",
"s = sc.nextInt()",
"s",
"sc.nextInt()",
"sc.nextInt",
"sc",
"w = sc.nextInt()",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"void solve() {\n ans = s <= w ? \"unsafe\" : \"safe\";\n }",
"solve",
"{\n ans = s <= w ? \"unsafe\" : \"safe\";\n }",
"ans = s <= w ? \"unsafe\" : \"safe\"",
"ans",
"s <= w ? \"unsafe\" : \"safe\"",
"s <= w",
"s",
"w",
"\"unsafe\"",
"\"safe\"",
"void show() {\n System.out.println(ans);\n }",
"show",
"{\n System.out.println(ans);\n }",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n main.show();\n }\n\n int s;\n int w;\n String ans;\n\n public Main() {\n Scanner sc = new Scanner(System.in);\n try {\n s = sc.nextInt();\n w = sc.nextInt();\n } finally {\n sc.close();\n }\n }\n \n void solve() {\n ans = s <= w ? \"unsafe\" : \"safe\";\n }\n\n void show() {\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n main.show();\n }\n\n int s;\n int w;\n String ans;\n\n public Main() {\n Scanner sc = new Scanner(System.in);\n try {\n s = sc.nextInt();\n w = sc.nextInt();\n } finally {\n sc.close();\n }\n }\n \n void solve() {\n ans = s <= w ? \"unsafe\" : \"safe\";\n }\n\n void show() {\n System.out.println(ans);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Main main = new Main();
main.solve();
main.show();
}
int s;
int w;
String ans;
public Main() {
Scanner sc = new Scanner(System.in);
try {
s = sc.nextInt();
w = sc.nextInt();
} finally {
sc.close();
}
}
void solve() {
ans = s <= w ? "unsafe" : "safe";
}
void show() {
System.out.println(ans);
}
}
|
[
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,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
8,
2,
13,
13,
17,
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
],
[
61,
11
],
[
61,
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
],
[
61,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
27,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
45,
46
],
[
27,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
50,
55
],
[
25,
56
],
[
56,
57
],
[
25,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] |
[
"import java.io.InputStream;\nimport java.io.PrintStream;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n resolve(System.in, System.out);\n }\n\n static void resolve(InputStream is, PrintStream pw) {\n Scanner sc = new Scanner(is);\n int s = Integer.parseInt(sc.next());\n int w = Integer.parseInt(sc.next());\n pw.println(\n s <= w ? \"unsafe\" : \"safe\"\n );\n }\n}",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintStream;",
"PrintStream",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n resolve(System.in, System.out);\n }\n\n static void resolve(InputStream is, PrintStream pw) {\n Scanner sc = new Scanner(is);\n int s = Integer.parseInt(sc.next());\n int w = Integer.parseInt(sc.next());\n pw.println(\n s <= w ? \"unsafe\" : \"safe\"\n );\n }\n}",
"Main",
"public static void main(String[] args) {\n resolve(System.in, System.out);\n }",
"main",
"{\n resolve(System.in, System.out);\n }",
"resolve(System.in, System.out)",
"resolve",
"System.in",
"System",
"System.in",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"static void resolve(InputStream is, PrintStream pw) {\n Scanner sc = new Scanner(is);\n int s = Integer.parseInt(sc.next());\n int w = Integer.parseInt(sc.next());\n pw.println(\n s <= w ? \"unsafe\" : \"safe\"\n );\n }",
"resolve",
"{\n Scanner sc = new Scanner(is);\n int s = Integer.parseInt(sc.next());\n int w = Integer.parseInt(sc.next());\n pw.println(\n s <= w ? \"unsafe\" : \"safe\"\n );\n }",
"Scanner sc = new Scanner(is);",
"sc",
"new Scanner(is)",
"int s = Integer.parseInt(sc.next());",
"s",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int w = Integer.parseInt(sc.next());",
"w",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"pw.println(\n s <= w ? \"unsafe\" : \"safe\"\n )",
"pw.println",
"pw",
"s <= w ? \"unsafe\" : \"safe\"",
"s <= w",
"s",
"w",
"\"unsafe\"",
"\"safe\"",
"InputStream is",
"is",
"PrintStream pw",
"pw",
"public class Main {\n\n public static void main(String[] args) {\n resolve(System.in, System.out);\n }\n\n static void resolve(InputStream is, PrintStream pw) {\n Scanner sc = new Scanner(is);\n int s = Integer.parseInt(sc.next());\n int w = Integer.parseInt(sc.next());\n pw.println(\n s <= w ? \"unsafe\" : \"safe\"\n );\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n resolve(System.in, System.out);\n }\n\n static void resolve(InputStream is, PrintStream pw) {\n Scanner sc = new Scanner(is);\n int s = Integer.parseInt(sc.next());\n int w = Integer.parseInt(sc.next());\n pw.println(\n s <= w ? \"unsafe\" : \"safe\"\n );\n }\n}",
"Main"
] |
import java.io.InputStream;
import java.io.PrintStream;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
resolve(System.in, System.out);
}
static void resolve(InputStream is, PrintStream pw) {
Scanner sc = new Scanner(is);
int s = Integer.parseInt(sc.next());
int w = Integer.parseInt(sc.next());
pw.println(
s <= w ? "unsafe" : "safe"
);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
14,
2,
13,
13,
30,
0,
13,
17,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
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
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n\n String ans = \"\";\n if (s > w) {\n ans = \"safe\";\n }\n else {\n ans = \"unsafe\";\n }\n System.out.println(ans);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n\n String ans = \"\";\n if (s > w) {\n ans = \"safe\";\n }\n else {\n ans = \"unsafe\";\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n\n String ans = \"\";\n if (s > w) {\n ans = \"safe\";\n }\n else {\n ans = \"unsafe\";\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n\n String ans = \"\";\n if (s > w) {\n ans = \"safe\";\n }\n else {\n ans = \"unsafe\";\n }\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int s = sc.nextInt();",
"s",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int w = sc.nextInt();",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String ans = \"\";",
"ans",
"\"\"",
"if (s > w) {\n ans = \"safe\";\n }\n else {\n ans = \"unsafe\";\n }",
"s > w",
"s",
"w",
"{\n ans = \"safe\";\n }",
"ans = \"safe\"",
"ans",
"\"safe\"",
"{\n ans = \"unsafe\";\n }",
"ans = \"unsafe\"",
"ans",
"\"unsafe\"",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n\n String ans = \"\";\n if (s > w) {\n ans = \"safe\";\n }\n else {\n ans = \"unsafe\";\n }\n System.out.println(ans);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n\n String ans = \"\";\n if (s > w) {\n ans = \"safe\";\n }\n else {\n ans = \"unsafe\";\n }\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);
int s = sc.nextInt();
int w = sc.nextInt();
String ans = "";
if (s > w) {
ans = "safe";
}
else {
ans = "unsafe";
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
4,
18,
18,
13,
13,
8,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
17,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
26,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
25,
39
],
[
25,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] |
[
"import java.util.*;\npublic class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString h[]=sc.nextLine().split(\" \");\n\t\tSystem.out.println(Integer.parseInt(h[0])>Integer.parseInt(h[1])?\"safe\":\"unsafe\");\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 h[]=sc.nextLine().split(\" \");\n\t\tSystem.out.println(Integer.parseInt(h[0])>Integer.parseInt(h[1])?\"safe\":\"unsafe\");\n\t}\n}",
"Main",
"public static void main(String args[])\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString h[]=sc.nextLine().split(\" \");\n\t\tSystem.out.println(Integer.parseInt(h[0])>Integer.parseInt(h[1])?\"safe\":\"unsafe\");\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString h[]=sc.nextLine().split(\" \");\n\t\tSystem.out.println(Integer.parseInt(h[0])>Integer.parseInt(h[1])?\"safe\":\"unsafe\");\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String h[]=sc.nextLine().split(\" \");",
"h",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"System.out.println(Integer.parseInt(h[0])>Integer.parseInt(h[1])?\"safe\":\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.parseInt(h[0])>Integer.parseInt(h[1])?\"safe\":\"unsafe\"",
"Integer.parseInt(h[0])>Integer.parseInt(h[1])",
"Integer.parseInt(h[0])",
"Integer.parseInt",
"Integer",
"h[0]",
"h",
"0",
"Integer.parseInt(h[1])",
"Integer.parseInt",
"Integer",
"h[1]",
"h",
"1",
"\"safe\"",
"\"unsafe\"",
"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 h[]=sc.nextLine().split(\" \");\n\t\tSystem.out.println(Integer.parseInt(h[0])>Integer.parseInt(h[1])?\"safe\":\"unsafe\");\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 h[]=sc.nextLine().split(\" \");\n\t\tSystem.out.println(Integer.parseInt(h[0])>Integer.parseInt(h[1])?\"safe\":\"unsafe\");\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main
{
public static void main(String args[])
{
Scanner sc=new Scanner(System.in);
String h[]=sc.nextLine().split(" ");
System.out.println(Integer.parseInt(h[0])>Integer.parseInt(h[1])?"safe":"unsafe");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] |
[
"import java.util.*;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n if(w>=s){\n \tSystem.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n if(w>=s){\n \tSystem.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n if(w>=s){\n \tSystem.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n if(w>=s){\n \tSystem.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int s = sc.nextInt();",
"s",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int w = sc.nextInt();",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(w>=s){\n \tSystem.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }",
"w>=s",
"w",
"s",
"{\n \tSystem.out.println(\"unsafe\");\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n System.out.println(\"safe\");\n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n if(w>=s){\n \tSystem.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n if(w>=s){\n \tSystem.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int s = sc.nextInt();
int w = sc.nextInt();
if(w>=s){
System.out.println("unsafe");
}else{
System.out.println("safe");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
14,
2,
13,
13,
29,
17,
29,
17,
12,
13,
30,
41,
13,
20,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
4,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
50,
5
],
[
50,
6
],
[
6,
7
],
[
50,
8
],
[
8,
9
],
[
50,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
12,
19
],
[
19,
20
],
[
50,
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
],
[
23,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
23,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
21,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] |
[
"import java.util.Scanner;\n\n\npublic class Main{\n \n public static int w,s;\n \n public static String isSafe(){\n if(w >= s) return \"unsafe\";\n return \"safe\";\n }\n\n public static void main(String []args){\n Scanner x = new Scanner(System.in);\n s = x.nextInt();\n w = x.nextInt();\n String ans = isSafe();\n System.out.println(ans);\n \n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n \n public static int w,s;\n \n public static String isSafe(){\n if(w >= s) return \"unsafe\";\n return \"safe\";\n }\n\n public static void main(String []args){\n Scanner x = new Scanner(System.in);\n s = x.nextInt();\n w = x.nextInt();\n String ans = isSafe();\n System.out.println(ans);\n \n }\n}",
"Main",
"public static int w",
"w",
"s;",
"s",
"public static String isSafe(){\n if(w >= s) return \"unsafe\";\n return \"safe\";\n }",
"isSafe",
"{\n if(w >= s) return \"unsafe\";\n return \"safe\";\n }",
"if(w >= s) return \"unsafe\";",
"w >= s",
"w",
"s",
"return \"unsafe\";",
"\"unsafe\"",
"return \"safe\";",
"\"safe\"",
"public static void main(String []args){\n Scanner x = new Scanner(System.in);\n s = x.nextInt();\n w = x.nextInt();\n String ans = isSafe();\n System.out.println(ans);\n \n }",
"main",
"{\n Scanner x = new Scanner(System.in);\n s = x.nextInt();\n w = x.nextInt();\n String ans = isSafe();\n System.out.println(ans);\n \n }",
"Scanner x = new Scanner(System.in);",
"x",
"new Scanner(System.in)",
"s = x.nextInt()",
"s",
"x.nextInt()",
"x.nextInt",
"x",
"w = x.nextInt()",
"w",
"x.nextInt()",
"x.nextInt",
"x",
"String ans = isSafe();",
"ans",
"isSafe()",
"isSafe",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String []args",
"args",
"public class Main{\n \n public static int w,s;\n \n public static String isSafe(){\n if(w >= s) return \"unsafe\";\n return \"safe\";\n }\n\n public static void main(String []args){\n Scanner x = new Scanner(System.in);\n s = x.nextInt();\n w = x.nextInt();\n String ans = isSafe();\n System.out.println(ans);\n \n }\n}",
"public class Main{\n \n public static int w,s;\n \n public static String isSafe(){\n if(w >= s) return \"unsafe\";\n return \"safe\";\n }\n\n public static void main(String []args){\n Scanner x = new Scanner(System.in);\n s = x.nextInt();\n w = x.nextInt();\n String ans = isSafe();\n System.out.println(ans);\n \n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static int w,s;
public static String isSafe(){
if(w >= s) return "unsafe";
return "safe";
}
public static void main(String []args){
Scanner x = new Scanner(System.in);
s = x.nextInt();
w = x.nextInt();
String ans = isSafe();
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,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
6,
40
],
[
40,
41
]
] |
[
"import java.util.Scanner;\n\nclass Main\n{\n public static void main(String args[])\n {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n if(b>=a)\n {\n System.out.print(\"unsafe\");\n }\n else\n {\n System.out.print(\"safe\");\n }\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main\n{\n public static void main(String args[])\n {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n if(b>=a)\n {\n System.out.print(\"unsafe\");\n }\n else\n {\n System.out.print(\"safe\");\n }\n\n }\n}",
"Main",
"public static void main(String args[])\n {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n if(b>=a)\n {\n System.out.print(\"unsafe\");\n }\n else\n {\n System.out.print(\"safe\");\n }\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n if(b>=a)\n {\n System.out.print(\"unsafe\");\n }\n else\n {\n System.out.print(\"safe\");\n }\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(b>=a)\n {\n System.out.print(\"unsafe\");\n }\n else\n {\n System.out.print(\"safe\");\n }",
"b>=a",
"b",
"a",
"{\n System.out.print(\"unsafe\");\n }",
"System.out.print(\"unsafe\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n System.out.print(\"safe\");\n }",
"System.out.print(\"safe\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"safe\"",
"String args[]",
"args"
] |
import java.util.Scanner;
class Main
{
public static void main(String args[])
{
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
if(b>=a)
{
System.out.print("unsafe");
}
else
{
System.out.print("safe");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
2,
17,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
8,
10
],
[
4,
11
],
[
11,
12
],
[
11,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
13,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
13,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
27,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
11,
45
],
[
45,
46
]
] |
[
"import java.util.*;\n\nclass Main{\n static int mod = 1000000000+7;\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n if(w>=s){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n static int mod = 1000000000+7;\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n if(w>=s){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n \n }\n}",
"Main",
"static int mod = 1000000000+7;",
"mod",
"1000000000+7",
"1000000000",
"7",
"public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n if(w>=s){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int s = sc.nextInt();\n int w = sc.nextInt();\n if(w>=s){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int s = sc.nextInt();",
"s",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int w = sc.nextInt();",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(w>=s){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }",
"w>=s",
"w",
"s",
"{\n System.out.println(\"unsafe\");\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n System.out.println(\"safe\");\n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String args[]",
"args"
] |
import java.util.*;
class Main{
static int mod = 1000000000+7;
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int s = sc.nextInt();
int w = sc.nextInt();
if(w>=s){
System.out.println("unsafe");
}else{
System.out.println("safe");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
8,
2,
13,
13,
17,
17,
4,
18,
18,
13,
13,
13,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
11,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
36,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
9,
48
],
[
48,
49
]
] |
[
"import java.util.*;\nimport java.io.*;\nclass Main {\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st= new StringTokenizer(br.readLine());\n int S = Integer.parseInt(st.nextToken());\n int W = Integer.parseInt(st.nextToken());\n String ans = W>=S ? \"unsafe\":\"safe\";\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st= new StringTokenizer(br.readLine());\n int S = Integer.parseInt(st.nextToken());\n int W = Integer.parseInt(st.nextToken());\n String ans = W>=S ? \"unsafe\":\"safe\";\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st= new StringTokenizer(br.readLine());\n int S = Integer.parseInt(st.nextToken());\n int W = Integer.parseInt(st.nextToken());\n String ans = W>=S ? \"unsafe\":\"safe\";\n System.out.println(ans);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st= new StringTokenizer(br.readLine());\n int S = Integer.parseInt(st.nextToken());\n int W = Integer.parseInt(st.nextToken());\n String ans = W>=S ? \"unsafe\":\"safe\";\n System.out.println(ans);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st= new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"int S = Integer.parseInt(st.nextToken());",
"S",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int W = Integer.parseInt(st.nextToken());",
"W",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"String ans = W>=S ? \"unsafe\":\"safe\";",
"ans",
"W>=S ? \"unsafe\":\"safe\"",
"W>=S",
"W",
"S",
"\"unsafe\"",
"\"safe\"",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args"
] |
import java.util.*;
import java.io.*;
class Main {
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st= new StringTokenizer(br.readLine());
int S = Integer.parseInt(st.nextToken());
int W = Integer.parseInt(st.nextToken());
String ans = W>=S ? "unsafe":"safe";
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
13,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
14,
2,
2,
2,
2,
13,
17,
17,
2,
13,
17,
2,
13,
17,
29,
17,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
13,
1,
0,
13,
17,
30,
30,
14,
2,
2,
13,
13,
17,
29,
17,
29,
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
],
[
197,
14
],
[
197,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
17,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
17,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
17,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
15,
51
],
[
51,
52
],
[
197,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
56,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
64,
70
],
[
70,
71
],
[
70,
72
],
[
63,
73
],
[
73,
74
],
[
73,
75
],
[
62,
76
],
[
76,
77
],
[
62,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
79,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
79,
94
],
[
95,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
96,
102
],
[
102,
103
],
[
78,
104
],
[
104,
105
],
[
53,
106
],
[
106,
107
],
[
197,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
108,
112
],
[
112,
113
],
[
108,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
108,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
123,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
133,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
122,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
108,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
152,
155
],
[
155,
156
],
[
108,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
161,
164
],
[
164,
165
],
[
108,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
170,
173
],
[
173,
174
],
[
108,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
177,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
181,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
191,
192
],
[
192,
193
],
[
177,
194
],
[
194,
195
],
[
0,
196
],
[
196,
197
],
[
196,
198
]
] |
[
"\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n public static void main(String[] args) {\n FastReader s = new FastReader();\n int sh,w;\n sh=s.nextInt();\n w=s.nextInt();\n if(sh>w)\n System.out.println(\"safe\");\n else\n System.out.println(\"unsafe\");\n }\n\n private static boolean isPrime(int n) {\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }\n\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}",
"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 public static void main(String[] args) {\n FastReader s = new FastReader();\n int sh,w;\n sh=s.nextInt();\n w=s.nextInt();\n if(sh>w)\n System.out.println(\"safe\");\n else\n System.out.println(\"unsafe\");\n }\n\n private static boolean isPrime(int n) {\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }\n\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}",
"Main",
"public static void main(String[] args) {\n FastReader s = new FastReader();\n int sh,w;\n sh=s.nextInt();\n w=s.nextInt();\n if(sh>w)\n System.out.println(\"safe\");\n else\n System.out.println(\"unsafe\");\n }",
"main",
"{\n FastReader s = new FastReader();\n int sh,w;\n sh=s.nextInt();\n w=s.nextInt();\n if(sh>w)\n System.out.println(\"safe\");\n else\n System.out.println(\"unsafe\");\n }",
"FastReader s = new FastReader();",
"s",
"new FastReader()",
"int sh",
"sh",
"w;",
"w",
"sh=s.nextInt()",
"sh",
"s.nextInt()",
"s.nextInt",
"s",
"w=s.nextInt()",
"w",
"s.nextInt()",
"s.nextInt",
"s",
"if(sh>w)\n System.out.println(\"safe\");\n else\n System.out.println(\"unsafe\");",
"sh>w",
"sh",
"w",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"String[] args",
"args",
"private static boolean isPrime(int n) {\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }",
"isPrime",
"{\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }",
"if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }",
"n == 2",
"n",
"2",
"return true;",
"true",
"if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }",
"(n % 2 == 0 && n > 2) || n < 2",
"(n % 2 == 0 && n > 2)",
"n % 2 == 0",
"n % 2",
"n",
"2",
"0",
"n > 2",
"n",
"2",
"n < 2",
"n",
"2",
"return false;",
"false",
"{\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }",
"for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }",
"int i = 3;",
"int i = 3;",
"i",
"3",
"i <= (int) Math.sqrt(n)",
"i",
"(int) Math.sqrt(n)",
"Math.sqrt",
"Math",
"n",
"i += 2",
"i += 2",
"i",
"2",
"{\n if (n % i == 0)\n return false;\n }",
"{\n if (n % i == 0)\n return false;\n }",
"if (n % i == 0)\n return false;",
"n % i == 0",
"n % i",
"n",
"i",
"0",
"return false;",
"false",
"return true;",
"true",
"int n",
"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 }",
"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 public static void main(String[] args) {\n FastReader s = new FastReader();\n int sh,w;\n sh=s.nextInt();\n w=s.nextInt();\n if(sh>w)\n System.out.println(\"safe\");\n else\n System.out.println(\"unsafe\");\n }\n\n private static boolean isPrime(int n) {\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }\n\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 class Main {\n public static void main(String[] args) {\n FastReader s = new FastReader();\n int sh,w;\n sh=s.nextInt();\n w=s.nextInt();\n if(sh>w)\n System.out.println(\"safe\");\n else\n System.out.println(\"unsafe\");\n }\n\n private static boolean isPrime(int n) {\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }\n\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}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
FastReader s = new FastReader();
int sh,w;
sh=s.nextInt();
w=s.nextInt();
if(sh>w)
System.out.println("safe");
else
System.out.println("unsafe");
}
private static boolean isPrime(int n) {
if (n == 2)
return true;
else if ((n % 2 == 0 && n > 2) || n < 2)
return false;
else {
for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {
if (n % i == 0)
return false;
}
return true;
}
}
static class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new
InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
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,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
13,
17,
30,
4,
18,
13,
17,
23,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
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
],
[
170,
23
],
[
170,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
26,
37
],
[
37,
38
],
[
37,
39
],
[
26,
40
],
[
40,
41
],
[
40,
42
],
[
26,
43
],
[
43,
44
],
[
43,
45
],
[
26,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
50
],
[
26,
51
],
[
51,
52
],
[
52,
53
],
[
24,
54
],
[
54,
55
],
[
170,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
56,
60
],
[
60,
61
],
[
56,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
64,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
64,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
75,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
62,
89
],
[
89,
90
],
[
62,
91
],
[
91,
92
],
[
56,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
93,
105
],
[
105,
106
],
[
170,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
107,
111
],
[
111,
112
],
[
107,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
119,
120
],
[
119,
121
],
[
113,
122
],
[
122,
123
],
[
107,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
127,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
137,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
126,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
107,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
155,
158
],
[
158,
159
],
[
107,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
164,
167
],
[
167,
168
],
[
0,
169
],
[
169,
170
],
[
169,
171
]
] |
[
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.util.*;\n\npublic class Main {\n static class Solver {\n // int INF = (1 << 30) - 1;\n // long L_INF = (1L << 62) - 1;\n // long MOD = (long) 1e9 + 7;\n\n int S, W;\n // int[] A;\n\n // write your code\n public void solve(InputReader in, PrintWriter out) {\n S = in.nextInt();\n W = in.nextInt();\n // A = new int[N];\n // for (int i = 0; i < N; i++) {\n // A[i] = in.nextInt();\n // }\n\n if (S <= W) {\n out.println(\"unsafe\");\n } else {\n out.println(\"safe\");\n }\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n }\n\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Solver solver = new Solver();\n solver.solve(in, out);\n out.close();\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream));\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"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.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n static class Solver {\n // int INF = (1 << 30) - 1;\n // long L_INF = (1L << 62) - 1;\n // long MOD = (long) 1e9 + 7;\n\n int S, W;\n // int[] A;\n\n // write your code\n public void solve(InputReader in, PrintWriter out) {\n S = in.nextInt();\n W = in.nextInt();\n // A = new int[N];\n // for (int i = 0; i < N; i++) {\n // A[i] = in.nextInt();\n // }\n\n if (S <= W) {\n out.println(\"unsafe\");\n } else {\n out.println(\"safe\");\n }\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n }\n\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Solver solver = new Solver();\n solver.solve(in, out);\n out.close();\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream));\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Solver solver = new Solver();\n solver.solve(in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Solver solver = new Solver();\n solver.solve(in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"InputReader in = new InputReader(inputStream);",
"in",
"new InputReader(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"Solver solver = new Solver();",
"solver",
"new Solver()",
"solver.solve(in, out)",
"solver.solve",
"solver",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Solver {\n // int INF = (1 << 30) - 1;\n // long L_INF = (1L << 62) - 1;\n // long MOD = (long) 1e9 + 7;\n\n int S, W;\n // int[] A;\n\n // write your code\n public void solve(InputReader in, PrintWriter out) {\n S = in.nextInt();\n W = in.nextInt();\n // A = new int[N];\n // for (int i = 0; i < N; i++) {\n // A[i] = in.nextInt();\n // }\n\n if (S <= W) {\n out.println(\"unsafe\");\n } else {\n out.println(\"safe\");\n }\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n }",
"Solver",
"int S",
"S",
"W;",
"W",
"// write your code\n public void solve(InputReader in, PrintWriter out) {\n S = in.nextInt();\n W = in.nextInt();\n // A = new int[N];\n // for (int i = 0; i < N; i++) {\n // A[i] = in.nextInt();\n // }\n\n if (S <= W) {\n out.println(\"unsafe\");\n } else {\n out.println(\"safe\");\n }\n }",
"solve",
"{\n S = in.nextInt();\n W = in.nextInt();\n // A = new int[N];\n // for (int i = 0; i < N; i++) {\n // A[i] = in.nextInt();\n // }\n\n if (S <= W) {\n out.println(\"unsafe\");\n } else {\n out.println(\"safe\");\n }\n }",
"S = in.nextInt()",
"S",
"in.nextInt()",
"in.nextInt",
"in",
"W = in.nextInt()",
"W",
"in.nextInt()",
"in.nextInt",
"in",
"if (S <= W) {\n out.println(\"unsafe\");\n } else {\n out.println(\"safe\");\n }",
"S <= W",
"S",
"W",
"{\n out.println(\"unsafe\");\n }",
"out.println(\"unsafe\")",
"out.println",
"out",
"\"unsafe\"",
"{\n out.println(\"safe\");\n }",
"out.println(\"safe\")",
"out.println",
"out",
"\"safe\"",
"InputReader in",
"in",
"PrintWriter out",
"out",
"void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }",
"debug",
"{\n System.err.println(Arrays.deepToString(os));\n }",
"System.err.println(Arrays.deepToString(os))",
"System.err.println",
"System.err",
"System",
"System.err",
"Arrays.deepToString(os)",
"Arrays.deepToString",
"Arrays",
"os",
"Object... os",
"os",
"static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream));\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n }",
"InputReader",
"public BufferedReader reader;",
"reader",
"public StringTokenizer tokenizer;",
"tokenizer",
"public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream));\n tokenizer = null;\n }",
"InputReader",
"{\n reader = new BufferedReader(new InputStreamReader(stream));\n tokenizer = null;\n }",
"reader = new BufferedReader(new InputStreamReader(stream))",
"reader",
"new BufferedReader(new InputStreamReader(stream))",
"tokenizer = null",
"tokenizer",
"null",
"InputStream stream",
"stream",
"public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"next",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }",
"catch (IOException e) {\n throw new RuntimeException(e);\n }",
"IOException e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public class Main {\n static class Solver {\n // int INF = (1 << 30) - 1;\n // long L_INF = (1L << 62) - 1;\n // long MOD = (long) 1e9 + 7;\n\n int S, W;\n // int[] A;\n\n // write your code\n public void solve(InputReader in, PrintWriter out) {\n S = in.nextInt();\n W = in.nextInt();\n // A = new int[N];\n // for (int i = 0; i < N; i++) {\n // A[i] = in.nextInt();\n // }\n\n if (S <= W) {\n out.println(\"unsafe\");\n } else {\n out.println(\"safe\");\n }\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n }\n\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Solver solver = new Solver();\n solver.solve(in, out);\n out.close();\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream));\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"public class Main {\n static class Solver {\n // int INF = (1 << 30) - 1;\n // long L_INF = (1L << 62) - 1;\n // long MOD = (long) 1e9 + 7;\n\n int S, W;\n // int[] A;\n\n // write your code\n public void solve(InputReader in, PrintWriter out) {\n S = in.nextInt();\n W = in.nextInt();\n // A = new int[N];\n // for (int i = 0; i < N; i++) {\n // A[i] = in.nextInt();\n // }\n\n if (S <= W) {\n out.println(\"unsafe\");\n } else {\n out.println(\"safe\");\n }\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n }\n\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Solver solver = new Solver();\n solver.solve(in, out);\n out.close();\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream));\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.*;
public class Main {
static class Solver {
// int INF = (1 << 30) - 1;
// long L_INF = (1L << 62) - 1;
// long MOD = (long) 1e9 + 7;
int S, W;
// int[] A;
// write your code
public void solve(InputReader in, PrintWriter out) {
S = in.nextInt();
W = in.nextInt();
// A = new int[N];
// for (int i = 0; i < N; i++) {
// A[i] = in.nextInt();
// }
if (S <= W) {
out.println("unsafe");
} else {
out.println("safe");
}
}
void debug(Object... os) {
System.err.println(Arrays.deepToString(os));
}
}
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
Solver solver = new Solver();
solver.solve(in, out);
out.close();
}
static class InputReader {
public BufferedReader reader;
public StringTokenizer tokenizer;
public InputReader(InputStream stream) {
reader = new BufferedReader(new InputStreamReader(stream));
tokenizer = null;
}
public String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public int nextInt() {
return Integer.parseInt(next());
}
public long nextLong() {
return Long.parseLong(next());
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
13,
13,
17,
17,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
6
],
[
6,
7
],
[
6,
8
],
[
46,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
9,
15
],
[
15,
16
],
[
46,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
22,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
19,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
19,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
39,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n Scanner in = new Scanner(System.in);\n public static void main(String[] args) {\n new Main().solve();\n }\n\n void solve(){\n int w, s;\n s = in.nextInt();\n w = in.nextInt();\n\n System.out.println( (w >= s) ? \"unsafe\" : \"safe\" );\n\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n Scanner in = new Scanner(System.in);\n public static void main(String[] args) {\n new Main().solve();\n }\n\n void solve(){\n int w, s;\n s = in.nextInt();\n w = in.nextInt();\n\n System.out.println( (w >= s) ? \"unsafe\" : \"safe\" );\n\n }\n\n}",
"Main",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"public static void main(String[] args) {\n new Main().solve();\n }",
"main",
"{\n new Main().solve();\n }",
"new Main().solve()",
"new Main().solve",
"new Main()",
"String[] args",
"args",
"void solve(){\n int w, s;\n s = in.nextInt();\n w = in.nextInt();\n\n System.out.println( (w >= s) ? \"unsafe\" : \"safe\" );\n\n }",
"solve",
"{\n int w, s;\n s = in.nextInt();\n w = in.nextInt();\n\n System.out.println( (w >= s) ? \"unsafe\" : \"safe\" );\n\n }",
"int w",
"w",
"s;",
"s",
"s = in.nextInt()",
"s",
"in.nextInt()",
"in.nextInt",
"in",
"w = in.nextInt()",
"w",
"in.nextInt()",
"in.nextInt",
"in",
"System.out.println( (w >= s) ? \"unsafe\" : \"safe\" )",
"System.out.println",
"System.out",
"System",
"System.out",
"(w >= s) ? \"unsafe\" : \"safe\"",
"(w >= s)",
"w",
"s",
"\"unsafe\"",
"\"safe\"",
"public class Main {\n Scanner in = new Scanner(System.in);\n public static void main(String[] args) {\n new Main().solve();\n }\n\n void solve(){\n int w, s;\n s = in.nextInt();\n w = in.nextInt();\n\n System.out.println( (w >= s) ? \"unsafe\" : \"safe\" );\n\n }\n\n}",
"public class Main {\n Scanner in = new Scanner(System.in);\n public static void main(String[] args) {\n new Main().solve();\n }\n\n void solve(){\n int w, s;\n s = in.nextInt();\n w = in.nextInt();\n\n System.out.println( (w >= s) ? \"unsafe\" : \"safe\" );\n\n }\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
Scanner in = new Scanner(System.in);
public static void main(String[] args) {
new Main().solve();
}
void solve(){
int w, s;
s = in.nextInt();
w = in.nextInt();
System.out.println( (w >= s) ? "unsafe" : "safe" );
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
13,
13,
17,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
36,
5
],
[
36,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
27,
32
],
[
6,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
] |
[
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int S = sc.nextInt();\n int W = sc.nextInt();\n\n System.out.println(S <= W ? \"unsafe\" : \"safe\");\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int S = sc.nextInt();\n int W = sc.nextInt();\n\n System.out.println(S <= W ? \"unsafe\" : \"safe\");\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int S = sc.nextInt();\n int W = sc.nextInt();\n\n System.out.println(S <= W ? \"unsafe\" : \"safe\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n int S = sc.nextInt();\n int W = sc.nextInt();\n\n System.out.println(S <= W ? \"unsafe\" : \"safe\");\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int S = sc.nextInt();",
"S",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int W = sc.nextInt();",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(S <= W ? \"unsafe\" : \"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"S <= W ? \"unsafe\" : \"safe\"",
"S <= W",
"S",
"W",
"\"unsafe\"",
"\"safe\"",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int S = sc.nextInt();\n int W = sc.nextInt();\n\n System.out.println(S <= W ? \"unsafe\" : \"safe\");\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int S = sc.nextInt();\n int W = sc.nextInt();\n\n System.out.println(S <= W ? \"unsafe\" : \"safe\");\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int S = sc.nextInt();
int W = sc.nextInt();
System.out.println(S <= W ? "unsafe" : "safe");
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
13,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
48,
8
],
[
48,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
11,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
29,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
9,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] |
[
"import java.util.*;\nimport java.io.*;\npublic class Main\n{\n public static void main(String[] args)\n {\n Scanner in = new Scanner(System.in);\n // int T;\n // T=in.nextInt();\n // while((T--)>0)\n // {\n // //code comes here\n // int S,W;\n // S=in\n\n // } \n\n int S,W;\n S=in.nextInt();\n W=in.nextInt();\n if(W>=S)\n System.out.println(\"unsafe\");\n else\n System.out.println(\"safe\");\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner in = new Scanner(System.in);\n // int T;\n // T=in.nextInt();\n // while((T--)>0)\n // {\n // //code comes here\n // int S,W;\n // S=in\n\n // } \n\n int S,W;\n S=in.nextInt();\n W=in.nextInt();\n if(W>=S)\n System.out.println(\"unsafe\");\n else\n System.out.println(\"safe\");\n }\n\n}",
"Main",
"public static void main(String[] args)\n {\n Scanner in = new Scanner(System.in);\n // int T;\n // T=in.nextInt();\n // while((T--)>0)\n // {\n // //code comes here\n // int S,W;\n // S=in\n\n // } \n\n int S,W;\n S=in.nextInt();\n W=in.nextInt();\n if(W>=S)\n System.out.println(\"unsafe\");\n else\n System.out.println(\"safe\");\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n // int T;\n // T=in.nextInt();\n // while((T--)>0)\n // {\n // //code comes here\n // int S,W;\n // S=in\n\n // } \n\n int S,W;\n S=in.nextInt();\n W=in.nextInt();\n if(W>=S)\n System.out.println(\"unsafe\");\n else\n System.out.println(\"safe\");\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int S",
"S",
"W;",
"W",
"S=in.nextInt()",
"S",
"in.nextInt()",
"in.nextInt",
"in",
"W=in.nextInt()",
"W",
"in.nextInt()",
"in.nextInt",
"in",
"if(W>=S)\n System.out.println(\"unsafe\");\n else\n System.out.println(\"safe\");",
"W>=S",
"W",
"S",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner in = new Scanner(System.in);\n // int T;\n // T=in.nextInt();\n // while((T--)>0)\n // {\n // //code comes here\n // int S,W;\n // S=in\n\n // } \n\n int S,W;\n S=in.nextInt();\n W=in.nextInt();\n if(W>=S)\n System.out.println(\"unsafe\");\n else\n System.out.println(\"safe\");\n }\n\n}",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner in = new Scanner(System.in);\n // int T;\n // T=in.nextInt();\n // while((T--)>0)\n // {\n // //code comes here\n // int S,W;\n // S=in\n\n // } \n\n int S,W;\n S=in.nextInt();\n W=in.nextInt();\n if(W>=S)\n System.out.println(\"unsafe\");\n else\n System.out.println(\"safe\");\n }\n\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main
{
public static void main(String[] args)
{
Scanner in = new Scanner(System.in);
// int T;
// T=in.nextInt();
// while((T--)>0)
// {
// //code comes here
// int S,W;
// S=in
// }
int S,W;
S=in.nextInt();
W=in.nextInt();
if(W>=S)
System.out.println("unsafe");
else
System.out.println("safe");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tint s = kb.nextInt();\n\t\tint w = kb.nextInt();\n\t\tif (w >= s) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t\tkb.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tint s = kb.nextInt();\n\t\tint w = kb.nextInt();\n\t\tif (w >= s) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t\tkb.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tint s = kb.nextInt();\n\t\tint w = kb.nextInt();\n\t\tif (w >= s) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t\tkb.close();\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tint s = kb.nextInt();\n\t\tint w = kb.nextInt();\n\t\tif (w >= s) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t\tkb.close();\n\t}",
"Scanner kb = new Scanner(System.in);",
"kb",
"new Scanner(System.in)",
"int s = kb.nextInt();",
"s",
"kb.nextInt()",
"kb.nextInt",
"kb",
"int w = kb.nextInt();",
"w",
"kb.nextInt()",
"kb.nextInt",
"kb",
"if (w >= s) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}",
"w >= s",
"w",
"s",
"{\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n\t\t\tSystem.out.println(\"safe\");\n\t\t}",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"kb.close()",
"kb.close",
"kb",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tint s = kb.nextInt();\n\t\tint w = kb.nextInt();\n\t\tif (w >= s) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t\tkb.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tint s = kb.nextInt();\n\t\tint w = kb.nextInt();\n\t\tif (w >= s) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t\tkb.close();\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner kb = new Scanner(System.in);
int s = kb.nextInt();
int w = kb.nextInt();
if (w >= s) {
System.out.println("unsafe");
} else {
System.out.println("safe");
}
kb.close();
}
}
|
[
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,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
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
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
42,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] |
[
"\nimport java.util.Scanner;\n\npublic class Main {\n\n /*\n * https://atcoder.jp/contests/abc164/tasks/abc164_a\n */\n\n public static void main(String[] args) {\n\n Scanner stdIn = new Scanner(System.in);\n String input = stdIn.nextLine();\n stdIn.close();\n\n String[] arguments = input.split(\" \");\n int sheep = Integer.valueOf(arguments[0]);\n int wolf = Integer.valueOf(arguments[1]);\n\n if (sheep > wolf) {\n System.out.print(\"safe\");\n } else {\n System.out.println(\"unsafe\");\n }\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n /*\n * https://atcoder.jp/contests/abc164/tasks/abc164_a\n */\n\n public static void main(String[] args) {\n\n Scanner stdIn = new Scanner(System.in);\n String input = stdIn.nextLine();\n stdIn.close();\n\n String[] arguments = input.split(\" \");\n int sheep = Integer.valueOf(arguments[0]);\n int wolf = Integer.valueOf(arguments[1]);\n\n if (sheep > wolf) {\n System.out.print(\"safe\");\n } else {\n System.out.println(\"unsafe\");\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner stdIn = new Scanner(System.in);\n String input = stdIn.nextLine();\n stdIn.close();\n\n String[] arguments = input.split(\" \");\n int sheep = Integer.valueOf(arguments[0]);\n int wolf = Integer.valueOf(arguments[1]);\n\n if (sheep > wolf) {\n System.out.print(\"safe\");\n } else {\n System.out.println(\"unsafe\");\n }\n\n }",
"main",
"{\n\n Scanner stdIn = new Scanner(System.in);\n String input = stdIn.nextLine();\n stdIn.close();\n\n String[] arguments = input.split(\" \");\n int sheep = Integer.valueOf(arguments[0]);\n int wolf = Integer.valueOf(arguments[1]);\n\n if (sheep > wolf) {\n System.out.print(\"safe\");\n } else {\n System.out.println(\"unsafe\");\n }\n\n }",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"String input = stdIn.nextLine();",
"input",
"stdIn.nextLine()",
"stdIn.nextLine",
"stdIn",
"stdIn.close()",
"stdIn.close",
"stdIn",
"String[] arguments = input.split(\" \");",
"arguments",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"int sheep = Integer.valueOf(arguments[0]);",
"sheep",
"Integer.valueOf(arguments[0])",
"Integer.valueOf",
"Integer",
"arguments[0]",
"arguments",
"0",
"int wolf = Integer.valueOf(arguments[1]);",
"wolf",
"Integer.valueOf(arguments[1])",
"Integer.valueOf",
"Integer",
"arguments[1]",
"arguments",
"1",
"if (sheep > wolf) {\n System.out.print(\"safe\");\n } else {\n System.out.println(\"unsafe\");\n }",
"sheep > wolf",
"sheep",
"wolf",
"{\n System.out.print(\"safe\");\n }",
"System.out.print(\"safe\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"safe\"",
"{\n System.out.println(\"unsafe\");\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"String[] args",
"args",
"public class Main {\n\n /*\n * https://atcoder.jp/contests/abc164/tasks/abc164_a\n */\n\n public static void main(String[] args) {\n\n Scanner stdIn = new Scanner(System.in);\n String input = stdIn.nextLine();\n stdIn.close();\n\n String[] arguments = input.split(\" \");\n int sheep = Integer.valueOf(arguments[0]);\n int wolf = Integer.valueOf(arguments[1]);\n\n if (sheep > wolf) {\n System.out.print(\"safe\");\n } else {\n System.out.println(\"unsafe\");\n }\n\n }\n}",
"public class Main {\n\n /*\n * https://atcoder.jp/contests/abc164/tasks/abc164_a\n */\n\n public static void main(String[] args) {\n\n Scanner stdIn = new Scanner(System.in);\n String input = stdIn.nextLine();\n stdIn.close();\n\n String[] arguments = input.split(\" \");\n int sheep = Integer.valueOf(arguments[0]);\n int wolf = Integer.valueOf(arguments[1]);\n\n if (sheep > wolf) {\n System.out.print(\"safe\");\n } else {\n System.out.println(\"unsafe\");\n }\n\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
/*
* https://atcoder.jp/contests/abc164/tasks/abc164_a
*/
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
String input = stdIn.nextLine();
stdIn.close();
String[] arguments = input.split(" ");
int sheep = Integer.valueOf(arguments[0]);
int wolf = Integer.valueOf(arguments[1]);
if (sheep > wolf) {
System.out.print("safe");
} else {
System.out.println("unsafe");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
42,
17,
30,
0,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
0,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
93,
8
],
[
93,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
19,
24
],
[
13,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
13,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
13,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
13,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
13,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
67,
74
],
[
59,
75
],
[
75,
76
],
[
75,
77
],
[
59,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
82,
89
],
[
9,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] |
[
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString[] s = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\t\t\tint c = Integer.parseInt(s[2]);\n\t\t\tint d = Integer.parseInt(s[3]);\n\t\t\twhile (true) {\n\t\t\t\tc -= b;\n\t\t\t\tif (c <= 0) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\ta -= d;\n\t\t\t\tif (a <= 0) {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString[] s = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\t\t\tint c = Integer.parseInt(s[2]);\n\t\t\tint d = Integer.parseInt(s[3]);\n\t\t\twhile (true) {\n\t\t\t\tc -= b;\n\t\t\t\tif (c <= 0) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\ta -= d;\n\t\t\t\tif (a <= 0) {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString[] s = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\t\t\tint c = Integer.parseInt(s[2]);\n\t\t\tint d = Integer.parseInt(s[3]);\n\t\t\twhile (true) {\n\t\t\t\tc -= b;\n\t\t\t\tif (c <= 0) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\ta -= d;\n\t\t\t\tif (a <= 0) {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString[] s = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\t\t\tint c = Integer.parseInt(s[2]);\n\t\t\tint d = Integer.parseInt(s[3]);\n\t\t\twhile (true) {\n\t\t\t\tc -= b;\n\t\t\t\tif (c <= 0) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\ta -= d;\n\t\t\t\tif (a <= 0) {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString[] s = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\t\t\tint c = Integer.parseInt(s[2]);\n\t\t\tint d = Integer.parseInt(s[3]);\n\t\t\twhile (true) {\n\t\t\t\tc -= b;\n\t\t\t\tif (c <= 0) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\ta -= d;\n\t\t\t\tif (a <= 0) {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tString[] s = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\t\t\tint c = Integer.parseInt(s[2]);\n\t\t\tint d = Integer.parseInt(s[3]);\n\t\t\twhile (true) {\n\t\t\t\tc -= b;\n\t\t\t\tif (c <= 0) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\ta -= d;\n\t\t\t\tif (a <= 0) {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] s = br.readLine().split(\" \");",
"s",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int a = Integer.parseInt(s[0]);",
"a",
"Integer.parseInt(s[0])",
"Integer.parseInt",
"Integer",
"s[0]",
"s",
"0",
"int b = Integer.parseInt(s[1]);",
"b",
"Integer.parseInt(s[1])",
"Integer.parseInt",
"Integer",
"s[1]",
"s",
"1",
"int c = Integer.parseInt(s[2]);",
"c",
"Integer.parseInt(s[2])",
"Integer.parseInt",
"Integer",
"s[2]",
"s",
"2",
"int d = Integer.parseInt(s[3]);",
"d",
"Integer.parseInt(s[3])",
"Integer.parseInt",
"Integer",
"s[3]",
"s",
"3",
"while (true) {\n\t\t\t\tc -= b;\n\t\t\t\tif (c <= 0) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\ta -= d;\n\t\t\t\tif (a <= 0) {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}",
"true",
"{\n\t\t\t\tc -= b;\n\t\t\t\tif (c <= 0) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\ta -= d;\n\t\t\t\tif (a <= 0) {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}",
"c -= b",
"c",
"b",
"if (c <= 0) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}",
"c <= 0",
"c",
"0",
"{\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"return;",
"a -= d",
"a",
"d",
"if (a <= 0) {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t\treturn;\n\t\t\t\t}",
"a <= 0",
"a",
"0",
"{\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t\treturn;\n\t\t\t\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) throws Exception {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString[] s = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\t\t\tint c = Integer.parseInt(s[2]);\n\t\t\tint d = Integer.parseInt(s[3]);\n\t\t\twhile (true) {\n\t\t\t\tc -= b;\n\t\t\t\tif (c <= 0) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\ta -= d;\n\t\t\t\tif (a <= 0) {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString[] s = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\t\t\tint c = Integer.parseInt(s[2]);\n\t\t\tint d = Integer.parseInt(s[3]);\n\t\t\twhile (true) {\n\t\t\t\tc -= b;\n\t\t\t\tif (c <= 0) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\ta -= d;\n\t\t\t\tif (a <= 0) {\n\t\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
String[] s = br.readLine().split(" ");
int a = Integer.parseInt(s[0]);
int b = Integer.parseInt(s[1]);
int c = Integer.parseInt(s[2]);
int d = Integer.parseInt(s[3]);
while (true) {
c -= b;
if (c <= 0) {
System.out.println("Yes");
return;
}
a -= d;
if (a <= 0) {
System.out.println("No");
return;
}
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
42,
17,
30,
0,
13,
13,
14,
2,
13,
17,
30,
4,
18,
13,
17,
29,
0,
13,
13,
14,
2,
13,
17,
30,
4,
18,
13,
17,
29,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
41,
13,
17,
12,
13,
30,
4,
13,
20,
23,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
17,
13,
17,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
37,
20,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
29,
17,
0,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
29,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
237,
32
],
[
237,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
35,
46
],
[
46,
47
],
[
46,
48
],
[
35,
49
],
[
49,
50
],
[
49,
51
],
[
35,
52
],
[
52,
53
],
[
52,
54
],
[
35,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
55,
59
],
[
55,
60
],
[
35,
61
],
[
61,
62
],
[
62,
63
],
[
33,
64
],
[
64,
65
],
[
237,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
70,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
70,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
70,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
70,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
101,
106
],
[
93,
107
],
[
107,
108
],
[
107,
109
],
[
93,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
114,
119
],
[
68,
120
],
[
120,
121
],
[
68,
122
],
[
122,
123
],
[
68,
124
],
[
124,
125
],
[
237,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
126,
130
],
[
130,
131
],
[
126,
132
],
[
132,
133
],
[
132,
134
],
[
126,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
135,
141
],
[
141,
142
],
[
126,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
143,
149
],
[
149,
150
],
[
126,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
154,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
159,
164
],
[
165,
165
],
[
165,
166
],
[
165,
167
],
[
165,
168
],
[
153,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
170,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
169,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
182,
186
],
[
186,
187
],
[
179,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
191,
192
],
[
192,
193
],
[
188,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
194,
198
],
[
198,
199
],
[
188,
200
],
[
200,
201
],
[
200,
202
],
[
153,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
206,
207
],
[
153,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
208,
212
],
[
212,
213
],
[
213,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
213,
218
],
[
220,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
219,
223
],
[
220,
224
],
[
153,
225
],
[
225,
226
],
[
126,
227
],
[
227,
228
],
[
227,
229
],
[
229,
230
],
[
230,
231
],
[
231,
232
],
[
232,
233
],
[
231,
234
],
[
234,
235
],
[
0,
236
],
[
236,
237
],
[
236,
238
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.io.PrintStream;\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 Eric\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BBattle solver = new BBattle();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BBattle {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n int hA = in.nextInt();\n int sA = in.nextInt();\n int hB = in.nextInt();\n int sB = in.nextInt();\n while (true) {\n hB -= sA;\n if (hB <= 0) {\n out.println(\"Yes\");\n return;\n }\n hA -= sB;\n if (hA <= 0) {\n out.println(\"No\");\n return;\n }\n }\n\n //out.print(\"Case #\"+ testNumber + \": \");\n }\n\n }\n\n static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.io.PrintStream;",
"PrintStream",
"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 FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BBattle solver = new BBattle();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BBattle {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n int hA = in.nextInt();\n int sA = in.nextInt();\n int hB = in.nextInt();\n int sB = in.nextInt();\n while (true) {\n hB -= sA;\n if (hB <= 0) {\n out.println(\"Yes\");\n return;\n }\n hA -= sB;\n if (hA <= 0) {\n out.println(\"No\");\n return;\n }\n }\n\n //out.print(\"Case #\"+ testNumber + \": \");\n }\n\n }\n\n static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BBattle solver = new BBattle();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BBattle solver = new BBattle();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"FastReader in = new FastReader(inputStream);",
"in",
"new FastReader(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"BBattle solver = new BBattle();",
"solver",
"new BBattle()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class BBattle {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n int hA = in.nextInt();\n int sA = in.nextInt();\n int hB = in.nextInt();\n int sB = in.nextInt();\n while (true) {\n hB -= sA;\n if (hB <= 0) {\n out.println(\"Yes\");\n return;\n }\n hA -= sB;\n if (hA <= 0) {\n out.println(\"No\");\n return;\n }\n }\n\n //out.print(\"Case #\"+ testNumber + \": \");\n }\n\n }",
"BBattle",
"public void solve(int testNumber, FastReader in, PrintWriter out) {\n int hA = in.nextInt();\n int sA = in.nextInt();\n int hB = in.nextInt();\n int sB = in.nextInt();\n while (true) {\n hB -= sA;\n if (hB <= 0) {\n out.println(\"Yes\");\n return;\n }\n hA -= sB;\n if (hA <= 0) {\n out.println(\"No\");\n return;\n }\n }\n\n //out.print(\"Case #\"+ testNumber + \": \");\n }",
"solve",
"{\n int hA = in.nextInt();\n int sA = in.nextInt();\n int hB = in.nextInt();\n int sB = in.nextInt();\n while (true) {\n hB -= sA;\n if (hB <= 0) {\n out.println(\"Yes\");\n return;\n }\n hA -= sB;\n if (hA <= 0) {\n out.println(\"No\");\n return;\n }\n }\n\n //out.print(\"Case #\"+ testNumber + \": \");\n }",
"int hA = in.nextInt();",
"hA",
"in.nextInt()",
"in.nextInt",
"in",
"int sA = in.nextInt();",
"sA",
"in.nextInt()",
"in.nextInt",
"in",
"int hB = in.nextInt();",
"hB",
"in.nextInt()",
"in.nextInt",
"in",
"int sB = in.nextInt();",
"sB",
"in.nextInt()",
"in.nextInt",
"in",
"while (true) {\n hB -= sA;\n if (hB <= 0) {\n out.println(\"Yes\");\n return;\n }\n hA -= sB;\n if (hA <= 0) {\n out.println(\"No\");\n return;\n }\n }",
"true",
"{\n hB -= sA;\n if (hB <= 0) {\n out.println(\"Yes\");\n return;\n }\n hA -= sB;\n if (hA <= 0) {\n out.println(\"No\");\n return;\n }\n }",
"hB -= sA",
"hB",
"sA",
"if (hB <= 0) {\n out.println(\"Yes\");\n return;\n }",
"hB <= 0",
"hB",
"0",
"{\n out.println(\"Yes\");\n return;\n }",
"out.println(\"Yes\")",
"out.println",
"out",
"\"Yes\"",
"return;",
"hA -= sB",
"hA",
"sB",
"if (hA <= 0) {\n out.println(\"No\");\n return;\n }",
"hA <= 0",
"hA",
"0",
"{\n out.println(\"No\");\n return;\n }",
"out.println(\"No\")",
"out.println",
"out",
"\"No\"",
"return;",
"int testNumber",
"testNumber",
"FastReader in",
"in",
"PrintWriter out",
"out",
"static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }",
"FastReader",
"public BufferedReader br;",
"br",
"public StringTokenizer st;",
"st",
"String context = null;",
"context",
"null",
"public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }",
"FastReader",
"{\n this(new InputStreamReader(in));\n }",
"this(new InputStreamReader(in))",
"this",
"new InputStreamReader(in)",
"InputStream in",
"in",
"public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }",
"FastReader",
"{\n br = new BufferedReader(input);\n }",
"br = new BufferedReader(input)",
"br",
"new BufferedReader(input)",
"InputStreamReader input",
"input",
"public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }",
"next",
"{\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }",
"if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }",
"context != null",
"context",
"null",
"{\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }",
"System.err.print(\"[\" + context + \"] Wait for input ...\")",
"System.err.print",
"System.err",
"System",
"System.err",
"\"[\" + context + \"] Wait for input ...\"",
"\"[\" + context + \"] Wait for input ...\"",
"\"[\"",
"context",
"\"] Wait for input ...\"",
"while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }",
"try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }",
"catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }",
"IOException e",
"{\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"throw new RuntimeException(\"Could not read\");",
"new RuntimeException(\"Could not read\")",
"{\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n }",
"String 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)",
"String res = st.nextToken();",
"res",
"st.nextToken()",
"st.nextToken",
"st",
"if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }",
"context != null",
"context",
"null",
"{\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }",
"System.err.println(\"[\" + context + \"] ... received : \" + res)",
"System.err.println",
"System.err",
"System",
"System.err",
"\"[\" + context + \"] ... received : \" + res",
"\"] ... received : \"",
"\"[\" + context + \"] ... received : \" + res",
"\"[\"",
"context",
"\"] ... received : \"",
"res",
"return res;",
"res",
"public int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BBattle solver = new BBattle();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BBattle {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n int hA = in.nextInt();\n int sA = in.nextInt();\n int hB = in.nextInt();\n int sB = in.nextInt();\n while (true) {\n hB -= sA;\n if (hB <= 0) {\n out.println(\"Yes\");\n return;\n }\n hA -= sB;\n if (hA <= 0) {\n out.println(\"No\");\n return;\n }\n }\n\n //out.print(\"Case #\"+ testNumber + \": \");\n }\n\n }\n\n static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BBattle solver = new BBattle();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BBattle {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n int hA = in.nextInt();\n int sA = in.nextInt();\n int hB = in.nextInt();\n int sB = in.nextInt();\n while (true) {\n hB -= sA;\n if (hB <= 0) {\n out.println(\"Yes\");\n return;\n }\n hA -= sB;\n if (hA <= 0) {\n out.println(\"No\");\n return;\n }\n }\n\n //out.print(\"Case #\"+ testNumber + \": \");\n }\n\n }\n\n static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.io.PrintStream;
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 Eric
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
FastReader in = new FastReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
BBattle solver = new BBattle();
solver.solve(1, in, out);
out.close();
}
static class BBattle {
public void solve(int testNumber, FastReader in, PrintWriter out) {
int hA = in.nextInt();
int sA = in.nextInt();
int hB = in.nextInt();
int sB = in.nextInt();
while (true) {
hB -= sA;
if (hB <= 0) {
out.println("Yes");
return;
}
hA -= sB;
if (hA <= 0) {
out.println("No");
return;
}
}
//out.print("Case #"+ testNumber + ": ");
}
}
static class FastReader {
public BufferedReader br;
public StringTokenizer st;
String context = null;
public FastReader(InputStream in) {
this(new InputStreamReader(in));
}
public FastReader(InputStreamReader input) {
br = new BufferedReader(input);
}
public String next() {
if (context != null) {
System.err.print("[" + context + "] Wait for input ...");
}
while (st == null || !st.hasMoreElements()) {
try {
String s = br.readLine();
if (s == null)
return null;
st = new StringTokenizer(s);
} catch (IOException e) {
e.printStackTrace();
throw new RuntimeException("Could not read");
}
}
String res = st.nextToken();
if (context != null) {
System.err.println("[" + context + "] ... received : " + res);
}
return res;
}
public int nextInt() {
return Integer.parseInt(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,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
42,
17,
30,
0,
18,
13,
13,
18,
13,
13,
14,
2,
18,
13,
13,
17,
30,
4,
18,
13,
17,
3,
0,
18,
13,
13,
18,
13,
13,
14,
2,
18,
13,
13,
17,
30,
4,
18,
13,
17,
3,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
141,
20
],
[
141,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
30,
32
],
[
23,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
39,
40
],
[
23,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
47,
48
],
[
23,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
55,
56
],
[
23,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
63,
64
],
[
23,
65
],
[
65,
66
],
[
65,
67
],
[
23,
68
],
[
68,
69
],
[
68,
70
],
[
23,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
73,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
81,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
87,
92
],
[
73,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
97,
98
],
[
97,
99
],
[
73,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
100,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
106,
111
],
[
23,
112
],
[
112,
113
],
[
113,
114
],
[
21,
115
],
[
115,
116
],
[
141,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
117,
121
],
[
121,
122
],
[
117,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
125,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
123,
136
],
[
136,
137
],
[
123,
138
],
[
138,
139
],
[
0,
140
],
[
140,
141
],
[
140,
142
]
] |
[
"import java.io.BufferedReader;\nimport java.io.BufferedWriter;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.OutputStreamWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\tstatic class Monster{\n\t\tint health, strength;\n\t\t\n\t\tMonster(int health, int strength){\n\t\t\tthis.health = health;\n\t\t\tthis.strength = strength;\n\t\t}\n\t}\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tBufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\t\n\t\tint A = Integer.parseInt(st.nextToken());\n\t\tint B = Integer.parseInt(st.nextToken());\n\t\tint C = Integer.parseInt(st.nextToken());\n\t\tint D = Integer.parseInt(st.nextToken());\n\t\t\n\t\tMonster ta = new Monster(A, B);\n\t\tMonster ao = new Monster(C, D);\n\t\t\n\t\twhile(true) {\n\t\t\tao.health -= ta.strength;\n\t\t\tif(ao.health <= 0) {\n\t\t\t\tbw.write(\"Yes\\n\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tta.health -= ao.strength;\n\t\t\tif(ta.health <= 0) {\n\t\t\t\tbw.write(\"No\\n\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\tbw.flush();\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.BufferedWriter;",
"BufferedWriter",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\tstatic class Monster{\n\t\tint health, strength;\n\t\t\n\t\tMonster(int health, int strength){\n\t\t\tthis.health = health;\n\t\t\tthis.strength = strength;\n\t\t}\n\t}\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tBufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\t\n\t\tint A = Integer.parseInt(st.nextToken());\n\t\tint B = Integer.parseInt(st.nextToken());\n\t\tint C = Integer.parseInt(st.nextToken());\n\t\tint D = Integer.parseInt(st.nextToken());\n\t\t\n\t\tMonster ta = new Monster(A, B);\n\t\tMonster ao = new Monster(C, D);\n\t\t\n\t\twhile(true) {\n\t\t\tao.health -= ta.strength;\n\t\t\tif(ao.health <= 0) {\n\t\t\t\tbw.write(\"Yes\\n\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tta.health -= ao.strength;\n\t\t\tif(ta.health <= 0) {\n\t\t\t\tbw.write(\"No\\n\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\tbw.flush();\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tBufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\t\n\t\tint A = Integer.parseInt(st.nextToken());\n\t\tint B = Integer.parseInt(st.nextToken());\n\t\tint C = Integer.parseInt(st.nextToken());\n\t\tint D = Integer.parseInt(st.nextToken());\n\t\t\n\t\tMonster ta = new Monster(A, B);\n\t\tMonster ao = new Monster(C, D);\n\t\t\n\t\twhile(true) {\n\t\t\tao.health -= ta.strength;\n\t\t\tif(ao.health <= 0) {\n\t\t\t\tbw.write(\"Yes\\n\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tta.health -= ao.strength;\n\t\t\tif(ta.health <= 0) {\n\t\t\t\tbw.write(\"No\\n\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\tbw.flush();\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tBufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\t\n\t\tint A = Integer.parseInt(st.nextToken());\n\t\tint B = Integer.parseInt(st.nextToken());\n\t\tint C = Integer.parseInt(st.nextToken());\n\t\tint D = Integer.parseInt(st.nextToken());\n\t\t\n\t\tMonster ta = new Monster(A, B);\n\t\tMonster ao = new Monster(C, D);\n\t\t\n\t\twhile(true) {\n\t\t\tao.health -= ta.strength;\n\t\t\tif(ao.health <= 0) {\n\t\t\t\tbw.write(\"Yes\\n\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tta.health -= ao.strength;\n\t\t\tif(ta.health <= 0) {\n\t\t\t\tbw.write(\"No\\n\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\tbw.flush();\n\t}",
"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))",
"StringTokenizer st = new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"int A = Integer.parseInt(st.nextToken());",
"A",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int B = Integer.parseInt(st.nextToken());",
"B",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int C = Integer.parseInt(st.nextToken());",
"C",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int D = Integer.parseInt(st.nextToken());",
"D",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"Monster ta = new Monster(A, B);",
"ta",
"new Monster(A, B)",
"Monster ao = new Monster(C, D);",
"ao",
"new Monster(C, D)",
"while(true) {\n\t\t\tao.health -= ta.strength;\n\t\t\tif(ao.health <= 0) {\n\t\t\t\tbw.write(\"Yes\\n\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tta.health -= ao.strength;\n\t\t\tif(ta.health <= 0) {\n\t\t\t\tbw.write(\"No\\n\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t}",
"true",
"{\n\t\t\tao.health -= ta.strength;\n\t\t\tif(ao.health <= 0) {\n\t\t\t\tbw.write(\"Yes\\n\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tta.health -= ao.strength;\n\t\t\tif(ta.health <= 0) {\n\t\t\t\tbw.write(\"No\\n\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t}",
"ao.health -= ta.strength",
"ao.health",
"ao",
"ao.health",
"ta.strength",
"ta",
"ta.strength",
"if(ao.health <= 0) {\n\t\t\t\tbw.write(\"Yes\\n\");\n\t\t\t\tbreak;\n\t\t\t}",
"ao.health <= 0",
"ao.health",
"ao",
"ao.health",
"0",
"{\n\t\t\t\tbw.write(\"Yes\\n\");\n\t\t\t\tbreak;\n\t\t\t}",
"bw.write(\"Yes\\n\")",
"bw.write",
"bw",
"\"Yes\\n\"",
"break;",
"ta.health -= ao.strength",
"ta.health",
"ta",
"ta.health",
"ao.strength",
"ao",
"ao.strength",
"if(ta.health <= 0) {\n\t\t\t\tbw.write(\"No\\n\");\n\t\t\t\tbreak;\n\t\t\t}",
"ta.health <= 0",
"ta.health",
"ta",
"ta.health",
"0",
"{\n\t\t\t\tbw.write(\"No\\n\");\n\t\t\t\tbreak;\n\t\t\t}",
"bw.write(\"No\\n\")",
"bw.write",
"bw",
"\"No\\n\"",
"break;",
"bw.flush()",
"bw.flush",
"bw",
"String[] args",
"args",
"static class Monster{\n\t\tint health, strength;\n\t\t\n\t\tMonster(int health, int strength){\n\t\t\tthis.health = health;\n\t\t\tthis.strength = strength;\n\t\t}\n\t}",
"Monster",
"int health",
"health",
"strength;",
"strength",
"Monster(int health, int strength){\n\t\t\tthis.health = health;\n\t\t\tthis.strength = strength;\n\t\t}",
"Monster",
"{\n\t\t\tthis.health = health;\n\t\t\tthis.strength = strength;\n\t\t}",
"this.health = health",
"this.health",
"this",
"this.health",
"health",
"this.strength = strength",
"this.strength",
"this",
"this.strength",
"strength",
"int health",
"health",
"int strength",
"strength",
"public class Main {\n\tstatic class Monster{\n\t\tint health, strength;\n\t\t\n\t\tMonster(int health, int strength){\n\t\t\tthis.health = health;\n\t\t\tthis.strength = strength;\n\t\t}\n\t}\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tBufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\t\n\t\tint A = Integer.parseInt(st.nextToken());\n\t\tint B = Integer.parseInt(st.nextToken());\n\t\tint C = Integer.parseInt(st.nextToken());\n\t\tint D = Integer.parseInt(st.nextToken());\n\t\t\n\t\tMonster ta = new Monster(A, B);\n\t\tMonster ao = new Monster(C, D);\n\t\t\n\t\twhile(true) {\n\t\t\tao.health -= ta.strength;\n\t\t\tif(ao.health <= 0) {\n\t\t\t\tbw.write(\"Yes\\n\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tta.health -= ao.strength;\n\t\t\tif(ta.health <= 0) {\n\t\t\t\tbw.write(\"No\\n\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\tbw.flush();\n\t}\n\n}",
"public class Main {\n\tstatic class Monster{\n\t\tint health, strength;\n\t\t\n\t\tMonster(int health, int strength){\n\t\t\tthis.health = health;\n\t\t\tthis.strength = strength;\n\t\t}\n\t}\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tBufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\t\n\t\tint A = Integer.parseInt(st.nextToken());\n\t\tint B = Integer.parseInt(st.nextToken());\n\t\tint C = Integer.parseInt(st.nextToken());\n\t\tint D = Integer.parseInt(st.nextToken());\n\t\t\n\t\tMonster ta = new Monster(A, B);\n\t\tMonster ao = new Monster(C, D);\n\t\t\n\t\twhile(true) {\n\t\t\tao.health -= ta.strength;\n\t\t\tif(ao.health <= 0) {\n\t\t\t\tbw.write(\"Yes\\n\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tta.health -= ao.strength;\n\t\t\tif(ta.health <= 0) {\n\t\t\t\tbw.write(\"No\\n\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\tbw.flush();\n\t}\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.util.StringTokenizer;
public class Main {
static class Monster{
int health, strength;
Monster(int health, int strength){
this.health = health;
this.strength = strength;
}
}
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
StringTokenizer st = new StringTokenizer(br.readLine());
int A = Integer.parseInt(st.nextToken());
int B = Integer.parseInt(st.nextToken());
int C = Integer.parseInt(st.nextToken());
int D = Integer.parseInt(st.nextToken());
Monster ta = new Monster(A, B);
Monster ao = new Monster(C, D);
while(true) {
ao.health -= ta.strength;
if(ao.health <= 0) {
bw.write("Yes\n");
break;
}
ta.health -= ao.strength;
if(ta.health <= 0) {
bw.write("No\n");
break;
}
}
bw.flush();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
6,
41
],
[
41,
42
]
] |
[
"import java.util.*;\nclass Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n String ans = \"No\";\n outloop:for(;;){\n c = c-b;\n if(c<=0){\n ans = \"Yes\";\n break outloop;\n }\n a = a-d;\n if(a<=0){\n break outloop;\n }\n }\n System.out.println(ans);\n }\n }",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n String ans = \"No\";\n outloop:for(;;){\n c = c-b;\n if(c<=0){\n ans = \"Yes\";\n break outloop;\n }\n a = a-d;\n if(a<=0){\n break outloop;\n }\n }\n System.out.println(ans);\n }\n }",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n String ans = \"No\";\n outloop:for(;;){\n c = c-b;\n if(c<=0){\n ans = \"Yes\";\n break outloop;\n }\n a = a-d;\n if(a<=0){\n break outloop;\n }\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n String ans = \"No\";\n outloop:for(;;){\n c = c-b;\n if(c<=0){\n ans = \"Yes\";\n break outloop;\n }\n a = a-d;\n if(a<=0){\n break outloop;\n }\n }\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String ans = \"No\";",
"ans",
"\"No\"",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args"
] |
import java.util.*;
class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int d = sc.nextInt();
String ans = "No";
outloop:for(;;){
c = c-b;
if(c<=0){
ans = "Yes";
break outloop;
}
a = a-d;
if(a<=0){
break outloop;
}
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
0,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
3,
0,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
3,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
44,
51
],
[
36,
52
],
[
52,
53
],
[
52,
54
],
[
36,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
59,
66
],
[
6,
67
],
[
67,
68
]
] |
[
"import java.util.*;\n \n \nclass Main {\n \n public static void main (String args[])\n {\n Scanner in = new Scanner(System.in);\n \n int th = in.nextInt();\n int as=in.nextInt();\n int tth = in.nextInt();\n int aas=in.nextInt();\n \n while(th>0)\n { \n tth-=as;\n if(tth<=0)\n {\n System.out.println(\"Yes\");\n break;\n }\n th-=aas;\n if(th<=0)\n {\n System.out.println(\"No\");\n break;\n }\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n \n public static void main (String args[])\n {\n Scanner in = new Scanner(System.in);\n \n int th = in.nextInt();\n int as=in.nextInt();\n int tth = in.nextInt();\n int aas=in.nextInt();\n \n while(th>0)\n { \n tth-=as;\n if(tth<=0)\n {\n System.out.println(\"Yes\");\n break;\n }\n th-=aas;\n if(th<=0)\n {\n System.out.println(\"No\");\n break;\n }\n }\n }\n}",
"Main",
"public static void main (String args[])\n {\n Scanner in = new Scanner(System.in);\n \n int th = in.nextInt();\n int as=in.nextInt();\n int tth = in.nextInt();\n int aas=in.nextInt();\n \n while(th>0)\n { \n tth-=as;\n if(tth<=0)\n {\n System.out.println(\"Yes\");\n break;\n }\n th-=aas;\n if(th<=0)\n {\n System.out.println(\"No\");\n break;\n }\n }\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n \n int th = in.nextInt();\n int as=in.nextInt();\n int tth = in.nextInt();\n int aas=in.nextInt();\n \n while(th>0)\n { \n tth-=as;\n if(tth<=0)\n {\n System.out.println(\"Yes\");\n break;\n }\n th-=aas;\n if(th<=0)\n {\n System.out.println(\"No\");\n break;\n }\n }\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int th = in.nextInt();",
"th",
"in.nextInt()",
"in.nextInt",
"in",
"int as=in.nextInt();",
"as",
"in.nextInt()",
"in.nextInt",
"in",
"int tth = in.nextInt();",
"tth",
"in.nextInt()",
"in.nextInt",
"in",
"int aas=in.nextInt();",
"aas",
"in.nextInt()",
"in.nextInt",
"in",
"while(th>0)\n { \n tth-=as;\n if(tth<=0)\n {\n System.out.println(\"Yes\");\n break;\n }\n th-=aas;\n if(th<=0)\n {\n System.out.println(\"No\");\n break;\n }\n }",
"th>0",
"th",
"0",
"{ \n tth-=as;\n if(tth<=0)\n {\n System.out.println(\"Yes\");\n break;\n }\n th-=aas;\n if(th<=0)\n {\n System.out.println(\"No\");\n break;\n }\n }",
"tth-=as",
"tth",
"as",
"if(tth<=0)\n {\n System.out.println(\"Yes\");\n break;\n }",
"tth<=0",
"tth",
"0",
"{\n System.out.println(\"Yes\");\n break;\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"break;",
"th-=aas",
"th",
"aas",
"if(th<=0)\n {\n System.out.println(\"No\");\n break;\n }",
"th<=0",
"th",
"0",
"{\n System.out.println(\"No\");\n break;\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"break;",
"String args[]",
"args"
] |
import java.util.*;
class Main {
public static void main (String args[])
{
Scanner in = new Scanner(System.in);
int th = in.nextInt();
int as=in.nextInt();
int tth = in.nextInt();
int aas=in.nextInt();
while(th>0)
{
tth-=as;
if(tth<=0)
{
System.out.println("Yes");
break;
}
th-=aas;
if(th<=0)
{
System.out.println("No");
break;
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
42,
17,
30,
0,
13,
13,
14,
2,
13,
17,
30,
0,
13,
17,
3,
0,
13,
13,
14,
2,
13,
17,
30,
0,
13,
17,
3,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
37,
50
],
[
50,
51
],
[
50,
52
],
[
37,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
62,
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\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tint c = scan.nextInt();\n\t\tint d = scan.nextInt();\n\t\t\n\t\tboolean judge = false;\n\t\t\n\t\twhile(true) {\n\t\t\tc -= b;\n\t\t\tif(c <= 0 ) {\n\t\t\t\tjudge = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\ta -= d;\n\t\t\tif(a <= 0 ) {\n\t\t\t\tjudge = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif( judge == true) {\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}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tint c = scan.nextInt();\n\t\tint d = scan.nextInt();\n\t\t\n\t\tboolean judge = false;\n\t\t\n\t\twhile(true) {\n\t\t\tc -= b;\n\t\t\tif(c <= 0 ) {\n\t\t\t\tjudge = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\ta -= d;\n\t\t\tif(a <= 0 ) {\n\t\t\t\tjudge = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif( judge == true) {\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}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tint c = scan.nextInt();\n\t\tint d = scan.nextInt();\n\t\t\n\t\tboolean judge = false;\n\t\t\n\t\twhile(true) {\n\t\t\tc -= b;\n\t\t\tif(c <= 0 ) {\n\t\t\t\tjudge = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\ta -= d;\n\t\t\tif(a <= 0 ) {\n\t\t\t\tjudge = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif( judge == true) {\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}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tint c = scan.nextInt();\n\t\tint d = scan.nextInt();\n\t\t\n\t\tboolean judge = false;\n\t\t\n\t\twhile(true) {\n\t\t\tc -= b;\n\t\t\tif(c <= 0 ) {\n\t\t\t\tjudge = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\ta -= d;\n\t\t\tif(a <= 0 ) {\n\t\t\t\tjudge = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif( judge == true) {\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}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int b = scan.nextInt();",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int c = scan.nextInt();",
"c",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int d = scan.nextInt();",
"d",
"scan.nextInt()",
"scan.nextInt",
"scan",
"boolean judge = false;",
"judge",
"false",
"while(true) {\n\t\t\tc -= b;\n\t\t\tif(c <= 0 ) {\n\t\t\t\tjudge = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\ta -= d;\n\t\t\tif(a <= 0 ) {\n\t\t\t\tjudge = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tc -= b;\n\t\t\tif(c <= 0 ) {\n\t\t\t\tjudge = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\ta -= d;\n\t\t\tif(a <= 0 ) {\n\t\t\t\tjudge = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"c -= b",
"c",
"b",
"if(c <= 0 ) {\n\t\t\t\tjudge = true;\n\t\t\t\tbreak;\n\t\t\t}",
"c <= 0",
"c",
"0",
"{\n\t\t\t\tjudge = true;\n\t\t\t\tbreak;\n\t\t\t}",
"judge = true",
"judge",
"true",
"break;",
"a -= d",
"a",
"d",
"if(a <= 0 ) {\n\t\t\t\tjudge = false;\n\t\t\t\tbreak;\n\t\t\t}",
"a <= 0",
"a",
"0",
"{\n\t\t\t\tjudge = false;\n\t\t\t\tbreak;\n\t\t\t}",
"judge = false",
"judge",
"false",
"break;",
"if( judge == true) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"judge == true",
"judge",
"true",
"{\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\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tint c = scan.nextInt();\n\t\tint d = scan.nextInt();\n\t\t\n\t\tboolean judge = false;\n\t\t\n\t\twhile(true) {\n\t\t\tc -= b;\n\t\t\tif(c <= 0 ) {\n\t\t\t\tjudge = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\ta -= d;\n\t\t\tif(a <= 0 ) {\n\t\t\t\tjudge = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif( judge == true) {\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}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tint c = scan.nextInt();\n\t\tint d = scan.nextInt();\n\t\t\n\t\tboolean judge = false;\n\t\t\n\t\twhile(true) {\n\t\t\tc -= b;\n\t\t\tif(c <= 0 ) {\n\t\t\t\tjudge = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\ta -= d;\n\t\t\tif(a <= 0 ) {\n\t\t\t\tjudge = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif( judge == true) {\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}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int c = scan.nextInt();
int d = scan.nextInt();
boolean judge = false;
while(true) {
c -= b;
if(c <= 0 ) {
judge = true;
break;
}
a -= d;
if(a <= 0 ) {
judge = false;
break;
}
}
if( judge == true) {
System.out.println("Yes");
}
else {
System.out.println("No");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
2,
13,
17,
13,
41,
13,
2,
2,
13,
2,
13,
17,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
74,
8
],
[
74,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
11,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
37,
43
],
[
11,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
46,
52
],
[
11,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
53,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
9,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] |
[
"import java.util.*;\nimport java.math.*;\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n int A = sc.nextInt();\n // スペース区切りの整数の入力\n int B = sc.nextInt();\n int C = sc.nextInt();\n int D = sc.nextInt();\n\n //a 高橋攻撃数\n double a = (C + (B - 1))/B;\n double b = (A + (D - 1))/D;\n\n // (割られる数 + 割る数 – 1) / 割る数\n if (a <= b) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n int A = sc.nextInt();\n // スペース区切りの整数の入力\n int B = sc.nextInt();\n int C = sc.nextInt();\n int D = sc.nextInt();\n\n //a 高橋攻撃数\n double a = (C + (B - 1))/B;\n double b = (A + (D - 1))/D;\n\n // (割られる数 + 割る数 – 1) / 割る数\n if (a <= b) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n int A = sc.nextInt();\n // スペース区切りの整数の入力\n int B = sc.nextInt();\n int C = sc.nextInt();\n int D = sc.nextInt();\n\n //a 高橋攻撃数\n double a = (C + (B - 1))/B;\n double b = (A + (D - 1))/D;\n\n // (割られる数 + 割る数 – 1) / 割る数\n if (a <= b) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n int A = sc.nextInt();\n // スペース区切りの整数の入力\n int B = sc.nextInt();\n int C = sc.nextInt();\n int D = sc.nextInt();\n\n //a 高橋攻撃数\n double a = (C + (B - 1))/B;\n double b = (A + (D - 1))/D;\n\n // (割られる数 + 割る数 – 1) / 割る数\n if (a <= b) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int A = sc.nextInt();",
"A",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int B = sc.nextInt();",
"B",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int C = sc.nextInt();",
"C",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int D = sc.nextInt();",
"D",
"sc.nextInt()",
"sc.nextInt",
"sc",
"double a = (C + (B - 1))/B;",
"a",
"(C + (B - 1))/B",
"(C + (B - 1))",
"C",
"(B - 1)",
"B",
"1",
"B",
"double b = (A + (D - 1))/D;",
"b",
"(A + (D - 1))/D",
"(A + (D - 1))",
"A",
"(D - 1)",
"D",
"1",
"D",
"if (a <= b) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }",
"a <= b",
"a",
"b",
"{\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 // 整数の入力\n int A = sc.nextInt();\n // スペース区切りの整数の入力\n int B = sc.nextInt();\n int C = sc.nextInt();\n int D = sc.nextInt();\n\n //a 高橋攻撃数\n double a = (C + (B - 1))/B;\n double b = (A + (D - 1))/D;\n\n // (割られる数 + 割る数 – 1) / 割る数\n if (a <= b) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n int A = sc.nextInt();\n // スペース区切りの整数の入力\n int B = sc.nextInt();\n int C = sc.nextInt();\n int D = sc.nextInt();\n\n //a 高橋攻撃数\n double a = (C + (B - 1))/B;\n double b = (A + (D - 1))/D;\n\n // (割られる数 + 割る数 – 1) / 割る数\n if (a <= b) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n }\n}",
"Main"
] |
import java.util.*;
import java.math.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
// 整数の入力
int A = sc.nextInt();
// スペース区切りの整数の入力
int B = sc.nextInt();
int C = sc.nextInt();
int D = sc.nextInt();
//a 高橋攻撃数
double a = (C + (B - 1))/B;
double b = (A + (D - 1))/D;
// (割られる数 + 割る数 – 1) / 割る数
if (a <= b) {
System.out.println("Yes");
} else {
System.out.println("No");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
30,
30,
0,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
13,
17,
30,
0,
13,
17,
3,
14,
2,
13,
17,
30,
0,
13,
17,
3,
0,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
13,
17,
30,
0,
13,
17,
3,
14,
2,
13,
17,
30,
0,
13,
17,
3,
4,
18,
18,
13,
13,
13,
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
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
51,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
38,
69
],
[
69,
70
],
[
69,
71
],
[
38,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
81,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
8,
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)throws Exception {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint health1 = scan.nextInt();\n\t\tint attack1 = scan.nextInt();\n\t\t\n\t\tint health2 = scan.nextInt();\n\t\tint attack2 = scan.nextInt();\n\t\t\n\t\tString hantei = \"\";\n\t\t\n\t\tfor(;;) {\n\t\t\thealth2 -= attack1;\n\t\t\t\n\t\t\tif(health1 <= 0 || health2 <= 0) {\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\thealth1 -= attack2;\n\t\t\t\n\t\t\tif(health1 <= 0 || health2 <= 0) {\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(hantei);\n\t\t\n\t\tscan.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args)throws Exception {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint health1 = scan.nextInt();\n\t\tint attack1 = scan.nextInt();\n\t\t\n\t\tint health2 = scan.nextInt();\n\t\tint attack2 = scan.nextInt();\n\t\t\n\t\tString hantei = \"\";\n\t\t\n\t\tfor(;;) {\n\t\t\thealth2 -= attack1;\n\t\t\t\n\t\t\tif(health1 <= 0 || health2 <= 0) {\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\thealth1 -= attack2;\n\t\t\t\n\t\t\tif(health1 <= 0 || health2 <= 0) {\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(hantei);\n\t\t\n\t\tscan.close();\n\t}\n}",
"Main",
"public static void main(String[] args)throws Exception {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint health1 = scan.nextInt();\n\t\tint attack1 = scan.nextInt();\n\t\t\n\t\tint health2 = scan.nextInt();\n\t\tint attack2 = scan.nextInt();\n\t\t\n\t\tString hantei = \"\";\n\t\t\n\t\tfor(;;) {\n\t\t\thealth2 -= attack1;\n\t\t\t\n\t\t\tif(health1 <= 0 || health2 <= 0) {\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\thealth1 -= attack2;\n\t\t\t\n\t\t\tif(health1 <= 0 || health2 <= 0) {\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(hantei);\n\t\t\n\t\tscan.close();\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint health1 = scan.nextInt();\n\t\tint attack1 = scan.nextInt();\n\t\t\n\t\tint health2 = scan.nextInt();\n\t\tint attack2 = scan.nextInt();\n\t\t\n\t\tString hantei = \"\";\n\t\t\n\t\tfor(;;) {\n\t\t\thealth2 -= attack1;\n\t\t\t\n\t\t\tif(health1 <= 0 || health2 <= 0) {\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\thealth1 -= attack2;\n\t\t\t\n\t\t\tif(health1 <= 0 || health2 <= 0) {\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(hantei);\n\t\t\n\t\tscan.close();\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int health1 = scan.nextInt();",
"health1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int attack1 = scan.nextInt();",
"attack1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int health2 = scan.nextInt();",
"health2",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int attack2 = scan.nextInt();",
"attack2",
"scan.nextInt()",
"scan.nextInt",
"scan",
"String hantei = \"\";",
"hantei",
"\"\"",
"for(;;) {\n\t\t\thealth2 -= attack1;\n\t\t\t\n\t\t\tif(health1 <= 0 || health2 <= 0) {\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\thealth1 -= attack2;\n\t\t\t\n\t\t\tif(health1 <= 0 || health2 <= 0) {\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
";",
"{\n\t\t\thealth2 -= attack1;\n\t\t\t\n\t\t\tif(health1 <= 0 || health2 <= 0) {\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\thealth1 -= attack2;\n\t\t\t\n\t\t\tif(health1 <= 0 || health2 <= 0) {\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\thealth2 -= attack1;\n\t\t\t\n\t\t\tif(health1 <= 0 || health2 <= 0) {\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\thealth1 -= attack2;\n\t\t\t\n\t\t\tif(health1 <= 0 || health2 <= 0) {\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"health2 -= attack1",
"health2",
"attack1",
"if(health1 <= 0 || health2 <= 0) {\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"health1 <= 0 || health2 <= 0",
"health1 <= 0",
"health1",
"0",
"health2 <= 0",
"health2",
"0",
"{\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"if(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"health1 <= 0",
"health1",
"0",
"{\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"hantei = \"No\"",
"hantei",
"\"No\"",
"break;",
"if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"health2 <= 0",
"health2",
"0",
"{\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"hantei = \"Yes\"",
"hantei",
"\"Yes\"",
"break;",
"health1 -= attack2",
"health1",
"attack2",
"if(health1 <= 0 || health2 <= 0) {\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"health1 <= 0 || health2 <= 0",
"health1 <= 0",
"health1",
"0",
"health2 <= 0",
"health2",
"0",
"{\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"if(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"health1 <= 0",
"health1",
"0",
"{\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"hantei = \"No\"",
"hantei",
"\"No\"",
"break;",
"if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"health2 <= 0",
"health2",
"0",
"{\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"hantei = \"Yes\"",
"hantei",
"\"Yes\"",
"break;",
"System.out.println(hantei)",
"System.out.println",
"System.out",
"System",
"System.out",
"hantei",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args)throws Exception {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint health1 = scan.nextInt();\n\t\tint attack1 = scan.nextInt();\n\t\t\n\t\tint health2 = scan.nextInt();\n\t\tint attack2 = scan.nextInt();\n\t\t\n\t\tString hantei = \"\";\n\t\t\n\t\tfor(;;) {\n\t\t\thealth2 -= attack1;\n\t\t\t\n\t\t\tif(health1 <= 0 || health2 <= 0) {\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\thealth1 -= attack2;\n\t\t\t\n\t\t\tif(health1 <= 0 || health2 <= 0) {\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(hantei);\n\t\t\n\t\tscan.close();\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args)throws Exception {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint health1 = scan.nextInt();\n\t\tint attack1 = scan.nextInt();\n\t\t\n\t\tint health2 = scan.nextInt();\n\t\tint attack2 = scan.nextInt();\n\t\t\n\t\tString hantei = \"\";\n\t\t\n\t\tfor(;;) {\n\t\t\thealth2 -= attack1;\n\t\t\t\n\t\t\tif(health1 <= 0 || health2 <= 0) {\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\thealth1 -= attack2;\n\t\t\t\n\t\t\tif(health1 <= 0 || health2 <= 0) {\n\t\t\t\tif(health1 <= 0) {\n\t\t\t\t\thantei = \"No\";\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(health2 <= 0){\n\t\t\t\t\thantei = \"Yes\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(hantei);\n\t\t\n\t\tscan.close();\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args)throws Exception {
Scanner scan = new Scanner(System.in);
int health1 = scan.nextInt();
int attack1 = scan.nextInt();
int health2 = scan.nextInt();
int attack2 = scan.nextInt();
String hantei = "";
for(;;) {
health2 -= attack1;
if(health1 <= 0 || health2 <= 0) {
if(health1 <= 0) {
hantei = "No";
break;
}else if(health2 <= 0){
hantei = "Yes";
break;
}
}
health1 -= attack2;
if(health1 <= 0 || health2 <= 0) {
if(health1 <= 0) {
hantei = "No";
break;
}else if(health2 <= 0){
hantei = "Yes";
break;
}
}
}
System.out.println(hantei);
scan.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
2,
13,
13,
0,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
2,
13,
13,
0,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
99,
5
],
[
99,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
52,
58
],
[
58,
59
],
[
58,
60
],
[
44,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
69,
75
],
[
75,
76
],
[
75,
77
],
[
8,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
78,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
6,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n \n int A =sc.nextInt();\n int B =sc.nextInt();\n int C =sc.nextInt();\n int D =sc.nextInt();\n \n \n \n int sw =0;\n \n while(A>0 &&C>0){\n \n if(sw==0&&C>=0){\n C=C-B;\n sw =1;\n }else if(sw==1&&A>=0){\n A = A-D;\n sw =0;\n }\n \n }\n \n if(A<=0){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n \n \n }\n \n \n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n \n int A =sc.nextInt();\n int B =sc.nextInt();\n int C =sc.nextInt();\n int D =sc.nextInt();\n \n \n \n int sw =0;\n \n while(A>0 &&C>0){\n \n if(sw==0&&C>=0){\n C=C-B;\n sw =1;\n }else if(sw==1&&A>=0){\n A = A-D;\n sw =0;\n }\n \n }\n \n if(A<=0){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n \n \n }\n \n \n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n \n int A =sc.nextInt();\n int B =sc.nextInt();\n int C =sc.nextInt();\n int D =sc.nextInt();\n \n \n \n int sw =0;\n \n while(A>0 &&C>0){\n \n if(sw==0&&C>=0){\n C=C-B;\n sw =1;\n }else if(sw==1&&A>=0){\n A = A-D;\n sw =0;\n }\n \n }\n \n if(A<=0){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n \n \n }",
"main",
"{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n \n int A =sc.nextInt();\n int B =sc.nextInt();\n int C =sc.nextInt();\n int D =sc.nextInt();\n \n \n \n int sw =0;\n \n while(A>0 &&C>0){\n \n if(sw==0&&C>=0){\n C=C-B;\n sw =1;\n }else if(sw==1&&A>=0){\n A = A-D;\n sw =0;\n }\n \n }\n \n if(A<=0){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n \n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int A =sc.nextInt();",
"A",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int B =sc.nextInt();",
"B",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int C =sc.nextInt();",
"C",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int D =sc.nextInt();",
"D",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int sw =0;",
"sw",
"0",
"while(A>0 &&C>0){\n \n if(sw==0&&C>=0){\n C=C-B;\n sw =1;\n }else if(sw==1&&A>=0){\n A = A-D;\n sw =0;\n }\n \n }",
"A>0 &&C>0",
"A>0",
"A",
"0",
"C>0",
"C",
"0",
"{\n \n if(sw==0&&C>=0){\n C=C-B;\n sw =1;\n }else if(sw==1&&A>=0){\n A = A-D;\n sw =0;\n }\n \n }",
"if(sw==0&&C>=0){\n C=C-B;\n sw =1;\n }else if(sw==1&&A>=0){\n A = A-D;\n sw =0;\n }",
"sw==0&&C>=0",
"sw==0",
"sw",
"0",
"C>=0",
"C",
"0",
"{\n C=C-B;\n sw =1;\n }",
"C=C-B",
"C",
"C-B",
"C",
"B",
"sw =1",
"sw",
"1",
"if(sw==1&&A>=0){\n A = A-D;\n sw =0;\n }",
"sw==1&&A>=0",
"sw==1",
"sw",
"1",
"A>=0",
"A",
"0",
"{\n A = A-D;\n sw =0;\n }",
"A = A-D",
"A",
"A-D",
"A",
"D",
"sw =0",
"sw",
"0",
"if(A<=0){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }",
"A<=0",
"A",
"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) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n \n int A =sc.nextInt();\n int B =sc.nextInt();\n int C =sc.nextInt();\n int D =sc.nextInt();\n \n \n \n int sw =0;\n \n while(A>0 &&C>0){\n \n if(sw==0&&C>=0){\n C=C-B;\n sw =1;\n }else if(sw==1&&A>=0){\n A = A-D;\n sw =0;\n }\n \n }\n \n if(A<=0){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n \n \n }\n \n \n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n \n int A =sc.nextInt();\n int B =sc.nextInt();\n int C =sc.nextInt();\n int D =sc.nextInt();\n \n \n \n int sw =0;\n \n while(A>0 &&C>0){\n \n if(sw==0&&C>=0){\n C=C-B;\n sw =1;\n }else if(sw==1&&A>=0){\n A = A-D;\n sw =0;\n }\n \n }\n \n if(A<=0){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n \n \n }\n \n \n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner sc = new Scanner(System.in);
int A =sc.nextInt();
int B =sc.nextInt();
int C =sc.nextInt();
int D =sc.nextInt();
int sw =0;
while(A>0 &&C>0){
if(sw==0&&C>=0){
C=C-B;
sw =1;
}else if(sw==1&&A>=0){
A = A-D;
sw =0;
}
}
if(A<=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,
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,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
17,
42,
17,
30,
0,
13,
2,
13,
13,
14,
2,
13,
17,
30,
0,
13,
17,
3,
0,
13,
2,
13,
13,
14,
2,
13,
17,
30,
0,
13,
17,
3,
14,
13,
30,
4,
18,
13,
17,
30,
4,
18,
13,
17,
23,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
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
],
[
219,
26
],
[
219,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
29,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
29,
40
],
[
40,
41
],
[
40,
42
],
[
29,
43
],
[
43,
44
],
[
43,
45
],
[
29,
46
],
[
46,
47
],
[
46,
48
],
[
29,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
49,
53
],
[
29,
54
],
[
54,
55
],
[
55,
56
],
[
27,
57
],
[
57,
58
],
[
219,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
59,
63
],
[
63,
64
],
[
59,
65
],
[
65,
66
],
[
59,
67
],
[
67,
68
],
[
59,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
71,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
71,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
71,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
71,
92
],
[
92,
93
],
[
92,
94
],
[
71,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
97,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
97,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
114,
116
],
[
97,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
71,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
126,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
69,
138
],
[
138,
139
],
[
69,
140
],
[
140,
141
],
[
59,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
145,
150
],
[
150,
151
],
[
151,
152
],
[
150,
153
],
[
142,
154
],
[
154,
155
],
[
219,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
156,
160
],
[
160,
161
],
[
156,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
168,
169
],
[
168,
170
],
[
162,
171
],
[
171,
172
],
[
156,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
177,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
176,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
186,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
175,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
156,
200
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
204,
207
],
[
207,
208
],
[
156,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
214,
215
],
[
213,
216
],
[
216,
217
],
[
0,
218
],
[
218,
219
],
[
218,
220
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.util.*;\nimport java.awt.Point;\n\npublic class Main {\n // static int INF = (1 << 30) - 1;\n // static long L_INF = (1L << 62) - 1;\n // static long MOD = (long) 1e9 + 7;\n\n static class Solver {\n int A, B, C, D;\n // int[] A;\n\n // write your code\n void solve(InputReader in, PrintWriter out) {\n A = in.nextInt();\n B = in.nextInt();\n C = in.nextInt();\n D = in.nextInt();\n\n boolean win = false;\n while (true) {\n C = C - B;\n if (C <= 0) {\n win = true;\n break;\n }\n A = A - D;\n if (A <= 0) {\n win = false;\n break;\n }\n }\n\n if (win) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n }\n\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Solver solver = new Solver();\n solver.solve(in, out);\n out.close();\n }\n\n static class InputReader {\n BufferedReader reader;\n StringTokenizer tokenizer;\n\n InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.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.*;",
"util.*",
"java",
"import java.awt.Point;",
"Point",
"java.awt",
"public class Main {\n // static int INF = (1 << 30) - 1;\n // static long L_INF = (1L << 62) - 1;\n // static long MOD = (long) 1e9 + 7;\n\n static class Solver {\n int A, B, C, D;\n // int[] A;\n\n // write your code\n void solve(InputReader in, PrintWriter out) {\n A = in.nextInt();\n B = in.nextInt();\n C = in.nextInt();\n D = in.nextInt();\n\n boolean win = false;\n while (true) {\n C = C - B;\n if (C <= 0) {\n win = true;\n break;\n }\n A = A - D;\n if (A <= 0) {\n win = false;\n break;\n }\n }\n\n if (win) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n }\n\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Solver solver = new Solver();\n solver.solve(in, out);\n out.close();\n }\n\n static class InputReader {\n BufferedReader reader;\n StringTokenizer tokenizer;\n\n InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Solver solver = new Solver();\n solver.solve(in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Solver solver = new Solver();\n solver.solve(in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"InputReader in = new InputReader(inputStream);",
"in",
"new InputReader(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"Solver solver = new Solver();",
"solver",
"new Solver()",
"solver.solve(in, out)",
"solver.solve",
"solver",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Solver {\n int A, B, C, D;\n // int[] A;\n\n // write your code\n void solve(InputReader in, PrintWriter out) {\n A = in.nextInt();\n B = in.nextInt();\n C = in.nextInt();\n D = in.nextInt();\n\n boolean win = false;\n while (true) {\n C = C - B;\n if (C <= 0) {\n win = true;\n break;\n }\n A = A - D;\n if (A <= 0) {\n win = false;\n break;\n }\n }\n\n if (win) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n }",
"Solver",
"int A",
"A",
"B",
"B",
"C",
"C",
"D;",
"D",
"// write your code\n void solve(InputReader in, PrintWriter out) {\n A = in.nextInt();\n B = in.nextInt();\n C = in.nextInt();\n D = in.nextInt();\n\n boolean win = false;\n while (true) {\n C = C - B;\n if (C <= 0) {\n win = true;\n break;\n }\n A = A - D;\n if (A <= 0) {\n win = false;\n break;\n }\n }\n\n if (win) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }\n }",
"solve",
"{\n A = in.nextInt();\n B = in.nextInt();\n C = in.nextInt();\n D = in.nextInt();\n\n boolean win = false;\n while (true) {\n C = C - B;\n if (C <= 0) {\n win = true;\n break;\n }\n A = A - D;\n if (A <= 0) {\n win = false;\n break;\n }\n }\n\n if (win) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }\n }",
"A = in.nextInt()",
"A",
"in.nextInt()",
"in.nextInt",
"in",
"B = in.nextInt()",
"B",
"in.nextInt()",
"in.nextInt",
"in",
"C = in.nextInt()",
"C",
"in.nextInt()",
"in.nextInt",
"in",
"D = in.nextInt()",
"D",
"in.nextInt()",
"in.nextInt",
"in",
"boolean win = false;",
"win",
"false",
"while (true) {\n C = C - B;\n if (C <= 0) {\n win = true;\n break;\n }\n A = A - D;\n if (A <= 0) {\n win = false;\n break;\n }\n }",
"true",
"{\n C = C - B;\n if (C <= 0) {\n win = true;\n break;\n }\n A = A - D;\n if (A <= 0) {\n win = false;\n break;\n }\n }",
"C = C - B",
"C",
"C - B",
"C",
"B",
"if (C <= 0) {\n win = true;\n break;\n }",
"C <= 0",
"C",
"0",
"{\n win = true;\n break;\n }",
"win = true",
"win",
"true",
"break;",
"A = A - D",
"A",
"A - D",
"A",
"D",
"if (A <= 0) {\n win = false;\n break;\n }",
"A <= 0",
"A",
"0",
"{\n win = false;\n break;\n }",
"win = false",
"win",
"false",
"break;",
"if (win) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }",
"win",
"{\n out.println(\"Yes\");\n }",
"out.println(\"Yes\")",
"out.println",
"out",
"\"Yes\"",
"{\n out.println(\"No\");\n }",
"out.println(\"No\")",
"out.println",
"out",
"\"No\"",
"InputReader in",
"in",
"PrintWriter out",
"out",
"void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }",
"debug",
"{\n System.err.println(Arrays.deepToString(os));\n }",
"System.err.println(Arrays.deepToString(os))",
"System.err.println",
"System.err",
"System",
"System.err",
"Arrays.deepToString(os)",
"Arrays.deepToString",
"Arrays",
"os",
"Object... os",
"os",
"static class InputReader {\n BufferedReader reader;\n StringTokenizer tokenizer;\n\n InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }",
"InputReader",
"BufferedReader reader;",
"reader",
"StringTokenizer tokenizer;",
"tokenizer",
"InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }",
"InputReader",
"{\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }",
"reader = new BufferedReader(new InputStreamReader(stream), 32768)",
"reader",
"new BufferedReader(new InputStreamReader(stream), 32768)",
"tokenizer = null",
"tokenizer",
"null",
"InputStream stream",
"stream",
"String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"next",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }",
"catch (IOException e) {\n throw new RuntimeException(e);\n }",
"IOException e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"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",
"public class Main {\n // static int INF = (1 << 30) - 1;\n // static long L_INF = (1L << 62) - 1;\n // static long MOD = (long) 1e9 + 7;\n\n static class Solver {\n int A, B, C, D;\n // int[] A;\n\n // write your code\n void solve(InputReader in, PrintWriter out) {\n A = in.nextInt();\n B = in.nextInt();\n C = in.nextInt();\n D = in.nextInt();\n\n boolean win = false;\n while (true) {\n C = C - B;\n if (C <= 0) {\n win = true;\n break;\n }\n A = A - D;\n if (A <= 0) {\n win = false;\n break;\n }\n }\n\n if (win) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n }\n\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Solver solver = new Solver();\n solver.solve(in, out);\n out.close();\n }\n\n static class InputReader {\n BufferedReader reader;\n StringTokenizer tokenizer;\n\n InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"public class Main {\n // static int INF = (1 << 30) - 1;\n // static long L_INF = (1L << 62) - 1;\n // static long MOD = (long) 1e9 + 7;\n\n static class Solver {\n int A, B, C, D;\n // int[] A;\n\n // write your code\n void solve(InputReader in, PrintWriter out) {\n A = in.nextInt();\n B = in.nextInt();\n C = in.nextInt();\n D = in.nextInt();\n\n boolean win = false;\n while (true) {\n C = C - B;\n if (C <= 0) {\n win = true;\n break;\n }\n A = A - D;\n if (A <= 0) {\n win = false;\n break;\n }\n }\n\n if (win) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n }\n\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Solver solver = new Solver();\n solver.solve(in, out);\n out.close();\n }\n\n static class InputReader {\n BufferedReader reader;\n StringTokenizer tokenizer;\n\n InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.*;
import java.awt.Point;
public class Main {
// static int INF = (1 << 30) - 1;
// static long L_INF = (1L << 62) - 1;
// static long MOD = (long) 1e9 + 7;
static class Solver {
int A, B, C, D;
// int[] A;
// write your code
void solve(InputReader in, PrintWriter out) {
A = in.nextInt();
B = in.nextInt();
C = in.nextInt();
D = in.nextInt();
boolean win = false;
while (true) {
C = C - B;
if (C <= 0) {
win = true;
break;
}
A = A - D;
if (A <= 0) {
win = false;
break;
}
}
if (win) {
out.println("Yes");
} else {
out.println("No");
}
}
void debug(Object... os) {
System.err.println(Arrays.deepToString(os));
}
}
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
Solver solver = new Solver();
solver.solve(in, out);
out.close();
}
static class InputReader {
BufferedReader reader;
StringTokenizer tokenizer;
InputReader(InputStream stream) {
reader = new BufferedReader(new InputStreamReader(stream), 32768);
tokenizer = null;
}
String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
13,
14,
2,
13,
17,
30,
0,
13,
13,
30,
4,
18,
18,
13,
13,
17,
29,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
69,
5
],
[
69,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
52,
59
],
[
8,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n int c = scan.nextInt();\n int d = scan.nextInt();\n while (a > 0 && c>0){\n c-=b;\n if(c > 0){\n a-=d;\n }else{\n System.out.println(\"Yes\");\n return;\n }\n }\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 Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n int c = scan.nextInt();\n int d = scan.nextInt();\n while (a > 0 && c>0){\n c-=b;\n if(c > 0){\n a-=d;\n }else{\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n int c = scan.nextInt();\n int d = scan.nextInt();\n while (a > 0 && c>0){\n c-=b;\n if(c > 0){\n a-=d;\n }else{\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n int c = scan.nextInt();\n int d = scan.nextInt();\n while (a > 0 && c>0){\n c-=b;\n if(c > 0){\n a-=d;\n }else{\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int b = scan.nextInt();",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int c = scan.nextInt();",
"c",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int d = scan.nextInt();",
"d",
"scan.nextInt()",
"scan.nextInt",
"scan",
"while (a > 0 && c>0){\n c-=b;\n if(c > 0){\n a-=d;\n }else{\n System.out.println(\"Yes\");\n return;\n }\n }",
"a > 0 && c>0",
"a > 0",
"a",
"0",
"c>0",
"c",
"0",
"{\n c-=b;\n if(c > 0){\n a-=d;\n }else{\n System.out.println(\"Yes\");\n return;\n }\n }",
"c-=b",
"c",
"b",
"if(c > 0){\n a-=d;\n }else{\n System.out.println(\"Yes\");\n return;\n }",
"c > 0",
"c",
"0",
"{\n a-=d;\n }",
"a-=d",
"a",
"d",
"{\n System.out.println(\"Yes\");\n return;\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"return;",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n int c = scan.nextInt();\n int d = scan.nextInt();\n while (a > 0 && c>0){\n c-=b;\n if(c > 0){\n a-=d;\n }else{\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n int c = scan.nextInt();\n int d = scan.nextInt();\n while (a > 0 && c>0){\n c-=b;\n if(c > 0){\n a-=d;\n }else{\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int c = scan.nextInt();
int d = scan.nextInt();
while (a > 0 && c>0){
c-=b;
if(c > 0){
a-=d;
}else{
System.out.println("Yes");
return;
}
}
System.out.println("No");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
2,
13,
13,
17,
13,
41,
13,
2,
2,
2,
13,
13,
17,
13,
41,
13,
8,
2,
13,
13,
17,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
67,
5
],
[
67,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
34,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
43,
49
],
[
8,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
52,
57
],
[
8,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t//入力表示\n\t\tint A = scanner.nextInt();\n\t\tint B = scanner.nextInt();\n\t\tint C = scanner.nextInt();\n\t\tint D = scanner.nextInt();\n\n\t\tint X = (A + D - 1) / D;\n\t\tint Y = (C + B - 1) / B;\n\n\t\tString ans= X >= Y ? \"Yes\" : \"No\";\n\t\tSystem.out.println(ans);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t//入力表示\n\t\tint A = scanner.nextInt();\n\t\tint B = scanner.nextInt();\n\t\tint C = scanner.nextInt();\n\t\tint D = scanner.nextInt();\n\n\t\tint X = (A + D - 1) / D;\n\t\tint Y = (C + B - 1) / B;\n\n\t\tString ans= X >= Y ? \"Yes\" : \"No\";\n\t\tSystem.out.println(ans);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t//入力表示\n\t\tint A = scanner.nextInt();\n\t\tint B = scanner.nextInt();\n\t\tint C = scanner.nextInt();\n\t\tint D = scanner.nextInt();\n\n\t\tint X = (A + D - 1) / D;\n\t\tint Y = (C + B - 1) / B;\n\n\t\tString ans= X >= Y ? \"Yes\" : \"No\";\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t//入力表示\n\t\tint A = scanner.nextInt();\n\t\tint B = scanner.nextInt();\n\t\tint C = scanner.nextInt();\n\t\tint D = scanner.nextInt();\n\n\t\tint X = (A + D - 1) / D;\n\t\tint Y = (C + B - 1) / B;\n\n\t\tString ans= X >= Y ? \"Yes\" : \"No\";\n\t\tSystem.out.println(ans);\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int A = scanner.nextInt();",
"A",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int B = scanner.nextInt();",
"B",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int C = scanner.nextInt();",
"C",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int D = scanner.nextInt();",
"D",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int X = (A + D - 1) / D;",
"X",
"(A + D - 1) / D",
"(A + D - 1)",
"A + D",
"A",
"D",
"1",
"D",
"int Y = (C + B - 1) / B;",
"Y",
"(C + B - 1) / B",
"(C + B - 1)",
"C + B",
"C",
"B",
"1",
"B",
"String ans= X >= Y ? \"Yes\" : \"No\";",
"ans",
"X >= Y ? \"Yes\" : \"No\"",
"X >= Y",
"X",
"Y",
"\"Yes\"",
"\"No\"",
"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 自動生成されたメソッド・スタブ\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t//入力表示\n\t\tint A = scanner.nextInt();\n\t\tint B = scanner.nextInt();\n\t\tint C = scanner.nextInt();\n\t\tint D = scanner.nextInt();\n\n\t\tint X = (A + D - 1) / D;\n\t\tint Y = (C + B - 1) / B;\n\n\t\tString ans= X >= Y ? \"Yes\" : \"No\";\n\t\tSystem.out.println(ans);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t//入力表示\n\t\tint A = scanner.nextInt();\n\t\tint B = scanner.nextInt();\n\t\tint C = scanner.nextInt();\n\t\tint D = scanner.nextInt();\n\n\t\tint X = (A + D - 1) / D;\n\t\tint Y = (C + B - 1) / B;\n\n\t\tString ans= X >= Y ? \"Yes\" : \"No\";\n\t\tSystem.out.println(ans);\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner scanner = new Scanner(System.in);
//入力表示
int A = scanner.nextInt();
int B = scanner.nextInt();
int C = scanner.nextInt();
int D = scanner.nextInt();
int X = (A + D - 1) / D;
int Y = (C + B - 1) / B;
String ans= X >= Y ? "Yes" : "No";
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
42,
17,
30,
0,
13,
17,
0,
13,
13,
14,
2,
13,
17,
30,
0,
13,
17,
3,
0,
13,
13,
14,
2,
13,
17,
30,
3,
14,
40,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
82,
5
],
[
82,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
37,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
37,
53
],
[
53,
54
],
[
53,
55
],
[
37,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
62,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
6,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] |
[
"\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int tLife = sc.nextInt();\n int tAttackk = sc.nextInt();\n int aLife = sc.nextInt();\n int aAttack = sc.nextInt();\n boolean flg = false;\n\n while (true) {\n \tflg = false;\n \taLife -= tAttackk;\n\t\t\tif(aLife <= 0) {\n\t\t\t\tflg = true;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\ttLife -= aAttack;\n\t\t\tif(tLife <= 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n if(!flg) {\n \tSystem.out.println(\"No\");\n }else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\t}\n}\n",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int tLife = sc.nextInt();\n int tAttackk = sc.nextInt();\n int aLife = sc.nextInt();\n int aAttack = sc.nextInt();\n boolean flg = false;\n\n while (true) {\n \tflg = false;\n \taLife -= tAttackk;\n\t\t\tif(aLife <= 0) {\n\t\t\t\tflg = true;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\ttLife -= aAttack;\n\t\t\tif(tLife <= 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n if(!flg) {\n \tSystem.out.println(\"No\");\n }else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\t}\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int tLife = sc.nextInt();\n int tAttackk = sc.nextInt();\n int aLife = sc.nextInt();\n int aAttack = sc.nextInt();\n boolean flg = false;\n\n while (true) {\n \tflg = false;\n \taLife -= tAttackk;\n\t\t\tif(aLife <= 0) {\n\t\t\t\tflg = true;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\ttLife -= aAttack;\n\t\t\tif(tLife <= 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n if(!flg) {\n \tSystem.out.println(\"No\");\n }else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\t}",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int tLife = sc.nextInt();\n int tAttackk = sc.nextInt();\n int aLife = sc.nextInt();\n int aAttack = sc.nextInt();\n boolean flg = false;\n\n while (true) {\n \tflg = false;\n \taLife -= tAttackk;\n\t\t\tif(aLife <= 0) {\n\t\t\t\tflg = true;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\ttLife -= aAttack;\n\t\t\tif(tLife <= 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n if(!flg) {\n \tSystem.out.println(\"No\");\n }else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int tLife = sc.nextInt();",
"tLife",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int tAttackk = sc.nextInt();",
"tAttackk",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int aLife = sc.nextInt();",
"aLife",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int aAttack = sc.nextInt();",
"aAttack",
"sc.nextInt()",
"sc.nextInt",
"sc",
"boolean flg = false;",
"flg",
"false",
"while (true) {\n \tflg = false;\n \taLife -= tAttackk;\n\t\t\tif(aLife <= 0) {\n\t\t\t\tflg = true;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\ttLife -= aAttack;\n\t\t\tif(tLife <= 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}",
"true",
"{\n \tflg = false;\n \taLife -= tAttackk;\n\t\t\tif(aLife <= 0) {\n\t\t\t\tflg = true;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\ttLife -= aAttack;\n\t\t\tif(tLife <= 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}",
"flg = false",
"flg",
"false",
"aLife -= tAttackk",
"aLife",
"tAttackk",
"if(aLife <= 0) {\n\t\t\t\tflg = true;\n\t\t\t\tbreak;\n\t\t\t}",
"aLife <= 0",
"aLife",
"0",
"{\n\t\t\t\tflg = true;\n\t\t\t\tbreak;\n\t\t\t}",
"flg = true",
"flg",
"true",
"break;",
"tLife -= aAttack",
"tLife",
"aAttack",
"if(tLife <= 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"tLife <= 0",
"tLife",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if(!flg) {\n \tSystem.out.println(\"No\");\n }else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}",
"!flg",
"flg",
"{\n \tSystem.out.println(\"No\");\n }",
"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",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int tLife = sc.nextInt();\n int tAttackk = sc.nextInt();\n int aLife = sc.nextInt();\n int aAttack = sc.nextInt();\n boolean flg = false;\n\n while (true) {\n \tflg = false;\n \taLife -= tAttackk;\n\t\t\tif(aLife <= 0) {\n\t\t\t\tflg = true;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\ttLife -= aAttack;\n\t\t\tif(tLife <= 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n if(!flg) {\n \tSystem.out.println(\"No\");\n }else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\t}\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int tLife = sc.nextInt();\n int tAttackk = sc.nextInt();\n int aLife = sc.nextInt();\n int aAttack = sc.nextInt();\n boolean flg = false;\n\n while (true) {\n \tflg = false;\n \taLife -= tAttackk;\n\t\t\tif(aLife <= 0) {\n\t\t\t\tflg = true;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\ttLife -= aAttack;\n\t\t\tif(tLife <= 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n if(!flg) {\n \tSystem.out.println(\"No\");\n }else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\t}\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int tLife = sc.nextInt();
int tAttackk = sc.nextInt();
int aLife = sc.nextInt();
int aAttack = sc.nextInt();
boolean flg = false;
while (true) {
flg = false;
aLife -= tAttackk;
if(aLife <= 0) {
flg = true;
break;
}
tLife -= aAttack;
if(tLife <= 0) {
break;
}
}
if(!flg) {
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,
4,
18,
13,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
0,
13,
13,
14,
2,
13,
17,
3,
0,
13,
13,
4,
18,
18,
13,
13,
8,
2,
13,
17,
17,
17,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
65,
5
],
[
65,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
36,
45
],
[
45,
46
],
[
45,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
53,
58
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
6,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tint c = scan.nextInt();\n\t\tint d = scan.nextInt();\n\ndo {\n\n\tc -= b;\n\tif(c <= 0)break;\n\ta -= d;\n}while(a >0);\n\nSystem.out.println(a>0? \"Yes\" : \"No\");\n\t\tscan.close();\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tint c = scan.nextInt();\n\t\tint d = scan.nextInt();\n\ndo {\n\n\tc -= b;\n\tif(c <= 0)break;\n\ta -= d;\n}while(a >0);\n\nSystem.out.println(a>0? \"Yes\" : \"No\");\n\t\tscan.close();\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tint c = scan.nextInt();\n\t\tint d = scan.nextInt();\n\ndo {\n\n\tc -= b;\n\tif(c <= 0)break;\n\ta -= d;\n}while(a >0);\n\nSystem.out.println(a>0? \"Yes\" : \"No\");\n\t\tscan.close();\n\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tint c = scan.nextInt();\n\t\tint d = scan.nextInt();\n\ndo {\n\n\tc -= b;\n\tif(c <= 0)break;\n\ta -= d;\n}while(a >0);\n\nSystem.out.println(a>0? \"Yes\" : \"No\");\n\t\tscan.close();\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int b = scan.nextInt();",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int c = scan.nextInt();",
"c",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int d = scan.nextInt();",
"d",
"scan.nextInt()",
"scan.nextInt",
"scan",
"do {\n\n\tc -= b;\n\tif(c <= 0)break;\n\ta -= d;\n}while(a >0);",
"a >0",
"a",
"0",
"{\n\n\tc -= b;\n\tif(c <= 0)break;\n\ta -= d;\n}",
"c -= b",
"c",
"b",
"if(c <= 0)break;",
"c <= 0",
"c",
"0",
"break;",
"a -= d",
"a",
"d",
"System.out.println(a>0? \"Yes\" : \"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"a>0? \"Yes\" : \"No\"",
"a>0",
"a",
"0",
"\"Yes\"",
"\"No\"",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tint c = scan.nextInt();\n\t\tint d = scan.nextInt();\n\ndo {\n\n\tc -= b;\n\tif(c <= 0)break;\n\ta -= d;\n}while(a >0);\n\nSystem.out.println(a>0? \"Yes\" : \"No\");\n\t\tscan.close();\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tint c = scan.nextInt();\n\t\tint d = scan.nextInt();\n\ndo {\n\n\tc -= b;\n\tif(c <= 0)break;\n\ta -= d;\n}while(a >0);\n\nSystem.out.println(a>0? \"Yes\" : \"No\");\n\t\tscan.close();\n\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int c = scan.nextInt();
int d = scan.nextInt();
do {
c -= b;
if(c <= 0)break;
a -= d;
}while(a >0);
System.out.println(a>0? "Yes" : "No");
scan.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
42,
13,
30,
0,
13,
13,
14,
2,
13,
17,
3,
0,
13,
13,
14,
2,
13,
17,
3,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
75,
5
],
[
75,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
37,
46
],
[
46,
47
],
[
46,
48
],
[
37,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
54,
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 ) throws Exception {\n Scanner sc = new Scanner(System.in);\n int hpA = sc.nextInt();\n int atkA = sc.nextInt();\n int hpB = sc.nextInt();\n int atkB = sc.nextInt();\n\n boolean turn = true;\n while(turn){\n hpB -= atkA;\n if(hpB <= 0) break;\n hpA -= atkB;\n if(hpA <= 0) break;\n }\n if(hpA > hpB){\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 int hpA = sc.nextInt();\n int atkA = sc.nextInt();\n int hpB = sc.nextInt();\n int atkB = sc.nextInt();\n\n boolean turn = true;\n while(turn){\n hpB -= atkA;\n if(hpB <= 0) break;\n hpA -= atkB;\n if(hpA <= 0) break;\n }\n if(hpA > hpB){\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 int hpA = sc.nextInt();\n int atkA = sc.nextInt();\n int hpB = sc.nextInt();\n int atkB = sc.nextInt();\n\n boolean turn = true;\n while(turn){\n hpB -= atkA;\n if(hpB <= 0) break;\n hpA -= atkB;\n if(hpA <= 0) break;\n }\n if(hpA > hpB){\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int hpA = sc.nextInt();\n int atkA = sc.nextInt();\n int hpB = sc.nextInt();\n int atkB = sc.nextInt();\n\n boolean turn = true;\n while(turn){\n hpB -= atkA;\n if(hpB <= 0) break;\n hpA -= atkB;\n if(hpA <= 0) break;\n }\n if(hpA > hpB){\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)",
"int hpA = sc.nextInt();",
"hpA",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int atkA = sc.nextInt();",
"atkA",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int hpB = sc.nextInt();",
"hpB",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int atkB = sc.nextInt();",
"atkB",
"sc.nextInt()",
"sc.nextInt",
"sc",
"boolean turn = true;",
"turn",
"true",
"while(turn){\n hpB -= atkA;\n if(hpB <= 0) break;\n hpA -= atkB;\n if(hpA <= 0) break;\n }",
"turn",
"{\n hpB -= atkA;\n if(hpB <= 0) break;\n hpA -= atkB;\n if(hpA <= 0) break;\n }",
"hpB -= atkA",
"hpB",
"atkA",
"if(hpB <= 0) break;",
"hpB <= 0",
"hpB",
"0",
"break;",
"hpA -= atkB",
"hpA",
"atkB",
"if(hpA <= 0) break;",
"hpA <= 0",
"hpA",
"0",
"break;",
"if(hpA > hpB){\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }",
"hpA > hpB",
"hpA",
"hpB",
"{\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 int hpA = sc.nextInt();\n int atkA = sc.nextInt();\n int hpB = sc.nextInt();\n int atkB = sc.nextInt();\n\n boolean turn = true;\n while(turn){\n hpB -= atkA;\n if(hpB <= 0) break;\n hpA -= atkB;\n if(hpA <= 0) break;\n }\n if(hpA > hpB){\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 int hpA = sc.nextInt();\n int atkA = sc.nextInt();\n int hpB = sc.nextInt();\n int atkB = sc.nextInt();\n\n boolean turn = true;\n while(turn){\n hpB -= atkA;\n if(hpB <= 0) break;\n hpA -= atkB;\n if(hpA <= 0) break;\n }\n if(hpA > hpB){\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);
int hpA = sc.nextInt();
int atkA = sc.nextInt();
int hpB = sc.nextInt();
int atkB = sc.nextInt();
boolean turn = true;
while(turn){
hpB -= atkA;
if(hpB <= 0) break;
hpA -= atkB;
if(hpA <= 0) break;
}
if(hpA > hpB){
System.out.println("Yes");
} else {
System.out.println("No");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
42,
17,
30,
0,
13,
2,
13,
13,
14,
2,
13,
17,
30,
0,
13,
17,
3,
0,
13,
2,
13,
13,
14,
2,
13,
17,
30,
3,
14,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
82,
5
],
[
82,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
37,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
37,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
37,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
8,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
63,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
6,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int D = sc.nextInt();\n \n boolean flg = false;\n while (true) {\n \n C = C - B;\n if (C <= 0) {\n flg = true;\n break;\n }\n \n A = A - D;\n if (A <= 0) {\n break;\n } \n }\n \n if (flg) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int D = sc.nextInt();\n \n boolean flg = false;\n while (true) {\n \n C = C - B;\n if (C <= 0) {\n flg = true;\n break;\n }\n \n A = A - D;\n if (A <= 0) {\n break;\n } \n }\n \n if (flg) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n \n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int D = sc.nextInt();\n \n boolean flg = false;\n while (true) {\n \n C = C - B;\n if (C <= 0) {\n flg = true;\n break;\n }\n \n A = A - D;\n if (A <= 0) {\n break;\n } \n }\n \n if (flg) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n \n }",
"main",
"{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int D = sc.nextInt();\n \n boolean flg = false;\n while (true) {\n \n C = C - B;\n if (C <= 0) {\n flg = true;\n break;\n }\n \n A = A - D;\n if (A <= 0) {\n break;\n } \n }\n \n if (flg) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int A = sc.nextInt();",
"A",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int B = sc.nextInt();",
"B",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int C = sc.nextInt();",
"C",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int D = sc.nextInt();",
"D",
"sc.nextInt()",
"sc.nextInt",
"sc",
"boolean flg = false;",
"flg",
"false",
"while (true) {\n \n C = C - B;\n if (C <= 0) {\n flg = true;\n break;\n }\n \n A = A - D;\n if (A <= 0) {\n break;\n } \n }",
"true",
"{\n \n C = C - B;\n if (C <= 0) {\n flg = true;\n break;\n }\n \n A = A - D;\n if (A <= 0) {\n break;\n } \n }",
"C = C - B",
"C",
"C - B",
"C",
"B",
"if (C <= 0) {\n flg = true;\n break;\n }",
"C <= 0",
"C",
"0",
"{\n flg = true;\n break;\n }",
"flg = true",
"flg",
"true",
"break;",
"A = A - D",
"A",
"A - D",
"A",
"D",
"if (A <= 0) {\n break;\n }",
"A <= 0",
"A",
"0",
"{\n break;\n }",
"break;",
"if (flg) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }",
"flg",
"{\n System.out.println(\"Yes\");\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int D = sc.nextInt();\n \n boolean flg = false;\n while (true) {\n \n C = C - B;\n if (C <= 0) {\n flg = true;\n break;\n }\n \n A = A - D;\n if (A <= 0) {\n break;\n } \n }\n \n if (flg) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n \n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int D = sc.nextInt();\n \n boolean flg = false;\n while (true) {\n \n C = C - B;\n if (C <= 0) {\n flg = true;\n break;\n }\n \n A = A - D;\n if (A <= 0) {\n break;\n } \n }\n \n if (flg) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n \n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner sc = new Scanner(System.in);
int A = sc.nextInt();
int B = sc.nextInt();
int C = sc.nextInt();
int D = sc.nextInt();
boolean flg = false;
while (true) {
C = C - B;
if (C <= 0) {
flg = true;
break;
}
A = A - D;
if (A <= 0) {
break;
}
}
if (flg) {
System.out.println("Yes");
} else {
System.out.println("No");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
13,
8,
2,
2,
13,
13,
17,
17,
17,
41,
13,
2,
2,
13,
13,
8,
2,
2,
13,
13,
17,
17,
17,
4,
18,
18,
13,
13,
8,
2,
13,
13,
17,
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
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
10,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
10,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
10,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
10,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
40,
46
],
[
40,
47
],
[
10,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
54,
60
],
[
54,
61
],
[
10,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
67,
72
],
[
6,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint c = sc.nextInt();\n\t\t\tint d = sc.nextInt();\n\t\t\t\n\t\t\tint countT = c / b + (c % b > 0 ? 1 : 0);\n\t\t\tint countA = a / d + (a % d > 0 ? 1 : 0);\n\t\t\t\n\t\t\tSystem.out.println(countA < countT ? \"No\" : \"Yes\"); \n\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\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint c = sc.nextInt();\n\t\t\tint d = sc.nextInt();\n\t\t\t\n\t\t\tint countT = c / b + (c % b > 0 ? 1 : 0);\n\t\t\tint countA = a / d + (a % d > 0 ? 1 : 0);\n\t\t\t\n\t\t\tSystem.out.println(countA < countT ? \"No\" : \"Yes\"); \n\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint c = sc.nextInt();\n\t\t\tint d = sc.nextInt();\n\t\t\t\n\t\t\tint countT = c / b + (c % b > 0 ? 1 : 0);\n\t\t\tint countA = a / d + (a % d > 0 ? 1 : 0);\n\t\t\t\n\t\t\tSystem.out.println(countA < countT ? \"No\" : \"Yes\"); \n\n\t\t}\n\t}",
"main",
"{\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint c = sc.nextInt();\n\t\t\tint d = sc.nextInt();\n\t\t\t\n\t\t\tint countT = c / b + (c % b > 0 ? 1 : 0);\n\t\t\tint countA = a / d + (a % d > 0 ? 1 : 0);\n\t\t\t\n\t\t\tSystem.out.println(countA < countT ? \"No\" : \"Yes\"); \n\n\t\t}\n\t}",
"try(Scanner sc = new Scanner(System.in)) {\n\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint c = sc.nextInt();\n\t\t\tint d = sc.nextInt();\n\t\t\t\n\t\t\tint countT = c / b + (c % b > 0 ? 1 : 0);\n\t\t\tint countA = a / d + (a % d > 0 ? 1 : 0);\n\t\t\t\n\t\t\tSystem.out.println(countA < countT ? \"No\" : \"Yes\"); \n\n\t\t}",
"{\n\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint c = sc.nextInt();\n\t\t\tint d = sc.nextInt();\n\t\t\t\n\t\t\tint countT = c / b + (c % b > 0 ? 1 : 0);\n\t\t\tint countA = a / d + (a % d > 0 ? 1 : 0);\n\t\t\t\n\t\t\tSystem.out.println(countA < countT ? \"No\" : \"Yes\"); \n\n\t\t}",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int countT = c / b + (c % b > 0 ? 1 : 0);",
"countT",
"c / b + (c % b > 0 ? 1 : 0)",
"c / b",
"c",
"b",
"(c % b > 0 ? 1 : 0)",
"c % b > 0",
"c % b",
"c",
"b",
"0",
"1",
"0",
"int countA = a / d + (a % d > 0 ? 1 : 0);",
"countA",
"a / d + (a % d > 0 ? 1 : 0)",
"a / d",
"a",
"d",
"(a % d > 0 ? 1 : 0)",
"a % d > 0",
"a % d",
"a",
"d",
"0",
"1",
"0",
"System.out.println(countA < countT ? \"No\" : \"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"countA < countT ? \"No\" : \"Yes\"",
"countA < countT",
"countA",
"countT",
"\"No\"",
"\"Yes\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint c = sc.nextInt();\n\t\t\tint d = sc.nextInt();\n\t\t\t\n\t\t\tint countT = c / b + (c % b > 0 ? 1 : 0);\n\t\t\tint countA = a / d + (a % d > 0 ? 1 : 0);\n\t\t\t\n\t\t\tSystem.out.println(countA < countT ? \"No\" : \"Yes\"); \n\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\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint c = sc.nextInt();\n\t\t\tint d = sc.nextInt();\n\t\t\t\n\t\t\tint countT = c / b + (c % b > 0 ? 1 : 0);\n\t\t\tint countA = a / d + (a % d > 0 ? 1 : 0);\n\t\t\t\n\t\t\tSystem.out.println(countA < countT ? \"No\" : \"Yes\"); \n\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)) {
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int d = sc.nextInt();
int countT = c / b + (c % b > 0 ? 1 : 0);
int countA = a / d + (a % d > 0 ? 1 : 0);
System.out.println(countA < countT ? "No" : "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,
4,
18,
13,
41,
13,
4,
18,
13,
42,
17,
30,
0,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
3,
0,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
3,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
68,
5
],
[
68,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
42,
49
],
[
34,
50
],
[
50,
51
],
[
50,
52
],
[
34,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
57,
64
],
[
6,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] |
[
"import java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int takahashi_hp = sc.nextInt();\n int takahashi_att = sc.nextInt();\n int aoki_hp = sc.nextInt();\n int aoki_att = sc.nextInt();\n while (true) {\n aoki_hp -= takahashi_att;\n if (aoki_hp <= 0) {\n System.out.println(\"Yes\");\n break;\n }\n takahashi_hp -= aoki_att;\n if (takahashi_hp <= 0) {\n System.out.println(\"No\");\n break;\n }\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int takahashi_hp = sc.nextInt();\n int takahashi_att = sc.nextInt();\n int aoki_hp = sc.nextInt();\n int aoki_att = sc.nextInt();\n while (true) {\n aoki_hp -= takahashi_att;\n if (aoki_hp <= 0) {\n System.out.println(\"Yes\");\n break;\n }\n takahashi_hp -= aoki_att;\n if (takahashi_hp <= 0) {\n System.out.println(\"No\");\n break;\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int takahashi_hp = sc.nextInt();\n int takahashi_att = sc.nextInt();\n int aoki_hp = sc.nextInt();\n int aoki_att = sc.nextInt();\n while (true) {\n aoki_hp -= takahashi_att;\n if (aoki_hp <= 0) {\n System.out.println(\"Yes\");\n break;\n }\n takahashi_hp -= aoki_att;\n if (takahashi_hp <= 0) {\n System.out.println(\"No\");\n break;\n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int takahashi_hp = sc.nextInt();\n int takahashi_att = sc.nextInt();\n int aoki_hp = sc.nextInt();\n int aoki_att = sc.nextInt();\n while (true) {\n aoki_hp -= takahashi_att;\n if (aoki_hp <= 0) {\n System.out.println(\"Yes\");\n break;\n }\n takahashi_hp -= aoki_att;\n if (takahashi_hp <= 0) {\n System.out.println(\"No\");\n break;\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int takahashi_hp = sc.nextInt();",
"takahashi_hp",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int takahashi_att = sc.nextInt();",
"takahashi_att",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int aoki_hp = sc.nextInt();",
"aoki_hp",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int aoki_att = sc.nextInt();",
"aoki_att",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while (true) {\n aoki_hp -= takahashi_att;\n if (aoki_hp <= 0) {\n System.out.println(\"Yes\");\n break;\n }\n takahashi_hp -= aoki_att;\n if (takahashi_hp <= 0) {\n System.out.println(\"No\");\n break;\n }\n }",
"true",
"{\n aoki_hp -= takahashi_att;\n if (aoki_hp <= 0) {\n System.out.println(\"Yes\");\n break;\n }\n takahashi_hp -= aoki_att;\n if (takahashi_hp <= 0) {\n System.out.println(\"No\");\n break;\n }\n }",
"aoki_hp -= takahashi_att",
"aoki_hp",
"takahashi_att",
"if (aoki_hp <= 0) {\n System.out.println(\"Yes\");\n break;\n }",
"aoki_hp <= 0",
"aoki_hp",
"0",
"{\n System.out.println(\"Yes\");\n break;\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"break;",
"takahashi_hp -= aoki_att",
"takahashi_hp",
"aoki_att",
"if (takahashi_hp <= 0) {\n System.out.println(\"No\");\n break;\n }",
"takahashi_hp <= 0",
"takahashi_hp",
"0",
"{\n System.out.println(\"No\");\n break;\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"break;",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int takahashi_hp = sc.nextInt();\n int takahashi_att = sc.nextInt();\n int aoki_hp = sc.nextInt();\n int aoki_att = sc.nextInt();\n while (true) {\n aoki_hp -= takahashi_att;\n if (aoki_hp <= 0) {\n System.out.println(\"Yes\");\n break;\n }\n takahashi_hp -= aoki_att;\n if (takahashi_hp <= 0) {\n System.out.println(\"No\");\n break;\n }\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int takahashi_hp = sc.nextInt();\n int takahashi_att = sc.nextInt();\n int aoki_hp = sc.nextInt();\n int aoki_att = sc.nextInt();\n while (true) {\n aoki_hp -= takahashi_att;\n if (aoki_hp <= 0) {\n System.out.println(\"Yes\");\n break;\n }\n takahashi_hp -= aoki_att;\n if (takahashi_hp <= 0) {\n System.out.println(\"No\");\n break;\n }\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int takahashi_hp = sc.nextInt();
int takahashi_att = sc.nextInt();
int aoki_hp = sc.nextInt();
int aoki_att = sc.nextInt();
while (true) {
aoki_hp -= takahashi_att;
if (aoki_hp <= 0) {
System.out.println("Yes");
break;
}
takahashi_hp -= aoki_att;
if (takahashi_hp <= 0) {
System.out.println("No");
break;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
4,
18,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
14,
2,
13,
13,
30,
0,
13,
2,
13,
17,
41,
13,
2,
13,
13,
14,
2,
13,
13,
30,
0,
13,
2,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
27,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
47,
52
],
[
41,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
41,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
66,
68
],
[
41,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
74,
75
],
[
74,
76
],
[
41,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
82,
83
],
[
82,
84
],
[
41,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
87,
89
],
[
41,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
97,
99
],
[
41,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
102,
104
],
[
41,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
112,
114
],
[
41,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
120,
125
],
[
115,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
127,
132
],
[
24,
133
],
[
133,
134
],
[
22,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
137,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
141,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
148,
150
],
[
141,
151
],
[
151,
152
],
[
152,
153
],
[
141,
154
],
[
155,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
159,
160
],
[
158,
161
],
[
161,
162
],
[
161,
163
],
[
155,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
166,
168
],
[
155,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
169,
173
],
[
173,
174
],
[
173,
175
],
[
155,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
176,
180
],
[
135,
181
],
[
181,
182
]
] |
[
"import javax.swing.text.html.HTMLDocument;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.math.BigInteger;\nimport java.nio.Buffer;\nimport java.util.*;\n\nclass Main {\n public static void main(String[] args){\n try {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String[] ss=br.readLine().split(\" \");\n int h1=Integer.parseInt(ss[0]);\n int s1=Integer.parseInt(ss[1]);\n int h2=Integer.parseInt(ss[2]);\n int s2=Integer.parseInt(ss[3]);\n double d=(h2/(double)s1);\n if(d!=(int)d){\n d=(int)d + 1;\n }\n double e=(h1/(double)s2);\n if(e!=(int)e){\n e=(int)e+1;\n }\n if(d<=e){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n } catch (Exception e) {\n System.out.println(\"kkkk \"+ e.getMessage());\n }\n }\n static void shuffle(int[] a) {\n Random get = new Random();\n for (int i = 0; i < a.length; i++) {\n int r = get.nextInt(a.length);\n int temp = a[i];\n a[i] = a[r];\n a[r] = temp;\n }\n }\n}",
"import javax.swing.text.html.HTMLDocument;",
"HTMLDocument",
"javax.swing.text.html",
"import java.io.BufferedReader;",
"BufferedReader",
"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.nio.Buffer;",
"Buffer",
"java.nio",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args){\n try {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String[] ss=br.readLine().split(\" \");\n int h1=Integer.parseInt(ss[0]);\n int s1=Integer.parseInt(ss[1]);\n int h2=Integer.parseInt(ss[2]);\n int s2=Integer.parseInt(ss[3]);\n double d=(h2/(double)s1);\n if(d!=(int)d){\n d=(int)d + 1;\n }\n double e=(h1/(double)s2);\n if(e!=(int)e){\n e=(int)e+1;\n }\n if(d<=e){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n } catch (Exception e) {\n System.out.println(\"kkkk \"+ e.getMessage());\n }\n }\n static void shuffle(int[] a) {\n Random get = new Random();\n for (int i = 0; i < a.length; i++) {\n int r = get.nextInt(a.length);\n int temp = a[i];\n a[i] = a[r];\n a[r] = temp;\n }\n }\n}",
"Main",
"public static void main(String[] args){\n try {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String[] ss=br.readLine().split(\" \");\n int h1=Integer.parseInt(ss[0]);\n int s1=Integer.parseInt(ss[1]);\n int h2=Integer.parseInt(ss[2]);\n int s2=Integer.parseInt(ss[3]);\n double d=(h2/(double)s1);\n if(d!=(int)d){\n d=(int)d + 1;\n }\n double e=(h1/(double)s2);\n if(e!=(int)e){\n e=(int)e+1;\n }\n if(d<=e){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n } catch (Exception e) {\n System.out.println(\"kkkk \"+ e.getMessage());\n }\n }",
"main",
"{\n try {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String[] ss=br.readLine().split(\" \");\n int h1=Integer.parseInt(ss[0]);\n int s1=Integer.parseInt(ss[1]);\n int h2=Integer.parseInt(ss[2]);\n int s2=Integer.parseInt(ss[3]);\n double d=(h2/(double)s1);\n if(d!=(int)d){\n d=(int)d + 1;\n }\n double e=(h1/(double)s2);\n if(e!=(int)e){\n e=(int)e+1;\n }\n if(d<=e){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n } catch (Exception e) {\n System.out.println(\"kkkk \"+ e.getMessage());\n }\n }",
"try {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String[] ss=br.readLine().split(\" \");\n int h1=Integer.parseInt(ss[0]);\n int s1=Integer.parseInt(ss[1]);\n int h2=Integer.parseInt(ss[2]);\n int s2=Integer.parseInt(ss[3]);\n double d=(h2/(double)s1);\n if(d!=(int)d){\n d=(int)d + 1;\n }\n double e=(h1/(double)s2);\n if(e!=(int)e){\n e=(int)e+1;\n }\n if(d<=e){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n } catch (Exception e) {\n System.out.println(\"kkkk \"+ e.getMessage());\n }",
"catch (Exception e) {\n System.out.println(\"kkkk \"+ e.getMessage());\n }",
"Exception e",
"{\n System.out.println(\"kkkk \"+ e.getMessage());\n }",
"System.out.println(\"kkkk \"+ e.getMessage())",
"System.out.println",
"System.out",
"System",
"System.out",
"\"kkkk \"+ e.getMessage()",
"\"kkkk \"",
"e.getMessage()",
"e.getMessage",
"e",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String[] ss=br.readLine().split(\" \");\n int h1=Integer.parseInt(ss[0]);\n int s1=Integer.parseInt(ss[1]);\n int h2=Integer.parseInt(ss[2]);\n int s2=Integer.parseInt(ss[3]);\n double d=(h2/(double)s1);\n if(d!=(int)d){\n d=(int)d + 1;\n }\n double e=(h1/(double)s2);\n if(e!=(int)e){\n e=(int)e+1;\n }\n if(d<=e){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] ss=br.readLine().split(\" \");",
"ss",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int h1=Integer.parseInt(ss[0]);",
"h1",
"Integer.parseInt(ss[0])",
"Integer.parseInt",
"Integer",
"ss[0]",
"ss",
"0",
"int s1=Integer.parseInt(ss[1]);",
"s1",
"Integer.parseInt(ss[1])",
"Integer.parseInt",
"Integer",
"ss[1]",
"ss",
"1",
"int h2=Integer.parseInt(ss[2]);",
"h2",
"Integer.parseInt(ss[2])",
"Integer.parseInt",
"Integer",
"ss[2]",
"ss",
"2",
"int s2=Integer.parseInt(ss[3]);",
"s2",
"Integer.parseInt(ss[3])",
"Integer.parseInt",
"Integer",
"ss[3]",
"ss",
"3",
"double d=(h2/(double)s1);",
"d",
"(h2/(double)s1)",
"h2",
"(double)s1",
"if(d!=(int)d){\n d=(int)d + 1;\n }",
"d!=(int)d",
"d",
"(int)d",
"{\n d=(int)d + 1;\n }",
"d=(int)d + 1",
"d",
"(int)d + 1",
"(int)d",
"1",
"double e=(h1/(double)s2);",
"e",
"(h1/(double)s2)",
"h1",
"(double)s2",
"if(e!=(int)e){\n e=(int)e+1;\n }",
"e!=(int)e",
"e",
"(int)e",
"{\n e=(int)e+1;\n }",
"e=(int)e+1",
"e",
"(int)e+1",
"(int)e",
"1",
"if(d<=e){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }",
"d<=e",
"d",
"e",
"{\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 void shuffle(int[] a) {\n Random get = new Random();\n for (int i = 0; i < a.length; i++) {\n int r = get.nextInt(a.length);\n int temp = a[i];\n a[i] = a[r];\n a[r] = temp;\n }\n }",
"shuffle",
"{\n Random get = new Random();\n for (int i = 0; i < a.length; i++) {\n int r = get.nextInt(a.length);\n int temp = a[i];\n a[i] = a[r];\n a[r] = temp;\n }\n }",
"Random get = new Random();",
"get",
"new Random()",
"for (int i = 0; i < a.length; i++) {\n int r = get.nextInt(a.length);\n int temp = a[i];\n a[i] = a[r];\n a[r] = temp;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n int r = get.nextInt(a.length);\n int temp = a[i];\n a[i] = a[r];\n a[r] = temp;\n }",
"{\n int r = get.nextInt(a.length);\n int temp = a[i];\n a[i] = a[r];\n a[r] = temp;\n }",
"int r = get.nextInt(a.length);",
"r",
"get.nextInt(a.length)",
"get.nextInt",
"get",
"a.length",
"a",
"a.length",
"int temp = a[i];",
"temp",
"a[i]",
"a",
"i",
"a[i] = a[r]",
"a[i]",
"a",
"i",
"a[r]",
"a",
"r",
"a[r] = temp",
"a[r]",
"a",
"r",
"temp",
"int[] a",
"a"
] |
import javax.swing.text.html.HTMLDocument;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.math.BigInteger;
import java.nio.Buffer;
import java.util.*;
class Main {
public static void main(String[] args){
try {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String[] ss=br.readLine().split(" ");
int h1=Integer.parseInt(ss[0]);
int s1=Integer.parseInt(ss[1]);
int h2=Integer.parseInt(ss[2]);
int s2=Integer.parseInt(ss[3]);
double d=(h2/(double)s1);
if(d!=(int)d){
d=(int)d + 1;
}
double e=(h1/(double)s2);
if(e!=(int)e){
e=(int)e+1;
}
if(d<=e){
System.out.println("Yes");
}else{
System.out.println("No");
}
} catch (Exception e) {
System.out.println("kkkk "+ e.getMessage());
}
}
static void shuffle(int[] a) {
Random get = new Random();
for (int i = 0; i < a.length; i++) {
int r = get.nextInt(a.length);
int temp = a[i];
a[i] = a[r];
a[r] = temp;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
42,
17,
30,
0,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
3,
0,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
3,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
88,
5
],
[
88,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
8,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
62,
69
],
[
54,
70
],
[
70,
71
],
[
70,
72
],
[
54,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
77,
84
],
[
6,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n String[] in = s.nextLine().split(\" \");\n int A = Integer.parseInt(in[0]);\n int B = Integer.parseInt(in[1]);\n int C = Integer.parseInt(in[2]);\n int D = Integer.parseInt(in[3]);\n\n while (true) {\n C -= B;\n if (C <= 0) {\n System.out.println(\"Yes\");\n break;\n }\n\n A -= D;\n if (A <= 0) {\n System.out.println(\"No\");\n break;\n }\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n String[] in = s.nextLine().split(\" \");\n int A = Integer.parseInt(in[0]);\n int B = Integer.parseInt(in[1]);\n int C = Integer.parseInt(in[2]);\n int D = Integer.parseInt(in[3]);\n\n while (true) {\n C -= B;\n if (C <= 0) {\n System.out.println(\"Yes\");\n break;\n }\n\n A -= D;\n if (A <= 0) {\n System.out.println(\"No\");\n break;\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n String[] in = s.nextLine().split(\" \");\n int A = Integer.parseInt(in[0]);\n int B = Integer.parseInt(in[1]);\n int C = Integer.parseInt(in[2]);\n int D = Integer.parseInt(in[3]);\n\n while (true) {\n C -= B;\n if (C <= 0) {\n System.out.println(\"Yes\");\n break;\n }\n\n A -= D;\n if (A <= 0) {\n System.out.println(\"No\");\n break;\n }\n }\n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n String[] in = s.nextLine().split(\" \");\n int A = Integer.parseInt(in[0]);\n int B = Integer.parseInt(in[1]);\n int C = Integer.parseInt(in[2]);\n int D = Integer.parseInt(in[3]);\n\n while (true) {\n C -= B;\n if (C <= 0) {\n System.out.println(\"Yes\");\n break;\n }\n\n A -= D;\n if (A <= 0) {\n System.out.println(\"No\");\n break;\n }\n }\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"String[] in = s.nextLine().split(\" \");",
"in",
"s.nextLine().split(\" \")",
"s.nextLine().split",
"s.nextLine()",
"s.nextLine",
"s",
"\" \"",
"int A = Integer.parseInt(in[0]);",
"A",
"Integer.parseInt(in[0])",
"Integer.parseInt",
"Integer",
"in[0]",
"in",
"0",
"int B = Integer.parseInt(in[1]);",
"B",
"Integer.parseInt(in[1])",
"Integer.parseInt",
"Integer",
"in[1]",
"in",
"1",
"int C = Integer.parseInt(in[2]);",
"C",
"Integer.parseInt(in[2])",
"Integer.parseInt",
"Integer",
"in[2]",
"in",
"2",
"int D = Integer.parseInt(in[3]);",
"D",
"Integer.parseInt(in[3])",
"Integer.parseInt",
"Integer",
"in[3]",
"in",
"3",
"while (true) {\n C -= B;\n if (C <= 0) {\n System.out.println(\"Yes\");\n break;\n }\n\n A -= D;\n if (A <= 0) {\n System.out.println(\"No\");\n break;\n }\n }",
"true",
"{\n C -= B;\n if (C <= 0) {\n System.out.println(\"Yes\");\n break;\n }\n\n A -= D;\n if (A <= 0) {\n System.out.println(\"No\");\n break;\n }\n }",
"C -= B",
"C",
"B",
"if (C <= 0) {\n System.out.println(\"Yes\");\n break;\n }",
"C <= 0",
"C",
"0",
"{\n System.out.println(\"Yes\");\n break;\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"break;",
"A -= D",
"A",
"D",
"if (A <= 0) {\n System.out.println(\"No\");\n break;\n }",
"A <= 0",
"A",
"0",
"{\n System.out.println(\"No\");\n break;\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"break;",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n String[] in = s.nextLine().split(\" \");\n int A = Integer.parseInt(in[0]);\n int B = Integer.parseInt(in[1]);\n int C = Integer.parseInt(in[2]);\n int D = Integer.parseInt(in[3]);\n\n while (true) {\n C -= B;\n if (C <= 0) {\n System.out.println(\"Yes\");\n break;\n }\n\n A -= D;\n if (A <= 0) {\n System.out.println(\"No\");\n break;\n }\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n String[] in = s.nextLine().split(\" \");\n int A = Integer.parseInt(in[0]);\n int B = Integer.parseInt(in[1]);\n int C = Integer.parseInt(in[2]);\n int D = Integer.parseInt(in[3]);\n\n while (true) {\n C -= B;\n if (C <= 0) {\n System.out.println(\"Yes\");\n break;\n }\n\n A -= D;\n if (A <= 0) {\n System.out.println(\"No\");\n break;\n }\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
String[] in = s.nextLine().split(" ");
int A = Integer.parseInt(in[0]);
int B = Integer.parseInt(in[1]);
int C = Integer.parseInt(in[2]);
int D = Integer.parseInt(in[3]);
while (true) {
C -= B;
if (C <= 0) {
System.out.println("Yes");
break;
}
A -= D;
if (A <= 0) {
System.out.println("No");
break;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
13,
17,
30,
0,
13,
13,
0,
13,
17,
30,
0,
13,
13,
0,
13,
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
],
[
79,
8
],
[
79,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
11,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
47,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
62,
64
],
[
11,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
70,
75
],
[
9,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] |
[
"import java.util.*;\nimport java.util.stream.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt(),\n b = sc.nextInt(),\n c = sc.nextInt(),\n d = sc.nextInt();\n\n int s = 0;\n while (a > 0 && c > 0) {\n if (s == 0) {\n c -= b;\n s = 1;\n }\n else {\n a -= d;\n s = 0;\n }\n }\n\n System.out.println(a > 0 ? \"Yes\" : \"No\");\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.stream.*;",
"stream.*",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt(),\n b = sc.nextInt(),\n c = sc.nextInt(),\n d = sc.nextInt();\n\n int s = 0;\n while (a > 0 && c > 0) {\n if (s == 0) {\n c -= b;\n s = 1;\n }\n else {\n a -= d;\n s = 0;\n }\n }\n\n System.out.println(a > 0 ? \"Yes\" : \"No\");\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt(),\n b = sc.nextInt(),\n c = sc.nextInt(),\n d = sc.nextInt();\n\n int s = 0;\n while (a > 0 && c > 0) {\n if (s == 0) {\n c -= b;\n s = 1;\n }\n else {\n a -= d;\n s = 0;\n }\n }\n\n System.out.println(a > 0 ? \"Yes\" : \"No\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt(),\n b = sc.nextInt(),\n c = sc.nextInt(),\n d = sc.nextInt();\n\n int s = 0;\n while (a > 0 && c > 0) {\n if (s == 0) {\n c -= b;\n s = 1;\n }\n else {\n a -= d;\n s = 0;\n }\n }\n\n System.out.println(a > 0 ? \"Yes\" : \"No\");\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"c = sc.nextInt()",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int s = 0;",
"s",
"0",
"while (a > 0 && c > 0) {\n if (s == 0) {\n c -= b;\n s = 1;\n }\n else {\n a -= d;\n s = 0;\n }\n }",
"a > 0 && c > 0",
"a > 0",
"a",
"0",
"c > 0",
"c",
"0",
"{\n if (s == 0) {\n c -= b;\n s = 1;\n }\n else {\n a -= d;\n s = 0;\n }\n }",
"if (s == 0) {\n c -= b;\n s = 1;\n }\n else {\n a -= d;\n s = 0;\n }",
"s == 0",
"s",
"0",
"{\n c -= b;\n s = 1;\n }",
"c -= b",
"c",
"b",
"s = 1",
"s",
"1",
"{\n a -= d;\n s = 0;\n }",
"a -= d",
"a",
"d",
"s = 0",
"s",
"0",
"System.out.println(a > 0 ? \"Yes\" : \"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"a > 0 ? \"Yes\" : \"No\"",
"a > 0",
"a",
"0",
"\"Yes\"",
"\"No\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt(),\n b = sc.nextInt(),\n c = sc.nextInt(),\n d = sc.nextInt();\n\n int s = 0;\n while (a > 0 && c > 0) {\n if (s == 0) {\n c -= b;\n s = 1;\n }\n else {\n a -= d;\n s = 0;\n }\n }\n\n System.out.println(a > 0 ? \"Yes\" : \"No\");\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt(),\n b = sc.nextInt(),\n c = sc.nextInt(),\n d = sc.nextInt();\n\n int s = 0;\n while (a > 0 && c > 0) {\n if (s == 0) {\n c -= b;\n s = 1;\n }\n else {\n a -= d;\n s = 0;\n }\n }\n\n System.out.println(a > 0 ? \"Yes\" : \"No\");\n }\n}",
"Main"
] |
import java.util.*;
import java.util.stream.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt(),
b = sc.nextInt(),
c = sc.nextInt(),
d = sc.nextInt();
int s = 0;
while (a > 0 && c > 0) {
if (s == 0) {
c -= b;
s = 1;
}
else {
a -= d;
s = 0;
}
}
System.out.println(a > 0 ? "Yes" : "No");
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.