Input (grade 12): When an inferior planet is visible after sunset, it is near its greatest eastern elongation.
Output (grade 12): When an inferior planet is visible before sunrise, it is near its greatest western elongation.