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, ['g', 'U', 'd', 'I', 'b', 'b', 'e', 'N', 'O', '5349', 'd', 'c', '7211', 'n', '9591', 'W', 'D', '4453']
g, U, d, I, b, b, e, N, O, 5349, d, c, 7211, n, 9591, W

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

7, ['l', 'j', 'i', '939', '809', 'e', 'N', '5159', 'x', '5993', '2615', 'S', 'E', 'e']

l, j, i, 939, 809, e, N