Task: Program Execution
Input (English): g, 6437, 7717, 3855, N, h, 2585, o, v
Output (English): 6437, 7717, 3855, 2585