output_description: For each dataset, print the day (please see the following words) in a line.
  
      
      
      Monday
      Tuesday
      Wednesday
      Thursday
      Friday
      Saturday
      Sunday
input_description: The input is a sequence of datasets. The end of the input is indicated by a
  line containing one zero. Each dataset consists of two integers m and d
  separated by a single space in a line. These integers respectively represent
  the month and the day.
  
  The number of datasets is less than or equal to 50.
attempt: week = {
      "1": "Thursday",
      "2": "Friday",
      "3": "Saturday",
      "4": "Sunday",
      "5": "Monday",
      "6": "Tuesday",
      "7": "Wednesday",
  }
  month = {
      "1": 0,
      "2": 31,
      "3": 60,
      "4": 91,
      "5": 121,
      "6": 152,
      "7": 182,
      "8": 213,
      "9": 244,
      "10": 274,
      "11": 305,
      "12": 335,
  }
  m, d = input().split()
  while m != "0":
      days = month[m] + int(d)
      print(week[str(days % 7)])
      m, d = input().split()
  
problem_description: What day is today?
  
  Your task is to write a program which reads a date (from 2004/1/1 to
  2004/12/31) and prints the day of the date. Jan. 1, 2004, is Thursday. Note
  that 2004 is a leap year and we have Feb. 29.
samples: [{"input": "1\n    2 29\n    0 0", "output": "Thursday\n    Sunday"}]