#include<iostream> #include<stack> using namespace std; int main() { string s1,s2; while(cin>>s1>>s2) { string res; stack<char>st; int l1=s1.size(); int l2=s2.size(); int i=l1-1,j=l2-1,up=0; while(i>=0&&...