I can't understand how can I display the string comes earlier in the shortest or longest list. I tried but my program is not displaying correct output if there is more than one shortest or longest string