Take care of red ball, it must be go into hall at last, if it goes into hall before other balls remaining other balls pop out.