from datetime import * print(datetime.strptime(input(), "%Y/%m/%d")-timedelta(days=-2).strftime("%Y/%m/%d"))