package 권현수;
import java.util.*;
//class Rectangle {
// int width;
// int height;
//
// public int getarea() {
// return width*height;
// }
//}
//public class Main {
// public static void main(String[] args) {
// Rectangle rect = new Rectangle();
// Scanner t = new Scanner(System.in);
// System.out.print(">> ");
// rect.width = t.nextInt();
// rect.height = t.nextInt();
// System.out.println("사각형의 넓이는 "+ rect.getarea());
//
// }
//}
//class point{
// private int x, y;
// public void set(int x, int y) {
// this.x = x; this.y = y;
// }
// public void showpoint() {
// System.out.printf("(%d, %d)\n", x,y);
// }
//}
//
//
//class colorpoint extends point {
// private String color;
// public void setcolor(String color) {
// this.color = color;
// }
// public void showcolorpoint() {
// System.out.printf("%s", color);
// showpoint();
// }
//}
//
//
//public class Main {
// public static void main(String[] args) {
// point p = new point();
// colorpoint cp = new colorpoint();
// Scanner t = new Scanner(System.in);
// System.out.print(">> ");
// int x = t.nextInt();
// int y = t.nextInt();
// p.set(x, y); p.showpoint();
//
//
// System.out.print(">> ");
// x = t.nextInt();
// y = t.nextInt();
// cp.set(x, y);
// String color = t.next();
// cp.setcolor(color);
// cp.showcolorpoint();
// }
//}
//class point {
// private int x1,y1,x2,y2,n,m,nm;
// private float insumx, insumy;
// public void set1(int x1,int y1)
// {
// this.x1 = x1; this.y1 = y1;
// }
// public void set2(int x2, int y2) {
// this.x2 = x2; this.y2 = y2;
// }
// public void set3(int n, int m) {
// this.n = n; this.m = m;
// }
// public void show() {
// nm = n+m;
// insumx = (float)((x2*n)+(x1*m))/nm;
// insumy = (float)((y2*n)+(y1*m))/nm;
// System.out.printf("점1과 점2를 %d : %d로 내분하는 점은 (%.2f, %.2f)입니다", n,m,insumx,insumy);
// }
//}
//
//public class Main{
// public static void main(String[] args) {
// Scanner t = new Scanner(System.in);
// point p = new point();
// System.out.print("점1의 좌표를 입력해주십시오 >> ");
// int x1 = t.nextInt();
// int y1 = t.nextInt();
// p.set1(x1, y1);
//
// System.out.print("점2의 좌표를 입력해주십시오 >> ");
// int x2 = t.nextInt();
// int y2 = t.nextInt();
// p.set2(x2, y2);
//
// System.out.print("점1과 점2를 몇 : 몇 으로 내분하시겠습니까? >> ");
// int n = t.nextInt();
// int m = t.nextInt();
// p.set3(n, m);
// p.show();
//
// }
//}
//class hardtail {
// private String name,gs,gc,fs,sc;
// public void set(String name,String gc, String gs, String sc, String fs){
// this.name = name; this.gc = gc; this.gs = gs; this.sc = sc; this.fs = fs;
// }
// public void show() {
// System.out.printf("본 자전거의 이름은 %s 이고 구동게는 %s사의 %s, 프론트샥은 %s사의 %s 입니다", name,gc,gs,sc,fs);
// }
// public void nl() {
// System.out.println();
// }
//}
//class fullshok extends hardtail {
// private String rs,rsc;
// public void setrs(String rsc, String rs) {
// this.rsc = rsc; this.rs = rs;
// }
// public void showrs() {
// show(); System.out.printf(", 리어샥은 %s사의 %s 입니다\n", rsc, rs);
// }
//}
//
//
//public class Main{
// public static void main(String[] args) {
// hardtail ht = new hardtail();
// fullshok fs = new fullshok();
//
// ht.set("그랜드캐니언6", "시마노", "DEORE", "SUNTOUR", "XCR");
// fs.set("스트라이브CFR TLD", "스램", "XX1 AEGLE AXS", "ROCKSHOX", "ZEB ULTIMATE RC2");
// fs.setrs("ROCKSHOX", "SUPER DELUXE ULTIMATE DH");
// fs.showrs();
// }
//}