Task: Program Execution
Input (English): A, 3665, 4455, 4589, 8307, 1489, K, Q, 2747
Output (English): 1, 7, 8