Problem: Dima loves representing an odd number as the sum of multiple primes, and Lisa loves it when there are at most three primes. Help them to represent the given number as the sum of at most than three primes.

More formally, you are given an odd numer n. Find a set of numbers pi (1 ≤ i ≤ k), such that

  1. 1 ≤ k ≤ 3
  2. pi is a prime
  3. <image>



The numbers pi do not necessarily have to be distinct. It is guaranteed that at least one possible solution exists.

Input

The single line contains an odd number n (3 ≤ n < 109).

Output

In the first line print k (1 ≤ k ≤ 3), showing how many numbers are in the representation you found.

In the second line print numbers pi in any order. If there are multiple possible solutions, you can print any of them.

Examples

Input

27


Output

3
5 11 11

Note

A prime is an integer strictly larger than one that is divisible only by one and by itself.

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
long long numberlist[10];
long long mulmod(long long a, long long b, long long c) {
  long long x = 0, y = a % c;
  while (b > 0) {
    if (b & 1) {
      x = (x + y) % c;
    }
    y = (y * 2) % c;
    b >>= 1;
  }
  return x % c;
}
long long modulo(long long a, long long b, long long c) {
  long long y = a, x = 1;
  while (b > 0) {
    if (b & 1) {
      x = mulmod(x, y, c);
    }
    y = mulmod(y, y, c);
    b >>= 1;
  }
  return x % c;
}
long long rabinmiller(long long prime) {
  long long iterations, digit, u, s, i;
  if (prime == 2 || prime == 3 || prime == 5 || prime == 7) return 1;
  if (prime == 0 || prime == 1 || prime % 2 == 0) return 0;
  digit = prime;
  u = 0;
  s = prime - 1;
  if (prime >= 9080191) {
    while (digit) {
      digit /= 10;
      u++;
    }
  }
  if (prime < 1373653) {
    numberlist[0] = 2;
    numberlist[1] = 3;
    iterations = 2;
  } else if (prime < 9080191) {
    numberlist[0] = 31;
    numberlist[1] = 73;
    iterations = 2;
  } else if (u < 9) {
    numberlist[0] = 2;
    numberlist[1] = 7;
    numberlist[2] = 61;
    iterations = 3;
  } else if (u < 12) {
    numberlist[0] = 2;
    numberlist[1] = 13;
    numberlist[2] = 23;
    numberlist[3] = 1662803;
    iterations = 4;
  } else if (u < 13) {
    numberlist[0] = 2;
    numberlist[1] = 3;
    numberlist[2] = 5;
    numberlist[3] = 7;
    numberlist[4] = 11;
    numberlist[5] = 13;
    iterations = 6;
  } else if (u < 15) {
    numberlist[0] = 2;
    numberlist[1] = 3;
    numberlist[2] = 5;
    numberlist[3] = 7;
    numberlist[4] = 11;
    numberlist[5] = 13;
    numberlist[6] = 17;
    iterations = 7;
  } else {
    numberlist[0] = 2;
    numberlist[1] = 325;
    numberlist[2] = 9375;
    numberlist[3] = 28178;
    numberlist[4] = 450775;
    numberlist[5] = 9780504;
    numberlist[6] = 1795265022;
    iterations = 7;
  }
  while (s % 2 == 0) {
    s /= 2;
  }
  for (i = 0; i < iterations; i++) {
    long long a, temp, mod;
    a = numberlist[i];
    temp = s;
    mod = modulo(a, temp, prime);
    while (temp != prime - 1 && mod != 1 && mod != prime - 1) {
      mod = mulmod(mod, mod, prime);
      temp *= 2;
    }
    if (mod != prime - 1 && temp % 2 == 0) {
      return 0;
    }
  }
  return 1;
}
int main() {
  long long i, j, k, l, N, M;
  cin >> N;
  if (N <= 7) {
    cout << 1 << "\n" << N << endl;
  } else {
    cout << 3 << endl;
    cout << 3 << " ";
    N -= 3;
    for (i = N - 3; i > 2; i -= 2) {
      if (rabinmiller(i) && rabinmiller(N - i)) {
        cout << i << " " << N - i << endl;
        return 0;
      }
    }
  }
}