Pull Out Of A Hat

Produce suddenly and surprisingly, as if by magic.

Examples:

  • We can't just pull the answers out of a hat.

Synonyms: pull a rabbit out of a hat