source_code: /**
   * Created by IntelliJ IDEA.
   * User: SONY
   * Date: 27.05.12
   * Time: 18:25
   * To change this template use File | Settings | File Templates.
   */
  
  import java.io.*;
  import java.util.*;
  
  public class TaskA extends Thread {
      public TaskA(String inputFileName, String outputFileName) {
          try {
              if (inputFileName != null) {
                  this.input = new BufferedReader(new FileReader(inputFileName));
              } else {
                  this.input = new BufferedReader(new InputStreamReader(System.in));
              }
              if (outputFileName != null) {
                  this.output = new PrintWriter(outputFileName);
              } else {
                  this.output = new PrintWriter(System.out);
              }
              this.setPriority(Thread.MAX_PRIORITY);
          } catch (Throwable e) {
              System.err.println(e.getMessage());
              e.printStackTrace();
              System.exit(666);
          }
      }
  
      private void solve() throws Throwable {
          long n = nextLong();
          output.println("0 0 " + n);
      }
  
      public void run() {
          try {
              solve();
          } catch (Throwable e) {
              System.err.println(e.getMessage());
              e.printStackTrace();
              System.exit(666);
          } finally {
              output.close();
          }
      }
  
      public static void main(String... args) {
          new TaskA(null, null).start();
      }
  
      private int nextInt() throws IOException {
          return Integer.parseInt(next());
      }
  
      private double nextDouble() throws IOException {
          return Double.parseDouble(next());
      }
  
      private long nextLong() throws IOException {
          return Long.parseLong(next());
      }
  
      private String next() throws IOException {
          while (tokens == null || !tokens.hasMoreTokens()) {
              tokens = new StringTokenizer(input.readLine());
          }
          return tokens.nextToken();
      }
  
      private StringTokenizer tokens;
      private BufferedReader input;
      private PrintWriter output;
  }
  