If block A had a temperature of 50˚C, Block B had a temperature of 10˚C, and both blocks were in direct contact with each other, which way would the thermal energy be transferred?