#include<iostream>
#include<cmath>
using namespace std;
bool isPrime(int i) {
for (int j = 2; j < i; j++) {
if (i % j == 0) {
return false;
}
}
return true;
}
int main() {
int n;
cin >> n;
for (int i = 4; i <= n; i += 2) {
for (int j = 2; j <= i / 2; ++j) {
if (isPrime(j) && isPrime(i - j)) {
cout << i << "=" << j << "+" << i - j << endl;
break;
}
}
}
return 0;
}