public static void main(String[] args) {
		int state=22;
		FlyweightFactory f=new FlyweightFactory();
		Flyweight fx=f.getFlyweight("X");
		fx.operation(--state);
		Flyweight fy=f.getFlyweight("Y");
		fy.operation(--state);
		Flyweight fz=f.getFlyweight("Z");
		fz.operation(--state);
		UnsharedConcreteFlyweight fu=new UnsharedConcreteFlyweight();
		fu.operation(--state);

	}