#include <bits/stdc++.h>
using namespace std;
int main() {
  int f1 = 0, f2 = 0, f, n;
  cin >> n;
  for (int i = 0; i <= n; i++) {
    f = n;
  }
  cout << f1 << " " << f2 << " " << f << " " << endl;
  return 0;
}
