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, ['y', '3175', '841', '3827', 'R', '7111', '2525', '8857', 'm']
y, 3175

1, ['4889', '9397', 'u', '8791', '617']
4889

5, ['S', 'M', 'P', '4601', '6397', 'C', '501', 'J', 'z', 'z', '5655', '6785', 'g', 'K', '7169', '6209', 'r', 'c', 'b', '5485', 'Z', '7983', 'E', 'G', 'z', 'h', '2615', 'n', 'L']

S, M, P, 4601, 6397