class Main{
int[][] arys = new int[][]{ new int[]{10,20}, new int[]{100,200} };
long[] c = new long[]{ (0L<<32)|1, (1L<<32)|0 };
for(long l : c){
System.
out.
println("["+((int)(l
>>>32))+"]["+((int)(0xFFFFFFFF
&l
))+"]="+arys
[(int)(l
>>32)][(int)(0xFFFFFFFF
&l
)]); }
}
}
Y2xhc3MgTWFpbnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uIHsKCQlpbnRbXVtdIGFyeXMgPSBuZXcgaW50W11bXXsgbmV3IGludFtdezEwLDIwfSwgbmV3IGludFtdezEwMCwyMDB9IH07CgkJbG9uZ1tdIGMgPSBuZXcgbG9uZ1tdeyAoMEw8PDMyKXwxLCAoMUw8PDMyKXwwIH07CgkJZm9yKGxvbmcgbCA6IGMpewoJCQlTeXN0ZW0ub3V0LnByaW50bG4oIlsiKygoaW50KShsPj4+MzIpKSsiXVsiKygoaW50KSgweEZGRkZGRkZGJmwpKSsiXT0iK2FyeXNbKGludCkobD4+MzIpXVsoaW50KSgweEZGRkZGRkZGJmwpXSk7CgkJfQoJfQp9