You don't get to look at the cards exiled with Wall of Mourning. If there are more than one, you choose which one to put back into your hand at random without looking at them. This is true even if you knew what one or more cards from the top of your library were before exiling them.