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: 1, 21, ['B', 'E', '5295', '3585', 'L', '6267', 'E', '7177', 'O', '2887', 'k', '3307', '593', '7403', '4755', 'c', 'C', 'U', 'n', 'x', 'n', '343', 'B', 'b', 'p', '4271', 'y']

BE52953585L6267E7177O2887k330759374034755cCUnxn