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