import sequtils, strutils proc f(x, a: int): int = x.`/`(a).`+`(0.5).int let t = parseInt readLine stdin for _ in 0..