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.

1, ['j', 'M', '3775', '3155', 'n', '157', 'Z', '1193', '607', '2453', 'p', 'i', 'H', '7623', 'o', 'v', '965', '3873', '3119', '3213', '3813', '2005', '1799', 'o', 'K', 'W']
j, M, 3775, 3155, n, 157, Z, 1193, 607, 2453, p, i, H, 7623, o, v, 965, 3873, 3119, 3213, 3813, 2005, 1799, o, K