class Solution: def countSeniors(self, details: List[str]) -> int: return len(list(filter(lambda p: p>60, [int(p[11:-2]) for p in details])))