Let the maths marks be 10, 30, 60, 70
There for maths-clone is 100 - current marks which gives 90, 70, 40,30
maxclone = max(maths-clone) = 90
max = 100 - maxclone = 100-90 =10 which corresponds to minimum marks in original dataset
Regards
Nijin
IITM Online Degree Programme