A number of friends decided to go on a picnic and planned to spend of Rs 960 on food Four of them however did not turn up As a consequence the remaining once had to contribute Rs 40 each extra The number of those who attended the picnic was _______________.