#include <bits/stdc++.h>
using namespace std;
const double pie = acos(-1);
const double hpie = asin(1);
const double qpie = atan2(1, 1);
const double tpie = 2 * pie;
string vow = "aeiou";
void solve(int test_case) {
  int n;
  cin >> n;
  cout << 0 << " " << 0 << " " << n;
  cout << "\n";
}
int main() {
  int t = 1;
  for (int i = 0; i < t; i++) solve(i);
  return 0;
}
