class Stack{
private:
static const int MaxSize = 500;
int stack[MaxSize];
int topIndex;
public:
void push(int x)
{
}
int pop()
{
return 0;
}
};
int main()
{
Stack yobaStack;
return 0;
}
CmNsYXNzIFN0YWNrewpwcml2YXRlOgoJc3RhdGljIGNvbnN0IGludCBNYXhTaXplID0gNTAwOwoJCglpbnQgc3RhY2tbTWF4U2l6ZV07CglpbnQgdG9wSW5kZXg7CnB1YmxpYzoKCXZvaWQgcHVzaChpbnQgeCkKCXsKCQkKCX0KCWludCBwb3AoKQoJewoJCXJldHVybiAwOwkKCX0KfTsKCmludCBtYWluKCkKewoJU3RhY2sgeW9iYVN0YWNrOwoJcmV0dXJuIDA7Cn0=