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.

6, ['2331', '8945', 'l', 'k', '3451', '9015', 'B', 'H', '2081', '5083', '125', '9517', 'e', '2255', '5253']
2331, 8945, l, k, 3451, 9015, B, H, 2081

11, ['2469', '1517', 'd', 'L', '1125', '4309', 'o', '4507', '995', '5651', 'E', 'd', '3829', 'w', '3629', '9891', 'o', 'F', 'q', 'v', 'u', '2883', '8831', '9241', 'c', 'Q', '5163', '8733', '579']
2469, 1517, d, L, 1125, 4309, o, 4507, 995, 5651, E, d, 3829, w, 3629, 9891, o, F

10, ['u', '7607', '3559', '4463', 'x', '6069', '1471', '7003', '9945', '4075', '5739', '3755', '6889', 'O', 'v', '8627', '4829', '5015', 'f', '4451', 'U', 'p']

u, 7607, 3559, 4463, x, 6069, 1471, 7003, 9945, 4075, 5739, 3755