/* 점수 입력, 수우미양가 출력 switch문 */
import java.util.Scanner;
public class SwitchTest {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
boolean check = true;
while(check)
{
int score = sc.nextInt();
switch(score/10)
{
case 10:
case 9:
System.out.println("수"); break;
case 8:
System.out.println("우"); break;
case 7:
System.out.println("미"); break;
case 6:
System.out.println("양"); break;
case 5:
case 4:
case 3:
case 2:
case 1:
case 0:
System.out.println("가"); break;
case 1234/10:
System.out.println("프로그래밍 종료");
check = false;
break;
default:
System.out.println("잘못 입력하셨습니다.");
}
}
}
}