#SCCCIE000021. Thuế thu nhập (Taxes)
Thuế thu nhập (Taxes)
Taxes
Source: beecrowd
Version: Phuoc Hung OJ Extended
Problem Statement
Income up to is tax-free. The portion above up to is taxed at , the portion above up to at , and the portion above at . Tax is progressive by bracket.
Input
One line contains the income with two digits after the decimal point.
Output
If no tax is due, print Isento. Otherwise print R$ followed by the tax with exactly two decimal places.
Subtasks
- Subtask 1 (100%):
Examples
Example 1
Input
3002.00
Output
R$ 80.36
Explanation
For the sample values 3002.00, evaluating the conditions in the statement gives R$ 80.36. Therefore the program prints the shown output.
Example 2
Input
1701.12
Output
Isento
Explanation
For the sample values 1701.12, evaluating the conditions in the statement gives Isento. Therefore the program prints the shown output.