An iron block of unknown mass is heated to 200 degrees Celsius. It is then placed on a 500 gram block of ice at zero degrees Celsius. All of the ice melts and the final temperature of the system is zero degrees Celsius. What is the mass of the iron block?