15
A student has two blocks of metal, X and Y. The temperature of X is $50^{\circ}\text{C}$ and the temperature of Y is $0^{\circ}\text{C}$.
The two blocks are placed in contact with each other, as shown.

After some time, both blocks have a temperature of $25^{\circ}\text{C}$.
What has happened to the internal energy of each block?
| internal energy of X | internal energy of Y | |
| A | decreased | decreased |
| B | decreased | increased |
| C | increased | decreased |
| D | unchanged | unchanged |