Task: Program Execution
Input (English): W, q, 1055, 1255
Output (English): 23, 17, 1055, 1255