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.

6, ['3677', '7083', 'F', 'y', '9257', 'c', 'J', '8095', '8747', '7145', 'D', '1779', '7223', 'W', '177', '1635', '2055', 'z', 'O', 'M', 'z', 'I', 'A', '1809', '1629', 'j', 'j', 'e']
3677, 7083, F, y, 9257, c, J, 8095, 8747, 7145, D, 1779, 7223, W, 177, 1635, 2055, z, O, M, z, I

2, ['2655', '829', '9303', '6983', '6311', '9929', 'J']
2655, 829, 9303, 6983, 6311

8, ['2955', '1313', 'M', '6365', 'v', 'H', '1115', 'b', '8233', 'p', '9009', 'F', 'n', 'S', 'b', 'V', '871', '9899', '8619', '3517', '229', '6129', '7163', 'K', 'J', 'Y', '5821', 'H']

2955, 1313, M, 6365, v, H, 1115, b, 8233, p, 9009, F, n, S, b, V, 871, 9899, 8619, 3517