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: 11, 17, ['2591', 's', 'K', '4039', '8451', 'T', 'P', '1035', '8507', 'E', '2839', '4687', 'X', 'P', '7395', '8195', '2451', '3019', '2571', '5859', '9013', '2283', '2227', '3697', '8227']

28394687XP739581952451