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, ['W', 'U', '7989', '7921', '2625', '4897', '1429', '7431', 'v', 'J', 'G', '2459', 'h', 'D', 'O', 'j', '5037', '9775', '7017']

Answer: W, U, 7989, 7921, 2625, 4897, 1429, 7431, v, J, G, 2459, h, D, O


Question: 8, ['G', '5365', 'g', 'D', '979', '2379', 'H', 'N', '4891', 'F', '9849', 'L', 'w', 'I', '1991', '6423', 'g', '4621', 'Z', 'a', '7349', 'z', '8711', '9559']

Answer: G, 5365, g, D, 979, 2379, H, N, 4891, F, 9849, L, w, I, 1991, 6423


Question: 5, ['k', 'X', '7651', '1089', 'K', 'L', '8611', '7703', 'd', 'T', 'Z', '3399', '7377']

Answer:
k, X, 7651, 1089, K, L, 8611, 7703