import java.util.Scanner;
public class Test {
public static void main(String args[]){
Scanner s=new Scanner(System.in);
String str[]={"星期一","星期二","星期三","星期四","星期五","星期六","星期日"};
while(true){
System.out.println("请输入数字 0退出");
int c=s.nextInt();
if(c==0){
break;
}
else if(c<7){
System.out.println(str[c-1]);
}
else{
System.out.println("请重新输入");
}
}
}
}
public class Test {
public static void main(String args[]){
Scanner s=new Scanner(System.in);
String str[]={"星期一","星期二","星期三","星期四","星期五","星期六","星期日"};
while(true){
System.out.println("请输入数字 0退出");
int c=s.nextInt();
if(c==0){
break;
}
else if(c<7){
System.out.println(str[c-1]);
}
else{
System.out.println("请重新输入");
}
}
}
}