text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_23177573_1 (rank__week_ VARCHAR, written_by VARCHAR, directed_by VARCHAR)
  ### Question:
  What was the week ranking of the episode written by Thomas L. Moran and directed by Andrew Bernstein?
  ### Answer:
  SELECT rank__week_ FROM table_23177573_1 WHERE written_by = "Thomas L. Moran" AND directed_by = "Andrew Bernstein"