# -*- coding: utf-8 -*-
"""
Created on Fri Aug 28 11:42:35 2020

@author: Sim
"""
from datetime import date

name = input("Enter your name: ")
print("Hello ", name, "!\n")


today = date.today()
thisyear = int( today.strftime("%Y") )
print(thisyear)

birthyear = input("Enter birth year: ")
# age = thisyear  - birthyear  # 에러
age = thisyear  - int(birthyear) 
print("You are age is: ", age)

print(today.strftime("%d-%m-%Y"))