char a[99],b[99];i;main(){for(scanf("%s%s",a,b);a[i]==b[i];i++);puts(strlen(a)strlen(b)?a:(a[i]