Select the grammatically correct sentence from the given options.
AAn unexpected power failure completely foiled the plan of the team.
BAn unexpected power failure completely foiled a plan of a team.
CA unexpected power failure completely foiled the plan of a team.
DAn unexpected power failure completely foiled an plan of the team.
