TASK 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.
PROBLEM: 1, 3, ['2415', '319', 'S']

SOLUTION: 2415319S

PROBLEM: 2, 4, ['5237', 'X', '1691', '5405']

SOLUTION: X16915405

PROBLEM: 2, 6, ['A', 'M', '4765', 'Z', '2157', '9319', '587', 'r']

SOLUTION:
M4765Z21579319