#include <iostream>
#include <vector>
#include <algorithm>

using namespace std;

int N[1000001];

int main() {
	ios::sync_with_stdio(0);
	cin.tie(0);cout.tie(0);
    int n;
    bool goldbach = false;
    while(1)
    {
        if(n==0)
            break;
        goldbach = false;
        cin>>n;
        for(int i = 2;i<=n;i++)
        {
            N[i]=i;
            if(i!=2&&i%2==0)
            {
                N[i]=0;
            }
            if(i!=3&&i%3==0)
            {
                N[i]=0;
            }
        }
        for(int i = 2;i<=n;i++)
        {
            if(N[i]!=0)
                if(N[n-i]!=0)
                {
                    cout<<n<<" "<<'='<<" "<<i<<" "<<'+'<<" "<<n-i<<"\n";
                    goldbach = true;
                    break;
                }
            
        }
        if(goldbach==false&&n!=0)
                cout<<"Goldbach's conjecture is wrong."<<"\n";
        
    }
}