#D. 国庆

    Type: Default 1000ms 256MiB

国庆

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Background

Special for beginners, ^_^

Description

2019年10月1日是中华人民共和国成立70周年纪念日。从1949年10月1日到2019年10月1日,中华人民共和国经历了25567天。

从2019年10月1日到2019年10月2日,算作经历1天。

现在你的任务是编写一个程序C.cpp,读入一个正整数n,输出中华人民共和国成立 n 周年时,一共经历了多少天。

Format

Input

一个整数 n

Output

一个整数表示答案

Samples

样例输入1

1

样例输出1

365

样例输入2

3

样例输出2

1096

样例输入3

70

样例输出3

25567

Limitation

10 组数据 n50n \le 50

另外10组数据 n1000n \le 1000

初一上学期期中考试机试(3班)

Not Attended
Status
Done
Rule
IOI
Problem
4
Start at
2022-11-7 8:45
End at
2022-11-7 10:45
Duration
2 hour(s)
Host
Partic.
47