Number of Valid Clock times
 # Intuition  \n\n\n\n\n\n\n\n\n\n\n\n# Code\n\nclass Solution:\n    def countTime(self, time: str) -> int:\n        time = [char for char in time if char != ":
<!-- # Intuition -->\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n<!-- # Approach -->\n<!-- Describe your approach to solving the problem. -->\n\n<!-- # Complexity\n- Time complexity: -->\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n<!-- - Space complexity: -->\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution:\n    def countTime(self, time: str) -> int:\n        time = [char for char in time if char != ":"]\n        output = 1\n        if time[0] == \'?\':\n            if time[1] == \'?\':\n                output *= 24\n            elif time[1] > \'3\':\n                output *= 2\n            else:\n                output *= 3\n        elif time[1] == \'?\':\n            if time[0] == \'2\':\n                output *= 4\n            else:\n                output *= 10\n        \n        if time[2] == \'?\':\n            if time[3] == \'?\':\n                output *= 60\n            else:\n                output *= 6\n        elif time[3] == \'?\':\n            output *= 10\n        \n        return output\n\n        \n        \n```
['Python3']