A right circular cylinder A is similar to a right circular cylinder B. The total surface area of cylinder A is 180 square inches, and the total surface area of cylinder B is 320 square inches. If the volume of cylinder A is 243 cubic inches, what is the volume of cylinder B, in cubic inches?