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.

5, ['y', 'C', '1901', 'X', '2093', 'W', 'n', '4891', '2635', '9711']
y, C, 1901, X, 2093

1, ['2847', 'w', 'E', '4291', '9755', '491', '2807', '3995', '5677', '7395', '9175', 't', '9529']
2847, w, E, 4291, 9755, 491, 2807, 3995, 5677, 7395, 9175, t

1, ['5691', '1191', '4263', 'L', 'e', '889', '2459', '3757', '8223']

5691, 1191, 4263, L, e, 889, 2459, 3757