Commit // MemoryCommit // Memory

Commit // Memory
//

Instant // Sorcery (CMC 10)
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.