Task: Program Execution
Input (English): K 3179 2721 T 4303 4715 Q 4125 R 7227 1697 K r B 7771 v 9407 L 8585 U z n 8257 u 8935 1633 g 4749 6227 E v E 5709 7179
Output (English): 11, 3179, 2721, 20, 4303, 4715, 17, 4125, 18, 7227, 1697, 11, 18, 2, 7771, 22, 9407, 12, 8585, 21, 26, 14, 8257, 21, 8935, 1633, 7, 4749, 6227, 5, 22, 5, 5709, 7179