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 main():
    n = int(input())
    if n == 3:
        print(1)
        print(3)
    elif n == 4:
        print(2)
        print(2, 2)
    elif n == 5:
        print(2)
        print(2, 3)
    elif n == 6:
        print(2)
        print(3, 3)
    elif n == 7:
        print(2)
        print(2, 5)
    elif n == 8:
        print(2)
        print(3, 5)
    elif n == 9:
        print(2)
        print(2, 7)
    elif n == 10:
        print(2)
        print(3, 7)
    if n <= 10:
        return
    for i in range(n, -1, -1):
        j = 2
        simple = True
        while (j * j <= i):
            if (i % j == 0):
                simple = False
            j += 1
        if simple:
            n -= i
            break
    ans = [i]
    prime = [True] * (n+2)
    prime[0] = False
    prime[1] = False
    #print(prime)
    for i in range(2, n+1):
        if prime[i]:
            if i * i <= n:
                for j in range(i * i, n+1, i):
                    #print(j)
                    prime[j] = False
        #print(i, prime)
    
    i = k = 0    
    for i in range(2, n+1):
        k = n - i
        if prime[i] and prime[k]:
            break
    if i != 0:
        ans.append(i)
    if k != 0:
        ans.append(k)
    print(len(ans))
    for x in ans:
        print(x, end=" ")
main()