Task: Program Execution
Input (English): 3167, u, w, 1379
Output (English): 1, 4