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.
9, ['9919', 't', '3305', '3981', '5027', 'Y', '559', '4463', '3311', 'h', '9783', 'h', 'u', 'N', 'k', '4251', 'c', 'k', 'h', 'g', 'v', '7081', '7085', '2131', '3113']