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 sys import stdin
import random
 
def mod(a,b,c):
		if b==0:
			return 1
		if b%2==1:
			return (a*mod(a,b-1,c))%c
		x=mod(a,b/2,c)
		return (x*x)%c
 
def check(p):
	if p<=1:
		return 0
	if p==2:
		return 1;
	if p%2==0:
		return 0
	count = 5
	s=p-1
	while s%2==0:
		s=s/2;
	for i in range(0,count):
		a=random.randint(1,p-1)
		temp = s
		x=mod(a,temp,p) 
		while(temp!=p-1 and x!=1 and x!=p-1):
        		x=(x*x)%p
           	 	temp *= 2;
           	 	
        
		if(x!=p-1 and temp%2==0):
			return 0
	return 1
def pr(m):
	j = 2
	while True:
		if j*j > m:
			return 1
		if m%j==0:
			return 0
		j+=1	
x = int(stdin.readline())
if check(x):
	print 1
	print x
elif check(x-2):
	#print " jsidf"
	print 2
	print 2,x-2
elif x <100:
	#print "here"
	print 3
	print 3,
	fi = -1
	x-=3
	for y in xrange(3,55):
		if pr(y) and pr(x-y):
			fi = y
			break
	print fi,x-fi
else:
	#print "sdi"
	print 3
	print 3,
	x = x-3
	fi = 3
	#print "now it becomes",x
	for i in xrange(3,x/2):
		#print "check for ",i
		if check(i) and check(x-i):
			fi = i
			#print "for i",i," and ",x-i
			break
	print fi,x-fi