/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		String a1 = "blablabla";
		String b1 = a1;

		System.out.println(b1);
		System.out.println(a1);		
		
		System.out.println(b1.hashCode());
		System.out.println(a1.hashCode());
		
		a1 = "wow";
		
		System.out.println(b1.hashCode());
		System.out.println(a1.hashCode());
		
		System.out.println(b1);
		System.out.println(a1);		
		
		Set<String> a = new HashSet<String>();
		
		Set<String> b = a;
		
		a.add("hey");
		a.add("HellO");
		
		System.out.println(b.size());
		System.out.println(b.hashCode()); // This is important
		System.out.println(a.hashCode()); // This is important too!!!
		
		a.clear();
		
		System.out.println(a.size());  // same hashcode i.e. gets affected by the change.
		System.out.println(b.size());
	}
}