x = -5

while x <= 5:
    print( A(x) , B(x) )
    x = x + 1