If an ice cube was placed in liquid nitrogen and then put in a glass of water?

Would the water freeze or the icecube melt? Asume a normal size glass and cube