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: 5, 21, ['7145', 'N', '6365', 'T', '8439', '9959', 'p', '3259', 'J', 'L', 'X', '4133', '3881', 'W', '1107', 'g', '5851', '2839', '8205', 'u', '749', 'Y', '3247', 'd']

84399959p3259JLX41333881W1107g585128398205u749