Task: Program Execution
Input (English): R 5981 N 4135 o 1141 8637 g 8317 8227 269 5637 6669 j 8529 n D p 1787 i 1355 4735 2483 1565 6331 P 4417 W C K S K h S 6827 8237 7791 7095
Output (English): 18, 5981, 14, 4135, 15, 1141, 8637, 7, 8317, 8227, 269, 5637, 6669, 10, 8529, 14, 4, 16, 1787, 9, 1355, 4735, 2483, 1565, 6331, 16, 4417, 23, 3, 11, 19, 11, 8, 19, 6827, 8237, 7791, 7095