CodeLab Academy 📞 9936 6696
← List Python · Level 9: Functions and dicts Code · 90 points ← #839 #841 →

#840. Day of the week

January 1st of the year was a Monday. In this non-leap year, what day of the week is day d of month m? (Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday) ### Input One line: m d. ### Output The name of the day.

Examples

Input
12 10
Output
Monday
Input
9 12
Output
Wednesday

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!