import algorithm, hashes, macros, math, sequtils, sets, strutils, tables, times, unicode macro unpack*(rhs: seq, cnt: static[int]): auto = let t = genSym(); result = quote do:(let `t` = `rhs`;()) if NimMinor <= 17: for i in 0..= 1 and B >= C and cnt + 1 + C <= D: A -= 1 B -= C cnt += 1 + C res.inc() else: break echo res