class App {

  /**
   * Program entry point.
   *
   * @param args command line args
   */
  public static void main(String[] args) {<FILL_FUNCTION_BODY>}
}

    final var logger = LoggerFactory.getLogger(App.class);
    var guard = new Guard();
    var thief = new Thief();

    //noinspection ConstantConditions
    if (guard instanceof Permission) {
      guard.enter();
    } else {
      logger.info("You have no permission to enter, please leave this area");
    }

    //noinspection ConstantConditions
    if (thief instanceof Permission) {
      thief.steal();
    } else {
      thief.doNothing();
    }
  
<no_super_class>