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