$ 0 0 Python, 55 bytesPort of @l4m2's answer-1 byte thanks to @l4m2f=lambda x:x+x%2and[x%2+f(x//4)[0]*2,f(x//2)[0]]or[x,x]Attempt This Online!