Task: Program Execution
Input (English): n, 549, N, V, 9883, 5101, 7041, s, 8317, H
Output (English): 30891