https://www.acmicpc.net/problem/27866
0번부터 인덱스가 시작한다는 점만 알고 있다면 쉽게 풀 수 있는 문제이다.
arr = input() print(arr[int(input()) - 1])