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

1, ['i', '8243', '9749', '2219']
i

1, ['C', '5207', 'D', 'p', 'o']
C

5, ['X', 'h', 'r', 'U', 'i', '7025', '5389', '4307', 'm', 'v', '2809', '7029', 'A', '6505', 'P', 's', '9735', 'p', '4973']

X, h, r, U, i