Ear: chord qualities

Hear a chord: major, minor, diminished or augmented?