import javax.swing.JOptionPane;


public class Demo1 
{
	public static void main(String[] args)
	{
		String strGrade = JOptionPane.showInputDialog("grade");
		char grade = strGrade.charAt(0);
		switch(grade)
		{
		  case 'a':
		  case 'A': System.out.println("Great!");
		  break;
		  case 'B': System.out.println("Ok...");
		  break;
		  case 'C':	System.out.println("Cui...");
		  break;
		  default : System.out.println("Wrong Input");
		 
		}
	}

}