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: 3, 9, ['X', 'M', '2111', 'V', 'K', '4989', 'p', 'e', '9125']

A: 2111VK4989pe9125
****
Q: 7, 8, ['6921', '3459', '5521', '6215', 'r', '8397', 'R', '8499', '6683', '6595', '8315', '965', '3055']

A: R8499
****
Q: 6, 11, ['6717', 'D', 'G', '1241', 'v', 'c', '4415', 'c', 'A', '4465', 'H', 'L', '2919', '5323', 's', '3813', '8459', '7705', 'F', '8005', '501', '9545', '2479', '605', 't', 'K']

A:
c4415cA4465H
****