Task: Program Execution
Input (English): d, 1983, 941, 2119, g, G, 7771, l, 7187, A, Z
Output (English): d, g, G, l, A, Z