This was the output, so clearly not the right one. %s attacked Amigo: its Enemy was attacked, and its hand was defended %s attacked Amigo: its Enemy was attacked, and its leg was defended %s attacked Enemy: its Amigo was attacked, and its chest was defended %s attacked Amigo: its Enemy was attacked, and its null was defended %s attacked Enemy: its Amigo was attacked, and its null was defended %s attacked Amigo: its Enemy was attacked, and its null was defended %s attacked Enemy: its Amigo was attacked, and its null was defended %s attacked Amigo: its Enemy was attacked, and its null was defended. If anyone got this task and found it easy and logical,I would really appreciate 5 minutes of your time. Can't publish the code as it is not allowed for accepted solutions.