Task: Program Execution
Input (English): X, Q
Output (English): 0