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