def get_instrument(program):
    """Return the instrument inferred from the program number."""
    if 0 <= program < 8:
        return "Piano"
    if 24 <= program < 32:
        return "Guitar"
    if 32 <= program < 40:
        return "Bass"
    if 40 <= program < 46 or 48 <= program < 52:
        return "Strings"
    if 56 <= program < 64:
        return "Brass"
    return None