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: 9, ['u', '4051', '3701', 'X', '4683', 'l', '7955', 'O', '4095', 'c', 'j', 'A', '6477', '529', '4761', '1117', 'l', 'X', 'h']

SOLUTION: u, 4051, 3701, X, 4683, l, 7955, O, 4095, c

PROBLEM: 3, ['o', 'l', '4141', '4805', '1971', '751']

SOLUTION: o, l, 4141

PROBLEM: 12, ['729', '2333', '3937', '9107', 'e', '3631', 'J', '4371', '3501', '2139', '8951', 's', '9805', '2741', '7283', 'U', 'J', '805', '1253', 'v', '5681', '3939', 'J', '2479', '3637', 'l', 'H']

SOLUTION:
729, 2333, 3937, 9107, e, 3631, J, 4371, 3501, 2139, 8951, s, 9805, 2741, 7283