100 atcoder#ABC214A. [ABC214A] New Generation ABC

[ABC214A] New Generation ABC

Score : 100100 points

Problem Statement

This is the 214214-th AtCoder Beginner Contest (ABC).

The ABCs so far have had the following number of problems.

  • The 11-st through 125125-th ABCs had 44 problems each.
  • The 126126-th through 211211-th ABCs had 66 problems each.
  • The 212212-th through 214214-th ABCs have 88 problems each.

Find the number of problems in the NN-th ABC.

Constraints

  • 1N2141 \leq N \leq 214
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

NN

Output

Print the answer.

214
8
1
4
126
6