import datetime a,b,c=map(int,input().split('/')) print(str(datetime.date(a,b,c)+datetime.timedelta(days=2)).replace('-','/'))