Intel i5 12450hx or ryzen 5 7235hs

Which is better Inter i5 12450hx with 24gb RAM and 1tb ssd OR Ryzen 5 7235hs 24gb RAM and 500gb ssd Both have 3050 6gb graphic card

Please help with this one