Definition: 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.
Input: 21, 26, ['h', 'q', 'd', 'l', 'g', '9689', '7959', 'K', 'd', '7953', '6623', 'U', '4069', 'm', 'I', 'Q', '2215', 'N', '5957', 'D', '277', '7031', '5391', 'N', 'q', '4481', 'k', '3855', 'N']

27770315391Nq4481