import java.util.Scanner;
public class kiuanxi {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int shuru = sc.nextInt();
System.out.println("输入消费金额,可获得折扣");
if(shuru>1||shuru<500){
System.out.println("不打折");
} else if (shuru > 500 || shuru <= 1000/9.5) {
System.out.println("恭喜!9.5折");
} else if (shuru > 1000 || shuru < 2000) {
System.out.println("恭喜8折");
} else if (shuru > 2000) {
System.out.println("恭喜7折");
}
}
}
public class kiuanxi {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int shuru = sc.nextInt();
System.out.println("输入消费金额,可获得折扣");
if(shuru>1||shuru<500){
System.out.println("不打折");
} else if (shuru > 500 || shuru <= 1000/9.5) {
System.out.println("恭喜!9.5折");
} else if (shuru > 1000 || shuru < 2000) {
System.out.println("恭喜8折");
} else if (shuru > 2000) {
System.out.println("恭喜7折");
}
}
}