Commit 3U — Instant
Put target spell or nonland permanent into its owner's library second from the top.
Memory 4UU — Sorcery
Aftermath (Cast this spell only from your graveyard. Then exile it.) Each player shuffles his or her hand and graveyard into his or her library, then draws seven cards.