11727 get min/max or just sort and print the middle one