Identify the nouns and verbs in the following sentences:
1. Ajay grabbed the iron railing.
2. Mary ran over the cat.
3. The teacher taught Spanish.