"use strict"
const input = require("fs").readFileSync("/dev/stdin", "utf8");
// const inputs = input.trim().split("\n").map(x => parseInt());
// const input = `3
// `;


const main = (input) => {
  let answer = "0 0 1 0 0 " + input;
  return answer;
};

console.log(main(input));