#abc214a. A - New Generation ABC

A - New Generation ABC

Score : 100100 points

问题描述

这是第 214214 届 AtCoder 初级比赛(ABC)。

迄今为止,ABC 比赛已有的题目数量如下:

  • 11 至第 125125 届 ABC 每届有 44 道题目。
  • 126126 至第 211211 届 ABC 每届有 66 道题目。
  • 212212 至第 214214 届 ABC 每届有 88 道题目。

请找出第 NN 届 ABC 的题目数量。

以上为通义千问 qwen-max 翻译,仅供参考。

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.

Sample Input 1

214

Sample Output 1

8

Sample Input 2

1

Sample Output 2

4

Sample Input 3

126

Sample Output 3

6

update @ 2024/3/10 09:30:58