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.

Input: Consider Input: 2, ['b', '4015', 'y', '4537', 'f']

Output: b, 4015, y


Input: Consider Input: 1, ['k', '9837', 'A', 'q', '3695', '731', '1449', '3559', '4553', 'J', 'w']

Output: k, 9837, A, q, 3695, 731, 1449, 3559, 4553, J


Input: Consider Input: 10, ['8163', '6669', '7949', '2741', 'y', 'S', 'a', '2137', 'K', 'T', '2533', '279', 'e', '7117', 'g', '8863', 'D', 'Y', '9753', 'V', '469']


Output: 8163, 6669, 7949, 2741, y, S, a, 2137, K, T, 2533