package parctice;
import java.util.Scanner;
public class Line {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
/*
* System.out.print("정수1입력: ");
*
* int num1=scanner.nextInt();
*
* System.out.println("정수2입력: ");
*
* int num2=scanner.nextInt();
*
*
*
* int res=num1>num2?num1:num2;
*
* System.out.println(num1+"과"+num2+"중 큰 수는" + res + "입니다.");
*
*/
System.out.print("정수입력: ");
int num = scanner.nextInt();
String res = num % 2 == 0 ? "짝수" : "홀수";
System.out.println(num + "는" + res + "입니다.");
}