import math, sequtils, strutils proc f(x, a: int): int = let y = float64 x b = float64 a int round y / b let t = parseInt readLine stdin for _ in 0..