Task: Program Execution
Input (English): N 9371 3135 W E 4869 b 6681 3391 4141 6861 7701 b 8763 3703 B W 8947 B 7155 Y y z K Y 6099 3165 X 3159 1145 5153 7131 4001 R z 5499 r O b W
Output (English): 14, 9371, 3135, 23, 5, 4869, 2, 6681, 3391, 4141, 6861, 7701, 2, 8763, 3703, 2, 23, 8947, 2, 7155, 25, 25, 26, 11, 25, 6099, 3165, 24, 3159, 1145, 5153, 7131, 4001, 18, 26, 5499, 18, 15, 2, 23