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: ['7445', '1039', '3587', '8923', 'K', '5057', 'N', 'h', 'D', 'd', '7835', '1749', 'c', '1771', 'S', 'y', 'd', '1887', '3929', '6385', '3789', '4387', 'E', '8701', 'e', '501', '8021', 'r', 'e', 'a', '6697', 'g', '2599', '9235', 'L', '9553', '5187', 'A', '2721', '1191']
Output:
1, 2, 3, 4, 6, 11, 12, 14, 18, 19, 20, 21, 22, 24, 26, 27, 31, 33, 34, 36, 37, 39, 40