determinati n astfel incat 7*n!<1000