Task: Program Execution
Input (English): J, 31, F, K, 7031, 6421, 8951, 3081, J, p, a, Q, b, E, 8053, 531, 7903, 3997, 8477, 157, 9667
Output (English): 31, 7031, 6421, 8951, 3081, 8053, 531, 7903, 3997, 8477, 157, 9667