Task: Program Execution
Input (English): 4139, V, 7919, 7545, N, 9979, X, G, 9475, C, i, O, E
Output (English): 1, 3, 4, 6, 9