|
|
hey this question is more of a logic question. for any 5 digits in the first five places, last digit can be put in ten ways of which only two will satisfy required condition.
eg, X=18, now Y can be only 2 or 7. similar logic extends to all other numbers.
|