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