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.
13, ['Q', '3165', '3711', '4397', 'O', '7951', '8953', 'r', '8263', 'P', '1431', 'T', 'p', '135', '8545', '3749', 'u', '1427', 'C', '161', 'r', 'b', 'H', 'Q', 'C', '7359', '1937', '1943', 's', 'h']