Task: Program Execution
Input (English): 7237, K, T, O, n, 4087, 443, 1691, 871, 3501, 5461, q, 4237, 8023, 3373, 7983, 5843
Output (English): 5