Bitwise And Sum Hackerearth Solutions