def to_odd(n):
    """
    Converts a number to an odd number by getting the nearest odd number (greater than or equal to the input)
    :param n: the number
    :return: and odd number
    """
    return n if n % 2 == 1 else n + 1