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: 2, ['u', 'Q', '5689', '2415', 'X', 'q', '743']
Example Output: u, Q, 5689, 2415, X

Example Input: 13, ['T', 'W', '3873', '2359', '7667', '1057', 't', 'Y', 'D', '9569', 'z', '2171', '7863', 'A', '7177', 'o', '9889', '3769', 'k', '227', '6991', 'S', '4603', '7681', 'M', '1993', '5955', 'z']
Example Output: T, W, 3873, 2359, 7667, 1057, t, Y, D, 9569, z, 2171, 7863, A, 7177

Example Input: 6, ['2861', '4173', 'Q', 'g', '8505', '9549', '5225', 'W', 'V', 'c', '4043', '8015', '4563', 'c', '3543', 'j', 'Y', 'A', '3615', '9445']
Example Output:
2861, 4173, Q, g, 8505, 9549, 5225, W, V, c, 4043, 8015, 4563, c