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: 11, 22, ['X', '437', 'w', '3549', '5909', '5629', '4389', 'B', '6649', 'D', '5479', '3241', 'H', 'D', 'J', '3345', 'y', '7149', 'N', '3087', '1171', '2051', 'a']

54793241HDJ3345y7149N308711712051