In a 100 m race, A covers the distance in 36 seconds and B in 45 seconds. In this race A beats B by :