longest line solution