AtCoder Beginner Contest 130 - Rounding

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-----
3 5

-----Sample Output-----
0

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

Difficulty: EASY

Starter code:

Solutions:
(x, a) = map(int, input().split())
if a > x:
	print(0)
else:
	print(10)


(X, A) = input().split()
if X < A:
	print(0)
else:
	print(10)


(x, y) = map(int, input().split())
if x < y:
	print(0)
else:
	print(10)


(X, A) = map(int, input().split())
a = 0
if X >= A:
	a = 10
print(a)


print(0 if eval(input().replace(' ', '<')) else 10)


(X, A) = map(int, input().split())
i = 0 if X < A else 10
print(i)


(X, A) = map(int, input().split())
print((X >= A) * 10)


a = input().split()
if a[0] < a[1]:
	print(0)
else:
	print(10)


num = input()
print('0' if num[0] < num[2] else '10')


(x, a) = (int(_) for _ in input().split())
print(0 if x < a else 10)


(x, a) = input().split()
if x < a:
	print('0')
else:
	print('10')


(x, a) = [int(x) for x in input().split()]
print(10 * (x >= a))


(a, b) = map(int, input().split())
print('100'[a < b::2])


(a, b) = input().split()
if a < b:
	print('0')
else:
	print('10')


(x, a) = map(int, input().split())
if x < a:
	print(0)
elif x >= a:
	print(10)


(X, A) = [int(i) for i in input().split()]
print(0 if A > X else 10)


(x, _, a) = input()
print(10 * (x >= a))


(x, n) = map(int, input().split())
print(0 if x < n else 10)


(x, a) = list(map(int, input().split(' ')))
print([0, 10][x >= a])


(X, A) = [int(x) for x in input().split()]
print('10'[X < A:])


(X, A) = list(map(int, input().split()))
if X < A:
	print('0')
else:
	print('10')


(X, A) = map(int, input().strip().split(' '))
print(0 if X < A else 10)


(x, a) = map(int, input().split())
print('100'[x < a::2])


(x, a) = map(int, input().split())
b = [10, 0]
print(b[x < a])


(x, a) = map(int, input().split())
print('10'[x < a:])


(X, A) = input().split()
if X < A:
	print(0)
elif X >= A:
	print(10)


i = list(map(int, input().split(' ')))
print(0 if i[0] < i[1] else 10)


(x, a) = [int(i) for i in input().split()]
print([10, 0][x < a])


a = input()
print((a[0] >= a[2]) * 10)


(a, b) = map(int, input().split())
if a < b:
	print(0)
else:
	print(10)


(n, m) = map(int, input().split())
if n < m:
	print(0)
else:
	print(10)


s = input()
print(10 * (s >= s[2]))


a = list(map(int, input().split()))
print(0 if a[0] < a[1] else 10)


a = list(map(int, input().split()))
print(10 * (a[0] >= a[1]))


(X, A) = map(int, input().split())
print('1' * (X >= A) + '0')


print(int(eval(input().replace(' ', '>=')) * 10))


(A, B) = map(int, input().split(' '))
if A < B:
	print(0)
else:
	print(10)


(n, a) = map(int, input().split())
if n < a:
	print(0)
else:
	print(10)


def main():
	(a, b) = list(map(int, input().split(' ')))
	print(0 if a < b else 10)
main()


A = list(map(int, input().split(' ')))
print([10, 0][A[0] < A[1]])


(N, M) = map(int, input().split())
if N < M:
	print(0)
else:
	print(10)


(x, y) = map(int, input().split())
print([0, 10][x >= y])


(x, a) = input().split()
print('100'[x < a::2])


print(int(eval('>='.join(input().split()))) * 10)


(a, p) = map(int, input().split())
if a >= p:
	print(10)
else:
	print(0)


(a, s) = map(int, input().split())
print(10 if a >= s else 0)


(n, k) = map(int, input().split())
if n < k:
	print(0)
else:
	print(10)


(X, A) = map(int, input().split())
ans = 0 if X < A else 10
print(ans)


s = input().split()
print(0 if int(s[0]) < int(s[1]) else 10)


print(10 * eval(input().replace(' ', '>=')))


(a, b) = map(int, input().split())
print((a >= b) * 10)


print((eval(input().replace(' ', '-')) >= 0) * 10)


(x, a) = map(int, input().split())
ans = 0
if x >= a:
	ans = 10
print(ans)


s = input()
print(0 if s[0] < s[2] else 10)


def inputlist():
	return [int(j) for j in input().split()]
(X, A) = inputlist()
if X < A:
	print('0')
else:
	print(10)


(N, M) = map(int, input().split())
print(('0', '10')[N >= M])


s = input()
print('100'[s[0] < s[2]::2])


(n, l) = map(int, input().split())
if n < l:
	print(0)
else:
	print(10)


(x, a) = input().split()
print((x >= a) * 10)


x = input()
print(0 if x[0] < x[2] else 10)


(X, N) = map(int, input().split())
print(0 if X < N else 10)


(X, A) = [int(i) for i in input().split()]
print((X >= A) * 10)