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, ['5521', 'n', 'U']
5521

13, ['4221', 'n', 'Q', 'i', 'n', 'p', '1585', '2119', 'E', '6799', 'S', '7413', '7605', '3401', '9289', 'n', '9641', 'A', '5093', '5171', 'v', 'e', 'u', 'P', '821', '4787', '7381', 'p', 'j', '4275']
4221, n, Q, i, n, p, 1585, 2119, E, 6799, S, 7413, 7605

9, ['k', 'P', '3955', '5935', 'P', 'J', 'a', 'm', 'd', 'R', 'e', '7869', 'I', 'D', '5249', '1047', '531', 'd', 'Z', '2403', '1939', '6963', '7071', 'm']

k, P, 3955, 5935, P, J, a, m, d