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.
6, ['n', '6955', '4673', '5645', '6289', '9537', '4019', '509', 'n', '7829', 's', '5939', '2933', 'I', '3803', 'N', '5669', '2841', '4939', 'V', 'g', '5123']