import random
number_list = [random.randint(-10, 25) for n in range(20)]
print(number_list)
index_ask = int(input())
try:
print(number_list[index_ask])
except IndexError:
print('нет')
import random
number_list = [random.randint(-10, 25) for n in range(20)]
print(number_list)
index_ask = int(input())
try:
print(number_list[index_ask])
except IndexError:
print('нет')