#P15067. [UOI 2024 II Stage] Job Applications

[UOI 2024 II Stage] Job Applications

题目描述

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

He immediately went to the ConnectedIn\tt{ConnectedIn} 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 2020 vacancies on each page, and the vacancies take up nn 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 2020 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 nn (1n1001 \le n \le 100) --- the number of pages with vacancies.

输出格式

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

3
41 60
14
261 280