Task: Program Execution
Input (English): 2359, 3451, L, D, 2047, 1477, y, s, K, H, 1191, 2469, 8537, 5279, 1897, 4753, s, 9287, 3233, 5603, 1, 5839, 8975
Output (English): 2359, 3451, 12, 4, 2047, 1477, 25, 19, 11, 8, 1191, 2469, 8537, 5279, 1897, 4753, 19, 9287, 3233, 5603, 1, 5839, 8975