Task: Program Execution
Input (English): x Y 5817 2023 N w 4541 1447 3375 g 4891 7335 9395 6149 6651 l 6025 n 3241 W 4681 8815 S 2547 2121
Output (English): 3, 4, 7, 8, 9, 11, 12, 13, 14, 15, 17, 19, 21, 22, 24, 25