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, 21, ['8339', 'U', 'p', '9819', '943', 't', 'U', '825', 'p', '3099', 'k', '5813', '1005', '4977', 'y', '8777', '1159', 'x', '9653', '5159', 'S', 'X', '7493', '1045', 'I', 'n']

k581310054977y87771159x96535159S