During a recent storm, it snowed at a rate of 2 centimeters per hour for 190 minutes, 4 centimeters per hour for 40 minutes, 1 centimeter per hour for 280 minutes, and 3 millimeters per hour for 50 minutes. What was the total snowfall to the nearest centimeter?