print<>=~s/(.)\1/\1/gr