python one line solution
Code\npython []\nclass Solution:\n    def miceAndCheese(self, reward1: List[int], reward2: List[int], k: int) -> int:\n        return functools.reduce(lambda re
# Code\n``` python []\nclass Solution:\n    def miceAndCheese(self, reward1: List[int], reward2: List[int], k: int) -> int:\n        return functools.reduce(lambda res, x: res + (x[1][1] if x[0] < k else x[1][2]), enumerate(sorted(map(lambda x, y: (x - y, x, y), reward1, reward2), reverse=True)), 0)\n```
['Python3']