Task: Program Execution
Input (English): p 1315 6713 d i 3215 H A 7605 1241 2897 N 87 n O 8011 4455 Q W w 5365 u 3979 7217 823 5027 2401 k 4241 k u G 887
Output (English): 16, 1315, 6713, 4, 9, 3215, 8, 1, 7605, 1241, 2897, 14, 87, 14, 15, 8011, 4455, 17, 23, 23, 5365, 21, 3979, 7217, 823, 5027, 2401, 11, 4241, 11, 21, 7, 887