Is there any reason why you doubt that they are nouns? For a start they are plurals, and no other part of speech can be pluralised. Also, I think a noun is the only type of word that grammatically fits in that position.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.