A closed organ pipe and an open organ pipe of same length produce 2 beats per second when they are set into vibrations together in fundamental mode. The length of open pipe is now halved and that of closed pipe is doubled. The number of beats produced per second will be