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, ['t', '8531', 'e', '8317', '2747']
Example Output: t, 8531, e

Example Input: 1, ['C', '9539', '7199', '9891']
Example Output: C, 9539, 7199

Example Input: 5, ['E', '5939', 'a', '8827', '8361', 'H', '317', 'd', '7815', '7105', '9479', 'e', 'i', 't', '7661', 'U', '2883', '1329', 'I', '3271', '8715', 's', '3661', '5221', '3713', 'I', '7297', '1565', 'b']
Example Output:
E, 5939, a, 8827, 8361, H, 317, d, 7815, 7105, 9479, e, i, t, 7661, U, 2883, 1329, I, 3271, 8715, s, 3661, 5221