#
# µû¶óÇÏ¸ç ¹è¿ì´Â ÆÄÀ̽ã°ú µ¥ÀÌÅÍ°úÇÐ(»ý´ÉÃâÆÇ»ç 2020)
# LAB 4-4 À±³â ÆÇ´ÜÀº ¾î¶»°Ô ÇÏÁö, 104ÂÊ
#
year = int(input("¿¬µµ¸¦ ÀÔ·ÂÇϽÿÀ: "))
if (year % 4 == 0 and year % 100 != 0) or year % 400 == 0:
print(year, "³âÀº À±³âÀÔ´Ï´Ù.")
else :
print(year, "³âÀº À±³âÀÌ ¾Æ´Õ´Ï´Ù.")