#include<bits/stdc++.h>
using namespace std;
void st(string str,int i){
str = str+str[i];
if(i == str.length()-1){
// out[j] = ‘\0’;
//cout<<out;
return;
}
if(str[i] == str[i+1]){
st(str,i+2);
}
st(str,i+1);
}
int main(){
string str;
cin>>str;
st(str,0);
cout<<str;
}
why is my code not giving any output