Hi! I have a question that i am not able to figure out.
We have two numbers N and D
and we can do two operations i.e.
2.N=sum of digits(N)
by using these two operations we have to minimize the value of N and also have to determine the minimum operation required.