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, ['9925', '8047', '7245', 'V', '1939', '8317', '6339', 'W', 'J', 'O', '9571', 'Q', '2013', '6243', '851', '4103', 'V', '955', '2797', 'w', 'x', '9135', '4179', '1857', '3557', '3631', '4227', '3941', '4461', '4807']