import random
lst = [random.randint(1, 1000) for _ in range(10)]
print(*lst)
new_lst = [*reversed([lst[i] for i in range(len(lst) // 2)]), *reversed([lst[i] for i in range(len(lst) // 2, len(lst))])]
print(*new_lst)
import random
lst = [random.randint(1, 1000) for _ in range(10)]
print(*lst)
new_lst = [*reversed([lst[i] for i in range(len(lst) // 2)]), *reversed([lst[i] for i in range(len(lst) // 2, len(lst))])]
print(*new_lst)