def orig(s):
input=lambda: s
x,*l=input().split()
d=-((int(x)*8-sum(('vexuobcl'+2*'clornielatrisuke'+4*'Ratahoesuhihie').count(q[-3:-1])*(1-12*(q[0]=="N"))for q in l))//8)
print((1,"You must construct %s additional pylon"%d+'s!'[d<2:])[d>0])
def new(s):
input=lambda: s
x,*l=input().split()
d=-((int(x)*8-sum((('vexuobcl'+2*'clsuie'+4*'Ratahoiesuhihi').count(q[-3:-1])*(1-12*(q[0]=="N"))or 2)for q in l))//8)
print((1,"You must construct %s additional pylon"%d+'s!'[d<2:])[d>0])
s="0 Nexus MothershipCore Mothership Carrier"
orig(s)
new(s)
CmRlZiBvcmlnKHMpOgogICAgaW5wdXQ9bGFtYmRhOiBzCiAgICB4LCpsPWlucHV0KCkuc3BsaXQoKQogICAgZD0tKChpbnQoeCkqOC1zdW0oKCd2ZXh1b2JjbCcrMionY2xvcm5pZWxhdHJpc3VrZScrNConUmF0YWhvZXN1aGloaWUnKS5jb3VudChxWy0zOi0xXSkqKDEtMTIqKHFbMF09PSJOIikpZm9yIHEgaW4gbCkpLy84KQogICAgcHJpbnQoKDEsIllvdSBtdXN0IGNvbnN0cnVjdCAlcyBhZGRpdGlvbmFsIHB5bG9uIiVkKydzISdbZDwyOl0pW2Q+MF0pCgpkZWYgbmV3KHMpOgogICAgaW5wdXQ9bGFtYmRhOiBzCiAgICB4LCpsPWlucHV0KCkuc3BsaXQoKQogICAgZD0tKChpbnQoeCkqOC1zdW0oKCgndmV4dW9iY2wnKzIqJ2Nsc3VpZScrNConUmF0YWhvaWVzdWhpaGknKS5jb3VudChxWy0zOi0xXSkqKDEtMTIqKHFbMF09PSJOIikpb3IgMilmb3IgcSBpbiBsKSkvLzgpCiAgICBwcmludCgoMSwiWW91IG11c3QgY29uc3RydWN0ICVzIGFkZGl0aW9uYWwgcHlsb24iJWQrJ3MhJ1tkPDI6XSlbZD4wXSkKCnM9IjAgTmV4dXMgTW90aGVyc2hpcENvcmUgTW90aGVyc2hpcCBDYXJyaWVyIgpvcmlnKHMpCm5ldyhzKQ==