A female cockroach can produce 80 offspring at a time. In half of the offspring produced by a certain female are female and each female produces 80 offspring, how many cockroaches are there in the third generation.