Task: Program Execution
Input (English): 3869, 7297, 7617, a, 4361, w, K
Output (English): 4, 6, 7