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: 9, ['e', '1509', '2895', '4747', 'i', '7541', '6273', '1271', 'f', '8157', 'h', '3091', '6259', 'a', 'S', 'c', 'S', '7737', 'p', 'T', 'z', '6117', '6627', '9999', '1011', 'l', 'K']

Output: e, 1509, 2895, 4747, i, 7541, 6273, 1271, f, 8157, h, 3091, 6259, a, S, c, S, 7737


Input: Consider Input: 5, ['9459', '1635', 'l', '9595', '3745', 'e', 'X', 'u', 'l', 'R', 't', 'T']

Output: 9459, 1635, l, 9595, 3745, e, X


Input: Consider Input: 8, ['7423', 'f', 'U', 'P', '2431', 'A', '6053', '5669', '7289', 'y', 'm', 'p', 'p', 'K', 'o', '8227', '2743', '7361', '2429', '2243', '7', '9065', 'l', 'V', '1295', 'k', '8243', '3229', '3241']


Output: 7423, f, U, P, 2431, A, 6053, 5669, 7289, y, m, p, p, K, o, 8227, 2743, 7361, 2429, 2243, 7