TASK DEFINITION: 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.
PROBLEM: 4, ['2293', '8425', '7307', '4473', 's', 'n', '8967', 'G', 'Y', 'z', 't', '8263', 'a', '5415', '791', '5041', 'y', '549', '4689', 'a', '8333', 'X', '9043', '8931', '3099', 'O']

SOLUTION: 2293, 8425, 7307, 4473, s, n, 8967, G, Y, z, t, 8263, a, 5415, 791, 5041, y, 549, 4689, a, 8333, X

PROBLEM: 1, ['6253', '9457', 'K', 'w', '1847', '223', 'w', '7383', '6091']

SOLUTION: 6253, 9457, K, w, 1847, 223, w, 7383

PROBLEM: 8, ['5903', '9639', '6337', 'L', 'E', 'B', 'q', 'N', 'X', 'J', '9087', 'r', '9875', 'n', '3575', '5897', 't', '2697', 'R', '7853', 'n', 'm', 'K', '1521', 'y', 'u', '7433']

SOLUTION:
5903, 9639, 6337, L, E, B, q, N, X, J, 9087, r, 9875, n, 3575, 5897, t, 2697, R