```cpp
include[HTML_REMOVED]
include[HTML_REMOVED]
using namespace std;
int main(){
string a,b;
getline(cin,a);
int len=a.size();
for(int i=0;i<len-1;i++){
b[i]=char(a[i]+a[i+1]);
cout<<b[i];
}
cout<<(char)(a[0]+a[len-1]);//别写成数组越界
return 0;
}