#include <bits/stdc++.h>   using namespace std;   int main() {     long long n;     cin >> n;     long long r = n % 3;     if (r != 2)       cout << 1ll <<     << 1ll <<     << n - 2 << endl;     else       cout << 1ll <<     << 2ll <<     << n - 3 << endl;   }   