Task: Program Execution
Input (English): E, 3913, N, 5729, W, w, 5963, H, K
Output (English): 15605