Teacher:In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to return the position of all the numerical elements in the given list in order. Assume the position of the 1st element to be 1. Return -1 if no numerical element is in the list.
Teacher: Now, understand the problem? Solve this instance: ['D', '6941', '4437', 'h', '3807', '8523', 'v', '1751', '4181', '9129', '9677', 'F', '9511', '2691', '2327', 'S', '3783', '4553', 'A', 'w', '8571', 'a', 'v', 's', 'W', '1419', 'B', 'Q', '8129', 'I', '1865', '3561', '1367', 'X', 'k', 'v', 'h']
Student:
2, 3, 5, 6, 8, 9, 10, 11, 13, 14, 15, 17, 18, 21, 26, 29, 31, 32, 33