d, m, y = map(int, input('Enter date in DD MM YYYY format : ').split())
mon = {1:31, 2:28, 3:31, 4:30, 5:31, 6:30, 7:31, 8:31, 9:30, 10:31, 11:30, 12:31}
print('Days left : ', mon[m]-d)
d, m, y = map(int, input('Enter date in DD MM YYYY format : ').split())
mon = {1:31, 2:28, 3:31, 4:30, 5:31, 6:30, 7:31, 8:31, 9:30, 10:31, 11:30, 12:31}
print('Days left : ', mon[m]-d)