public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String line = "";
		StringBuilder out = new StringBuilder();
		ArrayList<Integer> primes = primeNumbers(1000001);
		while ((line = in.readLine()) != null && line.length() != 0) {
			int n = Integer.parseInt(line);
			if (n == 0)
				break;
			int curP0 = 0, curP1 = 0;
			boolean pos = false;
			for (int i = 0; i < primes.size(); i++) {
				curP0 = primes.get(i);
				if (curP0 >= n)
					break;
				else if (isPrime[n - curP0]) {
					pos = true;
					curP1 = n - curP0;
					break;
				}
			}
			if (!pos)
				out.append("Goldbach's conjecture is wrong.\n");
			else
				out.append(n + " = " + curP0 + " + " + curP1 + "\n");
		}
		System.out.print(out);
	}