//GIVE ME AC!!!!!!!!!!!!!!!!! #include //#include #define ll long long #define MOD 1000000007 #define rep(i,n) for(int i=0;i divisor(ll n) { vector ret; for (long long i = 1; i * i <= n; i++) { if (n % i == 0) { ret.push_back(i); if (i * i != n) ret.push_back(n / i); } } sort(ret.begin(), ret.end()); return ret; } //約数個数 O(√N) ll divisor_num(ll a) { ll ans=1; for (int i = 2; i <= sqrt(a); i++) { int cnt = 0; while (a % i == 0) { cnt++; a /= i; } ans *= (cnt + 1); if (a == 1){ break; } } if (a != 1){ ans *= 2; } return ans; } //最大公約数 ll gcd(ll x,ll y){ if(x0){ r=x%y; x=y; y=r; } return x; } //最小公倍数 ll lcm(ll x,ll y){ return (ll)(x/gcd(x,y))*y; } double factorial(int n){ double ans=1; for(int i=1;i<=n;i++){ ans*=i; } return ans; } int main(){ string s; cin>>s; ll n=s.size(); rep(i,n-1){ if(s[i]!=s[i+1]){ cout<