Task: Program Execution
Input (English): 5341, O, G, 6743, 1437, 3787, 6589, 215, 8595, A, 4975
Output (English): O, G, A