import java.util.Scanner;
//import java.util.Scanner;
//
//class Phone {
// private String name, tel;
// public Phone(String name, String tel) {
// this.name = name;
// this.tel = tel;
// }
// public String getName() {
// return name;
// }
// public String getTel() {
// return tel;
// }
//}
//
//public class Main {
// public static void main(String[] args) {
// Phone [] phone = new Phone[2];
//
// Scanner scanner = new Scanner(System.in);
// for (int i=0; i<phone.length; i++) {
// System.out.print("이름과 전화번호 입력>>");
// String name = scanner.next();
// String tel = scanner.next();
// phone[i] = new Phone(name,tel);
//
// }
//
// for (int i=0; i<phone.length;i++)
// System.out.println(phone[i].getName()+ "의 번호 " + phone[i].getTel());
// scanner.close();
// }
//}
//import java.util.Scanner;
//class Rect {
// private int w,h;
// public Rect(int w, int h) {
// this.w = w;
// this.h = h;
// }
// public int getArea() {
// return w*h;
// }
//}
//
//public class Main {
// public static void main(String[] args) {
// Rect [] rect = new Rect[4];
//
//
// Scanner scanner = new Scanner(System.in);
// for (int i=0; i<rect.length;i++) {
// System.out.print((i+1)+" 너비와 높이 >>");
// int w = scanner.nextInt();
// int h = scanner.nextInt();
// rect[i] = new Rect(w,h);
// }
//
// System.out.println("저장하였습니다...");
// System.out.print("사각형의 전체 합은 ");
// int sum = 0;
// for (int i=0; i<rect.length; i++) {
// System.out.print(rect[i].getArea());
// sum += rect[i].getArea();
// }
// System.out.println(sum);
// }
//}
//import java.util.Scanner;
//
//class Phone {
// String name,tel;
// public Phone (String name, String tel) {
// this.name = name;
// this.tel = tel;
// }
// public String getName() {
// return name;
// }
// public String getTel() {
// return tel;
// }
// public String tt(String name) {
// return (name+"의 번호는 " + tel + "입니다.");
// }
//}
//
//public class Main {
// public static void main(String[] args) {
// Scanner t = new Scanner(System.in);
//
// System.out.print("인원수>>");
// int n = t.nextInt();
// Phone [] phone = new Phone[n];
//
// Scanner scanner = new Scanner(System.in);
// for (int i=0; i<phone.length;i++) {
// System.out.print("이름과 전화번호(번호는 연속적으로 입력)>>");
// String name = scanner.next();
// String tel = scanner.next();
// phone [i] = new Phone(name,tel);
// }
//
// System.out.println("저장되었습니다...");
//
// for(;;) {
// System.out.print("검색할 이름>>");
// String name = scanner.next();
// if(name.equals("exit")) {
// System.out.print("프로그램을 종료합니다...");
// break;
// }
// boolean check = true;
// for (int i=0; i<phone.length; i++) {
// if (name.equals(phone[i].getName())) {
// System.out.println(phone[i].tt(name));
// check = false;
// break;
// }
// }
// if (check) {
// System.out.println(name+" 이 없습니다.");
// }
// }
// }
//}
//class Circle {
// private int radius;
// public Circle(int radius) {
// this.radius = radius;
// }
// public int getRadius() {
// return this.radius;
// }
// public void setRadius(int radius) {
// this.radius = radius;
// }
//}
//class CircleManager {
// static void copy(Circle src, Circle dest) {
// dest.setRadius(src.getRadius());
// }
// static boolean equals(Circle a, Circle b) {
// if (a.getRadius() == b.getRadius()) {
// return true;
// }
// else {
// return false;
// }
//
// }
//}
//
//public class Main {
// public static void main(String[] args) {
// Scanner t = new Scanner(System.in);
//
// Circle pizza = new Circle(5);
// Circle waffle = new Circle(1);
//
// boolean res = t.nextBoolean();
//
// if (res==true)
// System.out.println("pizza와 waffle 크기 같음");
// else
// System.out.println("pizza와 waffle 크기 다름");
//
// CircleManager.copy(pizza, waffle);
// res = (CircleManager.equals(pizza, waffle));
// if (res==true)
// System.out.println("pizza와 waffle 크기 같음");
// else
// System.out.println("pizza와 waffle 크기 다름");
// }
//}