Given the task definition and input, reply with output. 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.

2, ['5679', '6779', '3577', '6665', 'A', 'f', 'i', '6707', 'J', 'P', '7223', '3991', '7841', 'c', '7911', '9159', 'y', '6939', '5689', 'a', '9075', '3255']
5679, 6779, 3577, 6665, A, f, i, 6707, J, P, 7223, 3991, 7841, c, 7911, 9159, y, 6939, 5689, a