Beaker A: 15 C
Beaker B: 37 C
Beaker B contains water molecules that have the greater kinetic energy (on average).
Since beaker B is at a higher temperature than beaker A, the water molecules must be moving faster in beaker B than in beaker A (on average).
If heat is being applied to the beakers, then the increased amount of heat applied to beaker B is greater, and the heat will cause the water molecules in beaker B to move faster than the water molecules in beaker A (on average).
Kinetic energy = (1/2) (mass) (velocity)^2
Since the velocity of the a water molecule in beaker B is on average greater than the velocity of an average water molecule in beaker A, the water in beaker B has a higher kinetic energy.