Problem: You are given two positive integers () and (). Represent the number as the sum of positive integers of the same parity (have the same remainder when divided by ).
In other words, find such that all , and either all are even or all are odd at the same time.
If such a representation does not exist, then report it.
Input Format: The first line contains an integer () — the number of test cases in the input. Next, test cases are given, one per line.
Each test case is two positive integers () and ().
Output Format: For each test case print:
- YES and the required values , if the answer exists (if there are several answers, print any of them);
- NO if the answer does not exist.
The letters in the words YES and NO can be printed in any case.