interface Person
{
         // 말하기
         public void speak();
        
         // 일하기
         public void work();
}

class Student implements Person
{

         @Override
         public void speak()
        {
                System. out.println("말하기" );
        }

         @Override
         public void work()
        {
                System. out.println("일하기" );
        }
        
}

public class Exam03 implements Person
{
         public static void main(String [] args)
        {
                Student choi = new Student ();              
                // choi.speak();
                // choi.work();
               
                Exam03 e03 = new Exam03();
                e03.speak();
                e03.work();
        }

         @Override
         public void speak()
        {
                System. out.println("말하기2" );
        }

         @Override
         public void work()
        {
                System. out.println("일하기2" );
        }
}