Multiple test cases.For each test case, the first line will contain two integers n and m($0 < n \leq 30000, 0 \leq m \leq 30000$), which represents the amount of buildings and amount of queries. Then n lines follow, contains three integers $x, y, h (-1E9 \leq x, y \leq 1E9, 0 \leq h \leq 1E9)$ indicate the building's position and height in each line. Then there are m lines, each with three integers $x, y, k (-1E9 \leq x, y \leq 1E9, 1 \leq k \leq 10)$ used for query.