I want to fill in the two inner circles vertically instead of horizontally to make this shape:

What is the quickest way to do this?
If I use F to fill, it will fill the circels horizontally and it looks like a coin instead of a ring. Grid fill didn't work either. Currently I have to select the edges of each small segment individually and fill those gaps, but it is quite time consuming to do that for every segment.
