def binary_clock(turnedOn):

    possible_times = []
    
    for hour in range(12):  # Hours from 0 to 11
        for minute in range(60):  # Minutes from 0 to 59
            # Count the number of LEDs that would be on for this time
            led_count = bin(hour).count('1') + bin(minute).count('1')
            
            # If the number of LEDs matches the input, add the time to the list
            if led_count == turnedOn:
                possible_times.append(f"{hour}:{minute:02d}")
    
    return possible_times

# Example usage:
print(binary_clock(1))
print(binary_clock(9)) 