import java.rmi.*;
import java.rmi.server.UnicastRemoteObject;

class CLUGImpl extends UnicastRemoteObject implements CLUGJob {
  
  public CLUGImpl () throws RemoteException {
    super();
  }
  
  public String calculate (int n1, int n2) throws RemoteException {
    System.out.println("Calculating "+n1+"*"+n2);
    return ""+n1*n2;
  }
}

