aha

/ɑːhɑː/
[ɑˈhɑ]

interjection

  1. An exclamation of understanding, realization, invention, or recognition.

    "Aha! That will work."

  2. An exclamation of surprise, exaltation, or contempt.

    "Aha! Now I've got you!"