import datetime as d print(str(d.date(*map(int, input().split("/"))) + d.timedelta(days=2)).replace("-", "/"))