Min (int)?

I can make the random this is not problem, thanks.