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: 2, 28, ['w', '5251', '5167', '6525', '8913', 'u', 'q', '909', '7249', 's', '1047', 'm', '5131', '1307', '7143', '7653', '7913', '7467', 'X', '3961', 'S', 'R', 'Q', '4903', '5131', 'J', 'r', 'I']

5251516765258913uq9097249s1047m513113077143765379137467X3961SRQ49035131JrI