#include <bits/stdc++.h>   using namespace std;   int main() {     long long n;     bool a = false;     cin >> n;     for (long long i = 1; i < n; i++) {       for (long long j = 1; j < n; j++) {         if (((n - i - j) % 3) != 0 && (i % 3) != 0 && (j % 3) != 0) {           cout << i <<     << j <<     << (n - i - j) << endl;           a = true;           break;         }       }       if (a) break;     }     return 0;   }   