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.
--------
Question: 2, 8, ['p', '7485', '2809', '1217', 'P', '7185', '2899', 'l']

Answer: 748528091217P71852899l


Question: 3, 9, ['X', 'M', '2111', 'V', 'K', '4989', 'p', 'e', '9125']

Answer: 2111VK4989pe9125


Question: 5, 8, ['o', 't', 'a', '5621', '4981', 'h', '6653', 'Q', 'M', '4963', 'n', 'd', 'c']

Answer:
4981h6653Q