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 PYTHON):

Solution:
from math import *
pr = [2,3,5,7,11,13,17,19,23,29,31,37]
def powmod(x, y, z) :
    ret = 1
    while y > 0 :
        if (y % 2 == 1) :
            ret = ret * x % z
        x = x * x % z
        y /= 2
    return ret

def isprime(x) :
    if (x == 1) : return 0
    if (x in pr) : return 1
    for tmp in pr :
        if (powmod(tmp, x - 1, x) != 1) :
            return 0
    return 1

rec = [[] for i in range(2422)]
prpr = []
for i in range(1, 1200) :
    if (isprime(i)) :
        prpr.append(i)
for x in prpr :
    rec[x] = [x]

for x in prpr :
    for y in prpr :
        rec[x + y] = [x, y]


cand = []
for i in range(2400) :
    if (len(rec[i])) :
        cand.append(i)

n = int(raw_input())
if (n <= 2400 and len(rec[n]) != 0) :
    print len(rec[n])
    print ' '.join(map(str, rec[n]))
else :
    if (isprime(n)) :
        print 1
        print n
    else :
        for i in cand :
            if (i > n) : break 
            if (isprime(n - i)) :
                print len(rec[i]) + 1
                print ' '.join(map(str, rec[i])), n - i
                break