Task: Program Execution
Input (English): 3051 S N h y S W N 2771 9227 W n 7319 W 5511 L p u v Z 7623 Q 6473 o 6953 4577 6033 S 547 s 7777 2547 d 9299 8751 D 9829 B E 5401
Output (English): 3051, 19, 14, 8, 25, 19, 23, 14, 2771, 9227, 23, 14, 7319, 23, 5511, 12, 16, 21, 22, 26, 7623, 17, 6473, 15, 6953, 4577, 6033, 19, 547, 19, 7777, 2547, 4, 9299, 8751, 4, 9829, 2, 5, 5401