Task: Program Execution
Input (English): 2797, 5847, K, W, U, d, 5127, 7055, 1187, 6667, 7033
Output (English): 3, 4, 5, 6