16GB with two 8GB modules at 4000MHz or 32GB with two 16GB modules at 3600MHz?
You can check compatibility on MSI's website to ensure your needs are met.