name = input('name: ')
index = int(input('index: '))
print(name[index])