class Node{
Node left;
Node right;
Node parent;
int val;
}
interface CIterator{
bool hasNext();
int next();
}
class PostOrderIterator implements CIterator{
Node n;
public PostOrderIterator(Node k){
n = k;
}
}