Which of these PCs is better

I'm having trouble deciding. I really just want to play Minecraft and maybe Skyrim. The first PC is an HP Pavilion Slimline with 4GB of RAM, 3Ghz of processing speed, an AMD Athlon x2 Processor, an Integraded Graphics card, and 500 GB HDD. The other one is a Gateway SGX2100 Dual Core with 6 GB of RAM, 1.4Ghz of processing speed, a AMD E1-1500 64 bit processor, and an AMD Radeon HD 7310 Graphics card. Which one do you think would be better for Minecraft?

Probably the second one although they both could probably run the games just fine