import datetime y, m, d = map(int, input().split("/")) now = datetime.datetime(y, m, d) now = now + datetime.timedelta(days=2) print(str(now.year).zfill(4), str(now.month).zfill(2), str(now.day).zfill(2), sep="/")