int cont=0; int remainder=0; int counter=0; for (int i=500; i<=599;i++){ int j=2; while(j