Task: Program Execution
Input (English): R 1671 l k X T E 6027 J 8807 9391 2499 5095 U i V I 2901 n q w k 3697 X 6799 n x g 287 H 5007 1361 4571 U
Output (English): 18, 1671, 12, 11, 24, 20, 5, 6027, 10, 8807, 9391, 2499, 5095, 21, 9, 22, 9, 2901, 14, 17, 23, 11, 3697, 24, 6799, 14, 24, 7, 287, 8, 5007, 1361, 4571, 21