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.
8, ['7629', 'w', 'j', '3197', '7281', '7087', '8909', '5717', 'w', '3317', 'T', '4289', 'H', 'O', 'R', '6645', 'E', 'w', 'H', '3475', '7267', '5555', 'A', 'd', '199', '363', 'a']