Dându-se un numerele n și k, să se afle cel mai mic număr de n cifre, cu restul împărţirii la 9 egal cu k.
n
k
9