A calculator working with the Reversed-Polnish notation