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.

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

Output: 7539, 5355, 5163, 393, U, 9923, E, H, A, K


Input: Consider Input: 4, ['s', '2277', 'j', 'x', '9099', 'Y', '4843', '1815', '9189', '7767', 'Y', 'N', 'U', '1855', 'z']

Output: s, 2277, j, x, 9099, Y, 4843, 1815, 9189, 7767, Y


Input: Consider Input: 5, ['1395', 'D', 'O', 'X', '4747', '2793', 'h', 'd', 'U', 'd', 'c', '863', 's', '2035', 's']


Output: 1395, D, O, X, 4747, 2793, h, d, U, d