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: 8, ['3457', '4925', 'K', '4729', '1811', 'V', '7821', '1551', 'x', '2331', '1783', 'Y', '1167', '7639', 'D', 'X', '5403']

Output: 3457, 4925, K, 4729, 1811, V, 7821, 1551, x


Input: Consider Input: 2, ['c', '2337', '5909', '2409', '6989', '7645', '469', '9185', '6869']

Output: c, 2337, 5909, 2409, 6989, 7645, 469


Input: Consider Input: 7, ['2851', 'w', 'B', 'u', '1505', '701', '9537', 'x', '8109', '3243', '7337', '8779', '227', '1431', 'e', '7511', 'b', '1969', '9321', 'P', 'Z', 'i', '8737', '4129', 'R', 'm', 'o']


Output: 2851, w, B, u, 1505, 701, 9537, x, 8109, 3243, 7337, 8779, 227, 1431, e, 7511, b, 1969, 9321, P