#include
#include
#include
using namespace std;
int main(){
string input;
string url;
stack
stack
past.push("http://www.acm.org/");
/*
past.push("hello1");
past.push("hello2");
cout<
cout<
while(cin>>input){
if(input[0]=='B'){
//cout<<"BACK"<
cout<<"Ignored"<
else{
future.push(past.top());
past.pop();
cout<
}
}
else if(input[0]=='F'){
//cout<<"FORWARD"<
cout<<"Ignored"<
else{
cout<
future.pop();
}
}
else if(input[0]=='V'){
//cout<<"VISIT"<
past.push(url);
cout<
future.pop();
}
}
else if(input[0]=='Q'){
//cout<<"QUIT"<
}
return 0;