def solution(M, D):
month_days = [31,28,31,30,31,30,31,31,30,31,30,31]
days = sum(month_days[:M-1]) + D
return days
M = 3
D = 5
ret = solution(M, D)
print("solution 함수의 반환 값은", ret, "입니다.")
To embed this project on your website, copy the following code and paste it into your website's HTML: