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;
inline unsigned long long llrand() {
  unsigned long long a = rand();
  a <<= 32;
  a += rand();
  return a;
}
unsigned long long mul_mod(unsigned long long a, unsigned long long b,
                           unsigned long long mod) {
  return (a % mod + mod) % mod * b % mod;
}
unsigned long long exp_mod(unsigned long long a, unsigned long long e,
                           unsigned long long mod) {
  if (e == 0) return 1;
  unsigned long long b = exp_mod(a, e / 2, mod);
  return (e % 2 == 0) ? mul_mod(b, b, mod)
                      : mul_mod(mul_mod(b, b, mod), a, mod);
}
bool is_prime(unsigned long long n, int k = 64) {
  if (n <= 1) return 0;
  if (n <= 3) return 1;
  if (n % 2 == 0) return 0;
  unsigned long long s = 0, d = n - 1;
  while ((d & 1) == 0) d /= 2, s++;
  while (k--) {
    unsigned long long a = (llrand() % (n - 3)) + 2;
    unsigned long long x = exp_mod(a, d, n);
    if (x != 1 && x != n - 1) {
      for (int r = 1; r < s; r++) {
        x = mul_mod(x, x, n);
        if (x == 1) return 0;
        if (x == n - 1) break;
      }
      if (x != n - 1) return 0;
    }
  }
  return 1;
}
bool is_prime_for_sure(unsigned long long n) {
  if (n == 2) return 1;
  if (n % 2 == 0) return 0;
  for (int i = 3; i * i <= n; i += 2)
    if (n % i == 0) return 0;
  return 1;
}
pair<pair<int, int>, int> solve(int n) {
  if (is_prime_for_sure(n)) return make_pair(make_pair(n, 0), 0);
  if (is_prime_for_sure(n - 2)) return make_pair(make_pair(2, n - 2), 0);
  for (int p1 = 3;; p1 += 2) {
    if (!is_prime(p1)) continue;
    for (int i = 0; i < 100; i++) {
      int p2 = ((rand() << 16) + rand()) % (n - p1 - 2);
      if (!is_prime(p2) || !is_prime(n - p1 - p2)) continue;
      if (!is_prime_for_sure(p1) || !is_prime_for_sure(p2) ||
          !is_prime_for_sure(n - p1 - p2))
        continue;
      return make_pair(make_pair(p1, p2), n - p1 - p2);
    }
  }
}
int main() {
  int n;
  scanf(" %d", &n);
  vector<int> v;
  pair<pair<int, int>, int> piii = solve(n);
  if (piii.first.first != 0) v.push_back(piii.first.first);
  if (piii.first.second != 0) v.push_back(piii.first.second);
  if (piii.second != 0) v.push_back(piii.second);
  printf("%d\n", v.size());
  for (int i = 0; i < v.size(); i++)
    printf("%d%c", v[i], i + 1 < v.size() ? ' ' : '\n');
  return 0;
}