from math import sqrt
#variable declaration
b=30 #width of the secion in mm
d=40 #depth of the section in mm
#calculation
I_xx=b*d**3/12
I_yy=d*b**3/12
#Result
print"I_xx=",int(I_xx/1000),"*10^3 mm**4"
print"I_yy=",int(I_yy/1000),"*10^3 mm**4"