In a race of 1000 m, A beats B by 100 m or 10 seconds. If they start a race of 1000 m simultaneously from the same point and if B gets injured after running 50 m less than half the race length and due to which his speed gets halved, then by how much time will A beat B