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:['W', '2177', 'f', 'Y', '3553', 'T', '2877', '6337', 'v', '3479', '2141', '491', '5935', 'm', '1375', '3595', 'm', '6975', 'C', '617', '5965', '4687', '7927', '3299', 'C', 'J', '9621', '9269', '159', '4343', 'm', '3701', '6859', 'E', '3263', '7077']
Solution:
2, 5, 7, 8, 10, 11, 12, 13, 15, 16, 18, 20, 21, 22, 23, 24, 27, 28, 29, 30, 32, 33, 35, 36