python solution
\nclass Solution:\n    def maximumPopulation(self, logs: List[List[int]]) -> int:\n        b=[logs[i][0] for i in range(len(logs))]\n        d=[logs[i][1] for i
```\nclass Solution:\n    def maximumPopulation(self, logs: List[List[int]]) -> int:\n        b=[logs[i][0] for i in range(len(logs))]\n        d=[logs[i][1] for i in range(len(logs))]\n        m=0 #max population\n        a=0 #alive\n        r=1950\n        for i in range(1950,2051):\n            a+=b.count(i)-d.count(i)\n            if a>m:\n                m=a\n                r=i    \n        return r\n            \n```
['Python', 'Python3']