When Thanos snaps he wipes out have of the universe. That doesn't mean half of every population on every single planet. That means half of the universe as a whole. This question does not have an exact answer because though its unlikely, it is possible that when Thanos snaps, nobody on Earth dies.