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

7, ['X', '2341', 's', 'i', '6651', '6183', '1581', 'a', 'X', '3111', '7205', '7089', '929', 'h', 'I', '1785', 'H', '3517', '5669', 'W', '1699', '5785', 't', 'H', 'A', '1955', 'd', 'Y', '9681']
X, 2341, s, i, 6651, 6183, 1581

1, ['y', 'i', '1227', 'f', 'r', 'R', 'J', '3731', '559', 'c']
y

1, ['955', '3855', '2165', 'Q', '9839']

955