fill in the blanks

The two magnets above are sitting on a table, kept in place by your hands. You feel the force between the magnets. As the magnets move together, their kinetic, thermal or potential?
energy is converted to
kinetic, thermal or potential? energy. The friction of the table changes some of this energy to
kinetic, thermal or potential? energy.

The energy is then dissipated as heat.