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: 2, ['4785', 'g', '7381', 'J', 'R', 'e', 'N', 'v', '6201', 'Y', 'h', 'e', '7723', 'Y', 'm']

SOLUTION: 4785, g, 7381, J, R, e, N, v, 6201, Y, h, e, 7723

PROBLEM: 1, ['C', '9777', 'V', '7481', '4737']

SOLUTION: C, 9777, V, 7481

PROBLEM: 3, ['d', '6341', 'L', 'j', 'U', 'K', '807', 'V', '4853', '5183', 'H', '1057', 'J', 'g', '3103']

SOLUTION:
d, 6341, L, j, U, K, 807, V, 4853, 5183, H, 1057