A - New Generation ABC
该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。
A - New Generation ABC
Score : $100$ points
Problem Statement
This is the $214$-th AtCoder Beginner Contest (ABC).
The ABCs so far have had the following number of problems.
- The $1$-st through $125$-th ABCs had $4$ problems each.
- The $126$-th through $211$-th ABCs had $6$ problems each.
- The $212$-th through $214$-th ABCs have $8$ problems each.
Find the number of problems in the $N$-th ABC.
Constraints
- $1 \leq N \leq 214$
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
214
8
1
4
126
6