Micromasters | 프로그래밍의 벗 PivotOJ
PivotOJ

Micromasters

시간 제한: 1000ms메모리 제한: 2048MB출처: ICPC Asia Tehran Regional Contest 2023BOJ 33178

문제

The Department of Computer Engineering at Sharif University of Technology has recently initiated a professional education program known as Micromasters. This program offers a set of courses designed to empower students with specialized knowledge and skills in various domains of computer science and engineering. As an incentive to promote the program, the department has introduced a referral system wherein individuals who refer other students to the Micromasters program receive a 10%10\% discount for each referred student on their own course registrations.

Mina is a talented student who is passionate about spreading the benefits of the Micromasters program. With each referral, Mina’s list of discounts grows, and now the following question arises: given the number of students who are referred by Mina, how many courses can she enroll in for free?

입력

The input consists of a single line containing a single integer nn (0n10000 \le n \le 1000), which represents the number of students that Mina has referred.

출력

Print a single line, containing the number of courses Mina can enroll in for free using the discounts.

예제

예제 1

입력
5
출력
0

예제 2

입력
18
출력
1
코드를 제출하려면 로그인하세요.