1910: 【CSP二维数组】哥德巴赫猜想的所有解▅

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:1

Description

求出哥德巴赫猜想的所有解(将一个大于 lns="http://www.w3.org/1998/Math/MathML">9 的奇数拆分成三个素数之和),并按从小到大的顺序写出。

Input

一行,一个大于 lns="http://www.w3.org/1998/Math/MathML">9 的奇数。

Output

第一行,一个整数 lns="http://www.w3.org/1998/Math/MathML">N lns="http://www.w3.org/1998/Math/MathML">N1000 ),表示解的总数。
 lns="http://www.w3.org/1998/Math/MathML">2N+1 行,每行一个解。

Sample Input Copy

15

Sample Output Copy

3
15=2+2+11
15=3+5+7
15=5+5+5