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 int minn(long long int a, long long int b) {
  if (a > b) return b;
  return a;
}
long long int maxx2(long long int a, long long int b) {
  if (a > b) return a;
  return b;
}
long long int maxx(long long int a, long long int b, long long int c) {
  return maxx2(a, maxx2(b, c));
}
long long int gcdd(long long int a, long long int b) {
  if (b == 0)
    return a;
  else
    return gcdd(b, a % b);
}
long long int dsum(long long int n) {
  long long int sum = 0;
  while (n > 0) {
    sum += n % 10;
    n /= 10;
  }
  return sum;
}
long long int poww(long long int a, long long int b) {
  if (b <= 0) return 1;
  if (b == 1)
    return a;
  else
    return poww(a, b / 2) * poww(a, b / 2) * poww(a, b % 2);
}
long long int sumsq(long long int x, long long int y, long long int z) {
  return (x - y) * (x - y) + (y - z) * (y - z) + (z - x) * (z - x);
}
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  long long int prime[1000001] = {0};
  vector<long long int> v;
  for (long long int i = 2; i < 1000001; i++) {
    if (prime[i] == 0) {
      v.push_back(i);
      for (long long int j = i * 2; j < 1000001; j += i) {
        prime[j] = 1;
      }
    }
  }
  prime[0] = 1;
  prime[1] = 1;
  long long int n;
  cin >> n;
  if (n < 1000001) {
    if (prime[n] == 0) {
      cout << 1 << endl;
      cout << n << endl;
      return 0;
    }
  }
  long long int count = 0, x = sqrt(n);
  for (long long int i = 2; i < x + 1; i++) {
    if (n % i == 0) {
      count++;
      break;
    }
  }
  if (count == 0) {
    cout << 1 << endl;
    cout << n << endl;
    return 0;
  }
  n -= 3;
  for (long long int i = 0; i < v.size(); i++) {
    long long int a = n - v[i];
    if (a < 1000001 && prime[a] == 0) {
      cout << 3 << endl;
      cout << 3 << " " << v[i] << " " << a << endl;
      return 0;
    }
    count = 0;
    x = sqrt(a);
    for (long long int j = 2; j < x + 1; j++) {
      if (a % j == 0) {
        count++;
        break;
      }
    }
    if (count == 0) {
      cout << 3 << endl;
      cout << 3 << " " << v[i] << " " << a << endl;
      return 0;
    }
  }
  return 0;
}