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, 20, ['R', '7149', 'G', '1167', '6617', 'c', '3269', 'Y', 'O', '4589', '8231', 'g', '3303', '4187', 'B', '1943', '9533', 'W', '9863', 'i', '8505', '2771', '4179', '8865', '483', '4347', 'p']

G11676617c3269YO45898231g33034187B19439533W9863i