How To Calculate The Maximum Value