Task: Program Execution
Input (English): 2507, j, 9739, a, z, 541, h
Output (English): a, h, j, z