Task: Program Execution
Input (English): 8711 e 5951 Y S V 2141 g R 627 8803 q 9501 1999 S 2115 P 7185 r c E J 2721 a d 6801 7393 2427 4311 t r h 3429
Output (English): 8711, 5, 5951, 25, 19, 22, 2141, 7, 18, 627, 8803, 17, 9501, 1999, 19, 2115, 16, 7185, 18, 3, 5, 10, 2721, 1, 4, 6801, 7393, 2427, 4311, 20, 18, 8, 3429