Gandalf the Grey

Whenever you cast an instant or sorcery spell, choose one that hasn't been chosen —
• You may tap or untap target permanent.
• Gandalf the Grey deals 3 damage to each opponent.
• Copy target instant or sorcery spell you control. You may choose new targets for the copy.
• Put Gandalf on top of its owner's library.