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: 1, ['313', '8573', 'h', 'w', '8833', 'Q', 'd', '5285', '4051', 'R', 'o', 'V', 'U', '965', '4407', '2599', 'u', 'f', '8137', 'G', '5315']

SOLUTION: 313, 8573, h, w, 8833, Q, d, 5285, 4051, R, o, V, U, 965, 4407, 2599, u, f, 8137, G

PROBLEM: 9, ['A', 'z', 'V', 'm', 'Y', '6679', 'v', 'J', '5091', '5873', 'A', 'Q', 'H', '4897', '7143', 'l', '6091', 'D', '2423', '351', '4757', 'v', 'N', 'X', 'R', '3483', 'q', '2729', '2517']

SOLUTION: A, z, V, m, Y, 6679, v, J, 5091, 5873, A, Q, H, 4897, 7143, l, 6091, D, 2423, 351

PROBLEM: 1, ['461', 'z', 'Q', '3701', '8593', '3513', '4063', '6927', '5505', 'k']

SOLUTION:
461, z, Q, 3701, 8593, 3513, 4063, 6927, 5505