Task: Program Execution
Input (English): J 2441 J 1093 m 6213 2959 1059 s T 5989 6273 P 9815 P 4671 C X y h 5789 1719 Q r 467 3775 h 3323 6405 w
Output (English): 2, 4, 6, 7, 8, 11, 12, 14, 16, 21, 22, 25, 26, 28, 29