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: 1, ['p', '1469', '7097']

Output: p, 1469


Input: Consider Input: 1, ['t', 'O', '5607', '1577', '9143', '5197', 'y', 'd', 'w', 's', '3331', '8701', '9409']

Output: t, O, 5607, 1577, 9143, 5197, y, d, w, s, 3331, 8701


Input: Consider Input: 2, ['1253', 'c', 'a', '5613', '8779', 'k', 't', 'A', '9297', '9969', '2853', '6509', 'm', '9647', 's', 'w', '5399', 't', 'k', 'S', '9069', 'D', 'z', '5475', 'O', '4609', 'a']


Output: 1253, c, a, 5613, 8779, k, t, A, 9297, 9969, 2853, 6509, m, 9647, s, w, 5399, t, k, S, 9069, D, z, 5475, O