Task: Program Execution
Input (English): E, 3507, 7373, W, 5961, 9445
Output (English): E, W