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.

Example Input: 3, ['Y', '959', '1399', 'T', 'R', 'o']
Example Output: Y, 959, 1399

Example Input: 2, ['b', '4015', 'y', '4537', 'f']
Example Output: b, 4015, y

Example Input: 2, ['9077', '3291', '1879', 'W']
Example Output:
9077, 3291