Task: Program Execution
Input (English): 5861 8685 H H 7051 1045 F 8945 2547 d 6899 a 8155 j D 7117 m i 6397 4865 X a 501 327 4793 1175 2579 z f 3011
Output (English): 3, 4, 7, 10, 12, 14, 15, 17, 18, 21, 22, 28, 29