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.
11, ['W', '9329', 'c', 't', 'N', '7903', '8241', '8495', '5473', '6715', 'M', 'd', '6221', '1601', '9053', '3947', 'c', '8395', '6791', 'O', 'U', 'c', '3201', 'Q']