Task: Program Execution
Input (English): h 5021 7395 4101 r 703 871 S g R 3871 c 6607 i 7281 S 8021 n 9299 4509 b v G 9239 p
Output (English): 8, 5021, 7395, 4101, 18, 703, 871, 19, 7, 18, 3871, 3, 6607, 9, 7281, 19, 8021, 14, 9299, 4509, 2, 22, 7, 9239, 16