Task: Program Execution
Input (English): 9997 M 6583 6339 5041 A 9907 G 3957 4827 6669 N F F 8375 4219 R V t 4663 o 367 7159 5089 5541 x y 1323 t 3137 Z Y d
Output (English): 1, 3, 4, 5, 7, 9, 10, 11, 15, 16, 20, 22, 23, 24, 25, 28, 30