import java.util.*; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int num = in.nextInt(); Map<Integer, Integer> map = new HashMap<>(); for (int i = 1; i < num; i++) { if (isPrime(i)) { int other = num - i; if (isPrime(other)) { map.p...