Advertisement
Yahya-Ak-Ayoub

A_Picky_Eater

Mar 11th, 2021
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.60 KB | None | 0 0
  1. import java.io.BufferedReader;
  2. import java.io.IOException;
  3. import java.io.InputStreamReader;
  4. import java.util.StringTokenizer;
  5.  
  6. public class A_Picky_Eater {
  7.  
  8.     public static void main(String[] args) throws IOException {
  9.  
  10.         BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
  11.         String input = reader.readLine();
  12.        
  13.         StringTokenizer tok = new StringTokenizer(input);
  14.  
  15.         int x = Integer.parseInt(tok.nextToken()),
  16.                 y = Integer.parseInt(tok.nextToken());
  17.        
  18.         System.out.println(x >= y ? 1 : 0);
  19.      
  20.     }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement