Mr. Curtis has 325 - 28 = <<325-28=297>>297 hens.
Out of the 297 hens, only 297 - 20 = <<297-20=277>>277 hens lay eggs.
#### 277