#include<iostream>
using namespace std;

int main(){
  int f,g;
  while(cin >> f >> g){
    if(f == 0 && g == 0)break;

    if(f == 1 && g == 1)cout << "Thursday" << endl;
    if(f == 1 && g == 2)cout << "Friday" << endl;
    if(f == 1 && g == 3)cout << "Saturday" << endl;
    if(f == 1 && g == 4)cout << "Sunday" << endl;
    if(f == 1 && g == 5)cout << "Monday" << endl;
    if(f == 1 && g == 6)cout << "Tuesday" << endl;
    if(f == 1 && g == 7)cout << "Wednesday" << endl;
    if(f == 1 && g == 8)cout << "Thursday" << endl;
    if(f == 1 && g == 9)cout << "Friday" << endl;
    if(f == 1 && g == 10)cout << "Saturday" << endl;
    if(f == 1 && g == 11)cout << "Sunday" << endl;
    if(f == 1 && g == 12)cout << "Monday" << endl;
    if(f == 1 && g == 13)cout << "Tuesday" << endl;
    if(f == 1 && g == 14)cout << "Wednesday" << endl;
    if(f == 1 && g == 15)cout << "Thursday" << endl;
    if(f == 1 && g == 16)cout << "Friday" << endl;
    if(f == 1 && g == 17)cout << "Saturday" << endl;
    if(f == 1 && g == 18)cout << "Sunday" << endl;
    if(f == 1 && g == 19)cout << "Monday" << endl;
    if(f == 1 && g == 20)cout << "Tuesday" << endl;
    if(f == 1 && g == 21)cout << "Wednesday" << endl;
    if(f == 1 && g == 22)cout << "Thursday" << endl;
    if(f == 1 && g == 23)cout << "Friday" << endl;
    if(f == 1 && g == 24)cout << "Saturday" << endl;
    if(f == 1 && g == 25)cout << "Sunday" << endl;
    if(f == 1 && g == 26)cout << "Monday" << endl;
    if(f == 1 && g == 27)cout << "Tuesday" << endl;
    if(f == 1 && g == 28)cout << "Wednesday" << endl;
    if(f == 1 && g == 29)cout << "Thursday" << endl;
    if(f == 1 && g == 30)cout << "Friday" << endl;
    if(f == 1 && g == 31)cout << "Saturday" << endl;


    if(f == 2 && g == 1)cout << "Sunday" << endl;
    if(f == 2 && g == 2)cout << "Monday" << endl;
    if(f == 2 && g == 3)cout << "Tuesday" << endl;
    if(f == 2 && g == 4)cout << "Wednesday" << endl;
    if(f == 2 && g == 5)cout << "Thursday" << endl;
    if(f == 2 && g == 6)cout << "Friday" << endl;
    if(f == 2 && g == 7)cout << "Saturday" << endl;
    if(f == 2 && g == 8)cout << "Sunday" << endl;
    if(f == 2 && g == 9)cout << "Monday" << endl;
    if(f == 2 && g == 10)cout << "Tuesday" << endl;
    if(f == 2 && g == 11)cout << "Wednesday" << endl;
    if(f == 2 && g == 12)cout << "Thursday" << endl;
    if(f == 2 && g == 13)cout << "Friday" << endl;
    if(f == 2 && g == 14)cout << "Saturday" << endl;
    if(f == 2 && g == 15)cout << "Sunday" << endl;
    if(f == 2 && g == 16)cout << "Monday" << endl;
    if(f == 2 && g == 17)cout << "Tuesday" << endl;
    if(f == 2 && g == 18)cout << "Wednesday" << endl;
    if(f == 2 && g == 19)cout << "Thursday" << endl;
    if(f == 2 && g == 20)cout << "Friday" << endl;
    if(f == 2 && g == 21)cout << "Saturday" << endl;
    if(f == 2 && g == 22)cout << "Sunday" << endl;
    if(f == 2 && g == 23)cout << "Monday" << endl;
    if(f == 2 && g == 24)cout << "Tuesday" << endl;
    if(f == 2 && g == 25)cout << "Wednesday" << endl;
    if(f == 2 && g == 26)cout << "Thursday" << endl;
    if(f == 2 && g == 27)cout << "Friday" << endl;
    if(f == 2 && g == 28)cout << "Saturday" << endl;
    if(f == 2 && g == 29)cout << "Sunday" << endl;

    if(f == 3 && g == 1)cout << "Monday" << endl;
    if(f == 3 && g == 2)cout << "Tuesday" << endl;
    if(f == 3 && g == 3)cout << "Wednesday" << endl;
    if(f == 3 && g == 4)cout << "Thursday" << endl;
    if(f == 3 && g == 5)cout << "Friday" << endl;
    if(f == 3 && g == 6)cout << "Saturday" << endl;
    if(f == 3 && g == 7)cout << "Sunday" << endl;
    if(f == 3 && g == 8)cout << "Monday" << endl;
    if(f == 3 && g == 9)cout << "Tuesday" << endl;
    if(f == 3 && g == 10)cout << "Wednesday" << endl;
    if(f == 3 && g == 11)cout << "Thursday" << endl;
    if(f == 3 && g == 12)cout << "Friday" << endl;
    if(f == 3 && g == 13)cout << "Saturday" << endl;
    if(f == 3 && g == 14)cout << "Sunday" << endl;
    if(f == 3 && g == 15)cout << "Monday" << endl;
    if(f == 3 && g == 16)cout << "Tuesday" << endl;
    if(f == 3 && g == 17)cout << "Wednesday" << endl;
    if(f == 3 && g == 18)cout << "Thursday" << endl;
    if(f == 3 && g == 19)cout << "Friday" << endl;
    if(f == 3 && g == 20)cout << "Saturday" << endl;
    if(f == 3 && g == 21)cout << "Sunday" << endl;
    if(f == 3 && g == 22)cout << "Monday" << endl;
    if(f == 3 && g == 23)cout << "Tuesday" << endl;
    if(f == 3 && g == 24)cout << "Wednesday" << endl;
    if(f == 3 && g == 25)cout << "Thursday" << endl;
    if(f == 3 && g == 26)cout << "Friday" << endl;
    if(f == 3 && g == 27)cout << "Saturday" << endl;
    if(f == 3 && g == 28)cout << "Sunday" << endl;
    if(f == 3 && g == 29)cout << "Monday" << endl;
    if(f == 3 && g == 30)cout << "Tuesday" << endl;
    if(f == 3 && g == 31)cout << "Wednesday" << endl;

   
    if(f == 4 && g == 1)cout << "Thursday" << endl;
    if(f == 4 && g == 2)cout << "Friday" << endl;
    if(f == 4 && g == 3)cout << "Saturday" << endl;
    if(f == 4 && g == 4)cout << "Sunday" << endl;
    if(f == 4 && g == 5)cout << "Monday" << endl;
    if(f == 4 && g == 6)cout << "Tuesday" << endl;
    if(f == 4 && g == 7)cout << "Wednesday" << endl;
    if(f == 4 && g == 8)cout << "Thursday" << endl;
    if(f == 4 && g == 9)cout << "Friday" << endl;
    if(f == 4 && g == 10)cout << "Saturday" << endl;
    if(f == 4 && g == 11)cout << "Sunday" << endl;
    if(f == 4 && g == 12)cout << "Monday" << endl;
    if(f == 4 && g == 13)cout << "Tuesday" << endl;
    if(f == 4 && g == 14)cout << "Wednesday" << endl;
    if(f == 4 && g == 15)cout << "Thursday" << endl;
    if(f == 4 && g == 16)cout << "Friday" << endl;
    if(f == 4 && g == 17)cout << "Saturday" << endl;
    if(f == 4 && g == 18)cout << "Sunday" << endl;
    if(f == 4 && g == 19)cout << "Monday" << endl;
    if(f == 4 && g == 20)cout << "Tuesday" << endl;
    if(f == 4 && g == 21)cout << "Wednesday" << endl;
    if(f == 4 && g == 22)cout << "Thursday" << endl;
    if(f == 4 && g == 23)cout << "Friday" << endl;
    if(f == 4 && g == 24)cout << "Saturday" << endl;
    if(f == 4 && g == 25)cout << "Sunday" << endl;
    if(f == 4 && g == 26)cout << "Monday" << endl;
    if(f == 4 && g == 27)cout << "Tuesday" << endl;
    if(f == 4 && g == 28)cout << "Wednesday" << endl;
    if(f == 4 && g == 29)cout << "Thursday" << endl;
    if(f == 4 && g == 30)cout << "Friday" << endl;


    if(f == 5 && g == 1)cout << "Saturday" << endl;
    if(f == 5 && g == 2)cout << "Sunday" << endl;
    if(f == 5 && g == 3)cout << "Monday" << endl;
    if(f == 5 && g == 4)cout << "Tuesday" << endl;
    if(f == 5 && g == 5)cout << "Wednesday" << endl;
    if(f == 5 && g == 6)cout << "Thursday" << endl;
    if(f == 5 && g == 7)cout << "Friday" << endl;
    if(f == 5 && g == 8)cout << "Saturday" << endl;
    if(f == 5 && g == 9)cout << "Sunday" << endl;
    if(f == 5 && g == 10)cout << "Monday" << endl;
    if(f == 5 && g == 11)cout << "Tuesday" << endl;
    if(f == 5 && g == 12)cout << "Wednesday" << endl;
    if(f == 5 && g == 13)cout << "Thursday" << endl;
    if(f == 5 && g == 14)cout << "Friday" << endl;
    if(f == 5 && g == 15)cout << "Saturday" << endl;
    if(f == 5 && g == 16)cout << "Sunday" << endl;
    if(f == 5 && g == 17)cout << "Monday" << endl;
    if(f == 5 && g == 18)cout << "Tuesday" << endl;
    if(f == 5 && g == 19)cout << "Wednesday" << endl;
    if(f == 5 && g == 20)cout << "Thursday" << endl;
    if(f == 5 && g == 21)cout << "Friday" << endl;
    if(f == 5 && g == 22)cout << "Saturday" << endl;
    if(f == 5 && g == 23)cout << "Sunday" << endl;
    if(f == 5 && g == 24)cout << "Monday" << endl;
    if(f == 5 && g == 25)cout << "Tuesday" << endl;
    if(f == 5 && g == 26)cout << "Wednesday" << endl;
    if(f == 5 && g == 27)cout << "Thursday" << endl;
    if(f == 5 && g == 28)cout << "Friday" << endl;
    if(f == 5 && g == 29)cout << "Saturday" << endl;
    if(f == 5 && g == 30)cout << "Sunday" << endl;
    if(f == 5 && g == 31)cout << "Monday" << endl;

    if(f == 6 && g == 1)cout << "Tuesday" << endl;
    if(f == 6 && g == 2)cout << "Wednesday" << endl;
    if(f == 6 && g == 3)cout << "Thursday" << endl;
    if(f == 6 && g == 4)cout << "Friday" << endl;
    if(f == 6 && g == 5)cout << "Saturday" << endl;
    if(f == 6 && g == 6)cout << "Sunday" << endl;
    if(f == 6 && g == 7)cout << "Monday" << endl;
    if(f == 6 && g == 8)cout << "Tuesday" << endl;
    if(f == 6 && g == 9)cout << "Wednesday" << endl;
    if(f == 6 && g == 10)cout << "Thursday" << endl;
    if(f == 6 && g == 11)cout << "Friday" << endl;
    if(f == 6 && g == 12)cout << "Saturday" << endl;
    if(f == 6 && g == 13)cout << "Sunday" << endl;
    if(f == 6 && g == 14)cout << "Monday" << endl;
    if(f == 6 && g == 15)cout << "Tuesday" << endl;
    if(f == 6 && g == 16)cout << "Wednesday" << endl;
    if(f == 6 && g == 17)cout << "Thursday" << endl;
    if(f == 6 && g == 18)cout << "Friday" << endl;
    if(f == 6 && g == 19)cout << "Saturday" << endl;
    if(f == 6 && g == 20)cout << "Sunday" << endl;
    if(f == 6 && g == 21)cout << "Monday" << endl;
    if(f == 6 && g == 22)cout << "Tuesday" << endl;
    if(f == 6 && g == 23)cout << "Wednesday" << endl;
    if(f == 6 && g == 24)cout << "Thursday" << endl;
    if(f == 6 && g == 25)cout << "Friday" << endl;
    if(f == 6 && g == 26)cout << "Saturday" << endl;
    if(f == 6 && g == 27)cout << "Sunday" << endl;
    if(f == 6 && g == 28)cout << "Monday" << endl;
    if(f == 6 && g == 29)cout << "Tuesday" << endl;
    if(f == 6 && g == 30)cout << "Wednesday" << endl;
   
   
    if(f == 7 && g == 1)cout << "Thursday" << endl;
    if(f == 7 && g == 2)cout << "Friday" << endl;
    if(f == 7 && g == 3)cout << "Saturday" << endl;
    if(f == 7 && g == 4)cout << "Sunday" << endl;
    if(f == 7 && g == 5)cout << "Monday" << endl;
    if(f == 7 && g == 6)cout << "Tuesday" << endl;
    if(f == 7 && g == 7)cout << "Wednesday" << endl;
    if(f == 7 && g == 8)cout << "Thursday" << endl;
    if(f == 7 && g == 9)cout << "Friday" << endl;
    if(f == 7 && g == 10)cout << "Saturday" << endl;
    if(f == 7 && g == 11)cout << "Sunday" << endl;
    if(f == 7 && g == 12)cout << "Monday" << endl;
    if(f == 7 && g == 13)cout << "Tuesday" << endl;
    if(f == 7 && g == 14)cout << "Wednesday" << endl;
    if(f == 7 && g == 15)cout << "Thursday" << endl;
    if(f == 7 && g == 16)cout << "Friday" << endl;
    if(f == 7 && g == 17)cout << "Saturday" << endl;
    if(f == 7 && g == 18)cout << "Sunday" << endl;
    if(f == 7 && g == 19)cout << "Monday" << endl;
    if(f == 7 && g == 20)cout << "Tuesday" << endl;
    if(f == 7 && g == 21)cout << "Wednesday" << endl;
    if(f == 7 && g == 22)cout << "Thursday" << endl;
    if(f == 7 && g == 23)cout << "Friday" << endl;
    if(f == 7 && g == 24)cout << "Saturday" << endl;
    if(f == 7 && g == 25)cout << "Sunday" << endl;
    if(f == 7 && g == 26)cout << "Monday" << endl;
    if(f == 7 && g == 27)cout << "Tuesday" << endl;
    if(f == 7 && g == 28)cout << "Wednesday" << endl;
    if(f == 7 && g == 29)cout << "Thursday" << endl;
    if(f == 7 && g == 30)cout << "Friday" << endl;
    if(f == 7 && g == 31)cout << "Saturday" << endl;

    if(f == 8 && g == 1)cout << "Sunday" << endl;
    if(f == 8 && g == 2)cout << "Monday" << endl;
    if(f == 8 && g == 3)cout << "Tuesday" << endl;
    if(f == 8 && g == 4)cout << "Wednesday" << endl;
    if(f == 8 && g == 5)cout << "Thursday" << endl;
    if(f == 8 && g == 6)cout << "Friday" << endl;
    if(f == 8 && g == 7)cout << "Saturday" << endl;
    if(f == 8 && g == 8)cout << "Sunday" << endl;
    if(f == 8 && g == 9)cout << "Monday" << endl;
    if(f == 8 && g == 10)cout << "Tuesday" << endl;
    if(f == 8 && g == 11)cout << "Wednesday" << endl;
    if(f == 8 && g == 12)cout << "Thursday" << endl;
    if(f == 8 && g == 13)cout << "Friday" << endl;
    if(f == 8 && g == 14)cout << "Saturday" << endl;
    if(f == 8 && g == 15)cout << "Sunday" << endl;
    if(f == 8 && g == 16)cout << "Monday" << endl;
    if(f == 8 && g == 17)cout << "Tuesday" << endl;
    if(f == 8 && g == 18)cout << "Wednesday" << endl;
    if(f == 8 && g == 19)cout << "Thursday" << endl;
    if(f == 8 && g == 20)cout << "Friday" << endl;
    if(f == 8 && g == 21)cout << "Saturday" << endl;
    if(f == 8 && g == 22)cout << "Sunday" << endl;
    if(f == 8 && g == 23)cout << "Monday" << endl;
    if(f == 8 && g == 24)cout << "Tuesday" << endl;
    if(f == 8 && g == 25)cout << "Wednesday" << endl;
    if(f == 8 && g == 26)cout << "Thursday" << endl;
    if(f == 8 && g == 27)cout << "Friday" << endl;
    if(f == 8 && g == 28)cout << "Saturday" << endl;
    if(f == 8 && g == 29)cout << "Sunday" << endl;
    if(f == 8 && g == 30)cout << "Monday" << endl;
    if(f == 8 && g == 31)cout << "Tuesday" << endl;

  
    if(f == 9 && g == 1)cout << "Wednesday" << endl;
    if(f == 9 && g == 2)cout << "Thursday" << endl;
    if(f == 9 && g == 3)cout << "Friday" << endl;
    if(f == 9 && g == 4)cout << "Saturday" << endl;
    if(f == 9 && g == 5)cout << "Sunday" << endl;
    if(f == 9 && g == 6)cout << "Monday" << endl;
    if(f == 9 && g == 7)cout << "Tuesday" << endl;
    if(f == 9 && g == 8)cout << "Wednesday" << endl;
    if(f == 9 && g == 9)cout << "Thursday" << endl;
    if(f == 9 && g == 10)cout << "Friday" << endl;
    if(f == 9 && g == 11)cout << "Saturday" << endl;
    if(f == 9 && g == 12)cout << "Sunday" << endl;
    if(f == 9 && g == 13)cout << "Monday" << endl;
    if(f == 9 && g == 14)cout << "Tuesday" << endl;
    if(f == 9 && g == 15)cout << "Wednesday" << endl;
    if(f == 9 && g == 16)cout << "Thursday" << endl;
    if(f == 9 && g == 17)cout << "Friday" << endl;
    if(f == 9 && g == 18)cout << "Saturday" << endl;
    if(f == 9 && g == 19)cout << "Sunday" << endl;
    if(f == 9 && g == 20)cout << "Monday" << endl;
    if(f == 9 && g == 21)cout << "Tuesday" << endl;
    if(f == 9 && g == 22)cout << "Wednesday" << endl;
    if(f == 9 && g == 23)cout << "Thursday" << endl;
    if(f == 9 && g == 24)cout << "Friday" << endl;
    if(f == 9 && g == 25)cout << "Saturday" << endl;
    if(f == 9 && g == 26)cout << "Sunday" << endl;
    if(f == 9 && g == 27)cout << "Monday" << endl;
    if(f == 9 && g == 28)cout << "Tuesday" << endl;
    if(f == 9 && g == 29)cout << "Wednesday" << endl;
    if(f == 9 && g == 30)cout << "Thursday" << endl;
   
 
    if(f == 10 && g == 1)cout << "Friday" << endl;
    if(f == 10 && g == 2)cout << "Saturday" << endl;
    if(f == 10 && g == 3)cout << "Sunday" << endl;
    if(f == 10 && g == 4)cout << "Monday" << endl;
    if(f == 10 && g == 5)cout << "Tuesday" << endl;
    if(f == 10 && g == 6)cout << "Wednesday" << endl;
    if(f == 10 && g == 7)cout << "Thursday" << endl;
    if(f == 10 && g == 8)cout << "Friday" << endl;
    if(f == 10 && g == 9)cout << "Saturday" << endl;
    if(f == 10 && g == 10)cout << "Sunday" << endl;
    if(f == 10 && g == 11)cout << "Monday" << endl;
    if(f == 10 && g == 12)cout << "Tuesday" << endl;
    if(f == 10 && g == 13)cout << "Wednesday" << endl;
    if(f == 10 && g == 14)cout << "Thursday" << endl;
    if(f == 10 && g == 15)cout << "Friday" << endl;
    if(f == 10 && g == 16)cout << "Saturday" << endl;
    if(f == 10 && g == 17)cout << "Sunday" << endl;
    if(f == 10 && g == 18)cout << "Monday" << endl;
    if(f == 10 && g == 19)cout << "Tuesday" << endl;
    if(f == 10 && g == 20)cout << "Wednesday" << endl;
    if(f == 10 && g == 21)cout << "Thursday" << endl;
    if(f == 10 && g == 22)cout << "Friday" << endl;
    if(f == 10 && g == 23)cout << "Saturday" << endl;
    if(f == 10 && g == 24)cout << "Sunday" << endl;
    if(f == 10 && g == 25)cout << "Monday" << endl;
    if(f == 10 && g == 26)cout << "Tuesday" << endl;
    if(f == 10 && g == 27)cout << "Wednesday" << endl;
    if(f == 10 && g == 28)cout << "Thursday" << endl;
    if(f == 10 && g == 29)cout << "Friday" << endl;
    if(f == 10 && g == 30)cout << "Saturday" << endl;
    if(f == 10 && g == 31)cout << "Sunday" << endl;


    if(f == 11 && g == 1)cout << "Monday" << endl;
    if(f == 11 && g == 2)cout << "Tuesday" << endl;
    if(f == 11 && g == 3)cout << "Wednesday" << endl;
    if(f == 11 && g == 4)cout << "Thursday" << endl;
    if(f == 11 && g == 5)cout << "Friday" << endl;
    if(f == 11 && g == 6)cout << "Saturday" << endl;
    if(f == 11 && g == 7)cout << "Sunday" << endl;
    if(f == 11 && g == 8)cout << "Monday" << endl;
    if(f == 11 && g == 9)cout << "Tuesday" << endl;
    if(f == 11 && g == 10)cout << "Wednesday" << endl;
    if(f == 11 && g == 11)cout << "Thursday" << endl;
    if(f == 11 && g == 12)cout << "Friday" << endl;
    if(f == 11 && g == 13)cout << "Saturday" << endl;
    if(f == 11 && g == 14)cout << "Sunday" << endl;
    if(f == 11 && g == 15)cout << "Monday" << endl;
    if(f == 11 && g == 16)cout << "Tuesday" << endl;
    if(f == 11 && g == 17)cout << "Wednesday" << endl;
    if(f == 11 && g == 18)cout << "Thursday" << endl;
    if(f == 11 && g == 19)cout << "Friday" << endl;
    if(f == 11 && g == 20)cout << "Saturday" << endl;
    if(f == 11 && g == 21)cout << "Sunday" << endl;
    if(f == 11 && g == 22)cout << "Monday" << endl;
    if(f == 11 && g == 23)cout << "Tuesday" << endl;
    if(f == 11 && g == 24)cout << "Wednesday" << endl;
    if(f == 11 && g == 25)cout << "Thursday" << endl;
    if(f == 11 && g == 26)cout << "Friday" << endl;
    if(f == 11 && g == 27)cout << "Saturday" << endl;
    if(f == 11 && g == 28)cout << "Sunday" << endl;
    if(f == 11 && g == 29)cout << "Monday" << endl;
    if(f == 11 && g == 30)cout << "Tuesday" << endl;

    if(f == 12 && g == 1)cout << "Wednesday" << endl;
    if(f == 12 && g == 2)cout << "Thursday" << endl;
    if(f == 12 && g == 3)cout << "Friday" << endl;
    if(f == 12 && g == 4)cout << "Saturday" << endl;
    if(f == 12 && g == 5)cout << "Sunday" << endl;
    if(f == 12 && g == 6)cout << "Monday" << endl;
    if(f == 12 && g == 7)cout << "Tuesday" << endl;
    if(f == 12 && g == 8)cout << "Wednesday" << endl;
    if(f == 12 && g == 9)cout << "Thursday" << endl;
    if(f == 12 && g == 10)cout << "Friday" << endl;
    if(f == 12 && g == 11)cout << "Saturday" << endl;
    if(f == 12 && g == 12)cout << "Sunday" << endl;
    if(f == 12 && g == 13)cout << "Monday" << endl;
    if(f == 12 && g == 14)cout << "Tuesday" << endl;
    if(f == 12 && g == 15)cout << "Wednesday" << endl;
    if(f == 12 && g == 16)cout << "Thursday" << endl;
    if(f == 12 && g == 17)cout << "Friday" << endl;
    if(f == 12 && g == 18)cout << "Saturday" << endl;
    if(f == 12 && g == 19)cout << "Sunday" << endl;
    if(f == 12 && g == 20)cout << "Monday" << endl;
    if(f == 12 && g == 21)cout << "Tuesday" << endl;
    if(f == 12 && g == 22)cout << "Wednesday" << endl;
    if(f == 12 && g == 23)cout << "Thursday" << endl;
    if(f == 12 && g == 24)cout << "Friday" << endl;
    if(f == 12 && g == 25)cout << "Saturday" << endl;
    if(f == 12 && g == 26)cout << "Sunday" << endl;
    if(f == 12 && g == 27)cout << "Monday" << endl;
    if(f == 12 && g == 28)cout << "Tuesday" << endl;
    if(f == 12 && g == 29)cout << "Wednesday" << endl;
    if(f == 12 && g == 30)cout << "Thursday" << endl;
    if(f == 12 && g == 31)cout << "Friday" << endl;
    


  }



}

Measured memory_bytes: 0