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: 10, ['x', '6869', '9215', '1815', '7867', 'I', '4237', '6971', 'Y', 'p', '6951', '3907', '8869', '5239', '5591', '6357', 'r', 'F', 'f', '4189', 'p', 'm', 'r', '163', '7793']
Example Output: x, 6869, 9215, 1815, 7867, I, 4237, 6971, Y, p, 6951, 3907, 8869, 5239, 5591

Example Input: 4, ['7539', '5355', '5163', '393', 'U', '9923', 'E', 'H', 'A', 'K', 'o', 'N', 'Z', 'c']
Example Output: 7539, 5355, 5163, 393, U, 9923, E, H, A, K

Example Input: 5, ['835', 'k', 'n', '9827', 'M', 'R', '6469', '1045', 'g', 'd']
Example Output:
835, k, n, 9827, M