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.
1, ['7545', 'L', 'R', '3739', 'H', 'o', 'Z', 'k', 'u', '2491', '5251', 't', '57', 'O', 'K', 'j', '9497', '779', '4099', 'U', 'o', 's', 'y']