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, ['9175', '6763', '3305', '6593', 'Q', '1901', '2671', 'p', 'J', '6903', '6017', 'Y', '9767', '6605', '2965', '9853', 'f', '1481', 'X', '1147', '6623', 'g', 'V', '3847', 'Y', '1927', 'I']