Write a function that computes an expression provided according to the reverse polish notation, e.g.:
// 1 10 100 + - = 1 110 - = -109
rpn(1, 10, 100, "+", "-") // -109
Write a function that computes an expression provided according to the reverse polish notation, e.g.:
// 1 10 100 + - = 1 110 - = -109
rpn(1, 10, 100, "+", "-") // -109