#include<iostream>
#include<cmath>
bool via(long long i);
using namespace std;
int main()
{
long long n = 0, i = 3, p = 0, q = 0, a = 0, b = 0;
cin >> n;
if (n > 4)
{
for (i = 3; i < n / 2; i += 2)
{
if (via(i))
{
p = i;
q = n - i;
if (via(q))
{
cout << n << " = " << p << " + " << q;
break;
}
}
}
}
else
cout << "4 = 2 + 2";
return 0;
}
bool via(long long i)
{
long long u = 0;
if (i > 3)
{
for (u = 3; u < sqrt(i) + 1; u += 2)
{
if (i % u == 0)
return false;
}
return true;
}
else
return true;
}