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: 4, ['a', 'R', '6845', '2615', '6791', 'R', 'e', 'q', 'd']

SOLUTION: a, R, 6845, 2615

PROBLEM: 7, ['d', '4167', 'H', 'h', 'K', 'x', '237', '9489', '691', 'j', '7537', '1989', '3921', 'a']

SOLUTION: d, 4167, H, h, K, x, 237

PROBLEM: 6, ['359', '6013', 'A', '1699', '6583', 'W', 'f', '4821', '9113', 'T', 's', 'r', 't']

SOLUTION:
359, 6013, A, 1699, 6583, W