import math
#Variables
PDmax = 500 #Maximum Power dissipation at 25 degree Celsius (in milli-watt)
DF = 2.28 #derating factor (in milli-watt per degree Celsius)
T = 70 #Temperaure (in degree Celsius)
#Calculation
PDmax70 = PDmax - DF * (T - 25) #Maximum Power dissipation at 70 degree Celsius (in milli-watt)
#Result
print "Maximum power dissipation at 70 degree Celsius is ",round(PDmax70)," mW."