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;
int n;
bool check(int num) {
  if (1 == num) return true;
  for (int i = 2; i <= num / i; i++) {
    if (num % i == 0) {
      return false;
    }
  }
  return true;
}
int main() {
  cin >> n;
  if (check(n)) {
    printf("1\n");
    printf("%d\n", n);
  } else if (check(n - 2)) {
    printf("2\n");
    printf("2 %d\n", n - 2);
  } else if (check(n - 4)) {
    printf("3\n");
    printf("2 2 %d\n", n - 4);
  } else {
    bool result = false;
    int i, even;
    int prime1, temp, prime2;
    for (int num = 3; num < n / 3 + 10; num++) {
      if (!check(num)) continue;
      even = n - num;
      for (prime1 = 3; prime1 <= even / 2; prime1 += 2) {
        for (temp = 2; temp <= sqrt(prime1); temp++) {
          if (prime1 % temp == 0) break;
        }
        if (temp > sqrt(prime1))
          prime2 = even - prime1;
        else
          continue;
        for (temp = 2; temp <= sqrt(prime2); temp++) {
          if (prime2 % temp == 0) break;
        }
        if (temp > sqrt(prime2)) {
          cout << 3 << endl << num << " " << prime1 << " " << prime2 << endl;
          result = true;
          break;
        }
      }
      if (!result)
        continue;
      else
        break;
    }
  }
}