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;
template <class T>
inline T bigmod(T p, T e, T M) {
  long long int ret = 1;
  for (; e > 0; e >>= 1) {
    if (e & 1) ret = (ret * p) % M;
    p = (p * p) % M;
  }
  return (T)ret;
}
template <class T>
inline T gcd(T a, T b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
template <class T>
inline T modinverse(T a, T M) {
  return bigmod(a, M - 2, M);
}
template <class T>
inline T bpow(T p, T e) {
  long long int ret = 1;
  for (; e > 0; e >>= 1) {
    if (e & 1) ret = (ret * p);
    p = (p * p);
  }
  return (T)ret;
}
int toInt(string s) {
  int sm;
  stringstream ss(s);
  ss >> sm;
  return sm;
}
int toLlint(string s) {
  long long int sm;
  stringstream ss(s);
  ss >> sm;
  return sm;
}
int ts, kk = 1;
long long int pr[200006];
int q;
bool bl[200006];
void sv() {
  int i, j, mx = sqrt(200006) + 1;
  pr[0] = 2LL;
  q = 1;
  for (i = 3; i <= mx; i += 2) {
    if (!bl[i]) {
      pr[q++] = i;
      for (j = i * i; j < 200006; j += i) bl[j] = 1;
    }
  }
  for (; i < 200006; i += 2)
    if (!bl[i]) pr[q++] = i;
}
long long int rs[5];
int rec(long long int n, int d) {
  if (n < 2) return -1;
  if (n < 200006) {
    if (n % 2 == 0) {
      if (n == 2) {
        rs[d] = 2;
        return 1 + d;
      }
    } else if (bl[n] == 0) {
      rs[d] = n;
      return 1 + d;
    }
  }
  int i;
  for (i = 0; pr[i] * pr[i] <= n; i++) {
    if (n % pr[i] == 0) break;
  }
  if (n % pr[i] != 0) {
    rs[d] = n;
    return 1 + d;
  }
  if (d == 2) {
    return -1;
  }
  if (d == 1) {
    i = (lower_bound(pr, pr + q, n) - pr);
    for (; i > -1; i--) {
      if (n > pr[i]) {
        int qxx = rec(n - pr[i], d + 1);
        if (qxx != -1) {
          rs[d] = pr[i];
          return qxx;
        }
      }
    }
    return -1;
  }
  if (d == 0) {
    i = (lower_bound(pr, pr + q, n) - pr);
    for (; i > -1; i--) {
      if (n > pr[i]) {
        int qxx = rec(n - pr[i], d + 1);
        if (qxx != -1) {
          rs[d] = pr[i];
          return qxx;
        }
      }
    }
    return -1;
  }
}
int main() {
  int t, i, j, k;
  long long int n;
  sv();
  pr[q] = (LLONG_MAX / 10LL);
  scanf("%lld", &n);
  k = rec(n, 0);
  printf("%d\n%lld", k, rs[0]);
  for (i = 1; i < k; i++) printf(" %lld", rs[i]);
  return 0;
}