#include #include using namespace std; int string_to_int(string s){ int x = 0; for(int i=0; i>s>>c1>>c2; if(cin.eof()){ break; } if(c1 == c2){ if(c1 != '0'){ cout<