import java.io.*;
import java.util.*;
import java.util.regex.*;



public class Main {
	static Scanner scan = new Scanner (System.in);
	static PrintStream out = System.out;

	static int n;
	static void solve () {
		System.out.println (0 + " " + 0 + " " + n);
	}
	
	public static void main (String[] args) {
		n = scan.nextInt();
		solve ();
	}
}
