Task: Program Execution
Input (English): R 8383 F 2135 d 929 H T 7437 2511 a 8243 23 791 r c S 5847 6877 3573 c 3057 3781 7297 2433 J P 8579 1759
Output (English): 18, 8383, 6, 2135, 4, 929, 8, 20, 7437, 2511, 1, 8243, 23, 791, 18, 3, 19, 5847, 6877, 3573, 3, 3057, 3781, 7297, 2433, 10, 16, 8579, 1759