import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines import datetime y,m,d = map(int,read().split(b'/')) x = datetime.date(y,m,d) + datetime.timedelta(days = 2) print(x.strftime('%Y/%m/%d'))