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 C (GCC 5.4.1) (judge verdict: Wrong Answer)

#include <stdio.h>
 
int main(void){
	int w,h,x,y,cnt_x=0,cnt_y=0,flag=0;
	scanf("%d %d %d %d",&w,&h,&x,&y);
	double x_cut1,x_cut2,y_cut1,y_cut2,min_x_cut=-1,min_y_cut=-1;
 
	x_cut1 = x*h;
	x_cut2 = (w-x)*h;
	if(x_cut1 == x_cut2){
		cnt_x++;
	}
	if(x_cut1 < x_cut2){
		min_x_cut = x_cut1;
	}else{
		min_x_cut = x_cut2;
	}
  
	y_cut1 = y*w;
	y_cut2 = (h-y)*w;
	if(y_cut1 == y_cut2){
		cnt_y++;
	}
	if(y_cut1 < y_cut2){
		min_y_cut = y_cut1;
	}else{
		min_y_cut = y_cut2;
	}
  
	if(cnt_x == cnt_y){
		flag=1;
	}
  
	if(min_x_cut > min_y_cut){
		printf("%.10lf %d\n",min_x_cut,flag);
	}else{
		printf("%.10lf %d\n",min_y_cut,flag);
	}
  
	return 0;
}