Detailed Instructions: 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.
Problem:['O', 'u', '4749', 'M', '3257', 'E', '6523', '7391', 'Y', '8919', 'B', 'B', '5645', '805', 'I', '4075', 'v', 'l', '6579', '2115', '6187', '1323', '7691', '7717', 'Q', 'r', 'w', '6259', '7091', 'Y', '9197', 't', '3795', '2241']
Solution:
3, 5, 7, 8, 10, 13, 14, 16, 19, 20, 21, 22, 23, 24, 28, 29, 31, 33, 34