Task: Program Execution
Input (English): 5787, f, F, 8243, h, 4047, 5371
Output (English): f, F, h