int Evaluate(stack OutputStack)
{
	String token = OutputStack.Pop();
	
	if(token is a value)
		return token;
	else
	{
		//	This sample only works for binary operators!
		//	Recursion only works because the current token 
		//	has been popped already.
		int operand1 = Evaluate(OutputStack);
		int operand2 = Evaluate(OutputStack);
		
		if(token is '*')
			return (operand1 * operand2);
		else if (token is '+')
			return (operand 1 + operand2);
		else if (token is '-')
			return (operand 1 - operand2);
		else if (token is '/')
			return (operand 1 / operand2);
	}
}

