Since the C natural minor scale had E , A , and B , the key signature of C minor has three flats, written in the order of flats— B , E , A .