Task: Program Execution
Input (English): J 2335 Z 9059 5341 9119 A M C 6101 D 8467 6479 u 1077 7575 1349 V B 5943 K 7639 u 3899 X 8947 9519 C w x
Output (English): 2, 4, 5, 6, 10, 12, 13, 15, 16, 17, 20, 22, 24, 26, 27