Your first choice can be any name, ie. a 30/30 chance. And then your second choice can only be that one name, ie. a 1 in 30 chance.
Now - if you wanted a particular name to come out, before the first selection, that would be 1/30 * 1/30 = 1/900.
Or if you don't replace the name... well... then you're in trouble...