Need help with a few lines of script.

Hi, Could anyone help me with this script? Its only the last if statement I’m having trouble with. I want to make the button become interactable = true when Number A is above 25, but it just stays interactable = false.

public void OnButtonClick()
	{
		NumberA = (NumberA - NumberB);
		if (NumberA < 25)
		{
			button.GetComponent<Button>().interactable = false;
		}
		if (NumberA > 25)
		{
			button.GetComponent<Button>().interactable = true;
		}
	}

when button is set to false NumberA is less than 25 and when you call this func numberA - numberB, obviously NumberA is always less than 25. and its set to false.