백준 27866 문자와 문자열
#BOJ 27866 문자와 문자열 import sys ch = input() n = int(sys.stdin.readline()) print(ch[n-1])