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.
3, ['C', '199', '197', '5673', 'T', 'x', '4279', 'N', 'j', 'z', '6801', '6553', 'T', '889', 'Z', 'M', 'q', 'O', '8337', '3355', '5193', 'U', '4845', '1119', '9431', '4293', 'v', '7831', 't']