//import java.util.*;
//class Grade
//{
// int math;
// int science;
// int english;
// int aver = 0;
//
// Grade(int math, int science, int english)
// {
// this.math = math;
// this.science = science;
// this.english = english;
// }
// int average()
// {
// aver+=this.math;
// aver+=this.science;
// aver+=this.english;
// return aver/3;
// }
//}
//class Main
//{
// public static void main(String[] args)
// {
// Scanner t = new Scanner(System.in);
//
// System.out.print("수학, 과학, 영어순으로 점수 입력>>");
// int math = t.nextInt();
// int science = t.nextInt();
// int english = t.nextInt();
// Grade me = new Grade(math, science, english);
// System.out.println("평균은 " + me.average());
// }
//}
//class Song
//{
// int year;
// String c;
// String name;
// String songname;
// Song(int year, String c, String name, String songname)
// {
// this.year = year;
// this.c = c;
// this.name = name;
// this.songname = songname;
// }
// void show()
// {
// System.out.println(year + "년 " + c + "국적의 " + name + "가 부른 " + songname);
// }
//}
//class Main
//{
// public static void main(String[] args)
// {
// Song d = new Song(1978, "스웨덴", "ABBA", "Dancing Queen");
// d.show();
// }
//}
/*
class Rectangle
{
int x;
int y;
int width;
int height;
Rectangle(int x, int y, int width, int height)
{
this.x = x;
this.y = y;
this.width = width;
this.height = height;
}
void show()
{
System.out.println("("+x+","+y+")에서 크기가 " + width+"X"+height+"인 사각형");
}
int square()
{
return width*height;
}
boolean contains(Rectangle r)
{
if(r.x > this.x && r.y > this.y && r.x+r.height < this.x+this.height && r.y+r.width < this.y + this.width)
{
return true;
}
else
{
return false;
}
}
}
class Main
{
public static void main(String[] args)
{
Rectangle r = new Rectangle(2,2,8,7);
Rectangle s = new Rectangle(5,5,6,6);
Rectangle t = new Rectangle(1,1,10,10);
r.show();
System.out.println("s의 면적은 " + s.square());
if(t.contains(r)) System.out.println("t는 r을 포함합니다.");
if(t.contains(s)) System.out.println("t는 s를 포함합니다.");
}
}
*/
//class Person{
// int age;
// String name;
//}
//
//class Main{
// public static void main(String[] args) {
// Person[] arr =
//
// }
//}
//import java.util.*;
//
//class Circle
//{
// private double x,y;
// private int radius;
//
// Circle(double x,double y, int radius)
// {
// this.x = x;
// this.y = y;
// this.radius = radius;
// }
// void show()
// {
// System.out.printf("(%.1f,%.1f)%d\n", x,y,radius);
// }
//}
//class Main
//{
// public static void main(String[] args)
// {
// Scanner t = new Scanner(System.in);
// Circle[] c = new Circle[3] ;
// for(int i=0; i<c.length; i++)
// {
// System.out.print("x y radius >>");
// double x = t.nextDouble();
// double y = t.nextDouble();
// int radius = t.nextInt();
// c[i] = new Circle(x,y,radius);
// }
// for(int i=0; i<c.length; i++) c[i].show();
// }
//}