prefixes = 'JKLMNOPQ'
for prefix in prefixes:
suffix = 'uack' if prefix in {'Q', 'O'} else 'ack'
print(prefix + suffix)
cHJlZml4ZXMgPSAnSktMTU5PUFEnCmZvciBwcmVmaXggaW4gcHJlZml4ZXM6CiAgICBzdWZmaXggPSAndWFjaycgaWYgcHJlZml4IGluIHsnUScsICdPJ30gZWxzZSAnYWNrJwogICAgcHJpbnQocHJlZml4ICsgc3VmZml4KQ==