Remove adjacent duplicates

Try to find a way to remove adjacent duplicate letters.

Input

a a d d j a c c c c e n t t t t d u p p p l i i i c a a t t e e w o r d d d d s s

Output

a d j a c e n t d u p l i c a t e w o r d s