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, ['4147', '5581', '1487', 'h', '1167', '225', '469', 'k', 'X', 'd', '6051', 'l', 'g']
4147, 5581

3, ['Z', '481', 'y', '6975', '4383', '7247', 'f', 'f', 'S', 'y', '5665', '4461', '521', '6863', 'r', 'y', 'i', '5399', '1313', '8967', 'H', '2053', 'h', 'Y', 'D', 'E', '7629', '2593', 'i', 'G']
Z, 481, y

2, ['s', '3737', '2653', '3071', '4265', 'M', 'i', 'd', '6629', 'R', 'e', '2073', 'c', 'c', '8753', 'i', 'R', 'm', '655']

s, 3737