Task: Program Execution
Input (English): 7967, y, j, 7401, 6007, u, 3983, 8427, R
Output (English): 1, 4, 5, 7, 8