#include
using namespace std;
class ThreeDimension {
public:
int X;
int Y;
int Z;
};
int main() {
ThreeDimension aDimension;
ThreeDimension bDimension;
int range1, range2;
aDimension.X = 7;
aDimension.Y = 16;
aDimension.Z = 21;
bDimension.X = 2;
bDimension.Y = 14;
bDimension.Z = 12;
range1 = aDimension.Y * aDimension.Z;
range2 = bDimension.Y * bDimension.Z;
cout << range1 << "\n";
cout << range2;
return 0;
}
336
168