How to compare which one is smaller in 6 list of number?

working good