Input (grade 13): Lt. Commander Worf, played by Michael Dorn, is a main character in both Star Trek: The Next Generation and Star Trek: Deep Space Nine, and also the films based on The Next Generation.
Output (grade 6): Worf is a Star Trek: The Next Generation and Star Trek: Deep Space Nine character.