System.out.println(BigInteger.valueOf(42).modInverse(BigInteger.valueOf(2017)));