In this task, you are given inputs i,j, and A, where i and j are integers and A is a list. You need to concatenate all elements of A from the ith element to the jth element, and print the resultant string. i and j will be non-negative, and will always have a value less than the length of A. i will always be less than j.

Q: 5, 16, ['4857', 'c', 'a', '8757', '5345', 'k', 'n', '4579', 'N', 'b', '2307', 'e', 'V', '6941', 'i', '9495', '4431', '3791', '9647', '7883']

A: 5345kn4579Nb2307eV6941i9495
****
Q: 10, 10, ['7373', 'K', 'n', '9163', '7535', 'G', '5243', 'j', 'x', 'O', '1973']

A: O
****
Q: 1, 2, ['X', 'I', '3981', 'A']

A:
XI
****