
public class Josephus{
	
        public static void main(String[] args){
                /* 
                 * Sample testing code
                 * Feel free to edit for additional tests of your CircularList 
                 * imlementation as well as the solve method
                 */

                CircularList cl = new CircularList();
                for(int i=0; i<10; i++)
                        cl.insert(new ListElem(i));

                int m =3; 
                System.out.println(solve(cl,3));

        }

	public static int solve(CircularList cl, int m){
		/*
		* your code to solve the Josephus problem
		*/
		
	}

}
