logo AlgoBeat OnlineJudge
登录 注册

#215206. [UOI 2024 II Stage] Job Applications

内存限制:512 MiB 时间限制:1000 ms 标准输入输出
题目类型:VJudge(洛谷) 评测方式:VJudge
上传者: 匿名

题目描述

After finishing university, Anton decided to start looking for a job.

He immediately went to the website. When he went to the "Vacancies" tab, he saw a lot of job openings. However, the exact number of vacancies was not specified on the website. He knows that there are a maximum of vacancies on each page, and the vacancies take up pages.

You have a good understanding of how the website works. When a new vacancy is added, it is added to the last page. If there are already vacancies on the last page before adding a new one, a new page is created and the vacancy is added there.

Knowing this information, determine the minimum and maximum number of vacancies.

输入格式

The first line of the input contains a single integer () --- the number of pages with vacancies.

输出格式

Print two integers --- the minimum and maximum number of vacancies that could be on the website.

样例

样例输入 1

3

样例输出 1

41 60

样例输入 2

14

样例输出 2

261 280