私の解答
values = input().split()
N = int(values[0])
M = int(values[1])
K = int(values[2])
L = int(values[3])
A = [[0] * M for _ in range(N)]
for i in range(N):
values = input().split()
for j in range(M):
A[i][j] = int(values[j])
print(A[K - 1][L - 1])
前の問題の解答例を参考にしたので、同じになりました!
解答例
values = input().split()
N = int(values[0])
M = int(values[1])
K = int(values[2])
L = int(values[3])
A = [[0] * M for _ in range(N)]
for i in range(N):
values = input().split()
for j in range(M):
A[i][j] = int(values[j])
print(A[K - 1][L - 1])