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, ['6355', 'A', 'w', 'r', '8559', 'V', '5183', 'g', 'L', '4067', '5151', '8301', 'Q', 'f', '7599', 'R', '8103', 'v', '7449', '4703', '7707', 'b', '6955', 'z', 'B', '2601', '6455', 'M', '7611']