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:['3517', 'w', '1891', 'Y', '2795', '431', 'e', 'f', '3255', 'U', 'Z', '2035', '7199', '7719', '2847', '1579', '6903', '8313', 'z', 't', '2839', '1457', 'm', '6055', 'Q', '5119', '4757']
Solution:
1, 3, 5, 6, 9, 12, 13, 14, 15, 16, 17, 18, 21, 22, 24, 26, 27