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