import datetime y, m, d = [int(t) for t in input().split('/')] date = datetime.datetime(y, m, d) date = date + datetime.timedelta(days=2) print('%02d/%02d/%02d' % (date.year, date.month, date.day))