Late 2013 27 inch iMac Upgrading RAM
I have a late 2013 27-inch iMac with 8G DDR3-SDRAM. I would like to upgrade my RAM. Can I add two 8G (16G total) RAM with the two 4G (8G total) RAM already installed for a total of 24G or do I have to keep the RAM the same in all four slots? i.e. Four 4G RAM cards or four 8G RAM cards? Thanks.
iMac, OS X Yosemite (10.10.2)