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

Solution:
def mp():  return map(int,input().split())
def lt():  return list(map(int,input().split()))
def pt(x):  print(x)
def ip():  return input()
def it():  return int(input())
def sl(x):  return [t for t in x]
def spl(x): return x.split()
def aj(liste, item): liste.append(item)
def bin(x):  return "{0:b}".format(x)
def printlist(l): print(' '.join([str(x) for x in l]))
def listring(l): return ''.join([str(x) for x in l])

def isPrime(n):
    if n == 2 or n == 3:
        return True
    if n < 2:
        return False
    if n % 2 == 0 or n % 3 == 0:
        return False
    if n < 10:
        return True
    p = 5
    while p <= int(n**0.5):
        if n % p == 0 or n % (p+2) == 0:
            return False
        p += 6
    return True
n = it()
if isPrime(n):
    print(1)
    print(n)
elif isPrime(n-2):
    print(2)
    print("2 %d" % (n-2))
else:
    r = 4
    while not isPrime(n-r):
        r += 2
    if r == 4:
        p,q = 2,2
    elif r == 6:
        p,q = 3,3
    elif r == 8:
        p,q = 3,5
    elif r == 10:
        p,q = 5,5
    elif r == 12:
        p,q = 5,7
    else:
        if isPrime(r-3):
            p,q = 3,r-3
        else:
            p = 5
            while not (isPrime(r-p) and isPrime(p)) and not (isPrime(r-p-2) and isPrime(p+2)):
                p += 6
            if isPrime(p) and isPrime(r-p):
                p,q = p,r-p
            else:
                p,q = p+2,r-p-2
    print(3)
    print("%d %d %d" % (n-r,p,q))