- محدودیت زمان: ۱ ثانیه
- محدودیت حافظه: ۲۵۶ مگابایت
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%$ 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 $n$, which represents the number of students that Mina has referred.
$$0 \leq n \leq 1000$$
خروجی
Print a single line, containing the number of courses Mina can enroll in for free using the discounts.
مثالها
ورودی نمونه ۱
5
خروجی نمونه ۱
0
ورودی نمونه ۲
18
خروجی نمونه ۲
1
ارسال پاسخ برای این سؤال