#include using namespace std; int main(){ string filename = __FILE__; ifstream ifs(filename); vector original; string s; while(getline(ifs,s)){original.push_back(s);} vector modified; for(int i=0; i<(int)original.size(); ++i){getline(cin, s);modified.push_back(s);} int x = 0; for(int i=0; i<(int)original.size(); ++i){ if(original[i] == modified[i]){ x += original[i].size()+2; }else{ for(int j=0; j<(int)original[i].size(); ++j){ if(original[i][j] != modified[i][j]){ printf("%d\n\"%c\"\n\"%c\"\n", x+j, original[i][j], modified[i][j]); } } break; } } return 0; }