import random
a = int(input())
b = int(input())
mas = [None] * 10
for i in range(5):
mas[i] = a + random.random() * (b - a)
mas[i + 5] = mas[i] ** 3
print(mas)
import random
a = int(input())
b = int(input())
mas = [None] * 10
for i in range(5):
mas[i] = a + random.random() * (b - a)
mas[i + 5] = mas[i] ** 3
print(mas)