{"raw_statement":[{"iden":"problem statement","content":"There is a programming contest with $N$ problems. For each $i = 1, 2, \\ldots, N$, the score for the $i$\\-th problem is $S_i$.\nPrint the total score for all problems with a score of $X$ or less."},{"iden":"constraints","content":"*   All input values are integers.\n*   $4 \\leq N \\leq 8$\n*   $100 \\leq S_i \\leq 675$\n*   $100 \\leq X \\leq 675$"},{"iden":"input","content":"The input is given from Standard Input in the following format:\n\n$N$ $X$\n$S_1$ $S_2$ $\\ldots$ $S_N$"},{"iden":"sample input 1","content":"6 200\n100 675 201 200 199 328"},{"iden":"sample output 1","content":"499\n\nThree problems have a score of $200$ or less: the first, fourth, and fifth, for a total score of $S_1 + S_4 + S_5 = 100 + 200 + 199 = 499$."},{"iden":"sample input 2","content":"8 675\n675 675 675 675 675 675 675 675"},{"iden":"sample output 2","content":"5400"},{"iden":"sample input 3","content":"8 674\n675 675 675 675 675 675 675 675"},{"iden":"sample output 3","content":"0"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}