A thermally powered refrigerator receives heat from a flame at 400 C and withraws heat from a cold box at -40 C. If the machine is reversible and all heat is discharged at 30 C, calculate the ratio of the heat required at at 400 C to that withdrawn at -40 C.