HD = 2 for day in range(1, 29): if 1 <= (day%10 + day//10) <= 12: HD += 1 print(HD)