Input (grade 7): In military terms, it is a ship used by the commanding officer of a group of naval ships.
Output (grade 6): A flagship is the ship used by the officer who commanded a group of naval ships.