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, ['7949', '795', '3941', '403', '8067']

SOLUTION: 7949, 795, 3941, 403

PROBLEM: 2, ['t', '8531', 'e', '8317', '2747']

SOLUTION: t, 8531, e

PROBLEM: 10, ['8369', '175', '4507', '5953', '7463', 'S', 'B', 'd', 'j', 'X', 'u', '8057', '2453', 'f', 'h', 'O', '8091', 'M', '2155', '4705', '4047', '4881', 'Q', 'F', 'q', '6993', '6947', 'h', '455']

SOLUTION:
8369, 175, 4507, 5953, 7463, S, B, d, j, X, u, 8057, 2453, f, h, O, 8091, M, 2155