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.
11, ['H', 'c', '4631', '663', '2739', 'f', '1507', '1017', '171', '5675', 'b', 'g', 'v', 'W', '9015', 'N', '2025', 'H', 'r', '7257', 'E', '8601', '6337', 'p']