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.
10, ['a', '6953', 'g', 'o', 'a', '2569', '4253', '4205', 'd', '6585', '139', 't', 'P', 'w', 'F', '193', 'B', '283', 'R', '47', 'o', '7969', '3983', '6607', 'c', 'd', '2303', 'V', '5675', '3223']