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.
--------
Question: 8, ['4111', 'k', 'R', 'T', '7401', '9155', 'a', '8387', 'H', 'k', 'c', '4927', 'Z', '8959', '6207', '3209', 'X', '5647', 'B', 'c']

Answer: 4111, k, R, T, 7401, 9155, a, 8387, H, k, c, 4927


Question: 4, ['6995', 'e', 'o', 'O', 'i', 'm', 'R', 'g', '8387', '7573', 'D', '8767', 'y']

Answer: 6995, e, o, O, i, m, R, g, 8387


Question: 6, ['1637', '6375', 'h', 'J', 'g', '735', '8935', 'a', '3669', '8183', '509', 'V', '8769', 'r', 'u', '8701', '9279']

Answer:
1637, 6375, h, J, g, 735, 8935, a, 3669, 8183, 509