import java.util.Scanner;
public class myclass
{
static double findIncomeTax(int s) {
double tax=0;
if(s>=0&&s<=999)
tax = 15.0/100.0*s;
else if(s>=1000&&s<=3999)
tax = 18.0/100.0*s;
else if(s>=4000&&s<=6999)
tax = 20.0/100.0*s;
else
tax =25.0/100.0*s;
return tax;
}
public static void main(String [] args) {
System.out.prinltn("ENTER THE SALARY");
int s=new Scanner(System.in).nextInt();
System.out.println("INCOME TAX = "+new myclass.findIncomeTax(s));
}
}