import sys import datetime sys.setrecursionlimit(10 ** 6) int1 = lambda x: int(x) - 1 p2D = lambda x: print(*x, sep="\n") def MI(): return map(int, sys.stdin.readline().split()) def LI(): return list(map(int, sys.stdin.readline().split())) def LLI(rows_number): return [LI() for _ in range(rows_number)] def main(): y,m,d=map(int,input().split("/")) today=datetime.date(y,m,d) today+=datetime.timedelta(days=2) print(today.strftime("%Y/%m/%d")) main()