Definition: 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.
Input: ['N', '833', 'W', 'O', 'N', 'B', 'I', 'F', '3791', '2941', '397', 'L', '3401', '4431', 'Z', 'z', '3349', 'D', '5267', '9573', '5271', 'j', 'l', 'f', 'z', '2431', 'g', 'Z']
Output:
2, 9, 10, 11, 13, 14, 17, 19, 20, 21, 26