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 JavaScript (node.js v5.12) (judge verdict: Accepted)

// inputに入力データ全体が入る
function Main(input) {
	input = input.split(" "); // 1行目がinput[0], 2行目がinput[1], …に入る
	// ここに処理を書く
	var X = input[0];
	var A = input[1];
	var result = 0

	try {
		checkNumber(Number(X), Number(A))
		}
		catch (e) {
			console.log("エラー内容："　+ e);
		}
	
	// console.logは標準出力に1行出力します (自動的に最後に改行が入ります)
	// console.log(result);
}

function checkNumber (X, A) {
	
		if ((Number(X)>=0 && Number(X)<=9) || (Number(A)>=0 && Number(A)<=9)) {
			if (X<A) {
				result = 0
			} else if (X>=A) {
				result = 10
			}
		} else {
			throw "Invalid"
		}
	
	console.log(result);
}

// ※この行以降は編集しない (標準入力から一度に読み込みMainを呼び出します)
Main(require("fs").readFileSync("/dev/stdin", "utf8"));