#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int t;
  t = 1;
  while (t--) {
    long long int n, k;
    cin >> n;
    long long int a[n], i, max = INT_MIN, m1 = INT_MIN, a2 = 0, ans = 0;
    cout << 0 << " " << 0 << " " << n << endl;
  }
}
