import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(sc.hasNext()){ int n = sc.nextInt(); int count = 0; //6是最小完全数 for (int i = 6; i <= n; i++) { // 求约数只需要遍历到开方即可 i...