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, ['687', '8957', '9003', '9701', 'K', '9929', '6287', 'r', 'd', '8885', '1275', '3815', 'i', 'W', 'K', '9301', '2777', '5839', 's', '2333', '1057', 'a']

Output: 687, 8957, 9003, 9701, K, 9929, 6287, r, d, 8885, 1275, 3815, i, W, K, 9301, 2777, 5839, s, 2333


Input: Consider Input: 4, ['739', 'k', '9835', 'K', '435', '1735', 'y', 'v', '6493', 'g', 'D', 'F', '6367']

Output: 739, k, 9835, K, 435, 1735, y, v, 6493


Input: Consider Input: 10, ['2141', '6423', '3555', 'x', '9271', 'P', '5543', 'K', '5795', '1837', 'L', 't', 'D', '6179', 'a', '9321', '2715', '6369', '2457', '5875', '3243', 's', '5213', '3669', 'i', 'V', 'a', 'Y', '2067']


Output: 2141, 6423, 3555, x, 9271, P, 5543, K, 5795, 1837, L, t, D, 6179, a, 9321, 2715, 6369, 2457