Input (grade 8): On the posterior sides are the opercula, which are used to protect the gills.
Output (grade 6): On the bottom sides are the operculum, which are used to protect the gills.