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 <typename T>
void update_max(T &a, T b) {
  if (a < b) a = b;
}
template <typename T>
void update_min(T &a, T b) {
  if (a > b) a = b;
}
vector<int> get_primes(int N) {
  vector<bool> is_prime(N + 1, true);
  is_prime[0] = is_prime[1] = false;
  is_prime[2] = true;
  for (int kp = 4; kp <= N; kp += 2) is_prime[kp] = false;
  for (int p = 3; p * p <= N; p += 2)
    if (is_prime[p])
      for (int kp = 2 * p; kp <= N; kp += p) is_prime[kp] = false;
  vector<int> primes;
  for (int p = 0, n_ = (N + 1); p < n_; p++)
    if (is_prime[p]) primes.push_back(p);
  return primes;
}
bool check_prime(int n, const vector<int> &primes) {
  for (int i = 0, n_ = (primes.size()); i < n_; i++) {
    if (n == primes[i]) return true;
    if (n % primes[i] == 0) return false;
    if (primes[i] * primes[i] > n) break;
  }
  return true;
}
int decompose2(int n, const vector<int> &primes) {
  for (int i = 0, n_ = (primes.size()); i < n_; i++) {
    if (n < primes[i]) return -1;
    if (check_prime(n - primes[i], primes)) return primes[i];
  }
  return -1;
}
vector<int> decompose3(int n) {
  vector<int> p;
  int sqrtn = int(ceil(pow(n + 3, 0.5)) + 1);
  vector<int> primes = get_primes(sqrtn);
  if (check_prime(n, primes)) {
    p.push_back(n);
    return p;
  }
  int m = 4;
  while (!check_prime(n - m, primes)) {
    m += 2;
  }
  int a = decompose2(m, primes);
  if (a < 0) return p;
  p.push_back(n - m);
  p.push_back(a);
  p.push_back(m - a);
  return p;
}
int main() {
  int n;
  cin >> n;
  vector<int> decompose = decompose3(n);
  cout << decompose.size() << endl;
  for (int i = 0, n_ = (decompose.size()); i < n_; i++)
    cout << decompose[i] << " ";
  cout << endl;
  return 0;
}