Proba commitu - dodalem writeln do maina