Q: 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.
5, 16, ['4857', 'c', 'a', '8757', '5345', 'k', 'n', '4579', 'N', 'b', '2307', 'e', 'V', '6941', 'i', '9495', '4431', '3791', '9647', '7883']
A:
5345kn4579Nb2307eV6941i9495