Task: Program Execution
Input (English): 3337, 1271, 2677, N, E, 857
Output (English): 4, 5