Task: Program Execution
Input (English): J, f, 7503, 4115, F, 6299, h, 9633, B, 1949, 5081, 619
Output (English): 1, 2, 5, 7, 9