A 1.018 g sample pure platinum metal was reacted with HCl to form 1.778 g of a compound containing only platinum and chlorine. What is the percent by mass of platinum?