Find The Longest And Shortest Wavelength