Task: Program Execution
Input (English): 7489 157 A x 2361 2157 5533 7605 T 8009 7605 8863 8169 H 775 h B 5567 9949 c F G t P J w 3767
Output (English): 1, 2, 5, 6, 7, 8, 10, 11, 12, 13, 15, 18, 19, 27