class Not implements Operator
    {
        @Override
        public void execute(ExecutionContext context)
        {<FILL_FUNCTION_BODY>}

    }

            Stack<Object> stack = context.getStack();
            Object op1 = stack.pop();
            if (op1 instanceof Boolean)
            {
                boolean bool1 = (Boolean)op1;
                boolean result = !bool1;
                stack.push(result);
            }
            else if (op1 instanceof Integer)
            {
                int int1 = (Integer)op1;
                int result = -int1;
                stack.push(result);
            }
            else
            {
                throw new ClassCastException("Operand must be bool or int");
            }
        
<no_super_class>