Task: Program Execution
Input (English): 1197, L, 9927, 2405, 5123, 2371, y, 2781, 549, 8363, 9347, 4283, j, 2183, s, K, Q, 9547, s, 8325, S, T, 8837
Output (English): 1197, 12, 9927, 2405, 5123, 2371, 25, 2781, 549, 8363, 9347, 4283, 10, 2183, 19, 11, 17, 9547, 19, 8325, 19, 20, 8837