Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.

alternating
direct

unnecessary
necessary

perplexed

unperplexed