set g is the set of months with letter n...​