Task: Program Execution
Input (English): 6479, 3927, D, a, 4599, 4789, 8521, 7555, 4019, 7815, R, 1817, 9851, K
Output (English): 3, 4, 11, 14