I can't choose between these two laptop. Which one is better? HP Pavilion D005TX or Lenovo Ideapad G410?

I can't choose between these two laptop. Which one is better?

HP Pavilion D005TX
Core i3 3110M Ivy Bridge 2.4 GHz
NVIDIA Geforce 820M
2GB DDRL3
or
Lenovo Ideapad G410
Core i3 4000M Haswell 2.4 GHz
Intel HD Graphics 4600
4GB DDR3

The HP one has a GPU, means better gaming performance. Only the RAM is a bit low. I'd get the HP one & upgrade the RAM to 4 GB at least.