using System;
public class Program
{
public static void Main()
Console.WriteLine(AttackDamage(false , 50));
}
static int AttackDamage (bool hasShield, int attackPower){
int damage = 0;
if(hasShield == true){
damage = attackPower/10;
}else{
damage = attackPower;
return damage;