public class 끄적끄적if { public static void main(String[] args) { int input = 6; if(input % 2 == 1){ System.out.println("홀수"); } else{ System.out.println("짝수"); }