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: 9, ['M', '5', 'j', 'D', '8995', '9639', 'C', '431', '9105', '525', 'Q', 'O', '3657', '6137', 'u', 'c', '3099', '6233']
Example Output: M, 5, j, D, 8995, 9639, C, 431, 9105

Example Input: 1, ['2161', 'V', 'r', 'I', '9813', 'P', 'E', 'J', 'Z', '8861', '9883', '131', '2089', 'p', '8863', '1483', '4753', '7895']
Example Output: 2161, V, r, I, 9813, P, E, J, Z, 8861, 9883, 131, 2089, p, 8863, 1483, 4753

Example Input: 3, ['2253', '7753', 'p', 'V', 'G', 'B', 'B', '7579', '9913', 'G', 'a', 'd', '9549', 'J', '3815', 'k', '6697']
Example Output:
2253, 7753, p, V, G, B, B, 7579, 9913, G, a, d, 9549, J