Task: Program Execution
Input (English): p, T, q, 6953, m, T, n, n, 7807, R, s, 2693, t
Output (English): 4, 9, 12