Min (int)?

oh , forgot the random part , can you figure it out ? or need help?