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.

[EX Q]: 5, ['Y', 'r', '9549', 'A', 'W', '9491', '1261', '2453', '5669', 'd', '9411', '1809', '581', 'O', '1969']
[EX A]: Y, r, 9549, A, W, 9491, 1261, 2453, 5669, d

[EX Q]: 9, ['3263', '9551', 'x', 'C', 'I', 'J', 'Z', '1139', '171', '237', 'V', 'Y', '2109', '7481', 'q', 'h', '9631', 'o', '9295']
[EX A]: 3263, 9551, x, C, I, J, Z, 1139, 171, 237

[EX Q]: 5, ['9175', '6763', '3305', '6593', 'Q', '1901', '2671', 'p', 'J', '6903', '6017', 'Y', '9767', '6605', '2965', '9853', 'f', '1481', 'X', '1147', '6623', 'g', 'V', '3847', 'Y', '1927', 'I']
[EX A]:
9175, 6763, 3305, 6593, Q, 1901, 2671, p, J, 6903, 6017, Y, 9767, 6605, 2965, 9853, f, 1481, X, 1147, 6623, g