class Solution: def countSeniors(self, details: List[str]) -> int: total = 0 for i in details: if int(i[11:13]) > 60: total += 1 return total