int OurRandom(){ static int LastVal = 1 ; LastVal = (LastVal *123474 ) % 998 ; if (LastVal > 800) return 1 ; return 0 ; }