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, ['6777', 'Z', '3523', '7653', '3293', '3215', '3581', 'M', '8025', 'i', 'R', '9139', '8597', '807', 'D', 'z', '8889', 'Y', '1729', 'S', 'U', 'D', '3385', 'N', '6383', 'V', 'i']

Output: 6777, Z, 3523, 7653, 3293, 3215, 3581, M, 8025, i, R, 9139, 8597, 807, D, z, 8889, Y, 1729, S, U, D, 3385, N, 6383, V


Input: Consider Input: 4, ['1085', '1307', 'c', 'T', '7165', '9861', '3015', 'b', 'I', 'o']

Output: 1085, 1307, c, T, 7165, 9861


Input: Consider Input: 1, ['8719', '615', '8685', 'K', '7177', 'L', 'n', 'k', 'P']


Output: 8719, 615, 8685, K, 7177, L, n, k