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

4, ['g', 'x', 'c', 'P', 'P', 'T', '1765', '8999', '9509', '4159', 'K', 'z', 'r', '8389', 'W', '5627', 'O', '253', '2749', 'G', 'u', 'T', '5627']
g, x, c, P

3, ['A', '7253', '9793', '3849', '5047', '535', 'P', '6365']
A, 7253, 9793

1, ['D', 'P']

D