#include<bits/stdc++.h> using namespace std; int main(){ int x=0,y=1,z=0; for(int b=2;b<=8;b++){ z=y+z; y=x; x=z; } cout<<x<<' '<<y<<' '<<z; return 0;}