BogoSort Practice problem

Problem link: http://www.codechef.com/problems/BOGOSORT

can anyone explain for n=3 and n=4 ?
answer for n=3 is 10/3 and for n=4 is 5.