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: 1, 22, ['k', '8737', 'z', 'L', '69', '6055', '743', 'p', '593', 'z', '9003', '7143', '6047', 'g', 'd', '3173', 'f', 'z', 'l', '7463', 'e', '9611', 'c', '6849', '9637', '8249', 'D', '9647']

k8737zL696055743p593z900371436047gd3173fzl7463e9611