D(x) is the sum of digits of x+sum of First factors of x +x . We should tell wether there is a valid x for input or not
For example the input is 20
Because 12+(1+2)+(3+2)=20
12 is the x of 20 so we have a whole number for x and we should return Yes
And I wanna code it in python