Task: Program Execution
Input (English): Z, G, 5823, 2741
Output (English): Z, G