Given the task definition and input, reply with output. A question is presented to you in this task, and your job is to write a potentially correct answer.

what year did john adams get elected president?
4/21/1789