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.

8, ['3457', '4925', 'K', '4729', '1811', 'V', '7821', '1551', 'x', '2331', '1783', 'Y', '1167', '7639', 'D', 'X', '5403']
3457, 4925, K, 4729, 1811, V, 7821, 1551, x

1, ['1753', '4741', '3853', 'U', 'J', 'S', '3935', 'G', '7475', 's', 'j', 'z', '1513', 'K', 'w', '9075', 'd', '9707', '8793', 'u', '6173', '933', '9195', '7203', 'k', 'K']
1753, 4741, 3853, U, J, S, 3935, G, 7475, s, j, z, 1513, K, w, 9075, d, 9707, 8793, u, 6173, 933, 9195, 7203, k

3, ['l', 'c', 'q', 'h', '7715', '6071', '6329', 'B', '3937', 'I', '9157', 'g', '33', 't']

l, c, q, h, 7715, 6071, 6329, B, 3937, I, 9157