public class Program {


	public static void main(String[] args) {


	   Student person = new Student();

	
	   person.first = "Ari";

	   person.last = "M";

	   person.exam = 85;

	   person.letter = calculateGrade(person);
	
	   System.out.println(person.first);

           printStudent(person);

     }



     public static char calculateGrade(Student student) {

	if(student.exam >= 60)
	   return 'P';
	else
	   return 'F';

     }


     public static void printStudent(Student s) {


          System.out.println(s.first + " " + s.last + 
			" got a grade of " + s.letter);

    }
     


}
