If you can, buy a used i5-8400. It's twice the performance for around the same price. I have seen a used one for about 80 usd. Really go with the i5-8400 if you can. You will thank me later. It's SO MUCH betterI am rll good with rx550, I dont see reasons to put rx580 right now but ill do in some point.
anyways I'll take i7-4770 all my friends say its rll good and I just figure out its really so cheap so thats the conclusion.