#include<iostream>
//#include<stack>
using namespace std;
#include<string>
template<typename T>
class Stack{
private:
T data;
public:
Stack(){}
~Stack(){}
public:
void push(T a){
data=a;
}
T pop(){
return data;
}
};
int main(int argc,char *argv[]){
Stack<char*> s1;
s1.push(argv[0]);
cout<<s1.pop()<<endl;
Stack<int> s2;
int tmp=-100;
while(1)
{
s2.push(tmp);
cout<<s2.pop()<<" ";
tmp++;
if(tmp>=10)break;
}
return 0;
}