/**
 * Insert the type's description here.
 * Creation date: (31.12.2003 13:32:00)
 * Author: Bulent AYDOGDU
 * EMail : aybulent@hotmail.com
 */
import javax.swing.*;
class Deyimler1 {public static void main(String[] args) {
	String notStr= "00";
	int not= 0;
	//notStr= JOptionPane.showInputDialog("NOTUNUZU GİRİNİZ:");
	notStr= JOptionPane.showInputDialog(null, "NOTUNUZU GİRİNİZ:", "DENEME", 2);
	if (notStr.equals("")) {
		JOptionPane.showMessageDialog(null, "Bu alanı boş bırakamazsınız!!!" );
		System.exit(0);
	}
	if (!notStr.equals("")) {
		not= Integer.parseInt(notStr);
	}
	if (not == 0) {
		System.exit(0);
	}
	if (not >= 50) {
		JOptionPane.showMessageDialog(null, "Tebrikler. Bu dersten geçtiniz :)");
	}
	if (not < 50) {
		JOptionPane.showMessageDialog(null, "Bu dersten geçemediniz :)");
	}
	System.exit(0);
}
}