import datetime s = list(map(int,input().split("/"))) day_after_tomorrow = datetime.timedelta(days=2) s = datetime.datetime(s[0], s[1], s[2]) s = str(s+day_after_tomorrow).split()[0] print(s.replace("-","/"))