import sys input=sys.stdin.readline a=input().rstrip() b=input().rstrip() bl=list(b) while len(a)