import datetime year, month, day = input().split('/') now = datetime.datetime(int(year), int(month), int(day)) now2 = now + datetime.timedelta(days = 2) d = now2.strftime('%Y/%m/%d') print(d)