Task: Program Execution
Input (English): 4917 5041 Q T C 6841 1353 3063 5347 R d r u s m 9077 d w E 4951 w U 9773 6755 387 4087 7267 P U 241 1157
Output (English): 4917, 5041, 17, 20, 3, 6841, 1353, 3063, 5347, 18, 4, 18, 21, 19, 13, 9077, 4, 23, 5, 4951, 23, 21, 9773, 6755, 387, 4087, 7267, 16, 21, 241, 1157