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.

1, ['819', '2779', 'j', '1773', '6615', 'Q', 'n', '5113', 'v']
819, 2779, j, 1773, 6615, Q, n, 5113

7, ['7721', 'W', 'o', 'R', '2933', 'N', '9829', '707', 'A', 'a', '8035', 'i', 'B', 'j', '319', 'v', '5879']
7721, W, o, R, 2933, N, 9829, 707, A, a

10, ['1985', 'k', 'J', '5261', 'f', '4867', 'M', '3063', '8771', 'z', 'J', 'Q', 'N', '5445', '9163', '7281', 'O', '7483', '2639', 'D', 'V', 'n', '561', '4719', '303', '2233', 'J', '8019']

1985, k, J, 5261, f, 4867, M, 3063, 8771, z, J, Q, N, 5445, 9163, 7281, O, 7483