i am not understanded the question properly
# cook your dish here
Problem Link: BREAKSTICK Problem - CodeChef
U have to break the stick in such way that one of its piece has length has X and all the pieces have same parity .
Same Parity means all even or all odd .