for x in range(-5,6):
    print( A(x) , B(x) )