int main() {
    IntStack s;
    s.push(1);
    s.push(2);
    s.push(3);
    s.clear();
    s.top();
    s.pop();
    return 0;
}