Longest perfect