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.

7, 8, ['6921', '3459', '5521', '6215', 'r', '8397', 'R', '8499', '6683', '6595', '8315', '965', '3055']
R8499

1, 5, ['3467', 'R', '7973', 'n', 'i', 'T', '7517']
3467R7973ni

10, 21, ['J', '7623', '33', 'n', '4131', 'V', 'Y', 'M', 'K', '8923', '5289', 'O', 'T', '5185', 'Z', 't', '6455', '3201', 'j', '3607', '4371', '1781', '733', 'M', '6875', '7477', 't', '6741', '1801', 'f']

89235289OT5185Zt64553201j36074371