a = input()
print(f"year={a[:4]}\nmonth={a[4:6]}\ndate={a[6:]}")