This is just my 2 cents, but I’d go for the CPU. Reason being you can upgrade RAM later with more sticks. However, it all depends on your use case, as this is the old memory-cpu tradeoff dilemma.
Want speed? Go for CPU. Want to have many tabs open, or guarantee a program does not crash due to low memory even if it doesn’t run at full steam? Go for memory.
Many virtual machines open? Definitely memory. Gaming? CPU… most of the times.
Man, I hate question headlines. They entice you to click a link while promising an answer that may not come. You do get ads, though.
Wish we lived in a society were titles were like:
Edit: Nothing against OP. I’m just venting about this little thing.