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.

[Q]: 3, ['Y', '3499', '2787', 'C', 'U', '4895']
[A]: Y, 3499, 2787


[Q]: 3, ['o', 'l', '4141', '4805', '1971', '751']
[A]: o, l, 4141


[Q]: 10, ['u', '2117', 'B', 'A', 'D', '4717', '935', '923', '1833', 'A', '6127', '6607', '6931', '8675', 'V', '6701', '9877', '9509', '899', '7061', '9659', 'v', '5963', '53']
[A]:
u, 2117, B, A, D, 4717, 935, 923, 1833, A, 6127, 6607, 6931, 8675