Task: Program Execution
Input (English): x, 4977, z, w
Output (English): 1