import sequtils,strutils,algorithm,math,sugar,macros,strformat import sets,tables,intsets,queues,heapqueue,bitops template get*():string = stdin.readLine().strip() macro unpack*(arr: auto,cnt: static[int]): auto = let t = genSym(); result = quote do:(let `t` = `arr`;()) for i in 0.. y: break results[c] += (if a == 0 or a == b: 4 else: 8) var ans = 0 for r in x..y: ans .max= results[r] echo ans