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;
using namespace chrono;
void _print(long long t) { cerr << t; }
void _print(int t) { cerr << t; }
void _print(string t) { cerr << t; }
void _print(char t) { cerr << t; }
void _print(long double t) { cerr << t; }
void _print(double t) { cerr << t; }
void _print(unsigned long long t) { cerr << t; }
template <class T, class V>
void _print(pair<T, V> p);
template <class T>
void _print(vector<T> v);
template <class T>
void _print(set<T> v);
template <class T, class V>
void _print(map<T, V> v);
template <class T>
void _print(multiset<T> v);
template <class T, class V>
void _print(pair<T, V> p) {
  cerr << "{";
  _print(p.first);
  cerr << ",";
  _print(p.second);
  cerr << "}";
}
template <class T>
void _print(vector<T> v) {
  cerr << "[ ";
  for (T i : v) {
    _print(i);
    cerr << " ";
  }
  cerr << "]";
}
template <class T>
void _print(set<T> v) {
  cerr << "[ ";
  for (T i : v) {
    _print(i);
    cerr << " ";
  }
  cerr << "]";
}
template <class T>
void _print(multiset<T> v) {
  cerr << "[ ";
  for (T i : v) {
    _print(i);
    cerr << " ";
  }
  cerr << "]";
}
template <class T, class V>
void _print(map<T, V> v) {
  cerr << "[ ";
  for (auto i : v) {
    _print(i);
    cerr << " ";
  }
  cerr << "]";
}
set<long long> sieve(int n) {
  int* arr = new int[n + 1]();
  set<long long> vect;
  for (int i = 2; i <= n; i++)
    if (arr[i] == 0) {
      vect.insert(i);
      for (int j = 2 * i; j <= n; j += i) arr[j] = 1;
    }
  return vect;
}
bool prime(long long n) {
  bool ans = true;
  if (n != 2 && n % 2 == 0) ans = false;
  for (long long i = 3; i < sqrt(n) + 1; i++) {
    if (n % i == 0) {
      ans = false;
      break;
    }
  }
  return ans;
}
void solve() {
  long long t = 1;
  while (t--) {
    long long n;
    cin >> n;
    set<long long> s;
    s = sieve(sqrt(1e9));
    if (s.find(n) != s.end()) {
      cout << "1"
           << "\n"
           << n;
      return;
    }
    if (n % 2 == 0) {
      cout << "2"
           << "\n";
      for (auto it = s.begin(); it != s.end(); it++) {
        long long x = n - *it;
        if (s.find(x) != s.end()) {
          cout << *it << " " << x;
          return;
        }
      }
    } else {
      long long y;
      for (long long i = n - 1; i >= n - 305; i--) {
        if (prime(i)) {
          y = i;
          break;
        }
      }
      long long z = n - y;
      if (z == 2) {
        cout << "2"
             << "\n"
             << "2 " << y;
        return;
      }
      cout << "3"
           << "\n"
           << y << " ";
      n -= y;
      for (auto it = s.begin(); it != s.end(); it++) {
        long long x = n - *it;
        if (s.find(x) != s.end()) {
          cout << *it << " " << x;
          return;
        }
      }
    }
  }
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  auto start1 = high_resolution_clock::now();
  solve();
  auto stop1 = high_resolution_clock::now();
  auto duration = duration_cast<microseconds>(stop1 - start1);
}