Task: Program Execution
Input (English): x, 6725, 6197, 9351, e, a, 9865
Output (English): a, e, x