public int top() {
	         // write your code here
	         if (stack2.isEmpty()) {
	             while (!stack1.isEmpty())
	                 stack2.push(stack1.pop());
	         }
	         return stack2.peek();
	     }