change to reverse polish notation