
import java.util.Scanner;

class Sep9 {
	public static void main(String[] args) {
	
		Scanner kb = new Scanner(System.in);

		System.out.print("Enter an integer: ");	
		int value1 = kb.nextInt();
		System.out.println("value read: [" + value1 + "]");

		System.out.print("Enter an integer: ");	
		int value2 = kb.nextInt();
		System.out.println("value read: " + value2);

		System.out.print("Enter your full name: ");
		kb.nextLine();   // read \n left by nextInt() from buffer
		String name = kb.nextLine();
		System.out.println("Name: [" + name + "]");

		/* Getting
			characters */

		char firstInitial = name.charAt(0);
		System.out.println("first initial: " + firstInitial);
	}
}
