PROGRAMMING:individual income tax
Please write a program to calculate personal income tax according to personal income and threshold.
Personal income tax shall be levied at 3% of the balance of monthly income after deducting the starting point; The part of 1500-4500 yuan is taxed at the rate of 10%; The part of 4500-9000 yuan is taxed at 20%; The part of RMB 9000-35000 is taxed at 25%; The portion of 35000-55000 yuan is taxed at 30%; The part of 55000-80000 yuan is taxed at 35%; The part above 80000 yuan shall be taxed at 45%.
For example, a programmer's monthly income is 10417.5 yuan. Assuming that the starting point is 5000 yuan, the balance of 5417.5 yuan after deducting the starting point needs to be taxed. Among them, the first 1500 yuan is taxed 45 yuan by 3%, 3000 yuan between 1500 and 4500 yuan is taxed 300 yuan by 10%, 917.5 yuan between 4500 and 9000 yuan is taxed 183.50 yuan by 20%
one thousand and five hundred × 3% + 3000 × 10% + 917.5 × 20% = 0 + 45 + 300 + 183.5 = 528.50 yuan
####Input format
>Monthly income threshold
####Output format
>Tax payable (2 decimal places reserved)
####Input sample
```in
10417.5 5000
```
####Output sample
```out
five hundred and twenty-eight point five zero
```
answer:If there is no answer, please comment
Personal income tax shall be levied at 3% of the balance of monthly income after deducting the starting point; The part of 1500-4500 yuan is taxed at the rate of 10%; The part of 4500-9000 yuan is taxed at 20%; The part of RMB 9000-35000 is taxed at 25%; The portion of 35000-55000 yuan is taxed at 30%; The part of 55000-80000 yuan is taxed at 35%; The part above 80000 yuan shall be taxed at 45%.
For example, a programmer's monthly income is 10417.5 yuan. Assuming that the starting point is 5000 yuan, the balance of 5417.5 yuan after deducting the starting point needs to be taxed. Among them, the first 1500 yuan is taxed 45 yuan by 3%, 3000 yuan between 1500 and 4500 yuan is taxed 300 yuan by 10%, 917.5 yuan between 4500 and 9000 yuan is taxed 183.50 yuan by 20%
one thousand and five hundred × 3% + 3000 × 10% + 917.5 × 20% = 0 + 45 + 300 + 183.5 = 528.50 yuan
####Input format
>Monthly income threshold
####Output format
>Tax payable (2 decimal places reserved)
####Input sample
```in
10417.5 5000
```
####Output sample
```out
five hundred and twenty-eight point five zero
```
answer:If there is no answer, please comment