print the max and min value of int