Observations of millimeter-wave HCN in four prototype clouds