Task: Program Execution
Input (English): C 4191 s h p V 1227 U 721 97 2119 353 3567 l 2431 3051 P 9997 b 5993 T 1361 l Y 6587 3111
Output (English): 3, 4191, 19, 8, 16, 22, 1227, 21, 721, 97, 2119, 353, 3567, 12, 2431, 3051, 16, 9997, 2, 5993, 20, 1361, 12, 25, 6587, 3111