Done All Functional

The system can calculate Val, finding Max, Min Value and also arrange
value