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, 19, ['X', '2533', '2065', 'Q', '7935', '8525', 'D', '8501', 'H', 'j', '1855', 'B', 'J', '4959', '5069', '8047', 'd', 'X', 'P', '227']

79358525D8501Hj1855BJ495950698047dXP