max of abcd, bcde, zecd, a12gh is : zecd
max of ABCD, DECD, HJKYG, PWE093 is PWE093