Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.io.BufferedReader;
- import java.io.IOException;
- import java.io.InputStreamReader;
- import java.util.StringTokenizer;
- public class A_Picky_Eater {
- public static void main(String[] args) throws IOException {
- BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
- String input = reader.readLine();
- StringTokenizer tok = new StringTokenizer(input);
- int x = Integer.parseInt(tok.nextToken()),
- y = Integer.parseInt(tok.nextToken());
- System.out.println(x >= y ? 1 : 0);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement