Task: Program Execution
Input (English): y, T, K, 2113, J, B, 2205, 3691, E, p, P, 1191, 8963, G, m, M, 1227, C, B, a, O, 3215, V
Output (English): 25, 20, 11, 2113, 10, 2, 2205, 3691, 5, 16, 16, 1191, 8963, 7, 13, 13, 1227, 3, 2, 1, 15, 3215, 22