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, ['s', '3425', '9683', '7743', 'Q', '3423', 'Y', '1567', '7637', 'J', 'q', 'V', 'j', '7505', '7157', '3393', 'Q', 'i', '7455', '6681', '1829', 'a', 'e', 'v', '2153', 'S', 'b', 'U', '3757', 'A']