Task: Program Execution
Input (English): 1077 2475 Z T 7127 T 189 1535 1471 9053 e q 3787 E 7723 z r 225 7101 3355 D Z 9929 Z 5673 i Z U t 9993 6875 2277 8457 Z X 8071
Output (English): 1077, 2475, 26, 20, 7127, 20, 189, 1535, 1471, 9053, 5, 17, 3787, 5, 7723, 26, 18, 225, 7101, 3355, 4, 26, 9929, 26, 5673, 9, 26, 21, 20, 9993, 6875, 2277, 8457, 26, 24, 8071