import javax.swing.*;
/**
 * A lame class to figure whether a mark
 * is enough (or not...)
 */
public class Marker {
  
  
  public static void main(String[] args) {
      int mark;
      String tutor;
    mark= 
      Integer.parseInt(JOptionPane.showInputDialog("Enter an integer: "));
    tutor= JOptionPane.showInputDialog("Who is your tutor?");
    
    if (mark > 50) {
      System.out.println("That's enough.");
      if (tutor.equals("Hojjat")) {
        System.out.println("Thank Hojjat!");
      }
    }
    else {
      System.out.println("Not enough.");
    }
    System.exit(0);
  }
 
}
