Python Solution
```\ndef minFlips(self, a: int, b: int, c: int) -> int:\n        mark = 1\n        count = 0\n        \n        while mark <= c or mark <= a or mark <= b:\n    
```\ndef minFlips(self, a: int, b: int, c: int) -> int:\n        mark = 1\n        count = 0\n        \n        while mark <= c or mark <= a or mark <= b:\n            if mark & c == 0:\n                if mark & a != 0:\n                    count += 1\n                if mark & b != 0:\n                    count += 1\n            else:\n                if mark & a == 0 and mark & b == 0:\n                    count += 1\n            mark = mark << 1\n           \n            \n        return count      \n
[]