fork(1) download
  1. # http://c...content-available-to-author-only...e.com/a/85414/34718
  2.  
  3. L=1,;exec'L+=2*L[0]+1,3*L[0]-1;L=sorted(set(L))[1:];'*input()
  4. print L[0]
Success #stdin #stdout 0.01s 9080KB
stdin
54
stdout
255