問題一覧 > ネタ問題

No.8035 2018

レベル : / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 33
作問者 : square1001
お気に入りにしたユーザー ProblemId : 2226 / 自分の提出
問題文最終更新日: 2020-04-01 19:13:17
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence. Back to the original
yukicoder April fool contest 2018 (順位表) の他の問題:

Problem Statement

The new fiscal year (fiscal 2018) has finally started, choku! So now, here's a quiz for you, choku~!
A sequence $a$ is hidden, choku. This sequence starts from index $1$, choku. Tell me the $N$-th value, choku~!

It looks hard, so here's a big hint! This sequence consists of the numbers satisfying a certain condition, arranged in ascending order, choku~! What is the property that $2018$ and $2019$ both satisfy, choku~?

Input

$N$

An integer $N \ (1 \leq N \leq 10^6)$ is given on $1$ line, choku~!

Output

Output $a_N$ on $1$ line, choku~! Don't forget to put a newline at the end, choku~~~~~~~~~~~★★★★★!

Sample

Sample 1
Input
570
Output
2018

Sample 2
Input
571
Output
2019

Sample 3
Input
2018
Output
7619

提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。