a = raw_input() b = raw_input() c = a d = b for i in xrange(): e = c-d if e