printf"SELECT count(*) FROM point WHERE %d<=x AND x<=%d AND %d<=y AND y<=%d;",glob<>for++$|..<>