#include <bits/stdc++.h>
using namespace std;
bool isPerfectSquare(long long int x) {
  long long int s = sqrt(x);
  return (s * s == x);
}
bool belongs(long long int n) {
  return isPerfectSquare(5 * n * n + 4) || isPerfectSquare(5 * n * n - 4);
}
int main() {
  ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL);
  int i, j, tc, ip;
  int n;
  tc = 1;
  while (tc--) {
    cin >> n;
    if (belongs(n))
      cout << 0 << " " << 0 << " " << n << "\n";
    else
      cout << "I'm too stupid to solve this problem"
           << "\n";
  }
  return 0;
}
