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.

2, ['D', '4719', 'E', 'B', 'Z', 'W', 'e', '7083', '167', 'p', 'z', '3405', 'I', 'g', '961', '2493', 'g', '7295', 'p', '6419', 'b', '2089']
D, 4719, E, B, Z, W, e, 7083, 167, p, z, 3405, I, g, 961, 2493, g, 7295, p, 6419

1, ['5091', 'B', 'f', '6415']
5091, B, f

14, ['w', '2943', '2409', 'N', 'V', '7137', '2213', '3049', 'r', '6967', 'x', '7853', 'l', 'B', 'K', 'r', '3025', 'q', '387', 'r', 'J', '4089', '1251', 'k', '6867', 't', 's', '5019', '8917', 'S']

w, 2943, 2409, N, V, 7137, 2213, 3049, r, 6967, x, 7853, l, B, K, r