TASK DEFINITION: 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
PROBLEM: 1, ['1161', 'Y', 'A']

SOLUTION: 1161

PROBLEM: 3, ['9679', '9125', '1355', '9981', 'g', '6959']

SOLUTION: 9679, 9125, 1355

PROBLEM: 2, ['Y', 'R', '6423', '4167', 'L', 'K', 'D']

SOLUTION:
Y, R