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: ['7909', '7069', '2485', '9427', '6349', 'n', 'V', '8197', '1169', '6879', 'o', '1733', '2857', 'H', '2573', 'L', 'H', '9893', '7353', '6889', '5379', 'O']
Output:
1, 2, 3, 4, 5, 8, 9, 10, 12, 13, 15, 18, 19, 20, 21