CodeLab Academy 📞 9936 6696
← List Python · Level 3: Conditions (if) Code · 30 points ← #216 #218 →

#217. Days in a month

You get a month number in a year that is not a leap year. How many days does that month have? (February has 28, months 4, 6, 9, 11 have 30, the others have 31.) ### Input One integer (1 ≤ m ≤ 12). ### Output The number of days.

Examples

Input
3
Output
31
Input
4
Output
30

💡 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!