// File: MathusClient.java

public MathusClient {
    public static void main(String[] args) {
	// Let us do something really intricate here:
	int arg = Integer.parseInt(args[0]);
	int facRes = Mathus.fac(arg);
	System.out.println("fac(" + arg + ") = " + facRes);
    }
    
    static {
	// Yep, let's load that DLL and get it over with...
	System.loadLibrary("mathus");
    }
}
