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, ['E', '3811', '7009', 'b', '407', '379', '7021', '215', 'k', 'j', '6851', '7417', '3123', 'H', 'O', 'L', '7001', '9995', '7821', 'w', '1771', '3739', '9131', '5735', 'e', 'F', '1809', 'G']