Output the types of words in this sentence. (Nouns, verbs, adjectives, adverbs, etc.)
Her smile was infectious.
Her - Pronoun
smile - Noun
was- Verb
infectious - Adjective.
Complete the following task based on the instruction and optional input provided.### Instruction:
Output the types of words in this sentence. (Nouns, verbs, adjectives, adverbs, etc.)

### Input:
Her smile was infectious.

### Output:
Her - Pronoun
smile - Noun
was- Verb
infectious - Adjective.