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