1 2 3 4 5 6 7 8 9 10
import java.math.BigInteger; public class mainClass { public static void main(String[] ARGS){ BigInteger bi = BigInteger.valueOf(75); bi=bi.pow(23); bi = bi.mod(BigInteger.valueOf(187)); System.out.println(bi); } }
You can clone a snippet to your computer for local editing. Learn more.