Task: Program Execution
Input (English): 4941 F S y W 2913 W 1757 1109 n 9443 H Z J z K R 7135 l 8597 2045 8547 2987 s u 9907 4075 m x 7775 J 6475 9747 R 5677 3911 3177 a 9741 p
Output (English): 2, 3, 4, 5, 7, 10, 12, 13, 14, 15, 16, 17, 19, 24, 25, 28, 29, 31, 34, 38, 40