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: 18, 24, ['V', 'D', 'r', '4913', 'i', 'k', '3389', '4041', '2277', 'c', '6867', 't', '1865', '3269', 'V', 'O', 'k', '3497', '8697', 'N', '1865', '1811', '9445', '1213', '8057', 'b', '181', '3231']

34978697N1865181194451213