Task: Program Execution
Input (English): 2989, 2637, 5455, J, 3123, s, 1465, 2995, 9765, 1283, 247, R, 1037, 7793, 3877
Output (English): 1, 2, 3, 5, 7, 8, 9, 10, 11, 13, 14, 15