#include
using namespace std;
template
class box
{
public:
box(T a, T b, T c)
{
l1 = a;
l2 = b;
l3 = c;
}
T vol()
{
return (T)l1*l2*l3;
}
private:
T l1, l2, l3;
};
void main()
{
box
box
box
cout<