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: 2, ['b', '4015', 'y', '4537', 'f']

Answer: b, 4015, y


Question: 6, ['r', 'p', '7223', '9051', 'u', 'v', '375', 'w', '8567', 'q', 'N', '9645', 'q', '8191', '4949', 'e']

Answer: r, p, 7223, 9051, u, v, 375, w, 8567, q


Question: 12, ['9829', 'z', 'H', 'x', '6239', '153', 'k', '7073', 'l', '3875', '9151', 'I', 'k', '5673', '7671', 'j', '2257', 'j', '1213', '5087', '2281', 'S', 'v', 'X', 'X', 'T', 'H', '683', '9833', 'W']

Answer:
9829, z, H, x, 6239, 153, k, 7073, l, 3875, 9151, I, k, 5673, 7671, j, 2257, j