public void print1(String name) {
		synchronized (this) {

			for (int i = 0; i < 20; i++) {

				System.out.printf("%s %s\n", name, i);

				try {
					Thread.sleep(1000);
				} catch (InterruptedException e) {
					e.printStackTrace();
				}
			}

		}

	}