{"problem":{"name":"Not Too Hard","description":{"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$. Print the total score for all problems with a score of $X$ or less.","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc328_a"},"statements":[{"statement_type":"Markdown","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.\n\n## Constraints\n\n*   All input values are integers.\n*   $4 \\leq N \\leq 8$\n*   $100 \\leq S_i \\leq 675$\n*   $100 \\leq X \\leq 675$\n\n## Input\n\nThe input is given from Standard Input in the following format:\n\n$N$ $X$\n$S_1$ $S_2$ $\\ldots$ $S_N$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc328_a","tags":[],"sample_group":[["6 200\n100 675 201 200 199 328","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$."],["8 675\n675 675 675 675 675 675 675 675","5400"],["8 674\n675 675 675 675 675 675 675 675","0"]],"created_at":"2026-03-03 11:01:14"}}