#include int strlng(char* s) { return strlen(s); } void ps(char *s, int n) { int m,i; m=n-strlng(s); for (i=0;i'9')) c=getchar(); while ((c>='0') && (c<='9')) { s[i]=c; i++; c=getchar(); } s[i]=0; } char* add(char* op1,char *op2,int e,char *res,int rl) { int l1,l2,i=0,m=0; l1=strlng(op1);l2=strlng(op2); while ((i0)) { if (i=e) && (i(strlng(op2+1)+1))?strlng(op1):(strlng(op2+1)+1); ps(op1,l);op2[0]=o;ps(op2,l); for (j=0;jl) l=ll; ps(op1,l); op2[0]='*'; ps(op2,l); if (l>ll) for (j=0;j1) { for (i=0;i