Task: Program Execution
Input (English): X, 7247, O, 4183, z
Output (English): 1, 3, 5