Task: Program Execution
Input (English): n, 7843, 1677, Z, 7079, 8099, A, j, 397, G, S
Output (English): 6