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, ['4295', '7877', 'h', 'J', '819', '5145', 'Y', '3355', '5177', '1063', 'D', '2617', '8843', '7785', '9745', '7481', 'r', '4927', 'Q', 'K', '5307', '8665', 'o', 'a', '1835', '7969', 'R', 'H', 'q']