Scrieti cel mai mare si cel mai mic numar natural de patru cifre diferite care pot fi scrise cu cifrele:
a)2;0;5;9;
b)7;3;8;1;4.