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.
7, ['1225', 'q', '2271', '301', '9015', '5467', '7895', '4319', '5409', 'J', '7673', 'u', 'c', 't', 'u', 'O', '3745', '9583', '8797', 'Y', '8819', 'p', '1745', '4077', 'B', '8847', '9091', '1089', 'U', 'h']