#include<bits/stdc++.h>
using namespace std;
int main() {
string s;
cin>>s;
for(int i=0;i<s.length();i++)
{
int d=0;
int count=1;
while((i<s.length()-1)&&(s.at(i)==s.at(i+1)))
{
count ++;
i++;
}
cout<<s.at(i)<<count;
}
return 0;
}
which test case it is failing