I don't know about "great," but if you visit local dealers and play a lot of different guitars, you should be able to find a decent sounding instrument for under $400.00. It won't sound as good as a Martin, Taylor, Guild, Gibson, Breedlove, L'arrivee, etc. But the following brands all offer solid top models with street prices of less than $400.00:
Yamaha, Dean, Ibanez, Takamine, Washburn, Epiphone, Samick, Aria, Alvarez. Surely you can find at least one among the lot that sounds decent. You may even find one that in your opinion, sounds great--and keep in mind--they're your ears and it's your money--so your opinion is the one that really counts--providing you've tried as many as you can. If you get really blessed--you may strike gold with the first guitar you pick up. It's not likely in that price range--but stranger things have happened--like the KC Royals winning the World Series 20 years ago.