import java.util.Scanner;

class Jan26 {
	public static void main(String[] args) {

		// == is the comparison operator
		// used with primitive types

		Scanner kb = new Scanner(System.in);
        System.out.println("Enter age");

        int age = kb.nextInt();

		if (age == 20) {            // compare ints
			// ...
		}

		System.out.println("Enter initial");
		
		String token = kb.next(); 
		char initial = token.charAt(0);

		if (initial == 'X') {       // compare characters
			// ...
		}

		System.out.println("Enter birth month");
		String month = kb.next();

		if (month.equals("May")) {      // compare strings
			// ...
		}

        /* if-else block */

		if (age % 2 == 0) {
			System.out.println("is even");
		}
		else {   // execute this block if (age % 2 == 0) is false
			System.out.println("is odd");
		}

	

		

		







	}
}
