#include using namespace std; void no_1362(void) { string s; cin >> s; int s_size = (int)s.size(); for (int i = 1; i < s_size - 1;i++){ char tgt0 = s[i - 1]; char tgt1 = s[i]; char tgt2 = s[i + 1]; if (tgt1 == tgt0 && tgt1 == tgt2) continue; if(tgt1==tgt0&&tgt1!=tgt2){ cout << i + 2 << " " << tgt2 << endl; return; } else if(tgt1==tgt2&&tgt1!=tgt0){ cout << i << " " << tgt0 << endl; return; } else if(tgt0==tgt2){ cout<