public static void main ( String [] args ) {
	int range = 100, res1=0;
	BigInteger res = new BigInteger("1");
	BigInteger i = new BigInteger("100");
	BigInteger zero = new BigInteger("0");
	BigInteger one = new BigInteger("1");
	String ss = "";
       
	while ( i.compareTo(zero) > 0 ) {
	    res = res.multiply(i);
	    i =  i.subtract(one);
	}
	
	ss = res.toString();
     
	for ( int j=0; j<ss.length(); j++ ) {
	    res1 = res1 + Integer.parseInt(ss.substring(j,j+1));
	}

	System.out.println("sum = " + res1);
    }