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.
2, ['V', '31', '9449', 't', 'K', 'B', '7759', '5151', 'T', 'R', 'N', 'z', '8613', 'U', '4237', '9061', 'Z', 'L', '3493', 'Q', '3357', '4729', '433', 'U', '3789', 'J', 'L', '1563', '5651', '6179']