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, 21, ['181', 'q', '4043', '465', '7151', '4661', 'u', 'P', '5293', 'R', 'w', '323', '917', '573', '5837', '7345', 'h', '5097', 'b', 'g', 'K', 'D', 's', 'V', 'b', '9999', 'w', 'Y', 'z', '2785']

q404346571514661uP5293Rw32391757358377345h5097bgK