//
// main.cpp
// 2_4
//
// Created by T.P on 2018/3/4.
// Copyright ? 2018年 T.P. All rights reserved.
//
//输入一个0~6的整数,转换成星期输出
#include <iostream>
#include <iomanip>
using namespace std;
int main(int argc, const char * argv[]) {
// insert code here...
//std::cout << "Hello, World!\n";
int day;
cin>>day;
switch (day) {
case 0:
cout<<"Sunday";
break;
case 1:
cout<<"Monday";
break;
case 2:
cout<<"Tuesday";
break;
case 3:
cout<<"Wednesday";
break;
case 4:
cout<<"thursday";
break;
case 5:
cout<<"Friday";
break;
case 6:
cout<<"Saturday";
break;
default:
cout<<"Day out of range Sunday...Saturday";
break;
}
cout<<endl;
return 0;
}