Heat a metal block, drop it into water, and let the two settle at one temperature. Every term of q = mcΔT is on screen while it happens.
Water has the larger mc here, so the shared temperature lands close to the water start.
Heat values are rounded to three significant figures. Nothing here is lost to the cup or the air, which is the usual assumption for a foam cup.