Size of A:3
(10)(20)(30)
Vertical size of B: 3
Horizontal size of B: 4
(1)(2)(3)(10)
(4)(5)(6)(11)
(7)(8)(9)(12)