Task: Program Execution
Input (English): S, P, s, 6627, 2895, 4539, A, K, 1841, 5827, 5637, 3349, 1479, L, 6451, 9541
Output (English): 19, 16, 19, 6627, 2895, 4539, 1, 11, 1841, 5827, 5637, 3349, 1479, 12, 6451, 9541