Given two integers a and b. Print the squares and cubes for all integers between a and b inclusively.
First line contains two integers a and b (0 ≤ a ≤ b ≤ 10000).
Print in the first line the squares for all integers between a and b inclusively in increasing order. Print in the second line the cubes for all integers between a and b inclusively in decreasing order.