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

6, ['R', 'I', 'w', '7569', '9997', '8219', 'L', 'u', 'R', '9963', 'w', 'R', 'G', 'd', '6201', 'p', 'N', '113', '2101', 'p', 'o', '3967', 't', '2017', 'F', '6151', '2911']
R, I, w, 7569, 9997, 8219

2, ['m', '2555', 'y', '9517', 'H', 'i', '1633', '1427', 'y', '3957', '8303', '3231', 'V', '9117', '8649', 'e', 'K', 'y', 'c', 'P', '9439', 'N', '9889']

m, 2555