Voucher 1
Xem dạng PDF
Gửi bài giải
Điểm:
1,00 (OI)
Giới hạn thời gian:
1.0s
Giới hạn bộ nhớ:
256M
Input:
stdin
Output:
stdout
Dạng bài
Ngôn ngữ cho phép
C, C++, Java, Kotlin, Pascal, PyPy, Python, Scratch
On Singles day, every guests of Phuc's Store will receive 30% discount (maximum 50 thousands VND). Hoa willing to buy some items at the store. The total cost is N VND. How much does she need to pay?
Input
A single integer N (1000 ≤ N ≤ 10^18), N is divisible by 1000.
Output
The amount of money Hoa need to spend on items.
Example
Input
100000
Output
70000
Input
200000
Output
150000
Bình luận