Task: Program Execution
Input (English): 6889, 7317, 6321, A, n, Q, f, 5527, 1687, 1953, 7479
Output (English): 6889, 7317, 6321, 1, 14, 17, 6, 5527, 1687, 1953, 7479