#include <algorithm> #include <iomanip> #include <iostream> #include <string> using namespace std; int main() { int count =0; string str, res=""; cin>>str; for(int i=str.length()-1;i>=0;i--){ res=str[i]+res; count++; if(count==3&&i>0){ res="...