import java.util.*;
class A{
String word;
int a;
int lastIndex=word.length()-1;
char lastChar=word.charAt(lastIndex);
char firstChar=word.charAt(0);
public A(int a,int li,char lc,char f)
{
this.a=a;
this.lastIndex=li;
this.lastChar=lc;
this.firstChar=f;
}
}
class Main
{
public static void main(String[]args) {
Scanner sc=new Scanner(System.in);
A name[]=new A[101];
System.out.println("끝말이기 게임을 시작합니다...");
System.out.print("게임에 참가하는 인원은 몇명입니까>>");
int a=sc.nextInt();
for(int i=0;i<a;i++)
{
System.out.print("참가자의 이름을 입력하세요>>")
name[i]=sc.nextLine();
}
System.out.print("시작하는 단어는 아버지입니다");
for(0)
{
System.out.print(name[i]+">>");
}
}
}