#include<iostream>
using namespace std;
int cf(int b)
{
for(int i = 2;i<=b-1;i++)
{
if(b % i == 0)
{
return 0;
}
}
return 1;
}
int main()
{
int a;
cin >> a;
for(int i = 2;i<=a/2;i++)
{
if(cf(i) == 1 && f(a-i)==1)
{
cout << a <<" = "<<i<<" + "<< a-i << endl;
}
}
return 0;
}