import datetime as dt Y,M,D = map(int, input().split('/')) DaT = dt.date(Y,M,D) + dt.timedelta(days=2) print(DaT.strftime("%Y/%m/%d"))