How do I take RMD for the tax year if I have multiple Traditional IRA accounts?

I have two Traditional IRA accounts at two different banks.  Suppose my RMD for 2018 is $100 for IRA #1, and $500 for IRA #2.  Does IRS allow below two ways of taking RMD?   

1) Take the full RMD of $600 from IRA #1.
2) Take RMD of $300 from IRA #1, and take RMD of another $300 from IRA #2.

Thank you for your attention.