Elementary Longest Path Problem