public class basic {
	public static boolean perf(double n){
		double sum= 0;
		for(double i= 1;i < n;i++){
			if(n % i == 0){
				sum+= i;
			}
		}
		return sum == n;
	}
	public static void main(String[]args){
	double count=0;
		while(true){
			if(perf(count)==true){
				System.out.println(count);
			}
			count++;
		}
	}
	

}

@@ -339,12 +339,7 @@
 %09%7D%0D%0A
-%09%0D%0A%0D%0A
 %7D%0D%0A

Update basic.java