Task: Program Execution
Input (English): z, 2737, O, 7713, 3157, 5051, 2191, v, O, G, 1757, N, h
Output (English): z, O, v, O, G, N, h