X and Y are two natural numbers. X when divided by 5 leaves a remainder A and Y when divided by 9 leaves a remainder B . What is the largest value of A+B

URGENT PLS , CORRECT ANSWER GETS BRAINLIEST