class MaxStack {
public:
MaxStack() {
}
void push(int x) {
}
int pop() {
}
int top() {
}
int peekMax() {
}
int popMax() {
}
};
/**
* Your MaxStack object will be instantiated and called as such:
* MaxStack* obj = new MaxStack();
* obj->push(x);
* int param_2 = obj->pop();
* int param_3 = obj->top();
* int param_4 = obj->peekMax();
* int param_5 = obj->popMax();
*/