+Commit, +Memory (2)
Put target spell or nonland permanent into its owner's library second from the top.
Aftermath (Cast this spell only from your graveyard. Then exile it.)
Each player shuffles their hand and graveyard into their library, then draws seven cards.
Gatherer works better in the Companion app!