Task: Program Execution
Input (English): y 5507 W p 9165 h s 9031 i 1491 1919 B A 7093 1781 G 6001 g 1465 213 v V 9841 4991 395 Y x 7869 1993 6407 C I N 3361 9485
Output (English): 25, 5507, 23, 16, 9165, 8, 19, 9031, 9, 1491, 1919, 2, 1, 7093, 1781, 7, 6001, 7, 1465, 213, 22, 22, 9841, 4991, 395, 25, 24, 7869, 1993, 6407, 3, 9, 14, 3361, 9485