Same last name-H1B lottery

This might sound silly but want to make sure what if 2 different people have same lastname? does the lottery pick by lastname? is there a chance one might get picked and other not picked by lottery?