instruction:
In this task, you are given inputs i and A, where i is an integer and A is a list. You need to list all the elements of A preceding the last i elements. i will always have a value less than the length of A.
question:
3, ['3287', '3313', '1501', '5179', 'S', 'n', '8371', 'Z', 'K', 'T', 'v', '7227', '8315', '6731', 'e', 'h', 'g', '4397']
answer:
3287, 3313, 1501, 5179, S, n, 8371, Z, K, T, v, 7227, 8315, 6731, e


question:
4, ['s', '2277', 'j', 'x', '9099', 'Y', '4843', '1815', '9189', '7767', 'Y', 'N', 'U', '1855', 'z']
answer:
s, 2277, j, x, 9099, Y, 4843, 1815, 9189, 7767, Y


question:
10, ['N', 'P', '4351', '9091', 'r', '9275', 'X', 'S', '7799', 'X', 'x', 'M', '4387', 'C', 'B', '2809', 'q', '4943', 'T', 's', 'p', 'm', 'n', '3235', 'I', 'e', 'S', 'S', 'Z']
answer:

N, P, 4351, 9091, r, 9275, X, S, 7799, X, x, M, 4387, C, B, 2809, q, 4943, T