#626 Paths with Equal Ends