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 list all elements of A from the ith element to the jth element. 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.

Example Input: 1, 5, ['m', 'J', '5017', '4143', 'k', '1161', '2783', '647']
Example Output: m, J, 5017, 4143, k

Example Input: 16, 17, ['413', '7783', '3659', 'Q', 'p', '8051', '2065', '9497', '2221', '4175', 'u', 'h', 'A', 'U', 'S', 'b', '2533', 'u', '9561', 'V', 'J']
Example Output: b, 2533

Example Input: 10, 13, ['X', 'b', '811', '8573', 'V', 'i', '3441', '5321', 'j', '7311', '5865', '5283', 'a', 'P', 'q', '4219']
Example Output:
7311, 5865, 5283, a