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.
14, ['R', '2875', 'j', '8321', '3763', '4145', '2559', '9539', 'E', '2217', '2417', 'A', 'z', '9543', '2125', 'G', 'y', 'R', '1505', '1615', 'K', 'f', '8031', '2573', 'a', '7819', 'H', 'W']