import java.util.Scanner;
public class work103004 {
public static void main(String[]args) {
Scanner input=new Scanner(System.in);
System.out.println("请输入是否是会员:");
char ch=input.nextLine().charAt(0);
System.out.println("请输入购物金额:");
int money=input.nextInt();
if(ch=='y') {
if(money>=200) {
System.out.println("实际支付:"+money*0.75);
}else {
System.out.println("实际支付:"+money*0.8);
}
}else if(money>=100) {
System.out.println("实际支付:"+money*0.9);
}else {
System.out.println("实际支付:"+money);
}
}
}