import java.util.Scanner;
class Demo06_奇偶 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println("请输入一个整数:");
int a = sc.nextInt();
String jiOu = a % 2 == 0 ? "偶数" : "奇数";
System.out.println("这个数是:" + jiOu);
}
}