Task: Program Execution
Input (English): N, 9351, L, K, z, g, 5105, S
Output (English): 6