Yet another XOR function

Problem Name:
Yet another XOR function
Site:HackerEarth
Links:
Tags: