Scrieți un program care determină ultima cifră a lui 2^x, unde x este număr natural citit de la tastatură.

1