Which Mac?

Help! What do I need? Don’t want overkill but don’t want to cheap out and be unhappy! The most intensive thing I do is Lightroom CC and Photoshop CC. No gaming. My friend gave me hers (she thought it was broken) to try. It works fine but is a little slow.