def get_input(message: str, default_value=None):
    """Gets user's input or uses a default value."""
    value = input(message)
    if not value:
        if default_value is not None:
            value = default_value
        else:
            print('Value is required', flush=True)
            value = get_input(message)

    return value