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.
14, ['E', '9307', 'C', 'I', 'X', '5905', '6233', '6345', 'm', '2679', '5609', '6689', 'Y', 'D', 'w', 'm', '967', 'P', 'j', '3207', '221', 'w', '9363', '6207', 'a', 'X', '1909', 'p', '827']