#include using namespace std; int main() { int n; cin >> n; if(__builtin_popcount(n) <= 1) { printf("%d\n", -1); return 0; } int a = n, b, c; b = n & -n; c = a - b; printf("%d %d %d\n", a, b, c); return 0; }