public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		while(true){
			System.out.print("n");
			int n = scanner.nextInt();
			Date t1 =new Date();
			new MagicSquare(). magicSquare4Odd(n);
			Date t2 =new Date();
			System.out.println((t2.getTime()-t1.getTime())+"ms");
		}
	}