import sys import datetime read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines s = readline().decode().strip() y, m, d = [int(x) for x in s.split("/")] t = datetime.datetime(y, m, d) t = t + datetime.timedelta(days=+2) ans = t.strftime("%Y/%m/%d") print(ans)