A sample of CH4 is burned in an excess of O2 to give 777 moles of H2O. How many moles of CH4 were in the original sample?