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.

Ex Input:
2, ['T', 'D', '6925', 'W', 'J', 'Q', '1373', '3577', '6399', 'd', '281', '6631', '2847']

Ex Output:
T, D, 6925, W, J, Q, 1373, 3577, 6399, d, 281


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

Ex Output:
b, 4015, y


Ex Input:
1, ['413', '8413', 'C', 't', '8899', 'U', '6869', '991', 'C', '7051', 'A', '1827', '3915', 'k', '6255', 'j', '1101', 'L', 'z']

Ex Output:

413, 8413, C, t, 8899, U, 6869, 991, C, 7051, A, 1827, 3915, k, 6255, j, 1101, L