class Solution:
def readBinaryWatch(self, num: int) -> List[str]:
"""copy from 思君满月"""
ret = []
for hour in range(12):
for minute in range(60):
if (bin(hour) + bin(minute)).count('1') == num:
ret.append('%d:%02d' % (hour, minute))
return ret