#include <iostream> using namespace std; int main() { string a, b; while (cin >> a >> b) { int i = 0, j = 0; int dian1 = a.find('.'); int dian2 = b.find('.'); string a1 = a.substr(0, dian1); string a2 = a.substr(dian1 + 1, a.size() ...