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:['y', 'H', '9591', 'W', '9769', '6907', '997', '5855', 's', 'i', '5647', 'a', '7987', 'k', '7185', '97', '735', '9489', 'l', '2231', '1157', '825', 'R', 'P', 'g', 'x', 'Z', '687', '8747', 'A', '1347', '7201', 'q', '1789', '7377']
Solution:
3, 5, 6, 7, 8, 11, 13, 15, 16, 17, 18, 20, 21, 22, 28, 29, 31, 32, 34, 35