SHARE
TWEET

Untitled

marvk Oct 9th, 2015 99 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. a=0
  2. b=1
  3. n=readline()
  4. r=n==1?0:"0 1"
  5. for(i=2;i<n;i++){b+=a
  6. a=-a+b
  7. r+=" "+b
  8. }print(r)
RAW Paste Data
Top