An art gallery has 18 paintings and 4 photographs displayed in equal rows on and wall, with the same number of each type of art in each row. What could be the number of rows?