Task: Program Execution
Input (English): p, g, e, 3887, 9053, 8781, 2871, d, 5733, 6649, 5775
Output (English): d, e, g, p