Task: Program Execution
Input (English): R 7947 3915 A 7673 7043 3331 6333 t 9037 3243 9717 L F R P 203 D h 8759 3385 7887 6089 E 8975 g N 9901
Output (English): 18, 7947, 3915, 1, 7673, 7043, 3331, 6333, 20, 9037, 3243, 9717, 12, 6, 18, 16, 203, 4, 8, 8759, 3385, 7887, 6089, 5, 8975, 7, 14, 9901