import java.util.*;
import java.io.*;
import java.awt.*;
class Test
{
public static void main (String[] args)
{
try{
Scanner s=new Scanner(new File("data.txt"));
String tmp="";
int count=0;
while(s.hasNextLine()){
tmp+=s.nextLine().trim()+";";
if(count%2==1){
tmp+=",";
}
count++;
}
s.close();
String[] arr=tmp.split(",");
ArrayList ps=new ArrayList();
for(int i=0;i String[] as=arr[i].split(";");
Point p=new Point(Integer.parseInt(as[0]),Integer.parseInt(as[1]));
ps.add(p);
}
System.out.println(ps);
}catch(Exception e){
}
}
}