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: 14, ['G', '5405', '4479', 'V', '9657', 't', 'M', '3929', '4503', '4741', 'k', 's', 'R', 'K', '2139', '9701', '3753', '5369', 'd', '29', 'u', '8415', 'Z', 'x', 'Q', '7263', '7257', '6581', 'V']
Example Output: G, 5405, 4479, V, 9657, t, M, 3929, 4503, 4741, k, s, R, K, 2139

Example Input: 10, ['b', '2623', '4859', 'o', '2809', '2123', 'd', '1375', '2371', '4673', 'f', 'J', '5073', '9347', '6197', 'y', 'J', 'r', 'A', '5057', '3535']
Example Output: b, 2623, 4859, o, 2809, 2123, d, 1375, 2371, 4673, f

Example Input: 5, ['K', 'y', 'l', 'I', '2417', 'G', 'h', '3985', '5729', '9069', '543', 'w', '4627', '6849', '5027', 't', '635', '3833', 'o', 'W', 'B', '4031', 'm', '2465', '1705', 'L', '9711', 'm']
Example Output:
K, y, l, I, 2417, G, h, 3985, 5729, 9069, 543, w, 4627, 6849, 5027, t, 635, 3833, o, W, B, 4031, m