Index of A: 1
Index of B: 2