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.
5, ['3403', '6687', 'c', '4199', 'Q', 'X', 'e', '4419', '5599', 'h', 'W', '2869', '1597', '9815', 'H', 'r', '497', 'u', '1377', '6659', 'P', 'D', '4221', 'D', '9235', 'S', 'K', '4453']