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