int n;main(){scanf("%d",&n);if(n&(n-1))printf("%d %d %d\n",n,n&-n,n&-n^n);else puts("-1 -1 -1");}