arr = [ i for i in range(10,51) ]
print(arr)
print(f"{arr[0]} {arr[-1]}")