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.
9, ['2055', 'P', '6101', 'J', '9499', '5451', '3389', '8753', 'C', '9013', 'a', '8131', 'i', '575', 'u', '415', 'O', '5409', '6299', '6027', '8091', '6085', '4047', '7231', '8939', '9623']