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.

5, ['z', 'x', '6723', 'X', 'B', '9233', '4475', '5569', 'l', '9069']
z, x, 6723, X, B

1, ['U', '2255', 'z', 'u', '3111', 'b', 'V', 'K', 'u', 'x', '8193']
U, 2255, z, u, 3111, b, V, K, u, x

14, ['R', '2875', 'j', '8321', '3763', '4145', '2559', '9539', 'E', '2217', '2417', 'A', 'z', '9543', '2125', 'G', 'y', 'R', '1505', '1615', 'K', 'f', '8031', '2573', 'a', '7819', 'H', 'W']

R, 2875, j, 8321, 3763, 4145, 2559, 9539, E, 2217, 2417, A, z, 9543