#include <iostream>

using namespace std;

int main()
{
    string s;
    cout<<"Enter a day";
    cin>>s;
    switch(s){
        case "SUN":
        cout<<7;
        break;
        
        case "SAT":
        cout<<1;
        break;
        
        case "FRI":
        cout<<2;
        break;
        
        case "MON":
        cout<<6;
        break;
        
        case "TUE":
        cout<<5;
        break;
        
        case "WED":
        cout<<4;
        break;
        
        case "THU":
        cout<<3;
        break;
        
        default:
        cout<<"Enter Correct ";
        
    }

    return 0;
}
