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# (Mono 4.6.2.0) (judge verdict: Runtime Error)

using System;
using System.Linq;

namespace D
{
    class Program
    {
        static void Main(string[] args)
        {
            int[] NK = Console.ReadLine().Split().Select(n => int.Parse(n)).ToArray();
            int[] A = Console.ReadLine().Split().Select(n => int.Parse(n)).ToArray();
            int N = NK[0];
            long K = NK[1];
            long result = 0;
            int i = 0, j = 0;
            long sum = A[0];
            for (i = 0; i < N; i++)
            {
                while (sum < K)
                {
                    if (j >= N - 1)
                    {
                        break;
                    } else
                    {
                        sum += A[j + 1];
                        j++;
                    }
                }
                if (sum < K) break;
                result += N - j;
                sum -= A[i];
            }
            Console.WriteLine(result);
        }
    }
}