Task: Program Execution
Input (English): c, 5941, k, N, 7763, 1293, 5867, B, 8917, H, W, 7813, 7525, 7439, 9537, 2909
Output (English): 65004