protected static void main(String args[]){
  int from=Integer.parseInt(args[0]);
  int to=Integer.parseInt(args[1]);
  statistics(from,to);
}

protected static void main ( String args [ ] ) { int from = Integer . parseInt ( args [ 0 ] ) ; int to = Integer . parseInt ( args [ 1 ] ) ; statistics ( from , to ) ; }
tests correctness . try from = 1000 , to = 10000 from = 200 , to = 1000 from = 16 , to = 1000 from = 1000 , to = integer . max_value
