Match the arguments type in 'max' function