(while(def r #(bigint(read)))(prn(.modInverse(r)(r))))