Given this Digraph DOT definition:

digraph G {
  exk_t_string [ns="exk_t", id="string", desc="This field represents any value given as a string"]
  exk_t_price [ns="exk_t", id="price", desc="This field represents a price value. "]  

  Book [ns="exk", desc="A book that was written by an author and is part of a library", title="exk_t:string", price="exk_t:string|{facet:price}"]
  Author [ns="exk", desc="An author that wrote some books. A book has an author", name="exk_t:string", phone="exk_t:string|{facet:phone}", age="exk_t:number|{facet:age}"]
  Library [ns="exk", desc="A", name="exk_t:string", loc="exk_t:geo_location"]

  Book -> Author [author="exk:Author"]
  Library -> Book [books="exk:Book|{facet:list}"]
}

If possible, the RESULT is the subgraph of above graph that covers the user's input below. In this case, the RESULT should be given in DOT format only including the nodes and the edges.
If not possible, RESULT should be "INVALID_INPUT".

Example:
- INPUT: Books from library named NAME_1 with price < 500
- RESULT: 
digraph G {
  books [type="Book", price="< 500"]
  library [type="Library", name="NAME_1"]

  books -> library [books="books"]
}

Input:
- Books with authors with name NAME_2
 Provide response in all capital letters, no lowercase letters allowed.
user