500
For nouns not ending in "O" or "A", you must look in the dictionary, (In the dictionary there will be a "M" for masculine, and "F" for feminine words.), and memorize it, to determine this.
What is to determine if the article is masculine, or feminine in Spanish, without it being clear, with an "O" or "A"?