this theorem is helpful
http://en.wikipedia.org/wiki/Wilson's_Theorem
My answer was 50, can anybody confirm?