100 atcoder#ABC214A. [ABC214A] New Generation ABC
[ABC214A] New Generation ABC
Score : points
Problem Statement
This is the -th AtCoder Beginner Contest (ABC).
The ABCs so far have had the following number of problems.
- The -st through -th ABCs had problems each.
- The -th through -th ABCs had problems each.
- The -th through -th ABCs have problems each.
Find the number of problems in the -th ABC.
Constraints
- 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