Task: Program Execution
Input (English): X, 7367, 6441, 1523, m, Z, 45, N, 8941
Output (English): 1, 5, 6, 8