list = [i for i in range(10, 51)]
print(list)
print(list[0], list[40], sep=' ')