Minimize moves to make X and Y equal using given subtraction operations
Given two positive integers, X and Y, the task is to find the minimum number of operations to make X and y equal where in one operation, we can select any positive integer Z and do the following process. If the number Z is even, subtract Z from X.If the number Z is odd, add Z to X. Examples: Input: