Given a string s, you are asked to remove all the consecutive duplicate letters from it. As long as there are consecutive equal letters, the leftmost two of those should be removed. This process should be repeated until no consecutive equal letters are present in the string s. So, the final string should not contain any consecutive duplicate letters.
The input contains a single line s (1 ≤ |s| ≤ ).
The programs should print the resulting string after removals.