a = list(range(10, 51))
print(a)
print(a[0], a[len(a)-1])