//import java.util.*;
//
//class Tv
//{
// String s;
// int y;
// int size;
// public Tv(String s,int y,int size)
// {
// this.s = s;
// this.y = y;
// this.size = size;
// }
// public void show() {
// System.out.print(s + "에서 만든 " + y + "년형 " + size + "인치 TV");
// }
//}
//
//public class Main {
// public static void main(String[] args) {
// Tv myTv = new Tv("LG",2017,32);
// myTv.show();
// }
// }
/*
import java.util.Scanner;
class Grade
{
int math;
int science;
int english;
public Grade(int math, int science, int english)
{
this.math = math;
this.english = english;
this.science = science;
}
public int average()
{
return (math + science + english)/3;
}
}
public class Main
{
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
System.out.print("수학, 과학, 영어 순으로 3개의 점수 입력>>");
int math = s.nextInt();
int science = s.nextInt();
int english = s.nextInt();
Grade me = new Grade(math, science, english);
System.out.println("평균은 "+ me.average());
}
}
*/
//import java.util.*;
//
//class Song
//{
// String title;
// String artist;
// int year;
// String country;
// public Song(int year, String country, String artist, String title)
// {
// this.artist = artist;
// this.country = country;
// this.title = title;
// this.year = year;
// }
// public void show()
// {
// System.out.println(year + "년 " + country + "국적의 " + artist + "가 부른 " + title);
// }
//}
//
//public class Main
//{
// public static void main(String[] args) {
// Song s = new Song(1978, "스웨덴", "ABBA", "Dancing Queen");
// s.show();
// }
//}
import java.util.Scanner;
class Circle
{
private double x, y;
private double radius;
public Circle(double x, double y, double radius2)
{
this.radius = radius2;
this.x = x;
this.y = y;
}
public void show()
{
System.out.println("(" + x + "," + y + ")" + (int)radius);
}
}
public class Main
{
public static void main(String[] args) {
Scanner s= new Scanner(System.in);
Circle c [] = new Circle[3];
for(int i = 0; i < 3; i++)
{
System.out.print("x, y, radius >>");
double x = s.nextDouble();
double y = s.nextDouble();
double radius = s.nextDouble();
c[i] = new Circle(x,y,radius);
}
for(int i = 0; i < c.length; i++)
{
c[i].show();
}
s.close();
}
}