python one line solution 94% beats
```\nclass Solution:\n    def concatenatedBinary(self, n: int) -> int:\n        return int("".join([bin(i)[2:] for i in range(1,n+1)]),2)%(10**9+7)\n    \n     
```\nclass Solution:\n    def concatenatedBinary(self, n: int) -> int:\n        return int("".join([bin(i)[2:] for i in range(1,n+1)]),2)%(10**9+7)\n    \n        \n
['Python', 'Python3']