import java.util.Scanner; Scanner inp = new Scanner(System.in); char character = inp.next().charAt(0);