Task: Program Execution
Input (English): f, 5787, 5895, 799, g, 875, 3255, 5235, q, r, R, 5913, n, 3337, j, 7873, k, 7187, 7787, 2507
Output (English): f, g, q, r, R, n, j, k