import datetime y, m, d = map(int, input().split("/")) now = datetime.datetime(y, m, d) ans = str(now + datetime.timedelta(days=2)) print(ans.replace("-", "/").strip(" 00:00:00"))