import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
Scanner input
= new Scanner
(System.
in); str = input.nextLine();
for(int i = 0;i < str.length(); i++)
{
str2 = empty;
str2 += str.charAt(i);
//arr.Add(str.charAt(i));
if(i == str.length()-1)
arr.add(str2);
else
{
if(str.charAt(i) == str.charAt(i+1))
i++;
else arr.add(str2);
}
}
for(int i = 0;i < arr.size();i++)
{
}
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCUFycmF5TGlzdDxTdHJpbmc+IGFyciA9IG5ldyBBcnJheUxpc3QoKTsKCQlTdHJpbmcgc3RyLHN0cjI7CgkJU3RyaW5nIGVtcHR5ID0gIiI7CgkJU2Nhbm5lciBpbnB1dCA9IG5ldyBTY2FubmVyKFN5c3RlbS5pbik7CgkJc3RyID0gaW5wdXQubmV4dExpbmUoKTsKCQlmb3IoaW50IGkgPSAwO2kgPCBzdHIubGVuZ3RoKCk7IGkrKykKCQl7CgkJCXN0cjIgPSBlbXB0eTsKCQkJc3RyMiArPSBzdHIuY2hhckF0KGkpOwoJCQkvL2Fyci5BZGQoc3RyLmNoYXJBdChpKSk7CgkJCWlmKGkgPT0gc3RyLmxlbmd0aCgpLTEpCgkJCQlhcnIuYWRkKHN0cjIpOwoJCQllbHNlCgkJCXsKCQkJCWlmKHN0ci5jaGFyQXQoaSkgPT0gc3RyLmNoYXJBdChpKzEpKQoJCQkJCWkrKzsKCQkJCWVsc2UgYXJyLmFkZChzdHIyKTsKCQkJfQoJCX0KCQlmb3IoaW50IGkgPSAwO2kgPCBhcnIuc2l6ZSgpO2krKykKCQl7CgkJCVN5c3RlbS5vdXQucHJpbnQoYXJyLmdldChpKSk7CgkJfQoJfQp9