Submit | All submissions | Best solutions | Back to list |
EIVCHR1 - Voucher 1 |
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 ≤1018), N is divisible by 1000.
Output
The amount of money Hoa need to spend on items.
Sample
Input |
Output |
100000 |
70000 |
200000 |
150000 |
Added by: | Ha Minh Ngoc |
Date: | 2020-11-17 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | CSHARP C++ 4.3.2 CPP CPP14 CPP14-CLANG FSHARP GO JAVA JS-MONKEY NODEJS PHP PYTHON PYPY PYPY3 PYTHON3 RUBY SQLITE SWIFT VB.NET |