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 bool rd(T &ret) {
  char c;
  int sgn;
  if (c = getchar(), c == EOF) return 0;
  while (c != '-' && (c < '0' || c > '9')) c = getchar();
  sgn = (c == '-') ? -1 : 1;
  ret = (c == '-') ? 0 : (c - '0');
  while (c = getchar(), c >= '0' && c <= '9') ret = ret * 10 + (c - '0');
  ret *= sgn;
  return 1;
}
template <class T>
inline void pt(T x) {
  if (x < 0) {
    putchar('-');
    x = -x;
  }
  if (x > 9) pt(x / 10);
  putchar(x % 10 + '0');
}
const int mod = 1e9 + 7;
const int N = 200000 + 10;
long long prime[N], primenum;
bool yes(int n) {
  if (n < 2) return false;
  for (int i = 0; prime[i] * prime[i] <= n; i++) {
    if (n % prime[i] == 0) return false;
  }
  return true;
}
set<int> s;
void PRIME(long long Max_Prime) {
  primenum = 0;
  prime[primenum++] = 2;
  for (long long i = 3; i <= Max_Prime; i += 2)
    for (long long j = 0; j < primenum; j++)
      if (i % prime[j] == 0)
        break;
      else if (prime[j] > sqrt((double)i) || j == primenum - 1) {
        prime[primenum++] = i;
        s.insert(i);
        break;
      }
}
bool ok(int t, int n) {
  n -= t;
  if (yes(n)) {
    puts("2");
    cout << n << " " << t << endl;
    return true;
  } else if (n <= 4)
    return false;
  int d = n - 1;
  while (yes(d) == false || yes(n - d) == false) d--;
  n -= d;
  if (yes(n)) {
    puts("3");
    cout << n << " " << t << " " << d << endl;
    return true;
  }
  return false;
}
int n;
int main() {
  PRIME(1e5);
  rd(n);
  if (s.count(n)) {
    puts("1");
    pt(n);
  } else {
    int t = n - 1;
    while (yes(t) == false || !ok(t, n)) t--;
  }
  return 0;
}