here is code :- https://ide.codingblocks.com/s/226491
I covered all the cases but don’t know why it’s not getting accepted.
Code note accepted at CodeForces
Hi @Anujg935
ur code is not giving correct output when input is 36
output should be 2 3 6
ur code gives NO as output
Hope dis helps.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.