import java.util.Scanner;
public class ifs{
public static void main(String args[]){
Scanner in=new Scanner(System.in);
System.out.println("请问你的性别是(男或女)");
String sex=in.next();
if(sex.equals("男")){
System.out.println("你的年纪");
int avg=in.nextInt();
if(avg>=18){
System.out.println("成年了啦");
} else {
System.out.println("未成年");
}
} else {
System.out.println("原来是个女生");
}
}
}