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

// x + 31x = x(31 + 1) = x + 31 + 31(x-1)
public class Identical
{
    public static void main(String[] args)
    {
	String s1 = new String("BB");
	String s2 = new String("Aa");	
	System.out.println(s1.hashCode());
	System.out.println(s2.hashCode());
    }
}