In a 500m race, the ratio of the speeds of two contestants A and B is 3:4. A has a start of 140m. Then, A wins by: