#include <iostream>
#include <sstream>
#include <string>
using namespace std;
struct UnsignedNumber {
static string introduce(unsigned value) {
stringstream ss;
for (auto n = 1U, m = value - n; m != 0U; ++n, --m) {
ss << n << " + " << m << " = " << value << '\n';
}
return ss.str();
}
};
int main() {
unsigned value;
cin >> value;
cout << UnsignedNumber::introduce(value);
}