import datetime as T Y,M,D=map(int,input().split('/')) A=T.datetime(Y,M,D)+T.timedelta(days=2) print(str(A.date()).replace('-','/'))