Task: Program Execution
Input (English): 4997 3851 1411 s D 5605 6895 D 5467 5819 S 4085 2671 1715 9673 E 9713 4557 W 4501 6449 8905 U 4295 6443
Output (English): 1, 2, 3, 6, 7, 9, 10, 12, 13, 14, 15, 17, 18, 20, 21, 22, 24, 25