Xiaoming marks several points on the sides of a square, with exactly 3 points on each side. The minimum number of points marked is ( ).