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: 15, ['3431', '2771', 'D', 'u', '9145', '239', 'R', '7953', 'G', '5785', 'd', 'h', 'h', '6517', 'h', '5731', 's', 'N', 'v', 'T', 'E', 'l', '7657', 'U', 'h', '9741', '3253', '1395', 'I', '3445']

Output: 3431, 2771, D, u, 9145, 239, R, 7953, G, 5785, d, h, h, 6517, h


Input: Consider Input: 2, ['3207', 'w', 'B', '4179', 'g', '1839', 'L', '8075', 's', '7479', 'f', '6717', '6499']

Output: 3207, w, B, 4179, g, 1839, L, 8075, s, 7479, f


Input: Consider Input: 5, ['2625', 'F', '7721', '3491', '8145', 'd', 'H', 'o', '8583', '9097', '4029', 'W', 'A', '1123', 'q', 'R', 'p', '6015']


Output: 2625, F, 7721, 3491, 8145, d, H, o, 8583, 9097, 4029, W, A