1995
1597 987
1 #include <stdio.h> 2 long int a,b,c,k; 3 int main() 4 { 5 freopen("puzzle.in","r",stdin); 6 freopen("puzzle.out","w",stdout); 7 scanf("%lld",&k); 8 a=b=1; 9 while(a<=k) 10 { 11 c=a; 12 a=a+b; 13 b=c; 14 } 15 printf("%lld %lld",b,a-b); 16 }