301051: CF199A. Hexadecimal's theorem

Memory Limit:256 MB Time Limit:2 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

Hexadecimal's theorem

题意翻译

有一斐波那契数列:$0, 1, 1, 2, 3, 5, 8, 13, \ldots$ 现输入一个斐波那契数,将其拆分为三个斐波那契数输出,每两个数中隔一个空格。 如果没有方法拆分你需要输出 `I'm too stupid to solve this problem`。

题目描述

Recently, a chaotic virus Hexadecimal advanced a new theorem which will shake the Universe. She thinks that each Fibonacci number can be represented as sum of three not necessary different Fibonacci numbers. Let's remember how Fibonacci numbers can be calculated. $ F_{0}=0 $ , $ F_{1}=1 $ , and all the next numbers are $ F_{i}=F_{i-2}+F_{i-1} $ . So, Fibonacci numbers make a sequence of numbers: $ 0 $ , $ 1 $ , $ 1 $ , $ 2 $ , $ 3 $ , $ 5 $ , $ 8 $ , $ 13 $ , ... If you haven't run away from the PC in fear, you have to help the virus. Your task is to divide given Fibonacci number $ n $ by three not necessary different Fibonacci numbers or say that it is impossible.

输入输出格式

输入格式


The input contains of a single integer $ n $ $ (0 \le n < 10^{9}) $ — the number that should be represented by the rules described above. It is guaranteed that $ n $ is a Fibonacci number.

输出格式


Output three required numbers: $ a $ , $ b $ and $ c $ . If there is no answer for the test you have to print "I'm too stupid to solve this problem" without the quotes. If there are multiple answers, print any of them.

输入输出样例

输入样例 #1

3

输出样例 #1

1 1 1

输入样例 #2

13

输出样例 #2

2 3 8

Input

加入题单

算法标签: