The hotter cup.
The room has more mass of average temperature than the liquids. By design, molecules want to move faster within their realm of energy, so they "steal" heat to increase their movement, thus why things cool down.
The room has a greater mass than the cup of cooler liquid, so the room's mass will steal the heat from the hot liquid of smaller mass, cooling it down quicker than a small mass cup of liquid trying to steal the heat from a room much bigger than itself.