141. Jumping Joe time limit per test: 0.25 sec.
Joe is a frog who likes to jump a lot. In fact, that's all he does: he jumps forwards and backwards on the integer axis (a straight line on which all the integer numbers, both positive and negative are marked). At first, Joe sits next to the point marked with 0. From here, he can jump in the positive or the negative direction a distance equal to either x_{1} or x_{2}. From the point where he arrived, he can jump again a distance equal to x_{1} or x_{2}, in the positive or the negative direction and so on.. Joe wants to arrive next to the point marked with the number P, after exactly K jumps. You have to decide whether such a thing is possible.
Input The input will contain four integers: x_{1}, x_{2} (0 < x_{1} , x_{2} < 40 000), P (40 000 < P < 40 000) and K (0 <= K < 2 000 000 000), separated by blanks.
Output The first line of output will contain the word "YES", in case Joe can reach the point marked with P after exactly K jumps, or "NO", otherwise. In case the answer is "YES", the next line should contain four integers, separated by blanks: P_{1} , N_{1} , P_{2} and N_{2}. P_{1} is the number of times Joe jumped in the positive direction a distance equal to x_{1}. N_{1} is the number of times Joe jumped in the negative direction a distance equal to x_{1}. P_{2} is the number of times Joe jumped in the positive direction a distance equal to x_{2}. N_{2} is the number of times Joe jumped in the negative direction a distance equal to x_{2}. In other words, you should find four nonnegative integers, so that: P_{1}*x_{1}  N_{1}*x_{1} + P_{2}*x_{2}  N_{2}*x_{2} = P In case there are more quadruples (P_{1},N_{1},P_{2},N_{2}) which are solutions for the problem, you may print any of them.
Sample Input 2 3 1 12
Sample Output YES 1 0 5 6  

Name 
