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: 10, 17, ['5745', 'W', 'r', '1835', '4377', '7427', '1851', 'Q', '4403', '2405', '159', '8263', '8537', '4705', '1415', 'c', 'n', '8979', '767', '871', '7921', '7977', '5077', 'd', 'U', '2643', 'p', 'Q']

24051598263853747051415cn