Task: Program Execution
Input (English): O, 5595, K, 6147, g, c
Output (English): O, K, g, c