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.

Q: 5, 6, ['4977', 'x', '8747', 'M', '2511', 'O', '1521', 'V', 'R', 'F', 'Q', 'C', '1783', '5325']

A: 2511O
****
Q: 12, 20, ['e', '103', '5289', 'u', 'J', 'Z', 'n', '3135', '9139', '3517', '8931', 'd', '3055', 'T', 'l', '7499', '4177', 'n', '7127', 'v', 'd', 'Z', '6119', 'S', 'Y', 'w', 's', '9765', '2861', 'P']

A: d3055Tl74994177n7127v
****
Q: 2, 12, ['283', '6547', '2053', 'P', '5355', '121', '2613', '1549', '9479', 'a', 'I', '4821', '2189', 'j', '2003', 'S', '9007', '9039', '4629']

A:
65472053P5355121261315499479aI4821
****