According to a rule-of-thumb, a storm is 1 km away if you can count 3.1 seconds between a lightning flash and the following thunder. Assuming that the flash of light arrives to you in essentially no time at all, estimate the speed of sound in km/h from this rule.