Problem:
Score : 100 points

Problem Statement

X and A are integers between 0 and 9 (inclusive).

If X is less than A, print 0; if X is not less than A, print 10.

Constraints

0 \leq X, A \leq 9

All values in input are integers.

Input

Input is given from Standard Input in the following format:

X A

Output

If X is less than A, print 0; if X is not less than A, print 10.

Sample Input 1

3 5

Sample Output 1

0

3 is less than 5, so we should print 0.

Sample Input 2

7 5

Sample Output 2

10

7 is not less than 5, so we should print 10.

Sample Input 3

6 6

Sample Output 3

10

6 is not less than 6, so we should print 10.

Solution in Java (OpenJDK 11.0.6) (judge verdict: Runtime Error)

import java.util.*;
 
public class Main {
	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();
        double centx = Math.abs((w / 2) - x);
        double centy = Math.abs((h / 2) - y);
        if(centx == centy && x != w && y != h){
        	if(h - y >= y){
            	System.out.print(y * w + " ");
            }else{
            	System.out.print((h - y) * w + " ");
            }
            System.out.println(1);
        }else{
            if(centx <= centy){
            	if(x >= w - x){
                	System.out.print((w - x) * h + " ");
                }else{
                	System.out.print(x * h + " ");
                }
            }
            System.out.println(0);
        }
	}
}