shall be made to such surviving spouse. (B) If there is no surviving spouse described in subparagraph (A), such payment shall be made in equal shares to all children of the military firefighter who are living at the time of payment. (C) If there is no surviving spouse described in subparagraph (A) and if there are no children described in subparagraph (B), such payment shall be made in equal shares to the parents of the military firefighter who are living at the time of payment. (D) If there is no surviving spouse described in subparagraph (A), and if there are no children described in subparagraph (B) or parents described in subparagraph (C), such payment shall be made in equal shares to all grandchildren of the military firefighter who are living at the time of payment. (E) If there is no surviving spouse described in subparagraph (A), and if there are no children described in subparagraph (B), parents described in subparagraph (C), or grandchildren described in subparagraph (D), then such payment shall be made in equal shares to the grandparents of the military firefighter who are living at the time of payment. (F) Notwithstanding the other provisions of this paragraph, if there is— (i) a surviving spouse described in subparagraph (A)