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 PHP7 (7.0.15) (judge verdict: Wrong Answer)

<?php
//error_reporting(0);
//$N = trim(fgets(STDIN));
list($N,$K) =  explode(" ",trim(fgets(STDIN)));
$a =  explode(" ",trim(fgets(STDIN)));

$RW = array_fill(0,$N+1,0);
for($i=0;$i<$N;$i++) {
  $RW[$i+1]=$RW[$i]+$a[$i];
}
//連続する部分を取り出す
$res =0;
for($i=0;$i<$N;$i++) {
  for($j=$i+1;$j<=$N;$j++) {
    //printf("%d %d i=%d j=%d\n",$RW[$j],$RW[$i],$i,$j);
    if (($RW[$j]-$RW[$i])>=$K) {
      $res+=$N-$j+1;
      break;
    }
  }
}
printf("%d\n",$res);