import datetime y, m, d = map(int,input().split('/')) t = datetime.date(y,m,d) ft = t + datetime.timedelta(days=2) print(ft.strftime('%Y/%m/%d'))