Task: Program Execution
Input (English): 3945 Z S Z 1565 a 9185 4559 j 2681 K u 3791 u 1025 7945 A y K p 125 O 7215 1531 1639 G 8107 Q u 1493 9883 8157 8977 D g 853 809 Z 5697 6425
Output (English): 1, 5, 7, 8, 10, 13, 15, 16, 21, 23, 24, 25, 27, 30, 31, 32, 33, 36, 37, 39, 40