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: 4, 20, ['c', '3385', 'O', 'j', 'U', 'k', '8521', 'N', 'i', '5523', 'C', '3851', 'D', 'P', '8471', 'J', 'O', '3621', '4173', 'p', '2523', '639', '8005']

jUk8521Ni5523C3851DP8471JO36214173p