import java.util.Scanner;

public class Text2 {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner scn = new Scanner(System.in);
		System.out.print("пJzX?");
		int n = scn.nextInt();
		Course cousData[] = new Course[n];
		for (int i = 0; i < n; i++) {
			System.out.print("пJҵ{W١AsPǤ");
			cousData[i] = new Course(scn.next(), scn.next(), scn.nextInt());
			System.out.print("пJ½ҦѮv");
			cousData[i].setTeacher(scn.next());
		}
		String str = "Y";
		int x, z;
		while (str.equals("Y") || str.equals("y")) {
			System.out.println("\ඵ");
			System.out.println("1:d½ҦѮvW");
			System.out.println("2:CLҵ{T");
			x = scn.nextInt();
			switch (x) {
			case 1:
				System.out.print("znd߲ĴX?");
				z = scn.nextInt();
				System.out.println(cousData[z].getTitle() + "½ҦѮv" + cousData[z].getTeacher());
				break;
			case 2:
				System.out.print("zndĴX?");
				z = scn.nextInt();
				cousData[z].showInfo();
				break;
			default:
				System.out.println("L\!!");
			}
			System.out.print("O_~?(Y/n)");
			str = scn.next();
		}
		System.out.println("¨ϥΥt");
	}

}

class Course {
	private String cousTitle, cousID, cousDescription, cousLocation, cousTeacher, cousTime;
	private int cousPoint;

	public Course(String title, String id1, int point) {
		cousTitle = title;
		cousID = id1;
		cousPoint = point;
	}

	public void setTitle(String str) {
		cousTitle = str;
	}

	public String getTitle() {
		return cousTitle;
	}

	public void setID(String str) {
		cousID = str;
	}

	public String getID() {
		return cousID;
	}

	public void setDescription(String str) {
		cousDescription = str;
	}

	public String getDescription() {
		return cousDescription;
	}

	public void setTime(String str) {
		cousTime = str;
	}

	public String getTime() {
		return cousTime;
	}
	public void setLocation(String str) {
		cousLocation = str;
	}

	public String getLocation() {
		return cousLocation;
	}

	public void setTeacher(String str) {
		cousTeacher = str;
	}

	public String getTeacher() {
		return cousTeacher;
	}


	public void setPoint(int v1) {
		if (v1 > 0 && v1 < 4) {
			cousPoint = v1;
		} else {
			System.out.println("ܩpzJƮ榡T");
		}
	}

	public int getPoint() {
		return cousPoint;
	}

	public void showInfo() {
		System.out.println(cousTitle + "(" + cousID + ")");
		System.out.println("Ǥ:" + cousPoint);
		System.out.println("½ұЮv:" + cousTeacher + "\n");

	}
}

@@ -223,16 +223,17 @@
 %09%09Course
+2
  cousDat
@@ -248,16 +248,17 @@
 w Course
+2
 %5Bn%5D;%0A%09%09f
@@ -348,16 +348,17 @@
 w Course
+2
 (scn.nex
@@ -1103,16 +1103,17 @@
 s Course
+2
  %7B%0A%09priv
@@ -1235,16 +1235,17 @@
 c Course
+2
 (String 

Text2