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.
6, ['N', '7029', '9469', '9047', 'M', '5551', 'd', '1819', '1509', '5735', '21', '5203', '367', '9043', 'A', '2733', '8519', '1565', 'd', 'P', 'K', '6221', '2547', 'l', '4485', 'm', 'q', 'K']