#include <bits/stdc++.h>
using namespace std;
const int N = 100003;
vector<int> vec;
int main() {
  vec.push_back(0);
  vec.push_back(1);
  int a = 0, b = 1, c;
  for (int i = 0;; ++i) {
    c = a + b;
    if (c >= 1000000000) break;
    vec.push_back(c);
    b = c;
    a = b;
  }
  int n;
  while (cin >> n) {
    printf("0 0 %d", n);
  }
}
