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: 4, ['s', 'k', 'Y', '1677', 'j', '931', '8947', 'R', 'z', '941', '1599', '7607', 'g', '3005', '6127']

Answer: s, k, Y, 1677, j, 931, 8947, R, z, 941, 1599


Question: 9, ['S', '2143', 'Y', '1309', 'e', '9413', 'u', 'R', 'c', 'p', 'N', 'z', '3637', 'c', '2521', 'g', 'y', '349', 'K', 'G', 'm', '251', '2457', 'w', 'F', 'o', 'P', '6121']

Answer: S, 2143, Y, 1309, e, 9413, u, R, c, p, N, z, 3637, c, 2521, g, y, 349, K


Question: 12, ['y', '8573', 'u', '1621', 's', '6017', 'l', '811', '3529', '3325', 'Z', 'P', '3649', '3999', 'B', '2927', 'U', 'l', '8545', 'l', 'a', '3239', 'u', 'J', 'n', 'E', '6793']

Answer:
y, 8573, u, 1621, s, 6017, l, 811, 3529, 3325, Z, P, 3649, 3999, B