import datetime

brith = input()
print("year={}\nmonth={}\ndate={}".format(brith[:4],brith[4:6],brith[-2:]))