template originalSource() = # {.checks: off.} include cplib/tmpl/citrus var n, a, b, c = input(int) var s = newSeq[int]() for x in [a, b, c]: if (1 << (x.fastLog2 + 1)) - 1 == x: s.add(x) var ans = n for i in 0..= z.len: break\x0A if (f and (1 shl b)) == 0:\x0A s.add(z[i])\x0A inc i\x0A else:\x0A let d = ord(z[i])*256+ord(z[i+1])\x0A let n = ord(z[i+2])+3\x0A i += 3\x0A for j in 0..