Task: Program Execution
Input (English): 5167, 6383, 9235, d, 873, 6313, 4453, u, 4667, P, 6823
Output (English): 4, 8, 10