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: 2, 7, ['5731', 'm', 'W', '5389', 'N', '4987', 'c', '3871', 'T']

A: mW5389N4987c
****
Q: 22, 24, ['O', '8687', '5999', 'R', '769', 'H', '7777', 'N', 'F', 's', 'w', 'O', '3075', 'p', '9991', 'k', '2681', '1521', 'a', '8479', 'H', 't', '9425', '7995', '5197']

A: t94257995
****
Q: 19, 20, ['j', '4557', 'H', 'O', 'Z', 'u', 'd', 'y', 'D', 'f', '5051', 'd', '2777', '1529', '133', '6085', 'g', 'v', 'k', '6169', 'I', 'w', '1565', '5833', '5417', '189', '8585', 'Z', '6995']

A:
k6169
****