Task: Program Execution
Input (English): X, 8343, 167, J, B, 5081, 8609, 9057
Output (English): 1, 4, 5