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.
13, ['8649', 'o', 'v', '8031', 'l', '1271', 'R', 'e', 'c', '1399', 'v', '5141', 'f', 'i', 'P', '47', '7933', '4269', '1113', 'X', '4197', 'v', 'K', '5211', 'O', '4259']