Task: Program Execution
Input (English): g, 1521, i, 7587, 5725
Output (English): g, i