Task: Program Execution
Input (English): a, Q, 6935, T, 5241, 129, 3403, 1493, u, d
Output (English): 5