# Any Y day without 31th correspond HAPPY DAY only once a year. print("30")