for(String tmp:list)
{
System.out.println(tmp);
}