Detailed Instructions: In this task, you are given inputs i and A, where i is an integer and A is a list. You need to output the first i elements of A, starting with the 1st element in A. i will always have a value less than the length of A
Q: 6, ['S', '3117', 'q', '321', '5457', 'r', '3395', 'U', 'z', '2079', '7783', 'Q', '2503', 'G', 'd', '695', 'Y', '7797', 'm', '6687', 'b', '3067', '1343', '1597', 'B', 'K', '1539', '657']
A:
S, 3117, q, 321, 5457, r