#include #include int main() { int n,a,b,m,i; char x[100],y[100]; while(scanf("%d",&n)!=EOF) { while(n--) { scanf("%s%s",x,y); a=strlen(x); m=a/2; b=strlen(y); for(i=0;i