Input (grade 4): On the anterior end of the fish, there are two dorsal fins.
Output (grade 2): On the front end of the fish, there are two dorsal fins.