#include <cstdio> #include <iostream> #include <string> using namespace std; int main() { string s1,s2; while(getline(cin,s1)){ if(s1[0]=='#'){ break; } getline(cin,s2); int len1=s1.size(); int len2=s2.size(); f...