Task: Program Execution
Input (English): q, 4789, V, 9779, v, 2243, O, 1257, J, T
Output (English): 2, 4, 6, 8