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: 3, 25, ['2659', '491', 'U', '5395', 'U', 'b', 'z', '7123', '3547', 'i', '3315', 'U', 'c', 'c', 'D', 'V', '8567', '1553', 'O', '5925', 'c', 'R', '5081', '8903', 'U', 'S', 'B', '8717', '9939']

U5395Ubz71233547i3315UccDV85671553O5925cR50818903U