Signal from space

Signal from space

Description

One day a signal from space was registered. Scientists managed to record the signal as a sequence of N symbols. It turned out that due to a technical difficulty some symbols have been repeated. Help the scientists by writing a program which removes consecutive repetitions of symbols, decoding the message.

Input

Input data is read from the standard input (the console)

  • On the only input line a message is given

Output

Print to the standard output

  • Print the decoded message

Constraints

  • The length of the message will be no more than 10000 symbols
  • Message consists of digits and latin letters (upper and lower case)

Sample tests

Sample test 1

Input

Hello

Output

Helo

Sample tests

Sample test 2

Input

hoboobbo422222Aaao

Output

hobobo42Aao