Task: Program Execution
Input (English): X, 1999, v, 5719, 3417, 7219, 149, 7629, W, H, 7089, 5175, 4871, 4669
Output (English): 10