fork download
  1. f = lambda l, i = 1: f(l[i :: 2], 0 ** i) if l[1:] else l[0]
  2. print(f(list(range(1, 12346))))
Success #stdin #stdout 0.02s 24376KB
stdin
Standard input is empty
stdout
5462