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

2, ['p', '8951', '1329', '2011', '2929', 'W', 'C', 'm', '6731', 'j', '4105', '6033', 'w', '521', 'z', 'u', '8771', 'Z', 'T', 'b', 'R', 'n']
p, 8951

2, ['U', 'l', 'W', '4217', '6101', '3211', 'D', '139', 'H', '1065', 'N', '9645', '4847', 'f', '9799']
U, l

1, ['2475', '4767', 'W', '8733', 'c', '6501', '6235', '5703', 'E', '6149', 'u', '8183']

2475