Is this Sum or XOR Sum?

Problem Name:
Is this Sum or XOR Sum?
Site:HackerEarth
Links:
Tags:
Problem setters: