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: ['q', '4045', 'i', 'Q', '4659', 'g', '1937', '8365', '1735', '6403', 't', '7305', '6823', 'x', 'd', '5067', '5097', '4767', 'U', '983', '8133', 'z', '9429', '8881', 'D', '8977', 'p', '7465']
Output:
2, 5, 7, 8, 9, 10, 12, 13, 16, 17, 18, 20, 21, 23, 24, 26, 28